-
cd browser
can u send me a code, enable to browse a cd? please send it to my email add enkil_221@yahoo.com. thanks
Last edited by myforum; 04-24-2007 at 06:12 AM.
Reason: change
-
You should never post your email address in an open post on an open forum. Mail spam bots can pick that up and before you know it, your mailbox is full of junk mail. If you wish to share your email address with other forum members, please do so via the existing PM system.
In addition, it would be better if all answers to questions be publically posted rather than sent via EMail or PM. That way, everyone with a similar problem can benefit.
Are you familiar with using the Common Dialog control?
-
im sory, because its my first time to join a forum... actually i use Common Dialog Control.. but i want a code to browse a cd while my program is inside the cd... thanks for your concern=)
-
By browse, I assume you mean just looking at what is on the CD, correct?
It should show up with the Common Dialog.
-
Or do you mean to open up Windows Explorer and have it opened to the CD?
If soo then using ShellExecute API would be the way to go.
-
Example of what RobDog888 speaks
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 Const SW_SHOWNORMAL = 1
Private Sub OpenExplorer(Optional StartDirectory As String)
ShellExecute 0, "Explore", StartDirectory, vbNullString, vbNullString, SW_SHOWNORMAL
End Sub
Private Sub Command1_Click()
'To Launch Windows Explorer With Specific Directory
OpenExplorer ("C:\Program Files\")
End Sub
-
thanks=)
thanks rob and hack....
Similar Threads
-
Replies: 0
Last Post: 03-28-2007, 03:06 AM
-
Replies: 2
Last Post: 12-12-2006, 09:56 AM
-
Replies: 0
Last Post: 05-31-2005, 07:29 AM
-
Replies: 1
Last Post: 11-21-2001, 11:35 AM
-
By Todd B - Agendum Software in forum vb.announcements
Replies: 0
Last Post: 09-13-2000, 10:18 AM
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
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|