Jump to content
Posted 15 January 2009 - 07:58 PM
Posted 15 January 2009 - 09:03 PM
Posted 15 January 2009 - 09:14 PM
%1is a command line code extension to secure one file as temporary or subject to change.
Posted 16 January 2009 - 09:06 PM
I'm writing a c++ class to associate a file extension with an external icon. The c++ part is irrelevant, really.
My question is that I'm seeing some command line strings in the registry, the most familiar being "NOTEPAD.EXE %1"
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Const SW_SHOW = 5 Private Sub Command1_Click() 'a button ShellExecute Me.hwnd, "open", "location + filename of what ever you want to open", vbNullString, vbNullString, SW_SHOW End Sub
Windows ME (spare computer)
Windows XP 2002 Professional SP3 (desktop computer)
Windows 7 Professional SP1 32bit (laptop computer)
Windows 8 64bit spare drive for laptop computer
Posted 16 January 2009 - 10:33 PM
BeginUpdateResource()--Resource calls in Updating, like the one shown, I do know that you can't modify EXE/DLL resources through API Calls.--
Edited by Jay-P VIP, 16 January 2009 - 10:34 PM.
0 members, 0 guests, 0 anonymous users