how can you use VB.Net without Visual Studio...

Good evening,

I am doing some 'pro bono' work for a religious organization. The application is web based and is using VB.Net in a code behind manner with aspx files.
I am using Microsoft SQL Server and Microsoft IIS server. I have no budget for this application. Consequently, I can not purchase Microsoft Visual Studio.
When I put all my classes in a single vb file, everything works fine. However, if I separate the classes into several vb files, I can not link them together. Since I am using an aspx file, I have not used the vb compiler.
I'd appreciate any help.
10/28/2003 12:54:23 AM 3721 articles. 0 followers. Follow

5 Replies

Similar Articles

[PageSpeed] 38

I am not sure I understand your questions, can you describe a bit more what you are doing? Yes, you can use VB compiler (and C#) without VS - they come as part of .NET SDK which is free download. 

However, I don't quite get how do you put several VB classes into a single file. Typically you should have one class per file. Are you trying to spread a single class across several files?


This posting is provided "AS IS" with no warranties, and confers no rights.
10/28/2003 6:57:56 AM
Thanks for responding so promptly.

I'm trying to test and enhance an application that consists of a number of aspx files. Each aspx file has an associated code behind vb file. Each aspx file will access one or more classes and each class is in its own file.
The application was developed using Visual Studio. Unfortunately, I do not have budget to purchase a copy of Visual Studio.
ASPX files are automatically compiled. If I had VS, I'm sure that I can get this to work. However, the only way that I can get it to work, without VS, was to put all of the classes accessed by the aspx file is to put them all in the same code behing vb file.
10/30/2003 12:12:45 AM
You can edit existing files using any editor including Notepad. Files are compiled at run time by ASP.NET Runtime that comes as part of .NET platform which is free. Hence you don't need VS. I don't think you need to move the code into a single file. By the way, it is not possible: each class must be in its own file.


This posting is provided "AS IS" with no warranties, and confers no rights.
10/30/2003 10:04:16 PM

Thanks for the heads up.
You can put multiple classes into a single vb file. It is the only way that I could get this app to work.
Essentially, what I have is an aspx file that has an associated code behind vb file that contains a class. In addition, a class in another file is accessed. This is what I can't get to work.
When I combine both classes into the same file, it does work...
10/30/2003 11:36:00 PM
What you are probably missing is import of the namespace and class defined in that second file. You can import it either as an assembly or as a source.

Try adding
<%@ Assembly Src="pathname" %>
to the ASPX file, where pathname is name of the file in which the second class resides. I.e. something like
<%@ Assembly Src="foobar.vb" %>



This posting is provided "AS IS" with no warranties, and confers no rights.
10/31/2003 4:05:07 AM

Similar Artilces:

Visual Basic.NET or Visual Studio.NET?
OK, this has probably been asked before... I'm a student looking to cut my costs, and I can do this by just purchasing Visual Basic.NET as opposed to the fully-fledged Visual Studio.NET application. Of course, I'll only be able to program in VB, but that's fine with me. I wanted to know if all of the ASP.NET specific options are available, such as using a WYSIWYG editor? I'd also like to know if VB.NET has IntelliSense, or that's a specific option only available to Visual Studio.NET users. Thanks in advance. I'd have to believe that VB.Net has intellisense. What is the price d...

Visual Studio .Net? Visual Basic .Net?
Okay, I admit it -- I know nothing about .Net. I'm a Visual Basic and ASP developer. DotNetNuke is my first tentative step into the whole ".Net Thing", and I'm looking for some advice... What do I really need to be able to make some modifications, or new modules for DotNetNuke? Do I need the full, THOUSAND DOLLAR Visual Studio .Net 2003 package, or can I get away with the HUNDRED DOLLAR Visual Basic .Net Standard package?Chameleon Systems, Inc. You can use webmatrix, available here for free. One of the drawbacks of webmatrix however is that it does not support code-be...

Visual Basic.NET or Visual Studio.NET? #2
I am currently using the Web Matrix to develop ASP.NET applications, but I am keep to upgrade to VS.NET. However, I can't justify spending $1,000 at the moment. I then found the MUCH cheaper "Visual Basic .NET 2003 Standard Edition" which is only $100. I have very little C# knowledge, and use Basic almost all the time. Would this be a good tool to use for web development? Does it support all the code behind stuff that VS users love so much? Thanks!! I use "VB.NET Standard Edition" and I'm happy with it. It has exactly the same features as Visual Studio.NET. Th...

can we migrate visual studio .net 2003 project to visual 2005
Hai friends, I am doing project in ASP.NET(vb language)  I have visual studio .net 2003 installed in my pc and i am doing my project in it , because i need to use additional functionality like "AJAX" , i want to use visual studio .net 2005 or visual studio .net 2008 my project folder name is "sqls" can i install visual studio .net 2005 or visual studio .net 2008 and migrate this project folder to work in visual studio .net 2005 or visual studio .net 2008 i have uninstall visual studio .net 2003 and install visual studio .net 2005 or visual ...

Visual Basic .NET 2003 vs Visual Studio .NET 2003
Hi, If im going to be coding my ASP.NET in just VB.NET then would I be able to go for the cheaper option of buying Visual Basic .NET 2003 ?? - Carl S Yes.Starting with ASP.NET 2.0? Look at:Programming Microsoft Web Forms My Blog Are there any limitations if I was doing my ASP.NET with VB.NET in Visual Basic .NET 2003 than if I was using the full Visual Studio .NET 2003 ?? Or are the only advantages of Visual Studio .NET 2003 in that it supports more programming languages ?? - Carl S You should check the MS Web site, but I believe that, given an edition (Standard, Professional...

Visual Studio.Net and VB.Net
Can we install VS.Net and VB.Net on the same machine and work side by. Is there any thing I need to worry about? I use VS.Net enterprise for my office work and I am planning to buy VB.Net standard for my personal use. Before I goahead and buy, I wanted to make sure that it works. Thanks for your help. Anil...

Can I use my visual studio 6 project in Visual Studio .NET?
Here is my situation 1) Web Windows 2k Server. All code is done in ASP (not .net) 2) 1 Developer is not yet ready to install Visual Studio .NET, nor are we ready upgrade our server to .NET, however I wish to use Visiual Studio .NET. So is it possible to open a Visual Studio 6 project file and use the built in Source Control while running Visual Studio .NET? Thanks, Matt anyone able to help me out here? anyone?...

visual 2003 conflict visual 2003
hello does visual 2003 makes conflict with visual 2003? thank you for the help and for the support No, the RTM version (I think this is true also for Beta 2), will work on the same machine without any problems./Fredrik Normén - fredrikn @ twitterMicrosoft MVP, MCSD, MCAD, MCTASPInsidersMy Blog i am shure 2003 doenst conflict with 2003 ;-)-Hannes the subject says "visual 2003 conflict visual 2003". is he talking about 2003 and 2005 ? pradeep_TP I think he is talking abo...

Visual Studio .NET vs Visual Studio .NET 2002 or 2003?
As an admin, I'm working to determing what systems I need to update with the update on MS08-017, particularly with respect to Visual Studio .NET 2002 and 2003. I've got quite a few systems that appear to have Visual Studio .NET, no 2002 or 2003 mentioned when I view what's there in Add/Remove Programs. Is there a definitive way to determine if I have a 2002 or 2003 version?   sandy_wood:Is there a definitive way to determine if I have a 2002 or 2003 version? In add/remove programs it would indicate it VS2003 as Visual Studio 2003. Alternatively launch the applicatio...

Sending SMS using or using or
Hi  My requirement is I hav one csv file with these fields id,mobilenum,messgae,status.intiallu staus is 0. once i read the all fileds and take that mobile number.using tat mobile number  i need to send sms .after sending sms i shuld change status as 1 How to send sms thru coding (please dont provide any links.if it is provide also please give working links becox i checked codeproject .i didnt get any nice link. and also provide the how to update the status field im csv file   Thank ssandhya   To send SMS, you need some third party SMS providers. if you consul...

Visual C#.Net vs Visual Studio.Net
I have read in other posts a lot of people recommending Visual Studio.Net over the Web Matrix. My query is: why is there a £700 difference between VS.Net and Visual C#.Net? As a c# developer, I won't need any VB functionality. I also don't require Visual Source Safe, as projects are generally small and manageable. What features are lacking in Visual that justifies the price difference? Does it have Intellisense / Dubuggers / Compilers? These are the features that would make me pay for it instead of continuing with WM, but I need to know if tehre is serious functionality missin...

Converting windows application using web service from Visual 2003 to Visual 2005
Hello, everyone! I have a solution which contains a windows project,a web service project and several other library projects. These projects were coded under visual 2003. Now I need to converted them to use Visual 2005. Does any one know any article providing step-by-step guide  to converting WINDOWS APPLICATION with web service? I can find one under MSDN for converting web project.  But I guess I am a little confused if mine should follow this article since I am using web service in my windows application? Thanks a lot in advance.  ...

Loading Visual 2003 on a pc with Visual 2005 installed
I have recently installed Visual 2005 on a pc and have been using it to create a .net 2.0 application. I also have pc running Visual Studio 2003 that I use to support a .net 1.1 application. This pc has broke. Would I be ok loading Visual Studio 2003 on the machine I have running Visual Studio 2005 so I can manage both the .net 1.1 and the .net 2.0 applications?               Thanks Danny Hmmm. Not sure if it works in that direction, but I installed VS2005 on a machine that has VS2003 already installed and they se...

Visual Studio.NET VB.NET Edition for DNN?
I have been plugging along using the Handcoded method for Module Development up to this point and although I have been successful I'd like to possibly make the jump up to Visual Studio. I was looking at Microsot's Website and there is a VB.Net only version that lists for only $109 vs. the $1000+ for the full fleged Professional Edition. Is it possible to adequately develop for the DNN platform using this trimmed down (VB.NET only) version of Visual Studio 2003? The VB.NET 2003 package is more than adequate for DDN moodules or full-blown ASP.NET applications. Highly recommended... mi...

Web resources about - how can you use VB.Net without Visual Studio... -

Use of Force Expert to Testify in Officer's Assault Trial
Prosecution use of force expert to testify in assault trial of officer who kicked man in head

Fighting climate change with 'poop power'
The stench of clogged toilets fills the air at the US capital's wastewater treatment facility. And for good reason—it's one of the world's largest ...

Amazon Dominated 36% of Online Black Friday Sales, Says Slice
Slice Intelligence, which gathers e-commerce data from receipts linked to its Slice package tracking app, tells TechCrunch that Amazon dominated ...

Facebook's CEO and wife to give 99 percent of shares to their new foundation
Reuters Facebook's CEO and wife to give 99 percent of shares to their new foundation Reuters SAN FRANCISCO Mark Zuckerberg will put 99 percent ...

The 10 funniest 'Star Wars' spoofs of all time
Star Wars is a space fantasy, a galactic fairy tale, a Skywalker family soap opera and a classic good vs. evil adventure story with mythological ...

Google removes Chrome's notification center because nobody used it
As promised in October, Google has ditched Chrome's desktop notification center in its latest update, released today. The company first introduced ...

Rosa Parks was a radical, lifelong black liberation activist, not a "meek seamstress"
Jeanne Theoharis, an academic who wrote the biography The Rebellious Life of Mrs. Rosa Parks , reminds us that the historical account of Rosa ...

Nokia’s OZO VR Camera Will Not Come Cheap
If you have thought that VR (Virtual Reality) technology does not come cheap, you are correct – where the high end segment of the market is concerned, ...

U.S. deploying new force to Iraq to boost fight against Islamic State
By Phil Stewart and Yeganeh Torbati WASHINGTON (Reuters) - The United States said on Tuesday it was deploying a new force of special operations ...

Vtech toy data-breach gets worse: 6.3 million children implicated
The Hong Kong-based toymaker/crapgadget purveyor didn't even know it had been breached until journalists from Vice asked why data from its millions ...

Resources last updated: 12/2/2015 8:28:36 AM