|
-
Aug 28th, 2000, 11:57 PM
#1
Thread Starter
Addicted Member
How can I handle this new help system? I know how to make it's files, but I don't know how to call them from program.
AtDhVaAnNkCsE
( : ns-code : )
FCP Products

-
Aug 29th, 2000, 12:04 AM
#2
Frenzied Member
x = Shell(app.path & "\help\helpfile.help", 1)
NXSupport - Your one-stop source for computer help
-
Aug 29th, 2000, 12:30 AM
#3
Frenzied Member
ShellExecute is better I think
Code:
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
Public Sub Execute(file As String)
lngResult = ShellExecute(hwnd, "Open", file, "", "", vbNormalFocus)
End Sub
'Use it like this:
Execute help.html
Was that all info you needed?
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Aug 29th, 2000, 12:33 AM
#4
Frenzied Member
whats the diffrence? mine is shorter
NXSupport - Your one-stop source for computer help
-
Aug 29th, 2000, 01:34 AM
#5
Yours may be shorter Dimava, but the ShellExecute function will launch any file with its default program.
While the Shell function will load certain program, but try loading a txt file just using Shell.
You will get an error, you'd have to Shell it with Notepad, while ShellExecute will load it no matter what.
-
Aug 29th, 2000, 01:36 AM
#6
Frenzied Member
NXSupport - Your one-stop source for computer help
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
|