API Calls or VB.NET Code
-
Can anyone tell me either API calls or VB.NET code to do the follow steps or items. 1. Start Windows Explorer. (ProcID = Shell("C:\Winnt\explorer.exe)) 2. Size Window Explorer and set it's position. 3. Set Initial Folder. 4. Set Filter on files shown. (Not a must but would be nice.) 5. Recieve Event or know they have closed Window explorer with my ProcID. Any assistance would be great. Thanks Don Don Hamilton VantageMed Corporation - Kansas City
-
Can anyone tell me either API calls or VB.NET code to do the follow steps or items. 1. Start Windows Explorer. (ProcID = Shell("C:\Winnt\explorer.exe)) 2. Size Window Explorer and set it's position. 3. Set Initial Folder. 4. Set Filter on files shown. (Not a must but would be nice.) 5. Recieve Event or know they have closed Window explorer with my ProcID. Any assistance would be great. Thanks Don Don Hamilton VantageMed Corporation - Kansas City
hmm interop with internet explorer to create InternetExplorer object or 1) System.Diagnostics.Process.Create(...) then API i suppose 2) FindWindow to find the window, and some other function to change the windows position SetWindowPos i think 3) is a command line switch 4) don't know 5) Process.Create returns a process object which, when the appropraite property is set, raises the Exit event :-) greetz ;-) *Niels Penneman*
Software/Dev Site
Personal Site
-
Can anyone tell me either API calls or VB.NET code to do the follow steps or items. 1. Start Windows Explorer. (ProcID = Shell("C:\Winnt\explorer.exe)) 2. Size Window Explorer and set it's position. 3. Set Initial Folder. 4. Set Filter on files shown. (Not a must but would be nice.) 5. Recieve Event or know they have closed Window explorer with my ProcID. Any assistance would be great. Thanks Don Don Hamilton VantageMed Corporation - Kansas City
... and get special folders (windows folder) from System.Environment if you can't make it working by setting the filename to "explorer" greetz ;-) *Niels Penneman*
Software/Dev Site
Personal Site