Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello All,

 

First timer here.

 

Im haveing problems. I have just installed vb.net and im trying to do my first program.

When i click on the windows application for VB it loads and tells me the the module can not be found. Then in the task list it says sub main not found in project1.

 

Any ideals on this i have uninstalled four times to get the same thing on reinstall.

 

Thanks

Posted

open visual studio .Net

 

i have the new projects set to open first

 

then i click on visual basic projects

 

then on windows application

 

it trys to load and then i get this msg

 

the specified module could not be found

 

i click ok

 

then in the task list is says

 

sub mian was not found in windowsapplication3

 

on your program you sent

 

i unzip and click on the TestApp.vbproj file and it loads i press f5 and run and i see button1 when clicked it says it worked

Posted

Iebidan,

 

yes i did and when i first run the template it just has sub main for the project and i cant add any forms to change it.

 

thanks

Posted

ok here is what i installed

 

iis first

 

then i did the upgrade on the sp1 disk 5

 

and then did a whole install

 

rebooted and same thing

Posted

cool

thanks robby,

 

i like what the vb.net has to offer.

may have to do a whole reinstall of system.

 

somthings hosed

 

thanks again.

Posted

have u tried right clicking on your project and going to props and setting startup object as sub main

if it aint int he list then

 

make a class

 

and create a sub main

 

and instantiate the main form in that process and then select that block as startup object

Posted

Winston,

 

it is set to sub main in the progect properties.

 

it wont let me add a class or anything

 

thanks for you help

Posted

Ok here give this some thought.

i just added a references to system.windows.forms

may be my vbwizard dir is messed up.

 

its not loading the proper references to do the job.

 

hmmm

Posted

ok here is what i have done.

 

i took your first program rename it to windowsapplication.vbproj

and all of it files and put it in to the dir under the vbwizzard for windowsapplication. it loads up but with a error but i have a form on it.

just tryed somthing else. i deleted the scipt file and i think thats where the erros coming from.

 

is there any way i can get you to zip up that whole dir and let me check if its the files and not the main program?

 

thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...