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...
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...
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
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...
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...
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...
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...
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...
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
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...
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
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...
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
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
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
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.