01-25-2012, 02:26 AM 
		
	
	
		Hi,
I previously sent commands to QM from Excel VBA macros using:
Sendcom = "C:\Program Files\Quick Macros 2\QMCL.EXE MS ""QMMacroName"" A " & Param1
RetVal = Shell(Sendcom, 1)
But now I switched to Visual Basic 2010. In the QM help is states we can use : SendMessage(hwndQM, WM_SETTEXT, mode, commandline)
But I'm at a loss how to set the hwndQM pointer for Quick Macros???
	
	
	
	
I previously sent commands to QM from Excel VBA macros using:
Sendcom = "C:\Program Files\Quick Macros 2\QMCL.EXE MS ""QMMacroName"" A " & Param1
RetVal = Shell(Sendcom, 1)
But now I switched to Visual Basic 2010. In the QM help is states we can use : SendMessage(hwndQM, WM_SETTEXT, mode, commandline)
But I'm at a loss how to set the hwndQM pointer for Quick Macros???

 
 

 
