Re: Pass a variable to another form

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: tina (nospam_at_address.com)
Date: 05/25/04


Date: Tue, 25 May 2004 20:40:09 GMT

thanks for the info, and book referral, Dirk - i really appreciate your
time! :)

"Dirk Goldgar" <dg@NOdataSPAMgnostics.com> wrote in message
news:%238xf4roQEHA.132@TK2MSFTNGP09.phx.gbl...
> "tina" <nospam@address.com> wrote in message
> news:d_Lsc.66477$hH.1192243@bgtnsc04-news.ops.worldnet.att.net
> >> public variables will lose
> >> their values if something -- an unhandled error, for example --
> >> causes the VB project to be reset.
> >
> > okay, how do i know if the project is reset? is it an automatic
> > thing? i mean, if i get an error while running code, does the VB
> > project always reset at that time? and if i use standard error
> > handling with the On Error GoTo, and a msgbox with the error# and
> > description, and a Resume to the Exit part of my handler, is the
> > error then considered "handled" by Access?
> > again, sorry so wordy, just want to understand this. maybe you could
> > recommend some reading i should do - i know you don't want to write
> > me a book! :)
>
> I am not an expert on this, but as I understand it, the only time the
> error is considered "unhandled" is when Access displays its default
> error dialog. If there's an On Error statement in effect, whether it's
> "On Error Resume ..." or "On Error GoTo ..." (except "GoTo 0"), that
> error would be considered "handled".
>
> The _Access <version> Deveoper's Handbook_ from Sybex has a fairly
> extensive chapter on error-handling.
>
> --
> Dirk Goldgar, MS Access MVP
> www.datagnostics.com
>
> (please reply to the newsgroup)
>
>



Relevant Pages

  • Re: Team EM Help: 1st EM and could use some helpcontinued
    ... -Relay back sw's (mounted to the bottom right side of the playfield) ... sw's 2-B and 1-C don't always reset. ... pound on the relay bank until I cycle the power. ... by me - others please let him know if this is okay or not - i know he ...
    (rec.games.pinball)
  • Re: Tech EM help needed
    ... would try a couple of games to ... add credits and the back board will light.Playfield dead--hold relay ... that resets the bank and it looked okay but replaced it anyway.I ... If I manually trip it and reset it,it appears okay and when I tried it ...
    (rec.games.pinball)
  • cant set home page
    ... Okay, I have a major problem here. ... attempt to reset it to some other webaddresses. ... MS website many times. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Beep Again
    ... the Reset button. ... It causes a complete re-download of ... headers. ... Okay. ...
    (microsoft.public.vb.general.discussion)
  • Re: OT~ Fords Most Advanced Assembly Plant (was Socialist Engineered Vehicles)
    ... Okay. ... "MIME". ... I reset that to 'uuencode' and now it seems to be working. ...
    (rec.outdoors.rv-travel)