Form_Load() doesn't execute, form doesn't load 
Author Message
 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  
 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  
 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  
 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  
 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  
 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  
 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  
 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  
 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  
 
 [ 9 post ] 

 Relevant Pages 

1. fRefreshLinks Doesn't work if path doesn't exist

2. class doesn't support automation or doesn't support expected interface

3. asyncread doesn't tell if file doesn't exists

4. W2K Doesn't Load ActiveX Control But W98 and WXP Do Load ActiveX Control Correctly

5. Form doesn't display properly on user's PC

6. form doesn't auto size to fit different pc's

7. EXECUTE Doesn't

8. Command button doesn't execute macro when added via code

9. VBA NEWMAIL DOESN'T EXECUTE

10. macro doesn't executed

11. Find.Execute doesn't work for a new document

12. WSH doesn't execute?

 

 
Powered by phpBB® Forum Software