My Assistant
![]() ![]() |
|
|
May 25 2005, 03:43 AM
Post
#1
|
|
|
UtterAccess Ruler Posts: 1,265 From: Northern Ireland (Newry) |
Hi
On a form i want to place a button that when clicked, will close the access application. I know DoCmd.Close will close the current form. Whats the code to close the current application? Thanx |
|
|
|
May 25 2005, 03:47 AM
Post
#2
|
|
|
UA Editor + Utterly Certified Posts: 22,722 From: Melton Mowbray,Leicestershire (U.K) |
|
|
|
|
May 25 2005, 03:53 AM
Post
#3
|
|
|
UtterAccess VIP Posts: 7,990 From: Philippines |
hi:
or: Application.Quit HTH. |
|
|
|
May 25 2005, 04:35 AM
Post
#4
|
|
|
UtterAccess Ruler Posts: 1,265 From: Northern Ireland (Newry) |
before it quits i want to open a java program i programmed..
it sits at: C:\Progs\SystemProg.class how do i do it? |
|
|
|
May 25 2005, 06:35 AM
Post
#5
|
|
|
UA Editor + Utterly Certified Posts: 22,722 From: Melton Mowbray,Leicestershire (U.K) |
Hi
Shell Function Example This example uses the Shell function to run an application specified by the user. On the MacIntosh, the default drive name is “HD” and portions of the pathname are separated by colons instead of backslashes. Similarly, you would specify Macintosh folders instead of \Windows. ' Specifying 1 as the second argument opens the application in ' normal size and gives it the focus. Dim RetVal RetVal = Shell("C:\WINDOWS\CALC.EXE", 1) ' Run Calculator. HTH's (IMG:style_emoticons/default/thumbup.gif) |
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 21st May 2013 - 03:39 PM |