| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Newbie Question |
All applications *must* have an "entry point". In VB you have your choice of using either a subroutine named "Main", located in a BAS file that executes before any forms are loaded (and which would be responsible for showing the main application form with a Form1.Show (or whatever the main form name is) command, or of selecting one of the forms in the project as your startup object (e.g. "Form1"). This option is set under project/options on the first tab. If you select sub main as the startup point, and you don't create a routine called Sub Main, you get the error. -- Randy Birch MS MVP Visual Basic http://vbnet.mvps.org/ "Michael Roberts" wrote in message news:41acd11d$1_4{at}127.0.0.1... :I am really new at this. I keep getting an error message that says that : "Sub Main() is not found". Sometimes it shows up and others it doesn't. I : can put a couple of labels or buttons and all is fine. I put one more and : the error pops up. : : I'm completely confused here. : : Any help appreciated. : : -Mike : : : : : ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==---- : http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups : ---= East/West-Coast Server Farms - Total Privacy via Encryption =--- --- þ RIMEGate(tm)/RGXPost V1.14 at BBSWORLD * Info{at}bbsworld.com --- * RIMEGate(tm)V10.2áÿ* RelayNet(tm) NNTP Gateway * MoonDog BBS * RgateImp.MoonDog.BBS at 11/30/04 9:56:40 PM* Origin: MoonDog BBS, Brooklyn,NY, 718 692-2498, 1:278/230 (1:278/230) SEEN-BY: 633/267 270 5030/786 @PATH: 278/230 10/345 106/1 2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.