Dont use window.open, you must create a model window. It is not classified as a new window and no popup blocker will close this type of window. I cant remember the excact code, but im microsoft's site type in modal windows and you should get the results you want.
You could (in a module) delcare publically variables that are assgined to the (1st/2nd/3rd) form. Then when the "next" button is clicked for the form #1, you could then just do something like this:
set storeFrm1 = me
then you could just refer to storeFrm1 for all of form 1's properties etc...
Hello, I am getting a compile error because of this... I have this type i created:
Public Type Customer_Fields
FirstName As String
LastName As String
PhoneNumber As String
Email As String
Country As String
State As String
City As String
Address As String
PostalCode As String
Website As...
As posted above is the correct method. In your particular case this is all that needs to be done:
Private Sub TabControl1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TabControl1.SelectedIndexChanged
Me.Text = TabControl1.SelectedTab.Text
End Sub
*just...
Yes you got the idea Chip. What makes me wonder is how every other program I have does have its custom names. If you would like me to provide a download link for the program that retreives this please tell me. As you can test the programs you have on your computer and see how it's all custom...
How do you set the ClassName for your application? I have this progam that when you place the mouse over the focused window it retreives the classname & windowtitle. Most programs have their set classnames appropriate to their program name. When I do this to my VB.Net apps i get something like...
im using VB.NET 2005 and im getting that too but not as an error, its called "call return" - and when i run my program it goes into the debugger and highlights a line of code green.
if i find out how to fix/or something il post here.
An unhandled exception of type 'System.ArithmeticException' occurred in system.drawing.dll
Additional information: Overflow or underflow in the arithmetic operation.
ex of line lines where it happens (diff projects for each one):
-Me.TextBox1 = New System.Windows.Forms.TextBox()
-Me.tbeepn...
I am using an ocx file (custom one) in my app and working off of it by adding it to the tools window. Now I open the exe in VS.NET 2002. I added the ocx it like a normal resource (selected import etc) and got that done. But im pretty sure i need to do proper naming of the resource or something...
it didn't so i had to first to uncheck it from the componenets window, then add it through the references, but how do i acess it from there? (VB6 this program is on)
no, I right click on the toolbox window and click "Components..." then browse for the ocx file and put it on the form by clicking on it in the toolbox and just drawing it like any other control.
also this program is in VB6 but I doubt that would matter at all.
I am using an ocx file (custom one) in my app and working off of it by adding it to the tools window. Now I open the exe in VS.NET 2002. I added the ocx it like a normal resource (selected import etc) and got that done. But im pretty sure i need to do proper naming of the resource or something...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.