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 » How to display VBS file in Editbox in VC++ Collapse All
Subject Author Date
ven rag Jan 23, 2006 - 7:58 AM

Hi, I need to display the content fo VBS file in edit box. I saw the sample( AxtiveX scripting) u provided  where the VBS file is displayed in the tab control , but i need to show that in my edit box. how to do it ? waiting for ur response... thanks,  Venrag.

Technical Support Jan 25, 2006 - 9:27 AM

It is not completey clear what the problem is, i.e. whether you do not know how to load the text file or you do not know how to assign new text to the edit box? In the first case, you can use the CStdioFile for reading text data into a buffer. In the second case, you can use the SetWindowText() method for changing the content of the edit.