Slight problem with VB code / VB Express or VB 6?

Status
Not open for further replies.

Nucleus

Active member
Joined
May 24, 2005
Messages
30
Programming Experience
Beginner
A friend created this form for me, so that i would be able to control my local webserver. He created it in Visual Basic 6. I have tried using it in VB Express 2005 (since it's free) but i get error messages. Some of those errors are these:

http://www.aristos.net/files/images/vbexpress/1.jpg
http://www.aristos.net/files/images/vbexpress/2.jpg
http://www.aristos.net/files/images/vbexpress/3.jpg
http://www.aristos.net/files/images/vbexpress/4.jpg
http://www.aristos.net/files/images/vbexpress/5.jpg

So I tried using this code in VB 6. There, i got other error messages. The first one is this.

http://www.aristos.net/files/images/vb6/1.jpg
http://www.aristos.net/files/images/vb6/2.jpg

I have no experience with VB programing, but after testing VB 6 and VB Express, the second one seems a lot more user friendly for someone just starting. So if anyone is using VB Express, maybe you could try the code, and help me resolve the problems, so that I can use it with VB Express insted of VB 6.
 
Well, VB6 and VB Express are NOT THE SAME THING. They are two completely different products. VB6 is well.... VB6. While VB Express is for .NET. .NET cannot run VB6 code any more than VB6 can run .NET code. They are incompatible w/ each other.

I suspect what may have happened is that when you opened it in VBE, some of the code was modified, which is what is now causing the problem when running it under VB6. What you need to do is get a fresh, clean copy and run it under VB6 ONLY.

-tg
 
Status
Not open for further replies.
Back
Top