Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


how do you make visual basic execute a specific website?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
m4plestory
Grandmaster Cheater
Reputation: 0

Joined: 26 Oct 2006
Posts: 609

PostPosted: Sat Feb 07, 2009 2:56 pm    Post subject: how do you make visual basic execute a specific website? Reply with quote

Um yeah , so I wanted to make a project, a project that you can click a button and it opens the site . Please give me a working code Smile
_________________
Quit GMS .
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Sat Feb 07, 2009 3:04 pm    Post subject: Reply with quote

Use Shell()
Shell(Chr(34) & "C:\Program Files\Internet Explorer\IEXPLORE.EXE" & Chr(34) & " http://www.google.ca", vbNormalFocus)

I think... You may have to move stuff around for this to work.
Back to top
View user's profile Send private message
m4plestory
Grandmaster Cheater
Reputation: 0

Joined: 26 Oct 2006
Posts: 609

PostPosted: Sat Feb 07, 2009 3:08 pm    Post subject: Reply with quote

dnsi0 wrote:
Use Shell()
Shell(Chr(34) & "C:\Program Files\Internet Explorer\IEXPLORE.EXE" & Chr(34) & " http://www.google.ca", vbNormalFocus)

I think... You may have to move stuff around for this to work.


what do you mean by "move stuff around"

_________________
Quit GMS .
Back to top
View user's profile Send private message
Exodias
Expert Cheater
Reputation: 0

Joined: 14 May 2008
Posts: 220

PostPosted: Sat Feb 07, 2009 3:11 pm    Post subject: Reply with quote

like if your internet explorer folder is not where the location is
Back to top
View user's profile Send private message
m4plestory
Grandmaster Cheater
Reputation: 0

Joined: 26 Oct 2006
Posts: 609

PostPosted: Sat Feb 07, 2009 3:17 pm    Post subject: Reply with quote

Exodias wrote:
like if your internet explorer folder is not where the location is

My folder is there, and it still doesn't work ?

_________________
Quit GMS .
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Sat Feb 07, 2009 3:41 pm    Post subject: Reply with quote

m4plestory wrote:
Exodias wrote:
like if your internet explorer folder is not where the location is

My folder is there, and it still doesn't work ?


Try this one then...
Shell "C:\Program Files\Internet Explorer\IEXPLORE.EXE http://www.google.ca", vbNormalFocus
Back to top
View user's profile Send private message
m4plestory
Grandmaster Cheater
Reputation: 0

Joined: 26 Oct 2006
Posts: 609

PostPosted: Sat Feb 07, 2009 3:47 pm    Post subject: Reply with quote

dnsi0 wrote:
m4plestory wrote:
Exodias wrote:
like if your internet explorer folder is not where the location is

My folder is there, and it still doesn't work ?


Try this one then...
Shell "C:\Program Files\Internet Explorer\IEXPLORE.EXE http://www.google.ca", vbNormalFocus


sweet it works . + Rep

_________________
Quit GMS .
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Sat Feb 07, 2009 5:30 pm    Post subject: Reply with quote

That works very well. Also you can use a webbrowser control in vb and just call its navigate function/method(or whatever it is called in vb) to visit a site.
_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
FullyAwesome
I post too much
Reputation: 0

Joined: 05 Apr 2007
Posts: 4438
Location: Land Down Under

PostPosted: Sat Feb 07, 2009 6:11 pm    Post subject: Reply with quote

i don't see why you wouldn't just use:

Code:
System.Diagnostics.Process.Start("http://forum.cheatengine.org")


that way your default browser will open the page.

_________________
Back to top
View user's profile Send private message MSN Messenger
angerist
Grandmaster Cheater Supreme
Reputation: 0

Joined: 18 Jun 2007
Posts: 1011
Location: Australia.

PostPosted: Sun Feb 08, 2009 12:37 am    Post subject: Reply with quote

Code:
ShellExecute GetActiveWindow(), "Open", "http://www.google.com.au", "", 0&, 1

_________________
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Sun Feb 08, 2009 7:14 am    Post subject: Reply with quote

Yeah, yeah whatever there are millions of more solutions.. do we have to list them all?
_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Sun Feb 08, 2009 10:06 am    Post subject: Reply with quote

fullyawesome wrote:
i don't see why you wouldn't just use:

Code:
System.Diagnostics.Process.Start("http://forum.cheatengine.org")


that way your default browser will open the page.


I don't have .NET I ahve vb6.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites