Compatibility Files in Vista [modified]
-
I developed a desktop application in C#.Net using VS2005. On one of the form, On double clicking a Listview, the selected file is opened with the selected application. MSWORD for .doc and WinZip for .Zip This works perfectly in XP,2003 and other platforms except vista. The files which i want to open is in the application folder, c:programfiles/myapp. The problem is Compatibility files. Can any one help me out?? How can i make my application compatible with Vista ? OK let me make it more clear. My application is always installed in to c:/program files the default path. The problem is that on double click .pdf ,.jpg , .bmp files open up but the files such as .doc, .ppt, .txt .mdb does not open in Vista. -- modified at 1:07 Thursday 11th October, 2007
Avanish
-
I developed a desktop application in C#.Net using VS2005. On one of the form, On double clicking a Listview, the selected file is opened with the selected application. MSWORD for .doc and WinZip for .Zip This works perfectly in XP,2003 and other platforms except vista. The files which i want to open is in the application folder, c:programfiles/myapp. The problem is Compatibility files. Can any one help me out?? How can i make my application compatible with Vista ? OK let me make it more clear. My application is always installed in to c:/program files the default path. The problem is that on double click .pdf ,.jpg , .bmp files open up but the files such as .doc, .ppt, .txt .mdb does not open in Vista. -- modified at 1:07 Thursday 11th October, 2007
Avanish
You could add an elevation manifest file to your application, then it should work. regards,
Jonathan Wilkes Darka[Xanya.net]
-
You could add an elevation manifest file to your application, then it should work. regards,
Jonathan Wilkes Darka[Xanya.net]
-
I developed a desktop application in C#.Net using VS2005. On one of the form, On double clicking a Listview, the selected file is opened with the selected application. MSWORD for .doc and WinZip for .Zip This works perfectly in XP,2003 and other platforms except vista. The files which i want to open is in the application folder, c:programfiles/myapp. The problem is Compatibility files. Can any one help me out?? How can i make my application compatible with Vista ? OK let me make it more clear. My application is always installed in to c:/program files the default path. The problem is that on double click .pdf ,.jpg , .bmp files open up but the files such as .doc, .ppt, .txt .mdb does not open in Vista. -- modified at 1:07 Thursday 11th October, 2007
Avanish
It isn't really clear what problem you are running into. What do you mean by "Compatability files"? As long as you don't try to write to a restricted area, Vista should allow you to read from the
Program Files
folder (or subfolders). Anything you try to write back to that location will be virtualized to a user specific directory, which should be transparent to your application. You do need to make sure that you aren't trying to use hard-coded paths. Instead, you need to use theEnvironment.SpecialFolder
enum along with theEnvironment.GetFolderPath
method to retrieve theProgram Files
folder.Scott.
—In just two days, tomorrow will be yesterday. [Forum Guidelines] [Articles] [Blog]
-
You could add an elevation manifest file to your application, then it should work. regards,
Jonathan Wilkes Darka[Xanya.net]
But how, How to do that. Pls send me the link to such an example of elevation manifest files.
avanish
-
But how, How to do that. Pls send me the link to such an example of elevation manifest files.
avanish
See some of my earlier posts in this forum, I have included a sample manifest in some of them. regards,
Jonathan Wilkes Darka[Xanya.net]