-
to open a file not with default application
i want to open a file not with the default application.
but with a different application.i want to do this using windows api functions
that updates the registry.
i will be doing this with Visual Basic.
-
Re: to open a file not with default application
Ganesh: Do you have a question? I didn't see one in your post.
---
Phil Weber
-
Re: to open a file not with default application
Ganesh: Do you have a question? I didn't see one in your post.
---
Phil Weber
-
Re: to open a file not with default application
"Phil Weber" <pweber@teleport.com> wrote:
>Ganesh: Do you have a question? I didn't see one in your post.
>---
>Phil Weber
>
>
i want to open a file not with a default application ,
but with a different application.
i need the win32 api that will set the application for the
corresponding extension of a file.
i will be using visual basic
-
Re: to open a file not with default application
"Phil Weber" <pweber@teleport.com> wrote:
>Ganesh: Do you have a question? I didn't see one in your post.
>---
>Phil Weber
>
>
i want to open a file not with a default application ,
but with a different application.
i need the win32 api that will set the application for the
corresponding extension of a file.
i will be using visual basic
-
Re: to open a file not with default application
> I need the Win32 API that will set the application
> for the corresponding extension of a file.
Ganesh: You can do this interactively by selecting Folder Options... from
Windows Explorer's View menu, and clicking on the File Types tab. If you
need to associate an extension with an application programmatically, see the
following article in the Microsoft Knowledge Base (found by searching for
"associate extension" at http://support.microsoft.com ):
HOWTO: Associate a File Extension with Your Application (Win32)
( http://support.microsoft.com/support.../q185/4/53.asp )
---
Phil Weber
-
Re: to open a file not with default application
> I need the Win32 API that will set the application
> for the corresponding extension of a file.
Ganesh: You can do this interactively by selecting Folder Options... from
Windows Explorer's View menu, and clicking on the File Types tab. If you
need to associate an extension with an application programmatically, see the
following article in the Microsoft Knowledge Base (found by searching for
"associate extension" at http://support.microsoft.com ):
HOWTO: Associate a File Extension with Your Application (Win32)
( http://support.microsoft.com/support.../q185/4/53.asp )
---
Phil Weber
-
Re: to open a file not with default application
ganesh
You wan't to change the relationship permanently or just sometimes? Or just
for this application? If permanently, use Phil's advice, but if this is for
a distributing application then you will need to generate registry changes
to follow your application.
If Temporary, you can create a new Verb, then, when the user right clicks
the file, there is a menu of things you can do to it, including invoke your
program. The folder options dialog lets you do this too: and again, if this
has to follow your app you need to create registry changes.
If it's just once, then let your application open it. There is no law that
says you cant open one file type with another file types program. It just
may look wierd.
ganesh shetty <ganeshshetty@hotmail.com> wrote in message
news:38df9898$1@news.devx.com...
>
> i want to open a file not with the default application.
> but with a different application.i want to do this using windows api
functions
> that updates the registry.
> i will be doing this with Visual Basic.
-
Re: to open a file not with default application
ganesh
You wan't to change the relationship permanently or just sometimes? Or just
for this application? If permanently, use Phil's advice, but if this is for
a distributing application then you will need to generate registry changes
to follow your application.
If Temporary, you can create a new Verb, then, when the user right clicks
the file, there is a menu of things you can do to it, including invoke your
program. The folder options dialog lets you do this too: and again, if this
has to follow your app you need to create registry changes.
If it's just once, then let your application open it. There is no law that
says you cant open one file type with another file types program. It just
may look wierd.
ganesh shetty <ganeshshetty@hotmail.com> wrote in message
news:38df9898$1@news.devx.com...
>
> i want to open a file not with the default application.
> but with a different application.i want to do this using windows api
functions
> that updates the registry.
> i will be doing this with Visual Basic.
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
|