Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Unexpectedly my app Terminates

[b][red]This message was edited by larceniii at 2003-8-23 21:24:30[/red][/b][hr]
Hey I have a program that runs fine in VB, but when I compile it,
it just ends itself. ??? I'm like what the heck?

I'm calling the contents of one form into another using the
SetParnet API in USER32.DLL

The contents of form1 are loaded into main_form
after the contents are moved, form1 is unloaded.
The API Call unloads it. no big deal, but when I compile to exe
it end the whole program, but not when run from inside VB.

???? ????

I'm very tired of working with it.


Comments

  • GideonOmegaGideonOmega Member Posts: 617
    : [b][red]This message was edited by larceniii at 2003-8-23 21:24:30[/red][/b][hr]
    : Hey I have a program that runs fine in VB, but when I compile it,
    : it just ends itself. ??? I'm like what the heck?
    :
    : I'm calling the contents of one form into another using the
    : SetParnet API in USER32.DLL
    :
    : The contents of form1 are loaded into main_form
    : after the contents are moved, form1 is unloaded.
    : The API Call unloads it. no big deal, but when I compile to exe
    : it end the whole program, but not when run from inside VB.
    :
    : ???? ????
    :
    : I'm very tired of working with it.
    :
    :
    :


    Do you have any error handling routines set up?, vb will terminate an exe when an error ocurrs, if it works fine as a project, it could be a run -time error.

    hope this helps.
  • larceniiilarceniii Member Posts: 6
    Turns out it was a corrupt project file, a Chkdsk fixed it, the EOF for the main prject was absent, go figure. :P

    Sorry for the long wait to reply back, thanks for your help. :D

    +LarcenIII

    : : [b][red]This message was edited by larceniii at 2003-8-23 21:24:30[/red][/b][hr]
    : : Hey I have a program that runs fine in VB, but when I compile it,
    : : it just ends itself. ??? I'm like what the heck?
    : :
    : : I'm calling the contents of one form into another using the
    : : SetParnet API in USER32.DLL
    : :
    : : The contents of form1 are loaded into main_form
    : : after the contents are moved, form1 is unloaded.
    : : The API Call unloads it. no big deal, but when I compile to exe
    : : it end the whole program, but not when run from inside VB.
    : :
    : : ???? ????
    : :
    : : I'm very tired of working with it.
    : :
    : :
    : :
    :
    :
    : Do you have any error handling routines set up?, vb will terminate
    : an exe when an error ocurrs, if it works fine as a project, it could
    : be a run -time error.
    :
    : hope this helps.
    :
Sign In or Register to comment.