Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 18 APR 2008 02:54:28PM Jim Vaughan wrote:

If the first line is the correct way to call a OLE method from Visual Basic, would the following lines be the correct way to call the method from OI? Assuming Gantt_Obj is my OLE control.

  * booImage=Me.OleControl.CreateJPG("C:\jim.jpg",200,500) 
  [/color]JpgName=[/color]"C:\jim.jpg"[/color]:[/color]Char[/color]([/color]0[/color]) 
  Rv=Send_Message(Gantt_Obj, [/color]"OLE.CreateJPG"[/color]:[/color]@FM[/color]:[/color]1[/color],JpgName:[/color]@FM[/color]:[/color]200[/color]:[/color]@FM[/color]:[/color]500[/color]) 
[/color][/color][/size]         
               

At 18 APR 2008 03:12PM Jim Vaughan wrote:

fyi, this works:

  JpgName="C:\jim.jpg" 
  [/color]Rv=Send_Message(Gantt_Obj, [/color]"OLE.CreateJPG"[/color]:[/color]@FM[/color]:[/color]1[/color],JpgName:[/color]@FM[/color]:[/color]200[/color]:[/color]@FM[/color]:[/color]500[/color]) 
[/color][/color][/size]         
               

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/9a3dee324a7913818525742f0067dd5e.txt
  • Last modified: 2024/01/04 20:57
  • by 127.0.0.1