Instead, figure out how to compile it without the need for the Framework. Then it can run on any Windows computer, with or without .NET
WaltP
Posting Sage w/ dash of thyme
10,492 posts since May 2006
Reputation Points: 3,348
Solved Threads: 943
hollystyles
Veteran Poster
1,182 posts since Feb 2005
Reputation Points: 262
Solved Threads: 68
As I said...
Instead, figure out how to compile it without the need for the Framework. Then it can run on any Windows computer, with or without .NET
There was web access long before .NET, so don't use technology that is limiting you.
WaltP
Posting Sage w/ dash of thyme
10,492 posts since May 2006
Reputation Points: 3,348
Solved Threads: 943
Yes, but in the .NET framework you can just drag an internet browser in...
You can certainly drag on a web browser in VB6.0. Look in the extended/full control list.. I'll walk you through because I don't remember exactly myself..
Right click your toolbox and hit components, or go to project > components; then browse through the list until you reach "Microsoft Internet Controls", check the box, and you'll have a new component in the toolbox called WebBrowser. Use it like this: WebBrowser1.Navigate("AN_URL")
Matt
MattEvans
Veteran Poster
1,386 posts since Jul 2006
Reputation Points: 522
Solved Threads: 64
does it give an error or does it just hang indefinately? does it crash when you drop the control or when you try to use it?
it may be the case that your school computers have firewalls and your application isn't in the list of programs trusted to use the internet.
i just tried it out (i use Norton Internet Security) and; while you're developing/debugging, VB6.0 needs to be granted permission to use the net (gives a low warning), and when you build the app (and i expect everytime you rebuild the app) it needs to be given the same permission (but gives a high warning).
you can test if that's the problem by trying to open a local file, but with regard to connecting to actual webpages, this'll probably be the case with any software you write in any language!
Matt
MattEvans
Veteran Poster
1,386 posts since Jul 2006
Reputation Points: 522
Solved Threads: 64
Every compiled program has dependencies. .NET programs require the .NET Framework. There is no way to write a program in th .NET environment without .NET Framework on the client machine, as WaltP keeps stating.
You could write in another language, such as VB 6.0, but it requires the vbrunxxx.dll as a dependency, and so on.
Any language that supports COM can re-use the Web Browser Control to have an internal web browser.
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37