Umm well I would like to... however just havn't figured out how to extract
the files to disk yet... if you have any suggestions i would be more than
willing to attempt it. I have tried to use the Assembly and Stream classes
but havn't really got it to work. When reasearching that is when I stumbled
across the cab extractor.
Thanks,
aaron
> Umm well I would like to... however just havn't figured out how to extract
> the files to disk yet...
But you've already *got* the files, haven't you? After all, you wrote:
<quote>
So using that I created a small progy to create the cab file containing
the the two other files I need.
</quote>
If you created the cab file, you must already have the files you need.
So why bother with the cab file? Just copy the files over directly in
the first place, and leave cab files out of it.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
Aaron - 13 Mar 2008 13:42 GMT
ok maybee i'm not being very clear. I'm attempting to write a small program
what will call the free vnc edition by command line to connect to my viewer
with no interaction from the user with the exception of hitting the connect
button. However I have to get the vnc and the supporting dll copied to the
local machine. What I would like to do is have then click on my executable,
that would then extract the files into the appropriate directory and then
call it from the command line. My issue is getting the files extracted to
the users hard disk. Can you help with that?
Thanks,
aaron
>> Umm well I would like to... however just havn't figured out how to
>> extract
[quoted text clipped - 10 lines]
> So why bother with the cab file? Just copy the files over directly in
> the first place, and leave cab files out of it.
Jon Skeet [C# MVP] - 13 Mar 2008 13:55 GMT
> ok maybee i'm not being very clear. I'm attempting to write a small program
> what will call the free vnc edition by command line to connect to my viewer
[quoted text clipped - 4 lines]
> call it from the command line. My issue is getting the files extracted to
> the users hard disk. Can you help with that?
How is the user getting your executable to their computer to start
with? Why can't the VNC files be copied in the same way?

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
Aaron - 13 Mar 2008 13:57 GMT
Not really,
they will be downloading it from the web or sent through email
>> ok maybee i'm not being very clear. I'm attempting to write a small
>> program
[quoted text clipped - 12 lines]
> How is the user getting your executable to their computer to start
> with? Why can't the VNC files be copied in the same way?
Lasse Vågsæther Karlsen - 13 Mar 2008 14:32 GMT
> Not really,
>
[quoted text clipped - 18 lines]
>> How is the user getting your executable to their computer to start
>> with? Why can't the VNC files be copied in the same way?
This is what installation programs are typically for...

Signature
Lasse Vågsæther Karlsen
mailto:lasse@vkarlsen.no
http://presentationmode.blogspot.com/
PGP KeyID: 0xBCDEA2E3
Jon Skeet [C# MVP] - 13 Mar 2008 14:44 GMT
<snip>
> This is what installation programs are typically for...
Or self-extracting zip files, if full installers aren't required.
There's no need for any code though.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk