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 bkrike 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: webmonger
  • Content: Threads
  • Order by date
  1. webmonger

    VFP-6 Populating a combobox from aListPaths

    I have an application that I developed last year and am upgrading. I've moved to a pageframe control which works very well. My problem is with a 'previous path' selection combo. this has worked for ages with the following code to populate in in the main form's init procedure cTablename =...
  2. webmonger

    VFP 6 - error 1733 - Shell Application not found

    I am using the seldirdlg() function as illustrated at faq184-1821. This has worked around the world for me BUT I have a German user who now gets the error shown above. Does anyone have any experience of German Windows and/or why the error should occur only on this one machine? Thanks Bryan
  3. webmonger

    VFP 6 -Splitting indexed table into parts

    I need to split an indexed table up into a variable number of parts. That is - to produced the same report for n number of items at a time to get around the creation of an enormous MSWord document. I have a routine using a filter and record numbers. SET FILTER TO (recno() >=...
  4. webmonger

    VFP6 DO WHILE problem

    In the following code a MSWord document is created and written to in the do_wordinner routine. The code as it stands does not honour the loop command and if say I had 50 items to add to the document and am doing them 10 at a time only the first document with the first 10 items are processed. It...
  5. webmonger

    Color on grid cell

    I am placing the textbox on field one ( leftmost ) in a grid and wish to make the 'button' more visible. Is it possible to use something like this.Set("dynamicbackcolor"RGB(192,192,192)") At present this has no effect? DEFINE CLASS gstxt1 AS TextBox Height = 17 ReadOnly =.f...
  6. webmonger

    VFP6 Page Frames

    Is it possible to disable the 'click on tab' action at the top of each page as I have navigation buttons with special 'jump pages' etc? Thanks
  7. webmonger

    reading from an ini file VFP6

    I have been trying the method shown in the FAQ to read from an ini file but I do not get a result. Declare Integer GetPrivateProfileString in Kernel32 ; string, string, string, string @, integer, string *!* To read the value: lcBuffer = space(255) ?GetPrivateProfileString(...
  8. webmonger

    WORD NOT SAVING

    I create a document in my app which can either be invible or visible prior to a save. One user in Germany has stated that the document is not saved anywhere on his PC both to the default 'My Documents' or to a named folder path. Has anyone familiar with German windows any ideas on this? I have...
  9. webmonger

    Inserting a picture ina textbox in MSWord

    I have attempted to get appropriate code using the VB Editor and a macro in Word I was able to get a macro to insert a picture and a macro to insert a textbox I was unable to make one to insert a textbox and insert a picture inside it. I tried this code in VFP6 without success newTextbox =...
  10. webmonger

    Table disappears in MSWord

    I am creating a document in MSWord. The document is in 2 sections Cover Detail - both in separate prg called from the main do_word.prg which sets up the document I have tried adding a summary section which works fine when the other two pages are commented out from do_word.prg but the table...
  11. webmonger

    getfile() from folder n

    I would like to have getfile() open on the 'My Documents' folder the first time then on every other use to the previously chosen folder. Can I save the current value to a file then read it in again? Thanks Webmonger
  12. webmonger

    Page n of n in footer MSWord

    I have created a template for a document I am going to create from my catalogue table. I have included a footer with Automatic Text for Page n of n. In the new document this is not 'active' ie it does not increment on each page - it works corrcetly in the template when I force page breaks as...
  13. webmonger

    Error message on compile

    I know this has been asked before quite some time ago but I have not seen a solution Using Ramanis general gsbrowse code I continue to get this error Program d:\dev\_foxpro\projects\pathwiz\gsbrowse_ext_ot.prg has the following errors: Visual Class Library - Undefined has a way to avoid...
  14. webmonger

    copying to a file (dbf)

    I have a table [mytable] I am using for a report - I want to go round the loop again via an SQL statement then copy to the same table name [mytable] used in the report. I get a File in Use error but I can't get the normal use commands to work on [mytable] I tried to CREATE[mytable] again but...
  15. webmonger

    VFP6 half form hidden in design view

    My main form is tucked uncder the window frame in design view to the left intil I pull the main window way right when it ultimately becomes centralised - I can't grab it and move it. I think I may have changed one of the properties when I thought the cursor was elsewhere. Any ideas please?
  16. webmonger

    VFP 6 WAIT message position

    I have my WAIT WINDOW at 10,10. My app is 1024 x768 screen. I am running at 1280 X 1024. When I move the app window down the screen the WAIT WINDOW is still at 10,10 - outside the app window. Is there any solution? Can it be set relative to the app window? I also find my app window opens...
  17. webmonger

    using a template in WORD

    I have this code snippet from somewhere - its exactly what I want to do oWord = createobject("word.application") oTemplateDoc = oword.documents.open("mytemplate.doc") * this is a document the user can make, filling it with tags I get an error that the document is not found. Where is it...
  18. webmonger

    SELECT SQL VFP6 - missing records

    I am missing a record in the second SQL example that is found by the first 1 gives 3 records 2 gives 2 records The difference is that the missing record has a 0 for [per_1] in table G So I broke the query into 2 parts - I have the records I want in #1 I want to perform a lookup on some...
  19. webmonger

    Inserting footer in MSWord doc VFP6

    I have code WITH .SELECTION .TypeParagraph .TypeParagraph .Typetext ( 'Hello') I can't work out how to add a footer with a page number. Anyone help?
  20. webmonger

    Status Line during reporting VFP 6

    I am using the status line for messages but I am unable to stop the table count info during a report - is this possible. I have SET MESSAGE TO everywhere. Thanks

Part and Inventory Search

Back
Top