|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic Express 2008 Custom Error MessageI've programmed an autorun program. I would like to create a custom
error message when a person clicks on a button & the file is not in the directory. For example, the code for a button looks like this: Private Sub filename_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles filename.Click Shell("\file.exe", vbMaximizedFocus) End Sub If I remove file.exe from the directory because they hadn't, for example, purchased the software, I want a custom error message to appear. Can anyone help me with the code for this? Wrong group.
This group is for Visual Basic. What you have is VB.NET. Two different things entirely. Show quoteHide quote "Cass" <cas***@gmail.com> wrote in message news:21e9e691-d919-4899-99ca-31d463c4b8e5@j8g2000yql.googlegroups.com... | I've programmed an autorun program. I would like to create a custom | error message when a person clicks on a button & the file is not in | the directory. | | For example, the code for a button looks like this: | Private Sub filename_Click(ByVal sender As System.Object, ByVal e | As System.EventArgs) Handles filename.Click | Shell("\file.exe", vbMaximizedFocus) | End Sub | | If I remove file.exe from the directory because they hadn't, for | example, purchased the software, I want a custom error message to | appear. | | Can anyone help me with the code for this? On Mar 12, 1:10 pm, "Kevin Provance"
<Bill.McCarthy.Is.Stalking.TPASoft.***@.netblows.ms> wrote: Show quoteHide quote > Wrong group. OK.... So where do I need to post then?? I dont see a VB.NET usegroup> > This group is for Visual Basic. What you have is VB.NET. Two different > things entirely. > > "Cass" <cas***@gmail.com> wrote in message > > news:21e9e691-d919-4899-99ca-31d463c4b8e5@j8g2000yql.googlegroups.com... > | I've programmed an autorun program. I would like to create a custom > | error message when a person clicks on a button & the file is not in > | the directory. > | > | For example, the code for a button looks like this: > | Private Sub filename_Click(ByVal sender As System.Object, ByVal e > | As System.EventArgs) Handles filename.Click > | Shell("\file.exe", vbMaximizedFocus) > | End Sub > | > | If I remove file.exe from the directory because they hadn't, for > | example, purchased the software, I want a custom error message to > | appear. > | > | Can anyone help me with the code for this? "Cass" <cas***@gmail.com> wrote in message [Canned response]news:c83f232a-cd6f-4a66-a48f-363f321a8d5e@w9g2000yqa.googlegroups.com... > OK.... So where do I need to post then?? I dont see a VB.NET usegroup This is a VB "classic" newsgroup. Questions about VB.NET (including VB 2005/2008 and VB Express, which have dropped .NET from their names) are off-topic here. Please ask .NET questions in newsgroups with "dotnet" in their names. The *.vb.* groups are for VB6 and earlier. If you don't see the *.dotnet.* groups on your news server, connect directly to the Microsoft server: msnews.microsoft.com. For questions specific to the VB.NET language, use this group: microsoft.public.dotnet.languages.vb Please note that things like controls and data access, which have their own subgroups in the Classic VB hierarchy, are not language-specific in .NET, so you should look for groups like these: microsoft.public.dotnet.framework.windowsforms.controls microsoft.public.dotnet.framework.adonet (Note that "vb" is not present in the group name.) | I've programmed an autorun program. I would like to create a custom lol .NETERur app wont even load on most system :D MS gave you Express Edition to suck you into .NET BlackHole here is a better non .nut replacement [autorun] open=start filetoopen.exe
Copying array elements
PaintPicture My concept for a very basic stripboard layouter in VB6 Option buttons become black - no text shown Procedure limit for Form? converting from basic to vb6 ActiveX Control Crashes - VB6 Convert statements from VB 2008 to 2003? Where to store database login information in VB6 config file |
|||||||||||||||||||||||