Search results

  1. N

    HLC executable contains Progress object code?

    Hope this is relevant/helps... HLC has been around for a _very_ long time. You'd probably be better advised to go the shared libraries/DLL route (A topic covered in the same manual). HLC is a means of building a modified Progress client/server executable with your own 'C' code included...
  2. N

    Starting server in Windows 2000

    Just a thought: Have you given any consideration to setting your DB up using the Progress Explorer/Proservice instead? It then starts automatically on boot. If you launch it as a shortcut via 'Startup' then it won't start until you log in.
  3. N

    Excel OLE Group function

    Thought I'd have a stab at this as no-one else appears to have replied. I haven't yet had the need to use this particular method. Looking in VBA XL help, there are two forms of 'Group'. The form of 'Group' you are trying to use requires a single cell in the pivot fields data range as the...
  4. N

    automaticaly register activeX ??

    You can call regsvr32.exe with the /s (Silent) switch to suppress any messages. I'd go for a run-once 'Client Setup' program rather than checking the ocx is installed every time you start a session, but I guess you could query the registry under HKEY_CLASSES_ROOT/CLSID to find out if a...
  5. N

    Excel Sort Method

    I'm actually using Excel 97 (Not 2000) - although looking on MSDN the 'Sort' methods calling parameters haven't changed at all. I would code the following... CHWORKSHEET:Range("A3:Z1000"):Sort( CHWORKSHEET:Range("G3"), /* Key1 */ 1, /* Order1 */ , /* Key2 */ , /* Type */ , /*...
  6. N

    Mail Merge Question

    Available from 'ProTools', or set up a shortcut to 'bin\proobjvw.exe'.
  7. N

    The LEAVE event

    I agree with Mike Carroll that you shouldn't use the LEAVE event for any kind of STRICT validation. This kind of validation should only occur when you're trying to commit what you've done (EG Clicking on an OK button). However, you might be able to use LAST-EVENT:WIDGET-ENTER to check which...
  8. N

    Adding a record using a browse

    For updateable browses.. You need to use 'INSERT-ROW' to create a blank line in the browse, which also sets the 'NEW-ROW' attribute. Use 'CREATE-RESULT-LIST-ENTRY' to end the process of adding the record, which synchs up the new data with the browse. I'd recommend an 'Add' button that...
  9. N

    Mail Merge Question

    The help file always tells you what type of constant something is, EG 'WdFirstRecord' is of type 'WdMailMergeActiveRecord'. Use the Progress Object Viewer to view 'msword8.olb', and find details on 'WdMailMergeActiveRecord'. This will tell you what the values for the constants are, EG...
  10. N

    How to wait printing was completed before I close the MSWORD

    I've never used it, but I should think that.. Application.BackGroundPrintingStatus() ..should do the trick? Apparently it returns the number of active background print jobs as an integer.
  11. N

    Windows API - Getting the NT domain

    Thanks everybody Thanks for all the responses :) To summarise, I've the following choices... 1. Pick the domain from the registry. Win95 flavours hold the info in a different place to NT/2000. I'd hoped to avoid doing this as I was initially _sure_ there'd be a simple API call for it...
  12. N

    same window

    Suppress the window of the procedure you're calling.. the frame then gets inserted into the current window. You'll have problems with tab order though, so you might have to pass the widget you want to move in front of as a handle, then use MOVE-BEFORE to move your frame in front.
  13. N

    Windows API - Getting the NT domain

    There's no simple API call for this? Thanks for the info guys. There's no simple API call I can make for this? I checked a few computers running different flavours of Windows. Our domain name can be found in more than on place in the registry, and never seems to be in the same place...
  14. N

    Running Programs Lock Up

    A bit of sample code... ----- DEFINE BUTTON btnCancel LABEL "Cancel". FORM "Please wait ... " btnCancel WITH 1 COLUMN FRAME fraProcess THREE-D NO-LABELS VIEW-AS DIALOG-BOX TITLE "Transaction in progress". ON CHOOSE OF btnCancel ASSIGN gAbort = TRUE. ENABLE btnCancel...
  15. N

    setting userid("dbname")...?!?!

    An additional benefit of putting a new front end on that prompts for user name and password (As jamesmc recommended) is that it no longer needs to be operating system specific. On our old V6 CHUI systems we had to find out what the opsys was from a parameter file, call loads of operating...
  16. N

    Windows API - Getting the NT domain

    Anyone know how to get the current NT domain in ProgressV8/V9 GUI? (Need something to cover Win95/98/NT/2000). Presumably a particular API call?
  17. N

    Upgrade V8.3 -> V9.1

    To create the V9 DB I'd dump data/definitions from V8 using 'Data Administration', then create a blank V9 database and load the resulting .df and .d's in. That might not be the best way of doing it, but it does the job. Problems I've had going V8->V9 code were minimal: Some Smartobject...
Back
Top