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 derfloh 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. lukager

    Create Dll

    yes.. i'm trying to register with REGSVR32 :-( and that is the error.
  2. lukager

    Create Dll

    Ok thank you. I pass a XML and all it is ok. The last one question ( i hope ) .. if i register the dll on my pc ( where i have also installed vfp9 ) it's ok. If i try to register the .dll on another pc i have an arror 0x8004005. what can i control on the other pc ? Ty
  3. lukager

    Create Dll

    I changed a little things... The variable/parameter wdb ( in my opinion ) was the problem ... perhaps was empty... so i changed : func MY_FUNC ( wdb , wcmd ) and now i can open the db and excexute the select. Now i'd like that the results of the select will be returned in vb.net. how...
  4. lukager

    Create Dll

    i change the project name and the class name with cmd_sql the prg is : DEFINE CLASS cmd_sql AS SESSION OLEPUBLIC FUNCTION MY_FUNC PARAMETERS wdb , wcmd wopen = "open database " + wdb &wopen wreturn=&wcmd CLOSE DATABASES all RETURN wreturn ENDFUNC...
  5. lukager

    Create Dll

    I need vfp for other reasons... I do a program : cmd_dll.prg DEFINE CLASS MYPRGDLL AS SESSION OLEPUBLIC PROCEDURE MYFUNC PARAMETERS wdb,wcmd open database &wdbd wreturn=&wcmd CLOSE DATABASES all RETURN wreturn ENDPROC ENDDEFINE I build Dll ... i register...
  6. lukager

    Create Dll

    Is possible to return the cursor ? i'd be able to change the command with : my_Command="select * from customers into cursor My_cursor"
  7. lukager

    Create Dll

    In this example i'd like to have in .net a datatable and not a dbf or xml to import.
  8. lukager

    Create Dll

    I'd like to create a .dll in vfp9 and use it in a program in vb.net. In my dll i'd like have 2 parameters : location of database and command to run. example : c:\db\database.dbc select * from customers and i'd like that my dll return the datatable with data. Is it possible ? ty Luca

Part and Inventory Search

Back
Top