[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Anton

9/8/2010 10:58:00 PM

I get a popup messagebox when closing my app in the IDE.
Error 217 at xxxxxx (memory address).
I have no user defined error codes.
I cannot find it in help.
google is no help either.
Any ideas?


12 Answers

ralph

9/9/2010 12:08:00 AM

0

On Wed, 08 Sep 2010 15:57:56 -0700, BeeJ <nospam@spamfree.com> wrote:

>I get a popup messagebox when closing my app in the IDE.
>Error 217 at xxxxxx (memory address).
>I have no user defined error codes.
>I cannot find it in help.
>google is no help either.
>Any ideas?
>

Try cleaning the Registery, and perhaps the project.

-ralph

tristan

9/9/2010 6:21:00 AM

0

tttttttt

Uzytkownik "ralph" <nt_consulting64@yahoo.net> napisal w wiadomosci grup
dyskusyjnych:h89g86thslecg08mlt38dhme7ijdsgr2cv@4ax.com...
> On Wed, 08 Sep 2010 15:57:56 -0700, BeeJ <nospam@spamfree.com> wrote:
>
>>I get a popup messagebox when closing my app in the IDE.
>>Error 217 at xxxxxx (memory address).
>>I have no user defined error codes.
>>I cannot find it in help.
>>google is no help either.
>>Any ideas?
>>
>
> Try cleaning the Registery, and perhaps the project.
>
> -ralph

tristan

9/9/2010 6:32:00 AM

0

eeeeeeeee

Uzytkownik "ralph" <nt_consulting64@yahoo.net> napisal w wiadomosci grup
dyskusyjnych:h89g86thslecg08mlt38dhme7ijdsgr2cv@4ax.com...
> On Wed, 08 Sep 2010 15:57:56 -0700, BeeJ <nospam@spamfree.com> wrote:
>
>>I get a popup messagebox when closing my app in the IDE.
>>Error 217 at xxxxxx (memory address).
>>I have no user defined error codes.
>>I cannot find it in help.
>>google is no help either.
>>Any ideas?
>>
>
> Try cleaning the Registery, and perhaps the project.
>
> -ralph

Dee Earley

9/9/2010 8:50:00 AM

0

On 08/09/2010 23:57, BeeJ wrote:
> I get a popup messagebox when closing my app in the IDE.
> Error 217 at xxxxxx (memory address).
> I have no user defined error codes.
> I cannot find it in help.
> google is no help either.
> Any ideas?

Are you using anything "unusual" like subclassing, external
controls/libraries?
Can you provide code that duplicates it or narrow it down to what
initiates it?

--
Dee Earley (dee.earley@icode.co.uk)
i-Catcher Development Team

iCode Systems

(Replies direct to my email address will be ignored.
Please reply to the group.)

Anton

9/9/2010 7:34:00 PM

0

this happens exactly at the class_terminate sub exiting of an ActiveX
EXE. This is past all code in the class_terminate.
It only happens when the ActiveX EXE is compiled.
I do not get the error when I step through the main app into the .vbp
of the ActiveX EXE in its IDE. The ActiveX EXE does call an
unregisterable propietary .dll that I cannot look at. But no errors
when I call the .dll DeviceOpen and DeviceClose subs.
I cannot find a way to use error trapping either.
My main app is closing and setting the ActiveX EXE = Nothing.
The ActiveX EXE functions correctly except for this error I think.
It compiles and it steps through all code that the compiled version
runs through.


Anton

9/9/2010 7:34:00 PM

0

this happens exactly at the class_terminate sub exiting of an ActiveX
EXE. This is past all code in the class_terminate.
It only happens when the ActiveX EXE is compiled.
I do not get the error when I step through the main app into the .vbp
of the ActiveX EXE in its IDE. The ActiveX EXE does call an
unregisterable propietary .dll that I cannot look at. But no errors
when I call the .dll DeviceOpen and DeviceClose subs.
I cannot find a way to use error trapping either.
My main app is closing and setting the ActiveX EXE = Nothing.
The ActiveX EXE functions correctly except for this error I think.
It compiles and it steps through all code that the compiled version
runs through.


Anton

9/9/2010 7:36:00 PM

0

Sorry. I keep getting double posts.
I get an error sending.
I try a new repost and then the one that errored out goes too.
Do not understand this.


Anton

9/9/2010 7:40:00 PM

0

I wrote a small sample app that uses the .dll but no ActiveX.
I get no errors going through the same calls to the .dll so it is
probably ot the .dll.

However, now I am worried that I have not understood something else.
When I compile it all runs with lots of messages that I embedded to
follow the action.
But when I run in the IDE it errors out when a .dll call is first
encountered.
The .dll is in the app path.
Should this not be OK for both compiled and IDE runs?
Maybe this is where I am messing up!!!


Helmut Meukel

9/10/2010 4:02:00 PM

0

BeeJ fragte :
> I wrote a small sample app that uses the .dll but no ActiveX.
> I get no errors going through the same calls to the .dll so it is probably ot
> the .dll.
>
> However, now I am worried that I have not understood something else.
> When I compile it all runs with lots of messages that I embedded to follow
> the action.
> But when I run in the IDE it errors out when a .dll call is first
> encountered.
> The .dll is in the app path.
> Should this not be OK for both compiled and IDE runs?
> Maybe this is where I am messing up!!!

The App.Path location for the app running in the IDE is the location
of vb6.exe.
Copy your DLL to this directory, so you have it in both places.

Helmut.


Karl E. Peterson

9/14/2010 11:03:00 PM

0

Helmut Meukel used his keyboard to write :
> The App.Path location for the app running in the IDE is the location
> of vb6.exe.

No, it's not. It's the startup location specified in the shortcut used
to start VB6, if the project is unsaved. Or the project folder if the
project is saved.

Easy to test. Just pop into the immediate window and type:

?app.path

--
..NET: It's About Trust!
http://vfre...