User Profile
Collapse
-
So you just need to have the child form available to use but not visible? If so you could simply hide the child form using its "Hide" method. All parts of the child form are still accessible until you unload the child form. -
When I first used VB.NET the only way you could get a form was to define it first. For example if I had designed a form with the name "frmMenu" I would have had to create an instance of it first by DIMming it first. "dim myForm as New frmMenu" Then I would have to use myForm in all my further code. Now it seems you can use the classes like you could back in VB6 by just referencing them and letting the compiler create a new object...Leave a comment:
-
You could try using the parse method of the "single" or "double" type..
double.Parse("1 ,000,000")
would give you
1000000.0
append the "ToString" method and you would get
"1000000"Leave a comment:
-
Seems like you were able to solve your problem well.. I tend to favor using the "With" statement when I have long object strings since each '.' is basically telling an object traversal.. I would just change the following like so:
...Code:With dataset.tables("table name here").Rows(cbox1.selectedindex) txtbox1.text = .Item("Column name here") txtbox2.text = .Item("Column name here")Leave a comment:
-
One solution
You could try using the PreviewKeyDown event of the RTB and check for vbCRLF (vbNewLine is an equivalent).
Code:Private Sub RichTextBox1_PreviewKeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.PreviewKeyDownEventArgs) Handles RichTextBox1.PreviewKeyDown If e.KeyValue = vbNewLine Then ... End If End SubLeave a comment:
-
What has DataSysDescription been replaced with?
I've searched high and low and found no article on the web in English or Japanese to explain what I could use to display some help for a function (or subroutine) in the popup that appears when entering said function in the VS2005 IDE when using VB.NET. I discovered later that you could use the XML code documentation to write the description.
Just type 3 single quotes (''') on a new line directly above the function you want to document...
No activity results to display
Show More
Leave a comment: