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 Wanet Telecoms Ltd 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. josedeman

    Resource file is not valid

    On a citrix server sometimes this message appears on startup: "The resource file is not valid. Overwrite it with an empty one?" The prolem is still there after removing all occurences of foxuser.dbf and as far as I can tell every client uses the same runtimes. Any ideas?
  2. josedeman

    Font changes when creating rtf document with VFP

    With VFP7 I'm trying to create a new .rtf document that inserts data from a foxpro database into an existing rtf document. That works fine but the font changes in one part of the document from Verdana to Times New Roman. I've looked in the .rtf document with notepad but can't explain why this...
  3. josedeman

    Possible to call c# functions from within Javasript code?

    I have a piece of Javascript in my asp page that checks a checkbox on my screen. The problem is the checkedChanged method of that checkbox doesn't fire. So I wondered if I could call the checkedChanged method of that checkbox (C# function) from within my piece of Javascript code?
  4. josedeman

    How to control Excel from Word

    This code works fine in Excel when I put it in a macro. When I put the same code in a Word macro I get an error while executing. Excel: Sub testnummer() Range("A2").Select Selection.End(xlDown).Select End Sub Word (the code crashes at the last line): Private Sub cmdOpslaan_Click() Dim...
  5. josedeman

    COM server registration

    Thanks for your answers. I'll give the installer a try.
  6. josedeman

    COM server registration

    I've build a com server (VFP7 SP1) and want the server to registrer automatically when the user starts up another foxpro .exe that uses that com server. I've included the following lines: lcpad = CURDIR() lcCommand = "run /N2 "+lcpad+"controle.exe" " /regserver" &lcCommand That works fine as...
  7. josedeman

    Problem with select statement

    I've re-checked the dbf() and it was the correct one... The lenth of both lcclientnr and lcindicnr are correct I've been reading on the internet about problems with windows 2003 and foxpro databases / .NET. Could this be related?
  8. josedeman

    Problem with select statement

    I'm sure I'm using the same indiavfu every time. No buffering either of table indiavfu, nowhere in the application. What's even stranger: I removed one of the records in indiavfu and use the same select statement and it gave back the row I had just deleted. (That happened just once, I can't...
  9. josedeman

    Problem with select statement

    Here's the code: IF USED('indiavfu') SELECT indiavfu ELSE USE indiavfu ENDIF Select *; from indiavfu; where Upper(indiavfu.Clientnr+indiavfu.Indicnr) == Upper(lcClientnr+lcIndicnr); into Cursor aanvrfunc I've checked the values of lcClientnr and lcIndicnr and they are correct.
  10. josedeman

    Problem with select statement

    I have a client that has the following configuration: Citrix server Windows 2003 VFP 7 SP1 application When I issued a select statement the resultset is empty. That surprised me because I knew there had to be records that matched the select statement. When I issue the same select statement a...
  11. josedeman

    Size .bmp file in report

    I hava a report in VFP7 that contains a .bmp file that has the property 'scale picture, retain shape'. With most users the picture displays as intended, but with one user the picture dispays too small. Why the difference?
  12. josedeman

    createobject of com server (the sequel)

    That was it! Thanks everybody. Works perfectly.
  13. josedeman

    createobject of com server (the sequel)

    What I've done so far is: I have created a form that has been saved as class and made OLE public. After that I placed the form in an empty project and build it as exe/comserver. In the code of my other VFP exe: PUBLIC lo as controle lo = createobject('controle.controle') lo.visible = .t. In...
  14. josedeman

    createobject of com server (the sequel)

    So far I've created an instance of a com server I've build in foxpro. This object is designed to show the results of several queries in a form within the com server. When I issue a read events in the com server the exe that creates the com server object isn't available anymore. When I don't...
  15. josedeman

    createobject of antoher foxpro exe

    Yes and yes. I think I've got it. The key is you need only one OLE PUBLIC class and within that class you can define other procedures that run forms etc. Now I only have to figure out how to close the object and to senf information there and back Thanx!
  16. josedeman

    createobject of antoher foxpro exe

    Is it at all possible to create an instance of a foxpro application/exe from within another foxpro application/exe? I've tried to do that with createobject() (after building my exe as a com server) but as far as I know that doesn't give me a user interface. I would like to create an object that...
  17. josedeman

    Wrong popup appears

    Yes, I'm running SP1. Thanks for the advice! I'll have a look at the drivers.
  18. josedeman

    Wrong popup appears

    In my VFP 7 application (running on a citrix server) sometimes the wrong popup appears when I click a menu item. The popup that does appear is the one belonging to the menu item to the left of the one I click. Can anyone help me sort out this problem?
  19. josedeman

    Word on top problems

    I've got the following piece of code in VFP 7.0 sp1: Release All Like oW* oWord = Createobject('Word.Application') If Type('oWord.name') = "C" _Screen.AlwaysOnTop = .T. _Screen.AlwaysOnTop = .F. Endif If Type('oWord.name') = "C" oWord.Visible = .T. Endif This seems to work most of the...

Part and Inventory Search

Back
Top