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 SkipVought 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: *

  • Users: grewegreg
  • Order by date
  1. grewegreg

    Testing Transactions Troughput

    Hi All, I was watching the Bengals lose to the Browns today and was browsing some old threads at the same time. I read this one (thread184-1207200), in which Craig Boyd posted some very cool code. After running Craig's code a few times, it occurred to me that rarely does my code ever have a...
  2. grewegreg

    VFP EXE software copy protection

    jwxpnd, I have been using HASP SRM from Aladdin and have had great success with it. You essentially use a USB Key and then call the HASP API to access the licensing you created on the USB Key. Not cheap, but works great. http://www.aladdin.com/Special/Hasp/srm/default.asp Greg Grewe...
  3. grewegreg

    Question about accessing a .NET API

    Thanks Borislav, I have tried what you listed here and I am able to set properties, but not call methods or subscribe to events. Greg Grewe Diamond Consulting, LLC www.diamondconsults.com
  4. grewegreg

    Question about accessing a .NET API

    Craig, Thanks for the note. I have been unable to create an object directly to the Interface, without creating an object to the class first. I may be failing because of bad syntax too. Yes, the .NET API is a complied COM component. I have tried the syntax below, with no success. I have...
  5. grewegreg

    Question about accessing a .NET API

    I have been working on a project for sometime (VFP 9, SP1) where I have to create several objects that are in a .NET API. In order to access its methods and events, I need to instantiate an object for that class and then get at least one or two interfaces of that object. At any given moment...
  6. grewegreg

    Problems with VFP 9, SP2

    Thanks Tamar, I did create the bugs issues on the forum. I did find a workaround to the original problem, not being able to release an Object. In the past, I have always create subforms and stored the Object in an array of the Calling Form. Since SP2 has been installed, I have not been able...
  7. grewegreg

    Problems with VFP 9, SP2

    That has been the only way I have found to remove it also. What a pain... Thanks everyone. Greg Grewe Diamond Consulting, LLC www.diamondconsults.com
  8. grewegreg

    Problems with VFP 9, SP2

    Has anyone else installed SP2 that was release 6/25/07? Though the service pack fixed several issues, it has caused many more. One in particular is similar to thread1254-1385616, only I am experiencing similar problems when creating an object from a class and then the object will not release...
  9. grewegreg

    Problem with Scroll Bars not working in Grid

    Guys, I think I found the problem. I was using a CURSOR as the RecordSource. When I would simply recreate the CURSOR, the scroll bars would not work. If I change the RecordSource to blank, run a new SELECT statement to recreate the CURSOR, recreate the grid, restore the RecordSource, then the...
  10. grewegreg

    Problem with Scroll Bars not working in Grid

    Thanks Dave, it does not seem to matter. I have tried changing both of those settings and several others, no avail. How are you? Thanks Imaginecorp. If you have any other ideas, please let m e know. Have a good week. Greg Grewe Diamond Consulting, LLC www.diamondconsults.com
  11. grewegreg

    Problem with Scroll Bars not working in Grid

    Folks, I have created a grid with some custom properties and methods. Whenever I drop the grid onto a form or inside another class, the properties and methods of the grid work just fine, except using the scrollbars. Even though the scrollbars are set to 3 (Both), they act as if they are...
  12. grewegreg

    VFP9 Report with Color

    Thanks Ilyad, the solution from Don Rapp using the Listener will do the trick. Thanks much and have a nice weekend. Greg Grewe Diamond Consulting, LLC www.diamondconsults.com
  13. grewegreg

    VFP9 Report with Color

    My question is this, I have a table with a field (ColorCode) that I am storing an RGB color code (stored as "RGB(255,0,255)"). Is there any way to get VFP9 SP1 to print a text field in a label or report, USING the RGB value that is stored in the ColorCode field? I have made several different...
  14. grewegreg

    Problem creating an Object from a .NET DLL

    Hi Pamela, No, in the Object Browser, it is just Listener. but in the Registry, it is nsListener, thus my confusion too!! Greg Grewe Diamond Consulting, LLC www.diamondconsults.com
  15. grewegreg

    Problem creating an Object from a .NET DLL

    Thanks much Craig, I found it on West Wind. Have a great Easter! Greg Grewe Diamond Consulting, LLC www.diamondconsults.com
  16. grewegreg

    Problem creating an Object from a .NET DLL

    Me too. I have been fighting with this for a couple days and was just about ready to give up. Thanks for pointing me in the right direction. Lent is almost over, it must be lack of alcohol... Greg Grewe Diamond Consulting, LLC www.diamondconsults.com
  17. grewegreg

    Problem creating an Object from a .NET DLL

    Craig, You gave me an idea. I searched the Registry for the GUID and the name space is not Listener, it is nsListener. As soon as I used the correct Syntax greg=CREATEOBECT('nsListener.Info'), it instantiated. Thanks much! Greg Grewe Diamond Consulting, LLC www.diamondconsults.com
  18. grewegreg

    Problem creating an Object from a .NET DLL

    Thanks Craig, I have tried this as well. I manually registered the DLL with RegSvr32 and the response is; Listener.dll was loaded, but the DllRegisterServer entry point was not found So this is when I tried to DECLARE the DLL. I open the TLB in the Object Browser and see all classes, etc...
  19. grewegreg

    Problem creating an Object from a .NET DLL

    Thanks Again Mike, See if this helps make any sense. When I open the "TLB" in the Object browser, it does show me the Details and the GUID, so I am assuming the COM DLL is registered correctly. Then I do the following; SET LIBRARY TO Path+"Listener.tlb' This appears to work, as a...
  20. grewegreg

    Problem creating an Object from a .NET DLL

    Thanks Mike, This is a COM DLL, so it says... I have tried to instantiate it with CREATEOBJECT AND NEWOBJECT. When I try with NEWOBJECT, the response is something like "Class Definition INFO not defined", though when I am in the Object browser, I can see all the classes, interfaces, etc...

Part and Inventory Search

Back
Top