VS 2010 A combobox matching the selection of another...
Hi, I have a combo box that is bound to a list in a table, this combo box is say on form1. I have a form with another combo box in (say form2). What I would like to do is to get the combo box in form2...
View Article[RESOLVED] Forcing users to enable macros
Hello, I found this nifty method to force users to enable macros and so far it's working great and was very easy to implement. See method here: http://www.vbaexpress.com/kb/getarticle.php?kb_id=379 The...
View Article[RESOLVED] Macro to close workbook without saving
I have in Module1: Code: Sub Auto_Open() If vbYes <> MsgBox("Message", vbYesNo + vbExclamation, "User Agreement Disclaimer") Then ThisWorkbook.Close False End If End Sub I am also...
View ArticleInteresting Problem with PreFilterMessage
I have a form that prefilters some messages by implementing the IMessageFilter interface and implementing this method: System.Windows.Forms.IMessageFilter.PreFilterMessage This thing is beginning to...
View ArticleVS 2012 Open Text Files Without Permission
How To Open Text Files Without Permission: [Working 2013] Imports System.IO Public Class Form1 Public Sub opentext(ByVal txt As String) Try Dim sr As StreamReader = New StreamReader(txt) r1.Text =...
View ArticleVS 2012 Open Text Files Without Permission
How To Open Text Files Without Permission: [Working 2013] Code: Imports System.IO Public Class Form1 Public Sub opentext(ByVal txt As String) Try Dim sr As StreamReader = New...
View ArticleVS 2010 display same form multiple times on the screen
Hi folks. I have a credit card sized form that is currently displaying in the centre of the screen. I also want to display the same form at the edges of the screen by docking. So the form will be...
View ArticleVS 2010 License Exam Help
im getting a error in my code saying Result is not declared or its private Dim strGrades() As String = {"B", "D", "A", "A", "C", "A", "B", "A", "C", "D", "B", "C", "D", "A", "D", "C", "C", "B", "D",...
View ArticleNeed encryption without using System.security.cryptography
So, I have a program that encrypts the users password, then unencrypts it when used. I used Poly RC4 but anti viruses seem to think it is a virus -_-. Does anyone know a good way to securely encrypt a...
View ArticleVS 2012 Menu Search option
I have a menu in an application that has a lot of content, is there such a thing to have a search box that can locate a word in the menu, e.g. If I was looking for billing and typed in bill, it would...
View ArticleVS 2010 problem in work with datagridviewcolumns class
hi friends i create a new class that inherits datagridview . my main purpose is to add a new property to all columns of this new datagridview . my professor want that i do this in the form below . i...
View ArticleVS 2012 [RESOLVED] Form Objects removed?
OK, I got a huge problem. I was adding some controls to a project of mine and I think I accidentally clicked 'Exclude from Project' on the folder that contained those custom user controls. From there,...
View ArticleGenerating Reports
Hello Guys, Im a beginner into Programming and im learning on my own, So i have a few doubts. Im creating a small application that calculates the scores in a Snooker Match, All the calculation part is...
View ArticleHow to use Getpixel
I have a program where i use getpixel to see what color a specific point is, and if it's the correct color a messagebox will pop up. For some reason, when i watch the program, every time it checks, the...
View ArticleVS 2012 [RESOLVED] Migrated and now can't see any form controls when in...
Hello: recently migrated from 2005 to 2012. My application seems to be working well; however, when I click on any of the forms to view them in design mode, there's nothing but a blank form there. when...
View ArticleDublex Printing Excel Worksheets from VB.Net
Hi All, I am developing an excel automation application. I have almost completed it but I have a major problem at hand. After collecting some data and combining it with databases I can fill in excel...
View ArticleHow do I edit a item in a listbox by selecting it then pressing a button?
Exactly what the title says, thanks.
View ArticleDefault bitmaps
I'm trying to find some bitmaps that come with visual studios, like the icons in System.Drawing.SystemIcons, but I cannot find any. I've tried googling and it comes up with a path in C:\Program...
View ArticleVS 2008 Very strange ! My Label suddenly loses its text !
This is something very strange ! I have a form with various controls on it . At some point I added a label on the form with some text . I run my program and I found out that the label was not on the...
View ArticleCan't get code to enable all controls on a form to work in VB 2010 Express
I am using the following code which does not work. What is wrong? My Code Code: Dim Ctl As Control For Each Ctl In Me.Controls Ctl.Enabled = True Next Ctl
View Article