finding the output
what is the output to Private Sub btnDisplay_Click(…) Handles btnDisplay.Click Dim num As Double = 7 AddTwo(num) txtOutput.Text = CStr(num) End Sub Sub AddTwo(ByRef num As Double) num += 2 End Sub
Answer Question
| June 29, 2009 3:35 AM
Visual Basic 2008
what is the output to Private Sub btnDisplay_Click(…) Handles btnDisplay.Click Dim num As Double = 7 AddTwo(num) txtOutput.Text = CStr(num) End Sub Sub AddTwo(ByRef num As Double) num += 2 End Sub
How to make a welcome screen in Visual Basic 2008 app
i would like to have a welcome screen before how go deep into my system. so how to make it auto switch after 5 second? i am using visual basic 2008 thx.
Answer Question
| March 27, 2009 6:20 AM
Interface design, Software development, TIMER, Visual Basic, Visual Basic 2008, Welcome Screen
i would like to have a welcome screen before how go deep into my system. so how to make it auto switch after 5 second? i am using visual basic 2008 thx.
How to save ListBox values to the database with Visual Basic 2008
i m doing a pharmacy system by using visual basic 2008. but i hv a problem when storing a data in table i nid to save a medical list that contain of medical name and medical quantity but how i save it into the table because 1 patient can hv many of the medical. should [...]
Answer Question
| March 19, 2009 2:47 AM
Database programming, ListBox, Visual Basic, Visual Basic 2008
i m doing a pharmacy system by using visual basic 2008. but i hv a problem when storing a data in table i nid to save a medical list that contain of medical name and medical quantity but how i save it into the table because 1 patient can hv many of the medical. should [...]
how to stored data in list box to the table
i m doing a pharmacy system by using visual basic 2008. but i hv a problem when storing a data in table i nid to save a medical list that contain of medical name and medical quantity but how i save it into the table because 1 patient can hv many of the medical. should [...]
Answer Question
| March 19, 2009 3:31 PM
Visual Basic, Visual Basic 2008
i m doing a pharmacy system by using visual basic 2008. but i hv a problem when storing a data in table i nid to save a medical list that contain of medical name and medical quantity but how i save it into the table because 1 patient can hv many of the medical. should [...]
Disable Form Controls in VB 2008 until selected
Beginning prog. student here… I have a form with multiple controls, and i want everything to be disabled except the datetimepicker. Once a date is selected, it should make the whole form usable. I’ve searched the web, and can’t find the right solutin. I found this sight, and hoping someone can help…Thanks!!
Answer Question
| March 5, 2009 8:35 AM
Active Selection, DateTimePicker, Focus and Selection, Inactive Selection, VB, VB 2008, VB controls, Visual Basic, Visual Basic 2008
Beginning prog. student here… I have a form with multiple controls, and i want everything to be disabled except the datetimepicker. Once a date is selected, it should make the whole form usable. I’ve searched the web, and can’t find the right solutin. I found this sight, and hoping someone can help…Thanks!!
Connecting to Oracle with Visual Basic 2005?
what are “oracle” version to connect “visual basic 2008″,”visual basic 2005″ and “visual basic 6.0″ ? whether it’s possible to connect “oracle9i” and “visual basic 2005″ ? please solve my Q……….
Answer Question
| March 13, 2012 10:20 AM
Database connectivity, Oracle connectivity, Visual Basic 2005, Visual Basic 2008, Visual Basic 6
what are “oracle” version to connect “visual basic 2008″,”visual basic 2005″ and “visual basic 6.0″ ? whether it’s possible to connect “oracle9i” and “visual basic 2005″ ? please solve my Q……….
Problems saving data in tables in Visual Basic 2008
I cant Save any data in tables when i pressed the save button icon in vb 2008
Answer Question
| January 30, 2009 9:12 AM
Database programming, Visual Basic, Visual Basic 2008
I cant Save any data in tables when i pressed the save button icon in vb 2008
How to convert from a project from Visual Basic 2006 to 2008?
hello, i want convert my visualbasic 2006 project to 2008 i tryed almost everything and still dont know how… anyone got a idea? Thank you Greetsz
Answer Question
| January 30, 2009 8:12 AM
VB, Visual Basic, Visual Basic 2006, Visual Basic 2008, Visual Basic project migration
hello, i want convert my visualbasic 2006 project to 2008 i tryed almost everything and still dont know how… anyone got a idea? Thank you Greetsz
Part of program on external monitor
How can I display my main program on the laptop monitor and results (for the public)on a external monitor in visual basic 2008?
Answer Question
| January 5, 2009 11:45 AM
Dual monitors, external monitor, Multiple monitors, Visual Basic, Visual Basic 2008
How can I display my main program on the laptop monitor and results (for the public)on a external monitor in visual basic 2008?
How do I find the file path to write my file to?
Here is my code and then my question. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim objfile As New System.IO.StreamWriter(“C:Documents and SettingsJOHNDOEMy DocumentsTHETARGETFOLDERMYFILE.TXT”) objfile.WriteLine(“just a test”) objfile.Close() end sub This code will write to my target folder, however if i build my project and make it available for other people [...]
Answer Question
| December 15, 2008 11:51 PM
%HOMEPATH% variable, Relative references, System.IO.StreamWriter, Visual Basic, Visual Basic 2008
Here is my code and then my question. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim objfile As New System.IO.StreamWriter(“C:Documents and SettingsJOHNDOEMy DocumentsTHETARGETFOLDERMYFILE.TXT”) objfile.WriteLine(“just a test”) objfile.Close() end sub This code will write to my target folder, however if i build my project and make it available for other people [...]
Clickingor hitting enter on item in list box doesn’t perform action
I use Visual Basic 2008. I have a list box that is populated by inner and outer html from any given page i go to. i would like to click on the id in the list box that has the inner or outer html and perform that action. I have figured out how to call [...]
Answer Question
| December 8, 2008 6:31 PM
Code, ListBox, Visual Basic 2008, Visual Basic List Box
I use Visual Basic 2008. I have a list box that is populated by inner and outer html from any given page i go to. i would like to click on the id in the list box that has the inner or outer html and perform that action. I have figured out how to call [...]
mouse movement and x,y location functions
I know there has to be a simple way to move the mouse to any position on the screen in vb 2008. A search brought up nothing specific to what I am trying to do. Basically, I have two textboxes on a form to represent x and y. When I click a command button, I [...]
Answer Question
| December 1, 2008 4:13 PM
Visual Basic, Visual Basic 2008, Visual Basic Functions, Visual Basic Location Functions
I know there has to be a simple way to move the mouse to any position on the screen in vb 2008. A search brought up nothing specific to what I am trying to do. Basically, I have two textboxes on a form to represent x and y. When I click a command button, I [...]
VB.NET graphics
i want to make a application thats draws a line behind the mouse i knowh how to get the mouse posisiot but it wount update and continue to follow the mous. when i start the program it draws a line but newer do anymore. plz help me by saing how to update .
Answer Question
| December 1, 2008 2:37 AM
Mouse tracks, MousePosition, Tick event handler, TIMER, VB.NET 2008, Visual Basic, Visual Basic .NET, Visual Basic 2008
i want to make a application thats draws a line behind the mouse i knowh how to get the mouse posisiot but it wount update and continue to follow the mous. when i start the program it draws a line but newer do anymore. plz help me by saing how to update .
(2008 Visual Basic) I need help with an error in my code
1.Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click 2.For Each Link As HtmlElement In WebBrowser1.Document.Links 3.Dim strText As String = Link.InnerText 4.If strText.IndexOf(“Heal”) > 0 Then 5.Link.InvokeMember(“Click”) 6.Exit Sub 7.End If 8.Next 9.End Sub -here is my error i received in line 4. when trying to run my code. System.NullReferenceException was [...]
Answer Question
| August 2, 2011 4:51 PM
Debugging, innerText, System.NullReferenceException, Visual Basic, Visual Basic 2008, Visual Basic 2008 debugging, Web development
1.Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click 2.For Each Link As HtmlElement In WebBrowser1.Document.Links 3.Dim strText As String = Link.InnerText 4.If strText.IndexOf(“Heal”) > 0 Then 5.Link.InvokeMember(“Click”) 6.Exit Sub 7.End If 8.Next 9.End Sub -here is my error i received in line 4. when trying to run my code. System.NullReferenceException was [...]
When calling on innertext values in Visual Basic 2008
To everyone, I have a problem. I am trying to automate a mouse click with in my browser. The first word in the inner text of the link stays constant but there is a number that follows the text that changes. Here is a sample of what i have. Private Sub Button5_Click(ByVal sender As System.Object, [...]
Answer Question
| November 29, 2008 12:36 AM
Code, innerText, LINKS, Visual Basic 2008
To everyone, I have a problem. I am trying to automate a mouse click with in my browser. The first word in the inner text of the link stays constant but there is a number that follows the text that changes. Here is a sample of what i have. Private Sub Button5_Click(ByVal sender As System.Object, [...]
how do i select last id in list box and perform a click
I have a list box created that pulls over inner and outer html links from my web page. I have a code to click on the link id within that list and invoke a (click) then the proper function is invoked. my problem is the page changes in number of links ect form hr to [...]
Answer Question
| December 1, 2008 5:21 AM
Visual Basic, Visual Basic 2008, Visual Basic List Box
I have a list box created that pulls over inner and outer html links from my web page. I have a code to click on the link id within that list and invoke a (click) then the proper function is invoked. my problem is the page changes in number of links ect form hr to [...]
About UPDATE query
hi friends , i am using VB 2008 . database access 2003 in my project , i include an update query,its below con.Open() Dim cmd As New OleDbCommand(“update device set manu=’” + mtxt.Text + “‘,desc=’” + dtxt.Text + “‘,model=’” + mdtxt.Text + “‘,pdate=’” + prodate.Text + “‘,price=’” + ptxt.Text + “‘where ano=’” + atxt.Text + [...]
Answer Question
| November 5, 2008 4:09 PM
Access 2003, Microsoft Access, RSS, VB 2008, Visual Basic 2008
hi friends , i am using VB 2008 . database access 2003 in my project , i include an update query,its below con.Open() Dim cmd As New OleDbCommand(“update device set manu=’” + mtxt.Text + “‘,desc=’” + dtxt.Text + “‘,model=’” + mdtxt.Text + “‘,pdate=’” + prodate.Text + “‘,price=’” + ptxt.Text + “‘where ano=’” + atxt.Text + [...]
Invalid Format Error when Opening/Saving in Visual Studio 2008.
Hi I’m creating a professional Text Editor with usage of RichTextBox control, and I have inserted some common controls such as SaveFileDialog and Load File Dialolg, and I basically want to be able to load files of all types (i.e Word Documents) the only documents I can open are RTF. I tried to manipulate .Filter [...]
Answer Question
| November 3, 2008 2:14 AM
RichTextBox, Software development, VB, Visual Basic, Visual Basic 2008, Visual Studio, Visual Studio 2008
Hi I’m creating a professional Text Editor with usage of RichTextBox control, and I have inserted some common controls such as SaveFileDialog and Load File Dialolg, and I basically want to be able to load files of all types (i.e Word Documents) the only documents I can open are RTF. I tried to manipulate .Filter [...]
Need to determine a running win app and retrieve text from it.
I want to code in VB2008 a module that 1) locates a handle for a specific running windows app then, using that handle, 2) read the contents of the whole window or (better) specific control data. The VB app will then parse and resend the collected string to another app. Pretty much a “Windows Scraping” [...]
Answer Question
| August 29, 2008 2:25 PM
VB 2008, Visual Basic, Visual Basic 2008
I want to code in VB2008 a module that 1) locates a handle for a specific running windows app then, using that handle, 2) read the contents of the whole window or (better) specific control data. The VB app will then parse and resend the collected string to another app. Pretty much a “Windows Scraping” [...]
Retrieving and storing an image in SQL Server
How can I retrieve and store an image in SQL Server using Visual Basic 2008?
Answer Question
| August 1, 2008 4:57 PM
SQL Server, Visual Basic, Visual Basic 2008
How can I retrieve and store an image in SQL Server using Visual Basic 2008?





