| View previous topic :: View next topic |
| Author |
Message |
Simsgy Grandmaster Cheater
Reputation: 0
Joined: 07 May 2007 Posts: 581 Location: My new avatar <3
|
Posted: Mon Jun 18, 2007 12:42 pm Post subject: TWebBrowser - Delphi |
|
|
I have some trouble with TWebBrowser.
I can't find the place to specify the URL address, and I can't double click it.
Anyone knows?
Sorry about the noobish.
_________________
|
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Tue Jun 19, 2007 7:27 am Post subject: |
|
|
| You want to execute a website by clicking a button something else?
|
|
| Back to top |
|
 |
Simsgy Grandmaster Cheater
Reputation: 0
Joined: 07 May 2007 Posts: 581 Location: My new avatar <3
|
Posted: Tue Jun 19, 2007 7:43 am Post subject: |
|
|
| Kevinnn wrote: | | You want to execute a website by clicking a button something else? |
I want to embed a website in a form.
_________________
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Tue Jun 19, 2007 7:51 am Post subject: |
|
|
thats easy as shit in VB.
idkdelphi but can you drag a webbrowser control into the form?
_________________
|
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Tue Jun 19, 2007 7:54 am Post subject: |
|
|
| if you just want to open a website by clicking a button or whatever, just add the ShellAPI to your uses and then use the function ShellExecute
|
|
| Back to top |
|
 |
Simsgy Grandmaster Cheater
Reputation: 0
Joined: 07 May 2007 Posts: 581 Location: My new avatar <3
|
Posted: Tue Jun 19, 2007 8:06 am Post subject: |
|
|
| Kevinnn wrote: | | if you just want to open a website by clicking a button or whatever, just add the ShellAPI to your uses and then use the function ShellExecute |
I already know this, I want to embed a webbrowser in my form.
And the replayer before Kevinnn, I did that, but how do I enter a URL?
_________________
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Tue Jun 19, 2007 8:10 am Post subject: |
|
|
I can't really explain what you mean. But I think it is like when Uzeil came out with Mini Engine. And if you didn't get the first one right, a webpage popped up that was a asm tutorial from CEF. If thats what you mean. I don't know.
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
ravicus Master Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 464
|
Posted: Tue Jun 19, 2007 9:30 am Post subject: |
|
|
Add a TWebBrowser, and when you want to go to the site, use this
| Code: | | WebBrowser1.Navigate('www.example.com'); |
_________________
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Tue Jun 19, 2007 9:33 am Post subject: |
|
|
Thats pure vb.net right there
o.o
| Code: | | WebBrowser1.Navigate('www.example.com'); |
delphi is like vbnet?
_________________
|
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Tue Jun 19, 2007 9:34 am Post subject: |
|
|
| blankrider wrote: | | Thats pure vb.net right there |
No it isn't, they're just both using the same web browser component, "Trident", the rendering engine of Internet Explorer.
| blankrider wrote: | | delphi is like vbnet? |
No!
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Tue Jun 19, 2007 9:47 am Post subject: |
|
|
ok ok ok
as i said
i dont do delphi
_________________
|
|
| Back to top |
|
 |
Simsgy Grandmaster Cheater
Reputation: 0
Joined: 07 May 2007 Posts: 581 Location: My new avatar <3
|
Posted: Tue Jun 19, 2007 11:54 am Post subject: |
|
|
| blankrider wrote: | Thats pure vb.net right there
o.o
| Code: | | WebBrowser1.Navigate('www.example.com'); |
delphi is like vbnet? |
Working, thanks.
And no - it's not like vb.net, but it is similar.
_________________
|
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Tue Jun 19, 2007 12:09 pm Post subject: |
|
|
| Simsgy, where do you put that code, WebBrowser1.navi.... ??
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Tue Jun 19, 2007 1:57 pm Post subject: |
|
|
| If you need to ask that, you better go brush up on it more first.
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Tue Jun 19, 2007 2:04 pm Post subject: |
|
|
you put it in the command that a buttonpush will do
like you push the button and it NAVIGATES to the url
buttle, label, combobox
w/e yourneeds are
_________________
|
|
| Back to top |
|
 |
|