In Vista + VB6
I created a simplest UserControl with only Command1 on it
I then added a Standard EXE project and put the UserControl onto Form1 for testing. There a only one Sub in the standard project:
Private Sub Form_Load()
Debug.Print "aaaaaaaaaaaaaaa"
End Sub
When I run the standard project, I found it not worked:
Form1 wont be displayed and nothing was printed in the immediated window,
or a IE browser opened and the UserControl was on it! (see note below)
What I was doing wrong?
Any suggestion will be most appreciated.
Note:
There is a setting for the UserControl project: Project -> Project1 Properties -> Debugging -> When this project starts -> 4 options:
Wait for components to be created
Start component: userControl1
Startprogram ...
Start browser with URL
If I select "Wait for components to be created", when run the standard project, nothing displayed
If I select "Start component: userControl1", the IE browser opened and the UserControl will be displayed on the IE browser
I created a simplest UserControl with only Command1 on it
I then added a Standard EXE project and put the UserControl onto Form1 for testing. There a only one Sub in the standard project:
Private Sub Form_Load()
Debug.Print "aaaaaaaaaaaaaaa"
End Sub
When I run the standard project, I found it not worked:
Form1 wont be displayed and nothing was printed in the immediated window,
or a IE browser opened and the UserControl was on it! (see note below)
What I was doing wrong?
Any suggestion will be most appreciated.
Note:
There is a setting for the UserControl project: Project -> Project1 Properties -> Debugging -> When this project starts -> 4 options:
Wait for components to be created
Start component: userControl1
Startprogram ...
Start browser with URL
If I select "Wait for components to be created", when run the standard project, nothing displayed
If I select "Start component: userControl1", the IE browser opened and the UserControl will be displayed on the IE browser