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.
...etc.
If it does not keep it's value when u try to refer to it later, you could try (at the loading of the main form - the first one that loads with program) doing this *then of course do what I mentioned before*:
set storeFrm1 = new CustomerFormOne
-----------------------
hope this helps.
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...
...Sub TabControl1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TabControl1.SelectedIndexChanged
Me.Text = TabControl1.SelectedTab.Text
End Sub
*just for the future you don't need to use the .ToString method on a property that is already in a string format
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.
...-Me.tbeepn = New System.Windows.Forms.TextBox()
-Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.ProgressBar1})
*and yes, the 1st line of code on a blank form! -Public Class Form1
This is the error i keep on receiving whenever i try and run an app in VB.NET. It's not...
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.