I used the code below..
Public 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
And then use this function:
retval = ShellExecute(FrmAudition.hwnd, "Open", "c:\audition.reg", vbokstring, 0&, 1)
Then the registry application need user to answer "Yes" or "No" to proceed.
How do I add the argument to send "Yes" autometically for the shellExecute line without user to select "Yes" or "No"