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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by greggb

  1. greggb

    activechart.location codes?

    I am using the following code to save an automatically generated pie chart in a general field in Excel: .ActiveChart.Location(2,oSheet.Name) I actually want to save it as an embedded object instead of a sheet. I have tried xlLocationAsObject instead of the "2" but it does not recognize this...
  2. greggb

    Problems sizing chart area

    ..I hate to keep bothering you with this but... I accessed the chart. Now it says that "the item with the specified name cannot be found". In the debugger, the name of the chart definately says "Chart 1". This is the major problem I was having with this all night. Here is my code...
  3. greggb

    Problems sizing chart area

    HHmmmm... Now it says "unable to get ChartObjects property of the worksheet class" This seems so simple yet for some reason....
  4. greggb

    Problems sizing chart area

    Mike, I've tried every variation of this code I can think of but it doesn't work for some reason. Sometimes I have problems converting VBA to VFP because it isn't EXACTLY the same. Maybe you could give me a small sample of how to resize a chart in VFP code? My main goal is to resize the...
  5. greggb

    Problems sizing chart area

    I am having a heck of a time trying to size a simple pie chart in Excel using VFP. This should be simple but I think it is a case of not knowing the proper VFP commands. Here is what the excel macro gives: ActiveSheet.ChartObjects("Chart 1").Activate ActiveChart.ChartArea.Select...
  6. greggb

    Automatically crop an excel chart

    That worked. Thanks! Probably the easiest star you've earned!
  7. greggb

    Automatically crop an excel chart

    Skip, How do you do that? When I tried to drag the (pie) chart to spread it out it exploded. Thanks.
  8. greggb

    Automatically crop an excel chart

    Is it possible to automatically (macros) crop an excel chart? The white space around the edges of the chart are giving me problems after I append it to a VPF general field and then try to use them in the report. With multiple graphs they end up (what appears to be) too far apart. Any...
  9. greggb

    Can you crop an excel chart in a general field?

    I've successfully created some excel charts using OLE and appended them back into VFP into general fields. The problem now is that there is alot of white space around the chart and I can't fit two on one page in the spot I need them because they overlap. I need to crop them or somehow make the...
  10. greggb

    Where is the Entry Point

    I am a novice foxpro scripter dealing with my first .dll. This script works fine in db but in vfp I get " can't find entry point" Here is the vb code that works: Dim QP As iSED.QuickPDF Set QP = CreateObject("iSED.QuickPDF") Call QP.UnlockKey("type your license key here") Call...
  11. greggb

    .dll doesn't seem to work; what am I doing wrong?

    I don't know. What is a GDI+ wrapper DLL?
  12. greggb

    .dll doesn't seem to work; what am I doing wrong?

    Thanks, I think I am getting somewhere by looking at all these examples etc. Now it says that that it cannot find the entry point LoadFromFile in the DLL what does this mean? Here is the code I am using: DECLARE LONG LoadFromFile in iSED.dll STRING filename =...
  13. greggb

    .dll doesn't seem to work; what am I doing wrong?

    I think that is the problem. How do I "call" the functions? I have just been running this code just like it is - nothing happens. I don't know how to check for error message responses from the program.
  14. greggb

    .dll doesn't seem to work; what am I doing wrong?

    I am a novice VFP scripter. I am trying to use a little .dll that overlays data on PDF's but I cannot get it to work - I have searched tirelessly through the posts on this site. Here is the code I am using: DECLARE LONG UnlockKey in iSED.dll STRING @ RegKey DECLARE LONG LoadFromFile in...
  15. greggb

    Share Feed to all monitors?

    We have a room set up with 10 PCs running WinXP (all connected). Is it possible to run one application (i.e. a powerpoint presentation) and view it on all the PC's at the same time?

Part and Inventory Search

Back
Top