I am still trying to wrap my head around what VB hid from me in the past, and not sure if PB can do this, or if I am just totally misunderstanding.
From the oWord.inc in the samples folder
where what I think I am after is $CLSID_Global and $CLSID_Application and somehow wind up with $PROGID_Application = "Word.Application"
I don't see how this is happening (cause I think all the code is hardcoded) but lets say I have my own class I am developing, and (I may be phrasing this incorrectly but hopefully you get what I am after) but how would I go from my combination of GUID's to something like $SerialPort_Class = "SerialPort.ClassInterface"
That way in other languages like VB I could something like
can someone show me how to go about this??? I have been working on it for 3 days, and feeling pretty lost and confused.
From the oWord.inc in the samples folder
Code:
' Library Name: Word ' Library File: C:\Program Files\Microsoft Office\OFFICE11\MSWORD.OLB ' Description : Microsoft Word 11.0 Object Library ' Help File : C:\Program Files\Microsoft Office\OFFICE11\VBAWD10.CHM ' Help Context : 0 ' GUID : {00020905-0000-0000-C000-000000000046} ' LCID : 0 ' Version : 8.3 ' Version Dependant ProgID's $PROGID_Application11 = "Word.Application.11" $PROGID_Document8 = "Word.Document.8" ' Version Independant ProgID's $PROGID_Application = "Word.Application" $PROGID_Document = "Word.Document" ' Class Indentifiers $CLSID_Global = GUID$("{000209F0-0000-0000-C000-000000000046}") $CLSID_Application = GUID$("{000209FF-0000-0000-C000-000000000046}")
I don't see how this is happening (cause I think all the code is hardcoded) but lets say I have my own class I am developing, and (I may be phrasing this incorrectly but hopefully you get what I am after) but how would I go from my combination of GUID's to something like $SerialPort_Class = "SerialPort.ClassInterface"
That way in other languages like VB I could something like
Code:
Dim MyPort AS SerialPort Set MyPort = CreateObject("SerialPort.ClassInterface")
Comment