Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > Log Off when Application Closes
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 23rd May 18:05
joshua a. booker
External User
 
Posts: 1
Default Log Off when Application Closes



Users who get an Access App instead of a desktop on TS can't log off
properly. At one point, it was logging off after Access was closed, but now
it just stays with the blue screen and in TS manager it says disconnected.
The server shuts old sessions after a certain interval, but why doesn't it
log off properly as it once did?

Is there a way to control the session and tell it to log off in VBA? Is
this a result of choosing NT compatable in the TS config?

TIA,
Josh
  Reply With Quote


  sponsored links


2 23rd May 18:05
matthew harris [mvp]
External User
 
Posts: 1
Default Log Off when Application Closes



Instead of calling the Access application directly, why
don't you have the terminal server call a batch script
first. You can make this batch script bring up Access.
You can also force the batch script to wait until Access
is closed, then have it call the logoff.exe.

Something like...

Start /wait c:\path\to\access.exe

-M

can't log off

was closed, but now

says disconnected.

but why doesn't it

off in VBA? Is
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666