Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

Visual Basic Express Edition

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dancer - 03 Oct 2007 15:40 GMT
In Visual Basic 2005 Express Edition When I choose Console Application for
the project, the source code page automatically comes up with:
Module Module1

When I choose Windows Application, the page automatically comes up with
Public Class Form1

Why not Module in the Windows App page?

Also, ASP.NET Web Application is not one of the choices when choosing a new
project.  Is there a way to add this?
Patrice - 03 Oct 2007 15:51 GMT
For ASP.NET you'll need to use Visual Web Developer Express. Visual Basic
Express is for Windows application.

As for the reason my guess would be that most Windows application are
starting with a form but this is a just a suggestion (though note that to
enable the application framework that helps to show a startup screen, that
handles settings etc that you'll find in the project settings, the startup
objet needs to be a form).

Use whatever best fit your needs within those constraints (that is a form
unless you don't want this part in whihc case you can start your windows
application with whatever you want. Similary you can start a console
application with a class with sahred members instead of using a module if
you wish).

--
Patrice

> In Visual Basic 2005 Express Edition When I choose Console Application for
> the project, the source code page automatically comes up with:
[quoted text clipped - 7 lines]
> Also, ASP.NET Web Application is not one of the choices when choosing a
> new project.  Is there a way to add this?
dancer - 04 Oct 2007 13:52 GMT
Thank you for replying, Patrice.
I put code in VB Express using Module and it worked fine.  I transferred the
same code to VWD Express and received this error:
'Module' statements can occur only at file or namespace level

Do you have a thought on this?

> For ASP.NET you'll need to use Visual Web Developer Express. Visual Basic
> Express is for Windows application.
[quoted text clipped - 25 lines]
>> Also, ASP.NET Web Application is not one of the choices when choosing a
>> new project.  Is there a way to add this?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.