VS 2010 Trying to Allow for a text box to accept only numerics and must have...
Hello everyone :wave: Im trying to make a textbox that will only accept numeric digits and must be 5 digits long example 00049 10203 91919 00001 etc. This is what I have but it keeps giving me the...
View Article[RESOLVED] Problems with Cancel and No buttons
Hi there, I have a bit of code here that I can't seem to fix. There's gotta be something very simple that I'm doing wrong. Essentially what's happening is that when I click on Cancel or No on my input...
View ArticleVS 2010 Selecting multiple items in a listview
I have some code that moves items up and down in a listview via 2 buttons. Can I please have some help to 'select' these items in the listview after either of the buttons have been pressed. I have the...
View ArticleVS 2010 Conditional Format Field In DataGridView
I am using the following code to change the color of a row based on column 7, what I would like to do is just change the font color if column 6 = "Occupied" Column 7 is an int, column 6 is text Would...
View ArticleVb Help
Hello, I need help writing an application that I'm working on. please add me on skype if you are interested. Skype: og.i.monsterz
View Article" InvalidArgument=Value of '0' is not valid for 'index'" When Selecting 2nd Item
When I select one ListViewItem, the data populates correctly. But after selecting the second, it throws this exception. This exception would normally be thrown if I tried to set the selected item's...
View ArticleHow to get a list of all events for Form (or other Form objects) in C#?
In Visual Basic.NET, when you double click on the Form, it will by default take you to Form_Load, but there is also a drop down box that gives you a list of all events avaible for FORM. But it's not...
View Article[RESOLVED] Sorted ComboBox Question
Hello everybody, I want to have a dropdown comboBox that is marked "sorted" in it's properties window, that looks like this: A Record B Record C Record T Record All How do I insert the All record at...
View Articlephp move_uploaded_file without single quotes
I'm trying to move a file to my server and restrict/remove apostrophes from it. Here's what I have now: PHP Code: move_uploaded_file(str_replace("'", "", $_FILES["File"]["tmp_name"]), str_replace("'",...
View ArticleTest Questions
Hello, I'm new to VB. Can anyone could give me the answers to the following two questions? 1. Which collection of an ActiveX control enumerates all of the properties that can be bound to a data source?...
View Articlehow to make a dll available to user for download from my web site?
Hi, how to make a dll available to user for download from my web site? The dll is called CAPICOM and it s a microsoft dll. I need it to be downloaded by the user and registered on his machine, in order...
View ArticleProblem With Finding Matching Text From ini file
Hi guys! First of all i'm sorry if there is some topic about this already but i couldn't find it because i didn't discovered correct words for it. Here is issue about ini file function. I'm trying to...
View Article[RESOLVED] Need help coding menu item caption based on user status
I have a listbox of user names. When I click on any name in the Listbox a PopUp Menu appears with a list of Options. What the caption(s) of the options say depends on that user's current status. For...
View Article3.0/LINQ How to pass a control from main form to a class file in the same...
I have a windows form project (not asp.net) in VS2008. I have controls on the Form. To perform validations, I wrote a class file. I want to send control on the form (say textbox control text) to the...
View ArticleDrawing to a panel, not the form !
Hi everyone, I have a problem. There is a panel on a form, when I click the mouse button down it sets the X and Y coordinates to start at that position. From there I draw lines every time the mouseMove...
View ArticleDrawing to form, not a panel
Hi everyone, I have a problem. There is a panel on a form, when I click the mouse button down it sets the X and Y coordinates to start at that position. From there I draw lines every time the mouseMove...
View ArticleVB 6, Windows and SFTP
Hi Is there a way to effectively SFTP files on Windows machines with VB 6.0 by itself or using VB 6.0 and an active x component? Paul
View ArticleMultithreading
Dear All, I stuck in using thread. some time it abort all active thread and some the thread didn't invoke. Below is the logic i am trying achieve.... I have one function which have DB connection and...
View ArticleIndexoutofrange for boundless array?
Ok, so I had this program working, and I don't remember changing anything, but I'm getting the Indexoutofrange exception for Data(1). It says at the bottom that Data only has a length of 1, and even...
View ArticleMsgbox issues with 64 bit windows
I have a problem with VB6 message box. The message box dissapears right away when I use VBok and only does it in 64 bit machines. Anybody have a fix for this.
View Article