Problem of running Visual Basic on Win2000 pro. of notebook

benson031397
benson031397 used Ask the Experts™
on
Dear sir,

I got a very strange problem of running Visual Basic in my notebook using Win2000 pro.

First of all, I installed VB6 successfully on win2000.
After that, I open a new project and a new form display.
I double click the form.  There is an error message appear.  The error message are as follows :

The instruction at "0x0fa928eb" referenced memory at "0x00000000".  The memory could not be "read".

Click an OK to terminate the program
Click an CANCEL to debug the program.

My notebook configuration are as follows :

OS : Win2000
Hardward : Toshiba notebook(I think brand name is not a concern as my other sony notebook also got the same problem).


Did anyone get this experience before?  If you did, please let me know, and the solution if you have.


Thanks a lot
Benson
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Have you tried re-installing VB?  Perhaps something installed after VB has replaced one of the VB dependencies.  <xxx referenced memory at "0x00000000"> indicates that something tried to write to memory location 0 which is protected space.  This usually means that something tried to specify a memory location but couldn't find the pointer to that memory location and commonly occurs when you have mismatched code components.


Also, do you have complete admin privileges  on the notebooks?

Author

Commented:
twalgrave :

Yes!  I have complete admin privileges.  
Can you tell me more?


Thanks
Benson

Author

Commented:
twlgrave :

I have re-install VB for a couples of times.


BUt still got this problem.


Thanks
Benson
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Have you tried installing on another machine that's not a notebook using the same install CD?  I can't imagine what this could be as I've installed ALL versions of VB on many machines and from vb4 - 6  on PCs and notebooks alike and never encountered this problem.  What I'm trying to test here is whether you have a bad VB install CD.

Author

Commented:
twalgrave :

Actually, I have two notebooks.  I have installed into both notebooks win 2k.  Both have problem.

However, when I install it on deskop with win98 and win2k respectively.  There is no problem at all.

Do you think it means there is some driver in notebook conflict with VB?

However, there is no problem for installing vb on both notebooks.  It sounds strange.

 
I've done a search and could find nothing.  It could be a driver, but then again? I can't be sure.  If it is possible to take one of those notebooks and bring it down to bare-bones (perhaps using a swapped blank drive) and only install the OS and VB, you might be able to tell if you can get VB on that notebook at all.  If you can, it's probably an issue with another installed application on the notebook.  I know this seems like a lot of work and destructive, but without anyone being able to see the hardware/software you have on the notebook, it will be difficult to troubleshoot long-distance.  I think you should keep this open and see if anyone else has ideas or has come across this, but I'm out of ideas.  Sorry I couldn't help more.



Have you installed the service pack for VB?  This MUST be installed for it to work properly.  I think it's SP5

Good Luck

Brian Grant

Author

Commented:
btomgrant :

I have installed SP5 but still cannot solve the problem.

As what twalgrave suggest before, I install OS and VB only.
It works fine now.  That means there should have some application that conflict with VB software.  Ai.....

What should I do now ?

I would install each additional application one at a time, testing vb between each install.  In this way you have a pretty good chance of finding the culprit.

Brian
Once you find the culprit, see if there's updated DLLs, or patches or whatever for the program that may allow you to install it with VB.

I'm glad you're getting somewhere!

Author

Commented:
btomgrant, twalgrave:

You two really give me such a good idea.  But it might be very time consuming.  Anyway,  I pretty appreciate your idea.


How I can accept you both comments as answer?

Author

Commented:
btomgrant :

I have installed SP5 but still cannot solve the problem.

As what twalgrave suggest before, I install OS and VB only.
It works fine now.  That means there should have some application that conflict with VB software.  Ai.....

What should I do now ?

I don't know if you can but I think you can drop the points to 50 and send to me, then post a new question in this area as 50 points for btomgrant, call the question "Points for btomgrant" then wait for them to reply and accept that answer.
You are welcome.  I'm not sure how it all works... I'm new to the exchange, so I would have to go with what twalgrave suggested.  I don't even know what points do yet anyway.

Brian
benson,

points have not yet been assigned to this.  please maintain the question.

Author

Commented:
I have assigned one of you guys.  But I don't know how to assign both.  Sorry.
Did you assign all the points to btomgrant?  I so, then unless you want to spend more points, it over.  If you dropped the points to 50 like I suggested and would like to assign me 50 points, create a new question named "points for twalgrave", then post the link to that question here or simply post here saying it is done.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial