|
-
Mar 10th, 2002, 05:42 AM
#1
Thread Starter
Lively Member
Opening a new web-page window
Hi everybody,
I got this code:
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 0&, vbNullString, "http://www.google.com", vbNullString, "C:\", 1
End Sub
and it works, but it replaces my last web-browser window, and I want to let it open in a new window...
anyone?
and while your reading this: how do you rename a file using vb?
Last edited by tonnic; Mar 10th, 2002 at 12:33 PM.
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
|