Have you done any research on suing the webbrowser control? This allows you
to embed the Explorer in you r program and keep your controls custom to the
form. I've played with it a bit and it is pretty powerful. The only
problem I had was it created a new window when accessing physical drives, EX
C: drive and I wanted it to stay embedded. All internet results are
embedded in the window.
For more examples of this visit:
http://www.planet-source-code.com/
Change the language to Visual Basic and search for "WebBrowser", there are
several sample programs on the site.
Hope this helps.
Thanks
Crane Whitehead
Programmer / Analyst
cwhitehead@h...
xxx.xxx.xxxx
Healthaxis
Computing and Network services
http://www.healthaxisasg.com
-----Original Message-----
From: AJAX(r) [mailto:ajax@i...]
Sent: Friday, January 25, 2002 2:43 AM
Subject: Re: Calling IE browser through VB
Hi,
Assuming that u can use API
# Open a standard EXE project.
# Add a TextBox, Name Text1
# Add a command button, Name: Command1
# Paste the following code
Cheers,
'VB CODE
Option Explicit
Private Declare Function ShellExecute Lib "shell32.dll" Alias
"ShellExecuteA" _
(ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, _
ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As
_
Long) As Long
Private Sub Command1_Click()
ShellExecute Me.hwnd, "Open", text1.text, vbNullString, vbNullString, 1
End Sub
----- Original Message -----
From: ashay@w...
To: professional vb
Sent: Thursday, January 24, 2002 12:04 PM
Subject: [pro_vb] Calling IE browser through VB
hi,
i want to open an IE browser window when a user clicks on a button on the
form application.The url is also entered by the user on the form text
box.How do we do this???????
any help wud be highly appreciated.
regards,
ashay