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 Mike Lewis 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. VolkerStamme

    stored procedure return 1 value

    That's what I do, read into my own structures and close the reader and it has proven to be quite fast. Also, I would assume that while the DataSet is being read you'd have the same issue with the underlying connection. Was merely curious if there's anything that generally speaks against the...
  2. VolkerStamme

    stored procedure return 1 value

    >> First don't use readers. Get out of the recordset days :) Why? Assuming you have more than one field and you're not dealing with DataSet's either, what's wrong with them? V
  3. VolkerStamme

    VFP, .Net and COM

    That's the example I mentioned. Works fine. But so does my COM server with any other client but VFP... Volker/
  4. VolkerStamme

    VFP, .Net and COM

    Sure, calling EventHandler again with the Disconnect-flag. That's what I'm doing. Here's the code: LOCAL loServer as DotNetEventServer.DotNetEventSender LOCAL loHandler ASSERT .f. loHandler = CreateObject( "CHandler" ) loServer = CreateObject( "DotNetEventServer.DotNetEventSender" )...
  5. VolkerStamme

    VFP, .Net and COM

    Hi, I'm currently experiencing a problem with the COM events interface. The server is written in C# and the client in VFP using the EventHandler() function. Works fine, no problem. The problem is that after I've used EventHandler() (whether that event ever happened or not) VFP will crash on...
  6. VolkerStamme

    SQL Server 2000 and Windows Server 2003

    DUH!!! It WAS a security issue, just not the firewall. After setting up the new OS the System account had just no rights to access my data drive $%@^. Server installation has just completed. Thanks Volker/
  7. VolkerStamme

    Declaring, Binding and Raising events of COM object to VFP

    Look under BINDEVENTS in the help file. You'd also get more responses if you post your question in the VFP classes forum Volker/
  8. VolkerStamme

    Latest Instance of Record in Table

    Bob, I've tried SELECT ID, Status FROM table ; WHERE Str( id ) + Str( sequence ) in (SELECT Str( id ) + str( Max(sequence)) as sequence FROM table GROUP BY id ) to get a unique field from id and sequence in the subselect and it seems to be working. Volker/
  9. VolkerStamme

    SQL Server 2000 and Windows Server 2003

    Alright, I've checked. I haven't installed the ICS service yet, i.e. there is no firewall apart from my hardware fw. I'll keep trying... :-( Thanks Volker/
  10. VolkerStamme

    SQL Server 2000 and Windows Server 2003

    Denny, >> Are you trying to install a named instance of SQL or the default instance? Default. I'm basically trying to just get back in business. >> Check the application log, does SQL actually startup? Nope. And it seems like the timeout is set quite high as I left it for about 5h and it was...
  11. VolkerStamme

    Outer Join problems and Calculations with Null Values

    Dave, as for 1) any help requires the SQL code for that as for 2) SET NULL TO doesn't exist, there's only SET NULL ON/OFF. Did you mean NVL()? Volker/
  12. VolkerStamme

    SQL Server 2000 and Windows Server 2003

    Hi, I was sort of expecting to find something in the FAQs but didn't so here's the question. I'm trying to install SQL8 on Windows Server 2003 which, supposedly, requires SP1 for Windows and SP3+ for SQL Server. According to this KB article http://support.microsoft.com/kb/329329/ I should ignore...
  13. VolkerStamme

    Interfacing C++ DLL and VB

    First of all, I forgot to mention something. When you create your new class select "Creatable by Type-ID" in the same box. Whatever name you enter there will be used as the com class name. Using the class wizard again (and selecting that new class) you can now add methods and properties. DON'T...
  14. VolkerStamme

    Interfacing C++ DLL and VB

    Patrick, yup, that is possible if you make it a COM server. One possible way is to create a new project based on MFC App Wizard DLL. Make sure "Automation" is ticked in the following Dialog. Click finish. Right-click your <project>.cpp, select class wizard. On the Automation tab add a class...
  15. VolkerStamme

    hexa value of the dwFlags for read/write access

    You might have to disclose which function you're talking about. Volker/
  16. VolkerStamme

    Passing parameters to/from a DLL

    Did you passed the exact same string, i.e. your function call was something like xx = javarget( "HOMEPATH" ) or did you call the function somewhat different?
  17. VolkerStamme

    Passing parameters to/from a DLL

    jbsys, Do you need to use reference parameters as opposed to your first idea of just passing a simple string in and returning the same? Don't know Powerhouse but every language I know could deal with that. I.e. #define DllExport extern "C" __declspec( dllexport ) DllExport char* javarget(...
  18. VolkerStamme

    INPUTMASK not behaving for text box

    I'm assuming that your event fires as expected (i.e. you can hear a ??chr(7) in your code). You could try to toggle the format propery to "R" and back to normal but that's just a shot in the dark... Volker/
  19. VolkerStamme

    INPUTMASK not behaving for text box

    Have you tried a .Refresh()? Volker/
  20. VolkerStamme

    &quot;Browse&quot; command not working in EXE

    Are you familiar with asserts and debugging? Seems to be the only way to find out what's going on. Also, if all necessary files are opened in the Load(), why do you USE myfile in your function? Volker/

Part and Inventory Search

Back
Top