This works great.
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Michael McWilliams
Sent: Wednesday, October 08, 2008 3:13 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Pop Up Screens
Yes, sorry forgot to put that part in there.
--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> , "Vic
Drecchio" <vic.drecchio@...>
wrote:
Behalf
Behalf
40yahoogroups.com> , "Vic
40yahoogroups.com> ] On
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Michael McWilliams
Sent: Wednesday, October 08, 2008 3:13 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Pop Up Screens
Yes, sorry forgot to put that part in there.
--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> , "Vic
Drecchio" <vic.drecchio@...>
wrote:
>code
> You need to declare the btnClockOut "variable" in the top of the
> with:[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
>
> Private WithEvents btnClockOut As EpiButton
>
>
>
> You'll see other similar statements at the top of the code. Add it
> there.
>
> -----Original Message-----
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Behalf
> Of Late, Travismight
> Sent: Wednesday, October 08, 2008 3:56 PM
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> Subject: RE: [Vantage] Re: Pop Up Screens
>
> This is the error that I get when I type this in? Any idea what I
> be doing wrong?declared.
>
>
>
> Compiling Custom Code ...
>
>
>
>
>
> ----------errors------------
>
>
>
> Error: BC30451 - line 66 (128) - Name 'btnClockOut' is not
>WithEvents
> Error: BC30506 - line 69 (131) - Handles clause requires a
> variable defined in the containing type or one of its base types.[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
>
>
>
> ** Compile Failed. **
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Behalf
> Of Michael McWilliamsbutton
> Sent: Wednesday, October 08, 2008 8:55 AM
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] Re: Pop Up Screens
>
>
>
> If they were hurt do you want it to not allow them to clock out?
> If so it will require more than what is below.
>
> This might help get you started. You are going to have to use a
> click event for the Clock out button.at WOrk
>
> Private Sub MESMenu_Load(ByVal sender As object, ByVal args As
> EventArgs) Handles MESMenu.Load
>
> btnClockOut = ctype(csm.GetNativeControlReference("d87c63c4-b79e-
> 4bae-9c4d-f4f9c958d931"),EpiButton)
> End Sub
>
> Private Sub btnClockOut_Click(ByVal Sender As Object, ByVal Args As
> System.EventArgs) Handles btnClockOut.Click
>
> Dim drClockOut As DialogResult = MessageBox.Show("Where You Hurt
> Today","Choose Yes or<mailto:vantage%
> No",MessageBoxButtons.YesNo,MessageBoxIcon.Question)
> If drClockOut = DialogResult.Yes Then
> msgbox("Report to HR")
> End If
>
> End Sub
>
>
>
> --- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
40yahoogroups.com> , "Vic
> Drecchio" <vic.drecchio@><mailto:vantage%40yahoogroups.com>
> wrote:
> >
> > You can do this.
> >
> > Do a little research on the MsgBox() function.
> > http://msdn.microsoft.com/en-us/library/139z2azd(VS.80).aspx
> >
> >
> >
> >
> >
> > -----Original Message-----
> > From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com><mailto:vantage%
40yahoogroups.com> ] On
> Behalf<mailto:vantage%40yahoogroups.com>
> > Of Late, Travis
> > Sent: Wednesday, October 08, 2008 9:37 AM
> > To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> > Subject: [Vantage] Pop Up Screenswe
> >
> > Has anyone out there created a pop-up in Vantage MES 8.03. What
> are<http://groups.yahoo.com/group/vantage/files/>
> > looking to do is when the plant employees sign out it will prompt
> them
> > with a pop up box that says "Were you injured at work today?"
> They will
> > answer Yes or No. If they answer yes it will tell them to see the
> HR
> > Department. If they click NO it will clear the box and sign them
> out.
> > Not sure if I have to have customization do this or if this is
> something
> > we can customize ourselves. I appreciate anyone's insight on this
> one.
> >
> >
> >
> > Travis Late
> >
> > ERP Project Manager
> >
> > M-B Companies, Inc
> >
> > 1200 Park Street
> >
> > Chilton, WI 53014
> >
> > Phone: 920-898-1560 Ext.152
> >
> > Cell: 920-960-0062
> >
> > Email: tlate@ <mailto:tlate@>
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You
> must
> > have already linked your email address to a yahoo id to enable
> access. )
> > (1) To access the Files Section of our Yahoo!Group for Report
> Builder
> > and Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> <http://groups.yahoo.com/group/vantage/files/>must
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You
> have already linked your email address to a yahoo id to enableaccess. )
> (1) To access the Files Section of our Yahoo!Group for ReportBuilder
> and Crystal Reports and other 'goodies', please goto:<http://groups.yahoo.com/group/vantage/files/>
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:[Non-text portions of this message have been removed]
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>