Data Access Application Block ?

R

Rajesh Madhra

Hi everybody
Is it possible to use data Access Application Block without having VS.NET ?
I mean, I only use notepad and Web Matrix. I do not have Visual Studio.
Yhanks in advance
Raja
 
C

Carl Prothman [MVP]

Rajesh Madhra said:
Is it possible to use data Access Application Block without having VS.NET ?
I mean, I only use notepad and Web Matrix. I do not have Visual Studio.

Rajesh,
Sure, you can use the Data Access Application Block code with other editors
(remember it's just a class file). Although, Visual Studio .NET 2003 makes
editing the project a lot more easier! e.g. Intellsense, debugging, etc...

--

Thanks,
Carl Prothman
Microsoft ASP.NET MVP
http://www.able-consulting.com
 
R

Rajesh Madhra

Hi Carl
Thanks for your answer. So I downloaded and installed the data access
application block. But as in many articles on the net even the documentation
talks about VISUAL STUDIO Project. So what should I do to use this
application data access block ? Do I need to create some assembly myself ?
If yes then even that I cannot do because i tried to create some other
assemblies from winXP's command prompt by using the command :
vbc /t:library /out:FileName.dll FileName.vb
and it said
'vbc' is not recognized as an internal or external command, operable program
or batch file.
I entered Env. variable as follows
Variable = vbc
Value = C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\vbc.exe

Thanks in advance
Raja
 
C

Carl Prothman [MVP]

Rajesh Madhra said:
Thanks for your answer. So I downloaded and installed the data access
application block. But as in many articles on the net even the documentation
talks about VISUAL STUDIO Project. So what should I do to use this
application data access block ? Do I need to create some assembly myself ?
If yes then even that I cannot do because i tried to create some other
assemblies from winXP's command prompt by using the command :
vbc /t:library /out:FileName.dll FileName.vb
and it said 'vbc' is not recognized as an internal or external command, operable program
or batch file.I entered Env. variable as follows
Variable = vbc
Value = C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\vbc.exe

Rajesh,
I think you need to do two things:

1) You need to add the path of where VBC is located to the PATH Env. variable
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705

2) You also need to add a reference to the ApplicationBlocks.Data DLL in the VBC command
/reference:Microsoft.ApplicationBlocks.Data.dll

--

Thanks,
Carl Prothman
Microsoft ASP.NET MVP
http://www.able-consulting.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top