Author |
Message |
Daniel Schmol #1 / 9
|
 Form_Load() doesn't execute, form doesn't load
I've written a small VB program that I'm trying to distribute to a couple friends. When they try to run it, nothing happens. Well, not quite: a new entry appears in the taskbar, but clicking it doesn't result in my main form appearing. At least this is what they both claim - I haven't seen this behavior in action. The program uses a couple DLLs: the Textract control from StructuRise (the shareware version), and the CCRP high performance timer objects. I'm fairly sure both of these are installed correctly on my friends' computers. In desperation, I even had one friend install VB on his system, and load up my project. Everything worked fine, but when he compiled and ran it from within VB, the same damn thing happened! I had him comment out all the code in Form_Load() for my main form, and type in 'Debug.Print "Loading main form"'. When he ran the project, this text didn't appear in the Immediate window. Any thoughts? Thanks.
|
Sat, 10 Sep 2005 12:50:01 GMT |
|
 |
Rick Rothstei #2 / 9
|
 Form_Load() doesn't execute, form doesn't load
Quote: > I've written a small VB program that I'm trying to distribute to a > couple friends. When they try to run it, nothing happens. Well, not > quite: a new entry appears in the taskbar, but clicking it doesn't > result in my main form appearing. At least this is what they both > claim - I haven't seen this behavior in action. > The program uses a couple DLLs: the Textract control from StructuRise > (the shareware version), and the CCRP high performance timer objects. > I'm fairly sure both of these are installed correctly on my friends' > computers. > In desperation, I even had one friend install VB on his system, and > load up my project. Everything worked fine, but when he compiled and > ran it from within VB, the same damn thing happened! I had him comment > out all the code in Form_Load() for my main form, and type in > 'Debug.Print "Loading main form"'. When he ran the project, this text > didn't appear in the Immediate window.
What DOES happen? Rick - MVP
|
Sat, 10 Sep 2005 14:31:12 GMT |
|
 |
Christopher Vagnetof #3 / 9
|
 Form_Load() doesn't execute, form doesn't load
Quote: >> In desperation, I even had one friend install VB on his system, and >> load up my project. Everything worked fine, but when he compiled and >> ran it from within VB, the same damn thing happened! I had him comment >> out all the code in Form_Load() for my main form, and type in >> 'Debug.Print "Loading main form"'. When he ran the project, this text >> didn't appear in the Immediate window. > What DOES happen? > Rick - MVP
Rick> Hehe. Apparently nothing ;) Daniel> Take a look under the compilation options and try to change a few of those. That might help you a bit :) // Christopher --
|
Wed, 14 Sep 2005 09:54:22 GMT |
|
 |
Old Ni #4 / 9
|
 Form_Load() doesn't execute, form doesn't load
wrote something ......and in reply I say!: Does the programme work on your PC when run as a pure exe? Quote: >I've written a small VB program that I'm trying to distribute to a >couple friends. When they try to run it, nothing happens. Well, not >quite: a new entry appears in the taskbar, but clicking it doesn't >result in my main form appearing. At least this is what they both >claim - I haven't seen this behavior in action.
Nick White --- HEAD:Hertz Music Please remove ns from my header address to reply via email !! <") _/ ) ( ) _//- \__/ FOR THE LATEST WORD ON THE INVASION OF IRAQ DIAL 1 206 555 5455
|
Thu, 15 Sep 2005 06:15:08 GMT |
|
 |
Daniel Schmol #5 / 9
|
 Form_Load() doesn't execute, form doesn't load
Quote:
> Does the programme work on your PC when run as a pure exe?
Yes, it works fine on my machine - it's everyone else who seems to have problems.
|
Sat, 17 Sep 2005 09:43:55 GMT |
|
 |
Rosci #6 / 9
|
 Form_Load() doesn't execute, form doesn't load
Quote: > > Does the programme work on your PC when run as a pure exe? > Yes, it works fine on my machine - it's everyone else who seems to have
problems. Perhaps there is such a component in your environment tha you haven't included in the package, and this component is necessary for the form to be displayed. -- Er Roscio.
|
Sat, 17 Sep 2005 22:03:15 GMT |
|
 |
Len #7 / 9
|
 Form_Load() doesn't execute, form doesn't load
Did u include all of the components? .osx etc...? Thomas
Quote:
> > Does the programme work on your PC when run as a pure exe? > Yes, it works fine on my machine - it's everyone else who seems to have problems.
|
Sat, 17 Sep 2005 23:08:18 GMT |
|
 |
Len #8 / 9
|
 Form_Load() doesn't execute, form doesn't load
Did u include all of the components? .osx etc...? Thomas
Quote:
> > Does the programme work on your PC when run as a pure exe? > Yes, it works fine on my machine - it's everyone else who seems to have problems.
|
Sat, 17 Sep 2005 23:08:22 GMT |
|
 |
Old Ni #9 / 9
|
 Form_Load() doesn't execute, form doesn't load
something ......and in reply I say!: Quote:
>> > Does the programme work on your PC when run as a pure exe? >> Yes, it works fine on my machine - it's everyone else who seems to have >problems. >Perhaps there is such a component in your environment >tha you haven't included in the package, and this component >is necessary for the form to be displayed.
I agree. As the app is simple, I would try giving out a very similar app that has _no_ 3rd party stuff (try to do somethiong similar in stock VB), and see if that works. That way you can start to see whether it's VB stuff, or 3rd party. This is not going to be easy. I am always wary of 3rd party stuff. I have had soime horrid "surprises" from it. However, this is not necessarily your situation yet. Nick White --- HEAD:Hertz Music Please remove ns from my header address to reply via email !! <") _/ ) ( ) _//- \__/ FOR THE LATEST WORD ON THE INVASION OF IRAQ DIAL 1 206 555 5455
|
Mon, 19 Sep 2005 11:53:18 GMT |
|
|