Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Passing values through ActiveX scripting(VB) in VC++ Collapse All
Subject Author Date
Jayender S Dec 30, 2005 - 9:41 PM

Passing values through ActiveX scripting(VB) in VC++ :


Well... i got a global variable...say CString m_Tech, now i need to assign a value to this m_Tech = "Hello" through Scripting. how to do it ?U can give me an example with ur ActiveX scripting. Guess am clear with my question. In simple i need to pass a value to the global varable through scripting.


waiting for ur reply,thanks

Technical Support Jan 2, 2006 - 4:21 AM

Please download a sample we coded for you. It is the simplest possible Prof-UIS based customizable application that uses both ProfAuto and the Active Scripting engine. It allows the script to access two edit fields: editable input field and read-only output field. The VB script gets the text string from one field and puts it into another one plus changes the text in the first button in the menu bar. The CAppObject C++/ATL class implements the AppObject COM object with IAppObject dual interface. The instance of CAppObject C++/ATL class is a global variable called AppObject in the running VB script. The methods of the IAppObject interface are designed to let the VB script to access fields in the dialog form. So, this application covers all the questions you asked about the VB scripting with regard to Prof-UIS.

Jayender S Jan 2, 2006 - 5:33 AM

Wow... this is excelent . Thanks .. this is what i want . Thanks a lot  dude.