Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 3 of 3 total |
Exiting and shutting down DBSRVR |
Wed, Oct 14 2009 5:25 AM | Permanent Link |
Edward Jones | I am about to embark on an upgrading process of my customers from DBISAM to ElevateDB but want to automate the closing of DBSRVR. Note
that this is not just a Stop but an actual closing of DBSRVR so it goes from the System Tray. I am not running DBSRVR as a service so I can't use "net stop" (which would of been handy!). Is there a way to do this programmatically? Regards Edward Jones |
Wed, Oct 14 2009 7:36 AM | Permanent Link |
"John Hay" | Edward
> I am about to embark on an upgrading process of my customers from DBISAM to ElevateDB but want to automate the closing of DBSRVR. > >Is there a way to do this programmatically? The procedure below should do this for you. You call it like closeapp('DBISAM Database Server - DBSRVR (Application)'); procedure closeapp(mainformcaption:string); var h: HWND; begin h := FindWindow(nil, pansichar(mainformcaption)); if h <> 0 then PostMessage(h, WM_CLOSE, 0, 0); end; John |
Thu, Oct 15 2009 7:02 AM | Permanent Link |
Edward Jones | "John Hay" wrote:
Edward > I am about to embark on an upgrading process of my customers from DBISAM to ElevateDB but want to automate the closing of DBSRVR. > >Is there a way to do this programmatically? The procedure below should do this for you. You call it like closeapp('DBISAM Database Server - DBSRVR (Application)'); procedure closeapp(mainformcaption:string); var h: HWND; begin h := FindWindow(nil, pansichar(mainformcaption)); if h <> 0 then PostMessage(h, WM_CLOSE, 0, 0); end; John ------------------------ Thanks John, brilliant, that does the trick! Regards Edward Jones |
This web page was last updated on Wednesday, April 24, 2024 at 11:07 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |