From: hmrosser@bellsouth.net   
      
   "Paul Bruneau" wrote in message   
   news:43drr05bjg51uu5g0qfvh64av88ob9156u@4ax.com...   
   > Hi Folks,   
   >   
   > I wonder what I need to do.   
   >   
   > I make a REAL simple design,   
   >   
   > One losuy form that has an allocated 'Name' property - Form1   
   >   
   > I build solution without an issue.   
   >   
   > However, if I change the 'Name' property to say... "Adder" and do the   
   > same build I will receive an error:   
   >   
   > 'Sub Main' not found was not found in 'Adder.Form1'   
   >   
   > I can't find any reference to 'Adder.Form1' nor Sub Main.   
   >   
   > How would I correct the thing, rather than accept "FORM1" as a   
   > permanent 'Name' property value. Can I not change any of the Form   
   > names as I choose?   
   >   
   > Thanks -- paul   
   >   
      
   When you first create a project, VB thinks Form1 is the startup object   
   when you change the name of Form1, you need to right-click the project in   
   the solution explorer, click 'properties' and set the startup object to the   
   new name of your form   
      
      
      
   ---   
   Outgoing mail is certified Virus Free.   
   Checked by AVG anti-virus system (http://www.grisoft.com).   
   Version: 6.0.807 / Virus Database: 549 - Release Date: 12/8/2004   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|