-
July 29th, 2001, 03:36 PM
#1
openning a url from within a dialog box
How do i open a url and display the html page (parsed... not code) in a dialog box?
-Discreet (Aaron Moore)
-
July 29th, 2001, 03:38 PM
#2
Re: openning a url from within a dialog box
Use the Microsoft Web Browser ActiveX control. Right click on the dialog in the resource editor and choose Insert Active X control. Associate a member variable with the ActiveX control, and use it's methods.
Got a question? try looking it up in MSDN first. Msdn comes with the Visual Studio, and can be found at http://msdn.microsoft.com
---===---
I'm not here for the rates, but rating a post is a good way for me to know how much i helped.
---===---
Daniel
-
July 29th, 2001, 06:40 PM
#3
Re: openning a url from within a dialog box
I don't see an option to insert active x? under the resource tab right?
-Discreet (Aaron Moore)
-
July 29th, 2001, 06:43 PM
#4
Re: openning a url from within a dialog box
Basically waht i'm trying to do is
1) have a part of the window show a certain url.
2) then I want to create another part of the program so the user can select a file (though the program) and and upload to a server. NOT ftp. I have a perl/php script that can upload a file, i just want to create an application inteface instead of the web.
-Discreet (Aaron Moore)
-
July 30th, 2001, 12:41 AM
#5
Re: openning a url from within a dialog box
Sorry, I was a bit unclear, in the dialog editor, after you double cclick on the dialog in the resource tab.
Got a question? try looking it up in MSDN first. Msdn comes with the Visual Studio, and can be found at http://msdn.microsoft.com
---===---
I'm not here for the rates, but rating a post is a good way for me to know how much i helped.
---===---
Daniel
-
July 30th, 2001, 01:22 AM
#6
Re: openning a url from within a dialog box
how do i set the url... and how to i get access to it code wise?
-Discreet (Aaron Moore)
-
August 1st, 2001, 11:30 AM
#7
Re: openning a url from within a dialog box
Once you add the browser control variable m_browser, you can call m_browser.Navigate(...)
For detail browser control functions, please check MSDN.
If you need a diaglog with browser control sample, please let me know (and your email address).
William
-
August 1st, 2001, 11:51 AM
#8
Re: openning a url from within a dialog box
i guess this is wat you need?
ShellExecute(NULL, _T("open"), "C:\\MyPage.htm", NULL, _T("C:\\"), SW_SHOW);
helped?
bestRegards,
-jusstujoo!
Keep it as simple as possible, but no simpler
--Albert Einstein
-
August 1st, 2001, 12:28 PM
#9
Re: openning a url from within a dialog box
i'm slowly understanding i guess i'd appreciate the sample, my email is Discreet@vi2.com
thankyou
-Discreet (Aaron Moore)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|