Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Compile Error
I am trying to compile an old program. I have successfuly compiled same
programe many times in the past. But I have tried several times today to
compile the same progame and I keep getting this error ....

VB6 program error

The Instruction at 0x056b78259 referenced memory at 0x05b7829. The memory
could not be read. Click OK to terminate the program, Click Cancel to debug.

This happens when the compiler finishes "compile" amd is "creating exe"

The only thing I did to the app was edit one or two lines in a sub. And the
other thing I did today was "Windows update"

By the way, my other vb App compiles Ok on the same machine.

Anyone have idea what is causing this problem? I googled but nothing came up
on this error.







Report this thread to moderator Post Follow-up to this message
Old Post
JoeO
04-28-05 08:56 AM


Re: Compile Error
Check the project, vb exe and temp folders to ensure no intermediary compile
files remain (I believe they have a .obj extension).

--

Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/
----------------------------------------------------------------------------
Read. Decide. Sign the petition to Microsoft.
http://classicvb.org/petition/
----------------------------------------------------------------------------



"JoeO" <jp3bless_NoSpam@hotmail.com> wrote in message
news:%23Ncr784SFHA.2880@TK2MSFTNGP10.phx.gbl...
:
: I am trying to compile an old program. I have successfuly compiled same
: programe many times in the past. But I have tried several times today to
: compile the same progame and I keep getting this error ....
:
: VB6 program error
:
: The Instruction at 0x056b78259 referenced memory at 0x05b7829. The memory
: could not be read. Click OK to terminate the program, Click Cancel to
debug.
:
: This happens when the compiler finishes "compile" amd is "creating exe"
:
: The only thing I did to the app was edit one or two lines in a sub. And
the
: other thing I did today was "Windows update"
:
: By the way, my other vb App compiles Ok on the same machine.
:
: Anyone have idea what is causing this problem? I googled but nothing came
up
: on this error.
:
:
:
:
:
:


Report this thread to moderator Post Follow-up to this message
Old Post
Randy Birch
04-28-05 08:56 AM


Re: Compile Error
Thanks Randy. I deleted all .obj files and other temp files... I tried to
compile and got the same error ... and the compiler recreated the .obj files
all over.

Still stuck.

"Randy Birch" <rgb_removethis@mvps.org> wrote in message
news:e0JSQX5SFHA.2124@TK2MSFTNGP14.phx.gbl...
> Check the project, vb exe and temp folders to ensure no intermediary
compile
> files remain (I believe they have a .obj extension).
>
> --
>
> Randy Birch
> MS MVP Visual Basic
> http://vbnet.mvps.org/
> --------------------------------------------------------------------------
--
> Read. Decide. Sign the petition to Microsoft.
> http://classicvb.org/petition/
> --------------------------------------------------------------------------
--
>
>
>
> "JoeO" <jp3bless_NoSpam@hotmail.com> wrote in message
> news:%23Ncr784SFHA.2880@TK2MSFTNGP10.phx.gbl...
> :
> : I am trying to compile an old program. I have successfuly compiled same
> : programe many times in the past. But I have tried several times today to
> : compile the same progame and I keep getting this error ....
> :
> : VB6 program error
> :
> : The Instruction at 0x056b78259 referenced memory at 0x05b7829. The
memory
> : could not be read. Click OK to terminate the program, Click Cancel to
> debug.
> :
> : This happens when the compiler finishes "compile" amd is "creating exe"
> :
> : The only thing I did to the app was edit one or two lines in a sub. And
> the
> : other thing I did today was "Windows update"
> :
> : By the way, my other vb App compiles Ok on the same machine.
> :
> : Anyone have idea what is causing this problem? I googled but nothing
came
> up
> : on this error.
> :
> :
> :
> :
> :
> :
>



Report this thread to moderator Post Follow-up to this message
Old Post
JoeO
04-28-05 08:56 AM


Re: Compile Error
i ma getting the same error..although i did not do a windows update but I di
d
install office XP professional

i will try reinstalling vb

--
Gaurav Creations

"JoeO" wrote:

> Thanks Randy. I deleted all .obj files and other temp files... I tried to
> compile and got the same error ... and the compiler recreated the .obj fil
es
> all over.
>
> Still stuck.
>
> "Randy Birch" <rgb_removethis@mvps.org> wrote in message
> news:e0JSQX5SFHA.2124@TK2MSFTNGP14.phx.gbl... 
> compile 
> -- 
> -- 
> memory 
> came 
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Gaurav - http://www.gauravcreations.com
04-28-05 08:56 AM


Re: Compile Error
Hmmmm, I wonder why this is happening... anyone have any idea?

"Gaurav - http://www.gauravcreations.com" <gauravcreations@hotmail.com>
wrote in message news:592A8EF9-A277-4578-8AA7-BCC3D78CDBD5@microsoft.com...
> i ma getting the same error..although i did not do a windows update but I
did
> install office XP professional
>
> i will try reinstalling vb
>
> --
> Gaurav Creations
>
> "JoeO" wrote:
> 
to 
files 
> --------------------------------------------------------------------------
 
> --------------------------------------------------------------------------
 
same 
today to 
to 
exe" 
And 



Report this thread to moderator Post Follow-up to this message
Old Post
JoeO
04-28-05 08:57 PM


Re: Compile Error
i reisntalled VS and then applied service pack 5 .. it seems to have been
solved now

--
Gaurav Creations

"JoeO" wrote:

> Hmmmm, I wonder why this is happening... anyone have any idea?
>
> "Gaurav - http://www.gauravcreations.com" <gauravcreations@hotmail.com>
> wrote in message news:592A8EF9-A277-4578-8AA7-BCC3D78CDBD5@microsoft.com..
. 
> did 
> to 
> files 
> same 
> today to 
> to 
> exe" 
> And 
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Gaurav - http://www.gauravcreations.com
04-28-05 08:57 PM


Re: Compile Error
Do you compile from within the IDE or from the command line?
Try the other method. Sometime I get such effects in one compile mode, but
not in the other.
Maybe fiddling around with the compile flags may also help (turn off
optimization for example)

Robert

"JoeO" <jp3bless_NoSpam@hotmail.com> wrote in message
news:%23Ncr784SFHA.2880@TK2MSFTNGP10.phx.gbl...
>
> I am trying to compile an old program. I have successfuly compiled same
> programe many times in the past. But I have tried several times today to
> compile the same progame and I keep getting this error ....
>
> VB6 program error
>
> The Instruction at 0x056b78259 referenced memory at 0x05b7829. The memory
> could not be read. Click OK to terminate the program, Click Cancel to
debug.
>
> This happens when the compiler finishes "compile" amd is "creating exe"
>
> The only thing I did to the app was edit one or two lines in a sub. And
the
> other thing I did today was "Windows update"
>
> By the way, my other vb App compiles Ok on the same machine.
>
> Anyone have idea what is causing this problem? I googled but nothing came
up
> on this error.
>
>
>
>
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Robert
04-28-05 08:57 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Visual Basic archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:36 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.