ActiveX registration question

I just downloaded Andy Kramek's book 1001 Things.. and ran through many pages. It is an awesome work! Clearly written and just very good for learning. I tried to find an answer to a question I have (among others) but it does not seem to shed any light on it--the question is rather specific.

I tried to play with some ActiveX controls that can be found in Tools-->Options-Controls menu but some of the most interesting ones I could not even drop onto my forms because I would get an error message: Not registered. Is it a DLL file that holds this control that must be registered If the answer is yes, how will I find out which DLL contains that particular control

I still haven't completely resolved the subject of my previous post: .exe file generation--got sidetracked with ActiveX stuff, etc but I want to say this to Tamar, Marcia, Andy, Cetin, Don and others--you are a great bunch of people and the support in Fox forum is the best around. I have been to many places and can compare.

Thanks.




Answer this question

ActiveX registration question

  • Chris Wiederspan

    I am sure it is great for a beginner.

    Interesting that you should say that because we did not think that it was a book for beginners when we wrote it . This is from the introduction to the book:

    So who is this book for

    As we have already said, this book will not teach you to use Visual FoxPro, it assumes you have a reasonable degree of comfort with the basic operation of the VFP Database and Command Language, and with the basic principles of Object Oriented Programming. We would expect that you will have read, and used, such excellent and useful references as Whil Hentzen’s ‘Programming VFP’; ‘The Revolutionary Guide to VFP OOP’ by Will Phelps, Andy Kramek and Bob Grommes and, of course, the indispensable ‘Hacker’s Guide to VFP’ by Tamar Granor and Ted Roche.

    If you are looking for alternative ways of tackling problems, or for hints on how to improve your code, or for workarounds for common traps and for the ‘war stories’ of those who have been there and done it (and yes, we’ve even got the tee-shirts) then this book is for you.



  • Knuijver

    actually, I just interrupted typing this post, went to amazon.com and bought your "1002 thing..."

    We hope that you will find it useful.

    Have a good time at the meeting in PA.

    I think that you are confusing us with Tamar. She is the one that posted about the Philadelphia FoxPro User Group...



  • smoothcoder

    "If you are looking for alternative ways of tackling problems, or for hints on how to improve your code, or for workarounds for common traps and for the ‘war stories’ of those who have been there and done it (and yes, we’ve even got the tee-shirts) then this book is for you. " - you got it right and I am going to buy more books, actually, I just interrupted typing this post, went to amazon.com and bought your "1002 thing..." with one click.... because I want to know......

    Have a good time at the meeting in PA.



  • Kyrus

    Thank you for your kind words. However it is not just "my" book. Marcia Akins and Rick Schummer had just as much input to that book as me and deserve just as much credit (or criticism).

    But you are correct, you won't find anything in "1001 Things...." (often referred to in shorthand as "KiloFox") about ActiveX controls because KiloFox is specifically written about using native VFP tools and functions. The same authors wrote a second book, "MegaFox: 1002 Things You Wanted to Know About Extending VFP" which is concerned with using Visual FoxPro in the wider development arena and tackles a number of issues ranging from Remote Database, Windows API, ActiveX, Extended Reporting, COM, XML and much more.


    As to your question about ActiveX controls. THe first thing you need to do is to add an OLE Container control to your form (you'll find two on the form controls toolbar - the BOUND control is for embedded objects and allows you to open a Word document, or Excel Spreadsheet directly in a form. The container control, when dropped on to a form opens a dialog that lists all registered ActiveX controls and shows you their source.



  • michael_zurich

    No, I was not confused. I remember that. I just assumed that all you, active VFP pros, would go there.

  • Andy Lipscomb

    Thank you Andy. It is helpful. My apology to Marcia and Rick. I am always in a hurry, trying to grab the meaning first. This is what I did.

    It is an excellent text, well orgqanized. I am sure it is great for a beginner. I am a little beyond this stage now. I always try to break into a subject with brute force and then look back onto theory. It is my personality. As far as your book is concerned it is extremely helpful for me this way: "Well, this is how professionals do this or that! I should copy this trick and not waste my time on an inefficient approach."

    Thanks.



  • dsandor

    In fact, there are VFP user groups in many places around the world. Going to user group meetings (most meet once a month) is a great way to learn more about the language and what people are doing with it.

    There also are a number of conferences each year where multiple sessions are offered covering topics from beginner to expert. It's not unusual to find me, Marcia and Andy all at a conference together.

    Tamar

  • ankit_ttgls

    >> I just assumed that all you, active VFP pros, would go there.

    Well, as it says in the book's intro, we are in NE Ohio so it's not exactly close enough for an evening outing.



  • ActiveX registration question