473,395 Members | 1,577 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Windows Services and VB.NET Stored procs with Standard version

I just bought VS.NET Standard 2005.
But there aren't any projects for Windows Services and I know that I cannot
develop VB.NET Stored Procedures (perhaps no projects for this too)
But can I get around the above two limitations (develop them without the
above project types).

I assume that there would be additional work involved, but could i achieve
the above?

Please could someone point me in the right direction.

Thanks
Dec 23 '05 #1
3 1103
Peter,

Normally you can do everything in code that you can do with the designers. I
assume that many persons here active use seldom designers (beside the
obvious ones as screen designing etc.). Although they are at least nice to
try or to create tests and most of them are very well done.

A sample of a Stored procedures, just see the SQL transact code for the rest
on MSDN2

\\\Changed code in this messages so watch typos
dim cmd as New SQLCommand
cmd.CommandText = _
"CREATE PROCEDURE SelectWhatever " & vbCrLf & _
"@ToSearch nvarchar " & vbCrLf & _
"AS" & vbCrLf & _
"SELECT * FROM MyTable WHERE ToSearch LIKE @Element"
dim conn as New SQLConnection("ConnectionString")
cmd.Connection = conn
conn.Open()
Try
cmd.ExecuteNonQuery()
Catch ex As Exception
Messagebox.Show(ex.ToString)
End Try
///

I hope this helps,

Cor
"Peter" <pe*******@gmail.com>
....
I just bought VS.NET Standard 2005.
But there aren't any projects for Windows Services and I know that I
cannot develop VB.NET Stored Procedures (perhaps no projects for this too)
But can I get around the above two limitations (develop them without the
above project types).

I assume that there would be additional work involved, but could i achieve
the above?

Please could someone point me in the right direction.

Thanks

Dec 23 '05 #2
I should've been a little bit more specific.
Sorry about that.

My query was whether i could develop VB.NET 2005 Stored Procedures (Stored
procedures written in VB.NET itself).
Thanks anways.

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
Peter,

Normally you can do everything in code that you can do with the designers.
I assume that many persons here active use seldom designers (beside the
obvious ones as screen designing etc.). Although they are at least nice to
try or to create tests and most of them are very well done.

A sample of a Stored procedures, just see the SQL transact code for the
rest on MSDN2

\\\Changed code in this messages so watch typos
dim cmd as New SQLCommand
cmd.CommandText = _
"CREATE PROCEDURE SelectWhatever " & vbCrLf & _
"@ToSearch nvarchar " & vbCrLf & _
"AS" & vbCrLf & _
"SELECT * FROM MyTable WHERE ToSearch LIKE @Element"
dim conn as New SQLConnection("ConnectionString")
cmd.Connection = conn
conn.Open()
Try
cmd.ExecuteNonQuery()
Catch ex As Exception
Messagebox.Show(ex.ToString)
End Try
///

I hope this helps,

Cor
"Peter" <pe*******@gmail.com>
...
I just bought VS.NET Standard 2005.
But there aren't any projects for Windows Services and I know that I
cannot develop VB.NET Stored Procedures (perhaps no projects for this
too)
But can I get around the above two limitations (develop them without the
above project types).

I assume that there would be additional work involved, but could i
achieve the above?

Please could someone point me in the right direction.

Thanks


Dec 24 '05 #3
Peter,

Stored procedures are never written in VB.Net, in not any version. Stored
procedures are forever in SQL transact code.

The designer creates those.

Cor

"Peter" <pe*******@gmail.com> schreef in bericht
news:O4**************@TK2MSFTNGP10.phx.gbl...
I should've been a little bit more specific.
Sorry about that.

My query was whether i could develop VB.NET 2005 Stored Procedures (Stored
procedures written in VB.NET itself).
Thanks anways.

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
Peter,

Normally you can do everything in code that you can do with the
designers. I assume that many persons here active use seldom designers
(beside the obvious ones as screen designing etc.). Although they are at
least nice to try or to create tests and most of them are very well done.

A sample of a Stored procedures, just see the SQL transact code for the
rest on MSDN2

\\\Changed code in this messages so watch typos
dim cmd as New SQLCommand
cmd.CommandText = _
"CREATE PROCEDURE SelectWhatever " & vbCrLf & _
"@ToSearch nvarchar " & vbCrLf & _
"AS" & vbCrLf & _
"SELECT * FROM MyTable WHERE ToSearch LIKE @Element"
dim conn as New SQLConnection("ConnectionString")
cmd.Connection = conn
conn.Open()
Try
cmd.ExecuteNonQuery()
Catch ex As Exception
Messagebox.Show(ex.ToString)
End Try
///

I hope this helps,

Cor
"Peter" <pe*******@gmail.com>
...
I just bought VS.NET Standard 2005.
But there aren't any projects for Windows Services and I know that I
cannot develop VB.NET Stored Procedures (perhaps no projects for this
too)
But can I get around the above two limitations (develop them without the
above project types).

I assume that there would be additional work involved, but could i
achieve the above?

Please could someone point me in the right direction.

Thanks



Dec 24 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: hrishy | last post by:
Hi Db2ers I am a newbie starting out in the fascinating world of IBM.Could anybody let me know in what version the sql /PL language was introduced..Can you also let me know what is the language...
4
by: shalini | last post by:
All, we are trying to create and execute our stored procs on db2 ver 8.1 fp5. This is a new database that we setup and are having some trouble. When I try and run the stored proc from the db2...
16
by: efiryago | last post by:
Since V8.2 does not require a C compiler to build SQL stored procedures, I am just wonderring how they are now implemented internaly as opposed to C embedded SQL before V8.2, so, basicaly, what...
45
by: John | last post by:
Hi When developing vb.bet winform apps bound to sql server datasource, is it preferable to use SELECTs or stored procedure to read and write data from/to SQL Server? Why? Thanks Regards
3
by: Chris Paul | last post by:
I'm having trouble with PHP & PostgreSQL/OpenLDAP/Apache on Windows. I've set this up countless times on BSD (piece of cake) but I'm trying to do this on Windows now so that my developer can work...
1
by: kentk | last post by:
Is there a difference in how SQL Server 7 and SQL 2000 processes SQL passed from a program by an ADO command object. Reason I ask is I rewrote a couple applications a couple years ago were the SQL...
15
by: Burt | last post by:
I'm a stored proc guy, but a lot of people at my company use inline sql in their apps, sometimes putting the sql in a text file, sometimes hardcoding it. They don't see much benefit from procs, and...
8
by: Frank Calahan | last post by:
I've been looking at LINQ and it seems very nice to be able to make queries in code, but I use stored procs for efficiency. If LINQ to SQL only works with SQL Server and stored procs are more...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.