I'm sorry, can you pls elaborate? M not sure i got it... ===sorry, just a little of a beginner man(Jeff).
Lyfkcd
Posts
-
How to start a single instance of application through selected multiple associated files -
How to start a single instance of application through selected multiple associated filesAnyone pls help? -- I've built an application that would deal with own associated files.., had done providing default icons, file type, and etc. Everything works well by clicking or selecting a single file, my application runs and accepts the parameter which is the full path of the file itself..., but the problem is, when i try to load multiple selected files, when i do that, multiple instances of my application starts each having a single file to open... Though i'm using a string array in the main function of the application, it just loads a single parameter not an array of parameters..., I've used functions to access the registry, and used "%1" as an Argument, so maybe that could be the main problem.... -- Is there anyway i could change this to other values to attain multiple file entries with one instance of my application? Such as Windows Media Player enlisting all files when you use Ctrl+A in a directory of music files..., ----Thanks a lot in advance!!!!
-
Please Help....How to open a file in application?I kinda followed your message last time, quite got it eventually.... Thanx sooo much for the help... XS: Yes, Life is study...
-
Please Help....How to open a file in application?Thank you sooo much!!!
-
How to run your application by double-clicking a file?Sorry for not describing my prblem well, im just new in programming. anyway, i meant modifying the registry.., didnt had the idea before, so i wasnt able to explain it very well. I meant, the file having default icons, file type, opens my own application through clicking the file itself...etc. Thanks 4 your help...
-
How to run your application by double-clicking a file?Im sorry if i didnt quite say it.., i was wondering if how my c# application would output a file..but can in turn activate my application through clicking the file itself. Registered maybe in windows registry...having default file types, icons, etc. Thanks anyway...
-
How to run your application by double-clicking a file?thank you so much...it worked...
-
How to run your application by double-clicking a file?Please help.., how do i load a file in the application i made upon double-clicking on the file itself? I need this without going through setup and deployment actions...Please anyone? ............
-
Please Help....How to open a file in application?Thank you so much anyway..., but favor please, if you'd have d idea on how to manage these problems written in C#, please do "message me here"..Tnx.
-
Please Help....How to open a file in application?I've posted my block of codes, please try to look deep into it, im gettin the access denied upon clicking or right clicking and choosing "Open with SIS", the registered file with my own file extensions still have unknown applications on its properties.... I need a way on these without deployment yet. Is there any other way? PLEASE....
-
Please Help....How to open a file in application?"args is the parameter list. if you open app through file the first parameter is the file name.. then you can do whatever you want with it.. " -what do you mean, i'm sorry i don't get it..in vs 2005 these lines are included in the Program.cs file, isn't it? These are my codes in my main form using the Form_Load Event. RegistryKey rk = Registry.ClassesRoot.CreateSubKey(".sis",RegistryKeyPermissionCheck.ReadWriteSubTree); rk.SetValue("Content Type", "application/x-sis"); rk.SetValue("PerceivedType", "file collections"); rk.SetValue("", "SIS"); rk.CreateSubKey("OpenWithList"); RegistryKey rk2 = Registry.ClassesRoot.CreateSubKey("SIS", RegistryKeyPermissionCheck.ReadWriteSubTree); rk2.SetValue("", "SIS File"); rk2.CreateSubKey("DefaultIcon",RegistryKeyPermissionCheck.ReadWriteSubTree); try { RegistryKey rk3 = Registry.ClassesRoot.OpenSubKey("SIS", true).OpenSubKey("DefaultIcon", true); rk3.SetValue("", "C:/sis.ico"); RegistryKey rk4 = Registry.ClassesRoot.OpenSubKey("SIS", true); rk4.CreateSubKey("shell", RegistryKeyPermissionCheck.ReadWriteSubTree); RegistryKey rk5 = Registry.ClassesRoot.OpenSubKey("SIS", true).OpenSubKey("shell", true); rk5.CreateSubKey("open", RegistryKeyPermissionCheck.ReadWriteSubTree); RegistryKey rk51 = Registry.ClassesRoot.OpenSubKey("SIS", true).OpenSubKey("shell", true).OpenSubKey("open", true); rk51.SetValue("", "Open with &SIS"); RegistryKey rk6 = Registry.ClassesRoot.OpenSubKey("SIS", true).OpenSubKey("shell", true).OpenSubKey("open",true); rk6.CreateSubKey("command", RegistryKeyPermissionCheck.ReadWriteSubTree); RegistryKey rk66 = Registry.ClassesRoot.OpenSubKey("SIS", true).OpenSubKey("shell", true).OpenSubKey("open", true).OpenSubKey("command", true); rk66.SetValue("", "C:/SIS.exe"); RegistryKey rkapp = Registry.ClassesRoot.OpenSubKey("Applications", true); rkapp.CreateSubKey("SIS.exe", RegistryKeyPermissionCheck.ReadWriteSubTree); RegistryKey rkapp2 = Registry.ClassesRoot.OpenSubKey("Applications", true).OpenSubKey("SIS.exe", true); rkapp2.CreateSubKey("shell", RegistryKeyPermissionCheck.ReadWriteSubTree); RegistryKey rkapp3 = Registry.ClassesRoot.OpenSubKey("Applications", true)
-
Please Help....How to open a file in application?Really need help guys!! Am just a newby in .Net programming, i am using visual studio 2005 and studying C# programming language. I am building a utility software that would need to be opened by clicking or double-clicking the file built by my application using its own file extensions, much like zip files in windows explorer loading on WinZip etc... Really need help... Please anyone..Sample C# 2005 codes would be very much appreciated. Thank you!!! .............