PC Review


Reply
Thread Tools Rate Thread

Changing the program to open a File

 
 
=?Utf-8?B?UnVwYQ==?=
Guest
Posts: n/a
 
      22nd Oct 2004
Hi there,
Does anyone know how we can PROGRAMMATICALLY change the program used to open
a file? I am using vb.net. Any help will be gratly appreciated!!
Thank you
Rupa
 
Reply With Quote
 
 
 
 
=?Utf-8?B?RWRC?=
Guest
Posts: n/a
 
      22nd Oct 2004
You mean like if at one point if you click on a jpg it opens Paint, and then
you make a change and then a jpg opens to Adobe?

That would be a registry entry that you can manipulate

"Rupa" wrote:

> Hi there,
> Does anyone know how we can PROGRAMMATICALLY change the program used to open
> a file? I am using vb.net. Any help will be gratly appreciated!!
> Thank you
> Rupa

 
Reply With Quote
 
scorpion53061
Guest
Posts: n/a
 
      22nd Oct 2004
Open With (File Associations):

rundll32.exe shell32.dll,OpenAs_RunDLL d:\path\filename.ext


"Rupa" <(E-Mail Removed)> wrote in message
news:5E82F78D-B260-44FA-9AB8-(E-Mail Removed):
> Hi there,
> Does anyone know how we can PROGRAMMATICALLY change the program used to
> open
> a file? I am using vb.net. Any help will be gratly appreciated!!
> Thank you
> Rupa


 
Reply With Quote
 
=?Utf-8?B?UnVwYQ==?=
Guest
Posts: n/a
 
      22nd Oct 2004
Thanks for your help. To be specific, my case is that I have a 3rd party zip
application that creates a .cmp file. When a user downloads this .cmp file, I
have a utility to expand this file. So when a user double clicks on the .cmp
file, I want it to open with my .exe to unzip. Any ideas on how can I do this?

"scorpion53061" wrote:

> Open With (File Associations):
>
> rundll32.exe shell32.dll,OpenAs_RunDLL d:\path\filename.ext
>
>
> "Rupa" <(E-Mail Removed)> wrote in message
> news:5E82F78D-B260-44FA-9AB8-(E-Mail Removed):
> > Hi there,
> > Does anyone know how we can PROGRAMMATICALLY change the program used to
> > open
> > a file? I am using vb.net. Any help will be gratly appreciated!!
> > Thank you
> > Rupa

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing program that open attachments cindylou Microsoft Outlook Installation 4 27th Aug 2008 02:18 AM
changing program to open files Anders F Windows XP General 5 11th Jun 2008 02:56 AM
Changing "Always use this program to open this type file" setting =?Utf-8?B?YnJvYnVuZHk=?= Windows XP Help 1 3rd Mar 2006 07:53 PM
Re: Changing autormatic program selection to open a file PO.G Microsoft Windows 2000 0 6th Sep 2003 03:26 PM
changing the program used to open an attachment Berklee Microsoft Outlook 1 16th Jul 2003 10:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:12 AM.