182c4 2 Questions: Code to exit via cmdExit; Code to hide/disable tool b
Sign Up |  Live StatsLive Stats    Articles 37,348| Comments 177,403| Members 19,424, Newest yashpal singh| Online 418
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags
Sikh Philosophy Network » Sikh Philosophy Network » Current News » Information Technology » 2 Questions: Code to exit via cmdExit; Code to hide/disable tool b

2 Questions: Code to exit via cmdExit; Code to hide/disable tool b

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 115 USD (23%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Need help to look at code Richard Information Technology 4 28-Jul-2006 08:37 AM
Question on Code Chey Information Technology 5 28-Jul-2006 08:22 AM
Msg Box Code James New Information Technology 2 29-Oct-2005 12:35 PM
what the problem with this code alecarnero Information Technology 1 27-Oct-2005 08:58 AM


Tags
cmdexit, code, exit, hide or disable, hidedisable, questions, tool, via
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:39 AM
AndyG's Avatar AndyG
Guest
 
Posts: n/a
   
   
2 Questions: Code to exit via cmdExit; Code to hide/disable tool b

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
Would someone please tell me what code to use for:
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/13685-2-questions-code-exit-via-cmdexit.html

1)To exit application via
Private sub cmdExit ()
???
End sub

2) To hide/disable tool bars
Private sub Form_Load ()
???
End sub

and to enable them on exit ??? if needs be???
Thank you

*







Got anything to share on This Topic? Why not share your immediate thoughts/reaction with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:39 AM
Ofer Cohen's Avatar Ofer Cohen
Guest
 
Posts: n/a
   
   
RE: 2 Questions: Code to exit via cmdExit; Code to hide/disable tool b

> 1)To exit application via
> Private sub cmdExit ()
> ???
> End sub


================
Docmd.Quit
================


> 2) To hide/disable tool bars
> Private sub Form_Load ()
> ???
> End sub
>

===================
DoCmd.ShowToolbar "ToolBarName", acToolbarNo

And it better to use the form Activate event then the load event, just
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13685
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13685
incase you moving between forms, and this tool bars will be set to yes in
other forms

===================
Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:39 AM
AndyG's Avatar AndyG
Guest
 
Posts: n/a
   
   
RE: 2 Questions: Code to exit via cmdExit; Code to hide/disable to

Dear Ofer,
Thank you for your reply. The exit works perfectly.

How do I find a list of what the toolbar names are?
I would like to turn-off all of the Drop-Down menus (not show them),
and turn-off all of the toolbars (not show them) - form view, formatting,
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13685
& web
Where do I find out the names of these, or can I turn-off all of them at
once?

Thank you,
Andy

"Ofer Cohen" wrote:

> > 1)To exit application via
> > Private sub cmdExit ()
> > ???
> > End sub

>
> ================
> Docmd.Quit
> ================
>
>
> > 2) To hide/disable tool bars
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13685
> > Private sub Form_Load ()
> > ???
> > End sub
> >

> ===================
> DoCmd.ShowToolbar "ToolBarName", acToolbarNo
>
> And it better to use the form Activate event then the load event, just
> incase you moving between forms, and this tool bars will be set to yes in
> other forms
>
> ===================

Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:39 AM
Ofer Cohen's Avatar Ofer Cohen
Guest
 
Posts: n/a
   
   
RE: 2 Questions: Code to exit via cmdExit; Code to hide/disable to

Open the MDB, in the menu bar select Tools > startup options > there you can
remove the toolbars.

If then you want to open the MDB and see the toolbars, for development
reasons, open the MDB while the shift key is pressed

--
Good Luck
BS"D


"AndyG" wrote:

> Dear Ofer,
> Thank you for your reply. The exit works perfectly.
>
> How do I find a list of what the toolbar names are?
> I would like to turn-off all of the Drop-Down menus (not show them),
> and turn-off all of the toolbars (not show them) - form view, formatting,
> & web
> Where do I find out the names of these, or can I turn-off all of them at
> once?
>
> Thank you,
> Andy
>
> "Ofer Cohen" wrote:
>
> > > 1)To exit application via
> > > Private sub cmdExit ()
> > > ???
> > > End sub

> >
> > ================
> > Docmd.Quit
> > ================
> >
> >
> > > 2) To hide/disable tool bars
> > > Private sub Form_Load ()
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13685
> > > ???
> > > End sub
> > >

> > ===================
> > DoCmd.ShowToolbar "ToolBarName", acToolbarNo
> >
> > And it better to use the form Activate event then the load event, just
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13685
> > incase you moving between forms, and this tool bars will be set to yes in
> > other forms
> >
> > ===================

Reply With Quote
  #5 (permalink)  
Old 28-Jul-2006, 08:39 AM
AndyG's Avatar AndyG
Guest
 
Posts: n/a
   
   
RE: 2 Questions: Code to exit via cmdExit; Code to hide/disable to

That does get rid of the toolbars, however it still leaves the Drop-down
menues.
Can I programatically (or otherwise) hide/disable them?

"Ofer Cohen" wrote:

> Open the MDB, in the menu bar select Tools > startup options > there you can
> remove the toolbars.
>
> If then you want to open the MDB and see the toolbars, for development
> reasons, open the MDB while the shift key is pressed
>
> --
> Good Luck
> BS"D
>
>
> "AndyG" wrote:
>
> > Dear Ofer,
> > Thank you for your reply. The exit works perfectly.
> >
> > How do I find a list of what the toolbar names are?
> > I would like to turn-off all of the Drop-Down menus (not show them),
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13685
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13685
> > and turn-off all of the toolbars (not show them) - form view, formatting,
> > & web
> > Where do I find out the names of these, or can I turn-off all of them at
> > once?
> >
> > Thank you,
> > Andy
> >
> > "Ofer Cohen" wrote:
> >
> > > > 1)To exit application via
> > > > Private sub cmdExit ()
> > > > ???
> > > > End sub
> > >
> > > ================
> > > Docmd.Quit
> > > ================
> > >
> > >
> > > > 2) To hide/disable tool bars
> > > > Private sub Form_Load ()
> > > > ???
> > > > End sub
> > > >
> > > ===================
> > > DoCmd.ShowToolbar "ToolBarName", acToolbarNo
> > >
> > > And it better to use the form Activate event then the load event, just
> > > incase you moving between forms, and this tool bars will be set to yes in
> > > other forms
> > >
> > > ===================

Reply With Quote
  #6 (permalink)  
Old 28-Jul-2006, 08:39 AM
Ofer Cohen's Avatar Ofer Cohen
Guest
 
Posts: n/a
   
   
RE: 2 Questions: Code to exit via cmdExit; Code to hide/disable to

  Donate Today!  
It should hide also the menue bar, unless you didn't uncheck it, or mybe yu
can see the menu of Access and not the MDB.


--
Good Luck
BS"D


"AndyG" wrote:

> That does get rid of the toolbars, however it still leaves the Drop-down
> menues.
> Can I programatically (or otherwise) hide/disable them?
>
> "Ofer Cohen" wrote:
>
> > Open the MDB, in the menu bar select Tools > startup options > there you can
> > remove the toolbars.
> >
> > If then you want to open the MDB and see the toolbars, for development
> > reasons, open the MDB while the shift key is pressed
> >
> > --
> > Good Luck
> > BS"D
> >
> >
> > "AndyG" wrote:
> >
> > > Dear Ofer,
> > > Thank you for your reply. The exit works perfectly.
> > >
> > > How do I find a list of what the toolbar names are?
> > > I would like to turn-off all of the Drop-Down menus (not show them),
> > > and turn-off all of the toolbars (not show them) - form view, formatting,
> > > & web
> > > Where do I find out the names of these, or can I turn-off all of them at
> > > once?
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13685
> > >
> > > Thank you,
> > > Andy
> > >
> > > "Ofer Cohen" wrote:
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13685
> > >
> > > > > 1)To exit application via
> > > > > Private sub cmdExit ()
> > > > > ???
> > > > > End sub
> > > >
> > > > ================
> > > > Docmd.Quit
> > > > ================
> > > >
> > > >
> > > > > 2) To hide/disable tool bars
> > > > > Private sub Form_Load ()
> > > > > ???
> > > > > End sub
> > > > >
> > > > ===================
> > > > DoCmd.ShowToolbar "ToolBarName", acToolbarNo
> > > >
> > > > And it better to use the form Activate event then the load event, just
> > > > incase you moving between forms, and this tool bars will be set to yes in
> > > > other forms
> > > >
> > > > ===================

Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
How does Sikhi help you...
Today 02:04 AM
48 Replies, 1,206 Views
Stockholm riots throw...
Today 01:54 AM
9 Replies, 77 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 01:52 AM
186 Replies, 4,636 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 01:41 AM
322 Replies, 7,720 Views
Woolwich Killing: The...
Today 00:59 AM
21 Replies, 254 Views
Is Science a Religion?
By fsf
Today 00:31 AM
13 Replies, 2,031 Views
Paneer: what I have...
Yesterday 22:29 PM
8 Replies, 69 Views
How Many Sikhs Have...
Yesterday 21:55 PM
698 Replies, 51,732 Views
Transgenderism ... Right...
By Kaylee
Yesterday 17:55 PM
31 Replies, 1,379 Views
Rochester Gurdwara...
Yesterday 10:55 AM
2 Replies, 82 Views
US Congress panel passes...
Yesterday 04:22 AM
0 Replies, 43 Views
Harmeet Kaur Took the...
Yesterday 03:40 AM
0 Replies, 67 Views
Panjabi Alphabet Resource
24-May-2013 23:15 PM
12 Replies, 6,561 Views
Biography of a Scholar:...
24-May-2013 22:53 PM
1 Replies, 100 Views
Dusting The Web
24-May-2013 22:25 PM
0 Replies, 50 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 02:05 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.44959 seconds with 32 queries
0