Mdi child form problem
Hello Everyone, I am having problem with displaying Mdi child forms. I have a Mdi parent container and some Mdi child forms A, B, C. When I open form A, It displays fine inside the parent container....
View ArticleNo data exists for the row/column error
No data exists for the row/column error occurs from my following VB.NET code but can't find any problem. I checked the database and correct data exists in the record. Dim mycmd As OleDbCommand Dim dr...
View ArticleVS 2010 Imagebox
I have two form and on the first form I have a picture box that effectively opens the second form but I want the first form two close after the picture has been clicked and the second form opens. Is...
View ArticleVS 2008 See content of CommandText in SQL statement
I can see the Commandtext of my Select statement with the following, Code: MsgBox(cmd.CommandText.ToString) but i would like to see the content of the statement. how can i do this? I need to see the...
View ArticleGetting Definition From Urban Dictionary
Hello guys I am new to this forum and was hoping to get some help. I am trying to make an application in which the user inputs a word into a textbox, presses the button, and a messagebox pops up with...
View ArticleVS 2010 Plug-in Based Application (Step by Step)
Hi, I've been searching the web on how to create an application which uses plugins. Now there are a lot of websites, but it seems they all use the same method, which I don't understand. (Seems they all...
View Articleusing FileSystemWatcher to look for only *.bat files
i am using FileSystemWatcher to see if a *.bat file exists in the directory and if so then process it but it's processing all files and crashing the app. here is the code i am using. Code: Private Sub...
View ArticleDatabase Table not being premanently Updated in vb 2012 Express
I am new to VB 2012, trying to update an Access Database mdb file on a VS Express 2012 Windows Desktop Form, using a Win 8 computer. Everything looks good (Field shows as updated) until I exit the...
View ArticleMake and return an array in Visual Basic.net
I would like to return an array from a function. In VBA, I do it like this: Code: Function arr1()   'code   arr0=Array(month, Day, Year)   arr1=arr0 End Function In Visual Basic I do this: Code:...
View ArticleVS 2010 Like statement for arithmetic
In VS2012, vb.net I quite frequently use the like statement. My question is this: Is there the equivalent for number arithmetic? eg. If I have the following code: dim intTest as integer = 10 Can I...
View ArticlePanel / FlowLayoutPanel ScrollBars
Hello, First of all what is the difference between a Panel and a FlowLayoutPanel? Second, in any of them, how can I show both the Horizontal and Vertical Scroll Bar, no matter if the content is larger...
View ArticleVS2012 - Visual Basic Image Componants
VS2012 - Visual Basic Image Components Hi all, I've been away from VB for some 7/8 years and just installed 2012 studio (Express). I've just knocked up my first application, which opens an image and...
View ArticleVS 2010 Date of Birth - Automatic age input
Hi. This one is pretty much the same as my last one, but im not sure how i can add it to this one. When i add a date of birth into a masked textbox, how can i get it so it also adds the age of the...
View ArticleVS 2010 DataGridView shows all the collumn headers but no rows.
Hiyo, I am having a lot of problems getting this datagridview to fill up properly, i would like to have some input on what i am doing wrong it is driving me bananas !! So what i am trying to do is fill...
View ArticleVS 2010 How do you move the position of a background image inside a PictureBox?
Hey guys, I have a PictureBox control that will display an image that the end user specifies, and then position this image in the very center of the PictureBox (as it's background image). The width...
View ArticleVS 2010 SQL Connection String: How To Take Server Name & Database Name From A...
Hi all, I have the follwinig connection string which works fine except I now need to write the app so that the server/instance and Db. name is taken as a variable from a textbox on my form. The...
View ArticleHow can I make a custom table like excel
Hello, I want to make something like an excel table that I will populate at runtime. I want to be able to select each row (not cell). I will have a form where I will write my data that has to update in...
View ArticleVS 2010 Make Word save file as "Web Page, Filtered"
I am using MS Word's ability to save a file in HTML format to create a very basic website CMS system. Files must be saved with a .htm extension in the "Web Page, Filtered" file format that is available...
View ArticleVS 2008 VS 2008 Combobox in update form
Hi to all I have download a multi column combo box from here http://support.microsoft.com/kb/982498 My problem is that me, my form is for update and when I press the dropdown they loses its original...
View ArticleVS 2010 Find dates in listview
Hi I made a very simple kind of reservation system. A selection of devices and 2 DateTimePickers. Start date and end date. These values is added to a list view. ITEM-1 Start Date End Date But I could...
View Article