Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Assemblies and Application Blocks problem

Reply
Thread Tools

Assemblies and Application Blocks problem

 
 
Rajesh Madhra
Guest
Posts: n/a
 
      07-13-2003
Hi everybody
I do not have Visual Studio. I only use Notepad and WebMatrix. My problems
are :

1.
I have DotNet Framework installed and it is working fine. I have Env.
variable as follows :
Variable = vbc
Value = C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\vbc.e xe
But when I try to make an assembly of myself by using the following command
from WinXP's command prompt
vbc /t:library /out:FileName.dll FileName.vb
It says
'vbc' is not recognized as an internal or external command, operable program
or batch file.
Can someone tell me how can I make my own assemblies ?

2.
I downloaded and installed Data Access Application Block. In the articles I
read on the net and in the documentation it talks about
opening Application Block Project in Visual Studio and build the project.
What should I do if I do not have Visual Studio. Can someone tell me the
steps how to fix this or give a link to an article.

Thanks in advance
Raja


 
Reply With Quote
 
 
 
 
David Banister
Guest
Posts: n/a
 
      07-15-2003
I can't help you with the second problem, but I can help you with the first.
Add the framework tools directory to the PATH environment variable like
this:

SET PATH=%PATH%;C:\WINDOWS\Microsoft.NET\Framework\v1. 1.4322\;

If you create a batch file and name it anything (like vbprompt.bat) and add
that line to it, then create a shortcut on your computer that runs the
following:

%compsec% /k "vbprompt.bat"

Where vbprompt.bat is the full path to your batch file, then you can run
that shortcut any time and the command prompt will open up with all the
environment variables in the batch file configured.

Hope that helps,
David

"Rajesh Madhra" <> wrote in message
news:...
> Hi everybody
> I do not have Visual Studio. I only use Notepad and WebMatrix. My problems
> are :
>
> 1.
> I have DotNet Framework installed and it is working fine. I have Env.
> variable as follows :
> Variable = vbc
> Value = C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\vbc.e xe
> But when I try to make an assembly of myself by using the following

command
> from WinXP's command prompt
> vbc /t:library /out:FileName.dll FileName.vb
> It says
> 'vbc' is not recognized as an internal or external command, operable

program
> or batch file.
> Can someone tell me how can I make my own assemblies ?
>
> 2.
> I downloaded and installed Data Access Application Block. In the articles

I
> read on the net and in the documentation it talks about
> opening Application Block Project in Visual Studio and build the project.
> What should I do if I do not have Visual Studio. Can someone tell me the
> steps how to fix this or give a link to an article.
>
> Thanks in advance
> Raja
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Methods and blocks - not that clear when blocks passed into Steven Taylor Ruby 9 04-27-2009 08:46 AM
"Building Blocks" are "Application Blocks" Arjen ASP .Net 3 02-27-2005 01:06 AM
procs/blocks - blocks with procs, blocks with blocks? matt Ruby 1 08-06-2004 01:33 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57