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 strongm 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: PBREP
  • Order by date
  1. PBREP

    After invoking delete page macro, the custom footer page number format is incorrect.

    Hi Tony, Thank you for responding; I'll give it a whirl. ~PM
  2. PBREP

    After invoking delete page macro, the custom footer page number format is incorrect.

    Hello VBA developers, The code you see below performs customized formatting layouts (code not shown). The main problem is that blank pages are shown (Print preview and save to PDF). The “Sub headerFooter()” had some edits to complement the new “Sub DeleteBlankParagraphs()” section in the...
  3. PBREP

    How do I Remove Text from Even Page Header - Section 1 in a Word doc (2013) using VBA?

    Hi Paul, I cleaned up the logic (see below), which works as well. Thnks, ~PM Sub headerFooter() Dim s As Section For Each s In ActiveDocument.Sections ' Configure header on all but first section If s.Index > 1 Then DoHeader s.Headers(wdHeaderFooterFirstPage)...
  4. PBREP

    How do I Remove Text from Even Page Header - Section 1 in a Word doc (2013) using VBA?

    Thank you Paul for your response and assistance. Your logic (code) worked. Just making sure that I placed the code in the appropriate spot (see below). Thanks again, ~PM Sub headerFooter() Dim s As Section For Each s In ActiveDocument.Sections ' Skip first two sections...
  5. PBREP

    How do I Remove Text from Even Page Header - Section 1 in a Word doc (2013) using VBA?

    History: I have a macro (not shown) that deletes the blank page that comes between the cover page and the proprietary page of a Word document that is generated from RoboHelp. However, the cover and the proprietary pages become the same section and the footer section (macro driven as well) is...
  6. PBREP

    Delete Blank Pages macro

    Thanks Skip for the quick reply, your suggestion worked. ~PM
  7. PBREP

    Delete Blank Pages macro

    Hello VBA Programmers, I have the following macro which deletes blank paragraphs from a Word document (e.g. user can see blank pages in Print Preview). I loop through all sections in the document, and if the section does not contain the table of contents, then I delete the blank paragraphs in...
  8. PBREP

    Using Windows CE to download files from an FTP site

    Hello all: I am aware of a FTP client software, "Scotty" however, I need to know if there is a correct setting I need to configure in my Windows CE 2.0. I tried accessing a ftp by typing in the address bar, no go. Anyone had any luck? Thanks, ~PM
  9. PBREP

    Problems Copy an field value into a Array

    &&WORKING CODE LOCAL lnOldWorkArea, llOKToClose lnOldWorkArea = SELECT() IF SELECT("Swog111") > 0 SELECT Swog111 llOKToClose = .F. ELSE SELECT 0 USE c:\ascent\swog111.dbf AGAIN&& Allows multiple open unless the Shipform has it open EXCLUSIVE llOKToClose =...
  10. PBREP

    Problems Copy an field value into a Array

    I would like the community all to know that Mike P. is one extraordinary fellow. For weeks, Mike provided his assistance off-line helping me resolve my issue. Mike offered some awesome insight on how to tackle the problem. Mike also went above and beyond by attempting to get his hands on the...
  11. PBREP

    Problems Copy an field value into a Array

    Good morning Mike: Please let me now if you receive my file I sent to you this moring. Thank you, ~PM
  12. PBREP

    Problems Copy an field value into a Array

    Hi Mike: Thanks for sticking with me. I have no source code of the program (ref. Thirdparty shipping software). However, I have the ability to access "custom routines" by utilizing a program file called Cus_main.prg. Here I can code and in Screen Builders (ref. shipping software) I can make...
  13. PBREP

    Problems Copy an field value into a Array

    Hi Mike: Sc_ship.a_ship[8] is the array for the weight field on the shipping screen during runtime. I tried what you suggest but I get an "Error 13 Alias Swog111 is not found" ??? :( FUNCTION Swg_weight() Set exclusive off USE IN SELECT("swog111") Sc_ship.a_ship[8] = swog111.Sw_anynum2...
  14. PBREP

    Problems Copy an field value into a Array

    Hi Mike: Sc_ship.a_ship[8] is the array for the weight field on the shipping screen during runtime. I tried what you suggest but I get an "Error 13 Alias Swog111 is not found" ??? :( FUNCTION Swg_weight() Set exclusive off USE IN SELECT("swog111") Sc_ship.a_ship[8] = swog111.Sw_anynum2...
  15. PBREP

    Problems Copy an field value into a Array

    ...click OK the another error "Error 12 Parent is not found CODE: FUNCTION Swg_weight() Set exclusive off Use swog111 in 0 again alias myAlias *Locate for a particular record if needed Sc_ship.a_ship[8] = myAlias.Sw_anynum2 EndFunc I did try 'Set exclusive off' but that made no difference...
  16. PBREP

    Changing a Registry Value Using Fox v5.0

    Hi Walter: I had to comment line (ref. duplicate) "*#DEFINE HKEY_LOCAL_MACHINE 0x80000002 " and added a "3" to RegSetValueEx(RESULT,"CustomerUpgradable",0,1,"3",1). Works fine thanks. I just thought there was a way yo just *edit* my key value instead of overwriting/recreating it. Thanks...
  17. PBREP

    Changing a Registry Value Using Fox v5.0

    ...Note a get an error during compule time "Unrecognized command ver" for line:'Integer fdwType, String lpbData, Integer cbData' Any sugestions? * Declare the API functions: #Define HKEY_CLASSES_ROOT           -2147483648 #Define REG_SZ                          1          && String #Define...
  18. PBREP

    Changing a Registry Value Using Fox v5.0

    ...my own, I'm perplexed )and I know it must be something I overlooked). What am I missing. PS - Where's Steve B. ? :) Thanks, ~PM && Latest code *// PURPOSE: *// Creates a value called in *// CustomerUpgradable under the HHKEY_LOCAL_MACHINE*// SOFTWARE\PitneyBowes\Ascent\CustomerUpgradable...
  19. PBREP

    What will this code do

    Hi Tom: SET RELATION Relate two work areas by a key value or record number ------------------------------------------------------------------------------ Syntax SET RELATION TO [<expKey> | <nRecord> INTO <xcAlias>] [, [TO] <expKey2> | <nRecord2> INTO <xcAlias2>...]...
  20. PBREP

    Changing a Registry Value Using Fox v5.0

    Hi Gang: Well I tried it the Foxpro API way, no compile errors but nothing happens. Any suggestions would be much apreciated. Thanks, ~PM *// PURPOSE: *// Creates a value called in *// CustomerUpgradable under the HHKEY_LOCAL_MACHINE*// SOFTWARE\PitneyBowes\Ascent\CustomerUpgradable, and...

Part and Inventory Search

Back
Top