Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. codenavigator

    Connectivity Error

    You are exactly right. I thought that by clicking "Update All", I was setting all fields to be updateable, even the primary key fields. I see now that you have to manually check the primary fields. THANKS!
  2. codenavigator

    Connectivity Error

    I am trying to insert a record into an MS SQL table via a remote view. When I update the table, I get an error stating that a null value is not allowed in the column, even though the field is not null. Any help would be appreciated. Thanks
  3. codenavigator

    Passing Arrays to ActiveX Objects

    The control sends and receives messages using Open Modbus protocol for controlling industrial processes via Ethernet TCP/IP. The class encapsulates twelve methods for establishing connections, reading registers, presetting registers, etc. The object is instantiated once and then function calls...
  4. codenavigator

    Passing Arrays to ActiveX Objects

    I am still experiencing trouble passing an array to the COM object after invoking COMARRAY(). I have tried various settings for the nNewValue argument (i.e., 0, 1, 10, and 11), but I always get the same error, "Error building array". The code looks like this: o =...
  5. codenavigator

    Passing Arrays to ActiveX Objects

    I need to call an ActiveX object function from VFP 6.0. The function declaration is: HRESULT PresetMultipleRegisters([in] short Addr, [in] long DataStart, [in] short Quantity, [in] VARIANT vRegValues) In VB the syntax that works is: <object>.PresetMultipleRegisters(1,4,3,array) where array...
  6. codenavigator

    Passing Arrays to ActiveX Objects

    I need to call an ActiveX object function from VFP 6.0. The function declaration is: HRESULT PresetMultipleRegisters([in] short Addr, [in] long DataStart, [in] short Quantity, [in] VARIANT vRegValues) In VB the syntax that works is: <object>.PresetMultipleRegisters(1,4,3,array) where array...
  7. codenavigator

    ActiveX Object

    Thanks for the help. The class was identified in the registry as &quot;modbussrv.modbussrv.1&quot;.
  8. codenavigator

    ActiveX Object

    The file was registered with windows. Because it is an executable, it was registered using the syntax: MBServer.exe /RegServer
  9. codenavigator

    ActiveX Object

    I have tried and have gotten an error message, &quot;...file does not exist&quot;.
  10. codenavigator

    On-line Help

    Two very good applications are robohelp and forehelp (developed by forefront). Of the the two, I would recommend robohelp.
  11. codenavigator

    ActiveX Object

    That is the oddity. The class does not appear in the ActiveX controls list, although it is visible in VFP's object browser and in VB references.
  12. codenavigator

    ActiveX Object

    Application is not included in the public interface. Only properties and functions specific to the class are visible.
  13. codenavigator

    ActiveX Object

    The code in VB is: Public oModbusServer As ModbusSrv Set oModbusServer = New ModbusSrv In VFP, I have tried: (1) oModbusServer = CREATEOBJECT(&quot;ModbusSrv&quot;) (2) oModbusServer = CREATEOBJECT(&quot;ModbusServer.ModbusSrv&quot;) Both of these VFP statements result in the error...
  14. codenavigator

    ActiveX Object

    I have an ActiveX server executable that is functional in VB, and its interface is viewable in the object browser of VFP 7.0, but I am unable to instantiate an object using CREATEOBJECT(). Is there a way to use its classes in Visual Foxpro?

Part and Inventory Search

Back
Top