home *** CD-ROM | disk | FTP | other *** search
- Attribute VB_Name = "MainModule"
- Option Explicit
-
- Sub Main()
- 'Check to see if the application has
- 'been launched by a curious user
- If App.StartMode = vbSModeStandalone Then
- Dim msg As String, style As Integer
- msg = "This application can not be run " _
- & "as a stand alone executable. Sorry! " _
- & "Exiting now."
- style = vbOK + vbExclamation
- MsgBox msg, style, "rbRun.exe"
- 'End
- End If
- End Sub
-