|
-
Apr 9th, 2016, 10:20 PM
#1
Thread Starter
PowerPoster
How VB6 can open a DVD to view files?
Hi there folks! I am finishing up this DVD launcher app to give to teachers. The launcher gives them choices such as copying all files, copying specific, and just opening the DVD to view the files. I have only found threads on how to watch DVD movies with vb6, but I just want to open a window where the user can see all of the files on the DVD. Would anyone have any experience in that?
Thanks!
-
Apr 10th, 2016, 12:11 AM
#2
Re: How VB6 can open a DVD to view files?
you can shell out to windows explorer, or open a commondialog, or make your own form with listview, treeview or other suitable controls
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Apr 10th, 2016, 12:24 AM
#3
Re: How VB6 can open a DVD to view files?
If you want a VB6 program to run properly from slow/read-only/removable media there are a few things you need to do.
First you need to use reg-free COM packaging to create isolated assemblies from the libraries to avoid the hazards of registering non-installed libraries. Second you need to "relink" all of the PE files to run from swapspace, see: /SWAPRUN (Load Linker Output to Swap File) for details.
Failure to do this can result in performance problems, crashes, and breaking other applications.
-
Apr 10th, 2016, 06:53 AM
#4
Frenzied Member
Re: How VB6 can open a DVD to view files?
why cant you simply use the common dialogue parts like drive and dir and filelist and set the path property as you would with any other drive ?
here to ponder
-
Apr 10th, 2016, 11:00 AM
#5
Re: How VB6 can open a DVD to view files?
You can. Put the DVD in the CD/DVD device and open it using CommonDialog. It's no different than any other drive with folders
Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.
-
Apr 10th, 2016, 11:03 AM
#6
Frenzied Member
Re: How VB6 can open a DVD to view files?
 Originally Posted by jmsrickland
You can. Put the DVD in the CD/DVD device and open it using CommonDialog. It's no different than any other drive with folders
so whats the problem?
-
Apr 10th, 2016, 02:03 PM
#7
Re: How VB6 can open a DVD to view files?
As far as I'm concerned, nothing. Why do yo ask
Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.
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
|