473,763 Members | 1,908 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Manual Compile

I am attempting to understand how to compile programs outside of the IDE.

I attemtped to compile my program as follows:

vbc /target:library DatabaseAccess. vb /library:system. data
/library:system. data.sqlclient

I also tried the following:
vbc /target:library DatabaseAccess. vb /library:system. data
/library:system. data.sqlclient

Private Sub AddParamter(ByV al ParmName As String, ByVal parmValue As
String,
ByVal cmd As SqlCommand, ByVal length As Integer)

Each time the errors produced look like the following....
~~~~~~~~~~
H:\Inetpub\wwwr oot\Temp\DataBa seAccess.vb(494 ) : error BC30002: Type
'SqlParamet
er' is not defined.

Dim param As New SqlParameter(Pa rmName, parmValue)
~~~~~~~~~~~~
H:\Inetpub\wwwr oot\Temp\DataBa seAccess.vb(496 ) : error BC30451: Name
'ParameterD
irection' is not declared.

param.Direction = ParameterDirect ion.Input
~~~~~~~~~~~~~~~ ~~~
vbc : error BC30041: Maximum number of errors has been exceeded.
Any Ideas how I should be compiling the program?????

Nov 17 '05 #1
1 2818
use /reference instead of /library

"Jim Heavey" <An******@hotma il.com> wrote in message
news:Oy******** ******@TK2MSFTN GP09.phx.gbl...
I am attempting to understand how to compile programs outside of the IDE.

I attemtped to compile my program as follows:

vbc /target:library DatabaseAccess. vb /library:system. data
/library:system. data.sqlclient

I also tried the following:
vbc /target:library DatabaseAccess. vb /library:system. data
/library:system. data.sqlclient

Private Sub AddParamter(ByV al ParmName As String, ByVal parmValue As
String,
ByVal cmd As SqlCommand, ByVal length As Integer)

Each time the errors produced look like the following....
~~~~~~~~~~
H:\Inetpub\wwwr oot\Temp\DataBa seAccess.vb(494 ) : error BC30002: Type
'SqlParamet
er' is not defined.

Dim param As New SqlParameter(Pa rmName, parmValue)
~~~~~~~~~~~~
H:\Inetpub\wwwr oot\Temp\DataBa seAccess.vb(496 ) : error BC30451: Name
'ParameterD
irection' is not declared.

param.Direction = ParameterDirect ion.Input
~~~~~~~~~~~~~~~ ~~~
vbc : error BC30041: Maximum number of errors has been exceeded.
Any Ideas how I should be compiling the program?????

Nov 17 '05 #2

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

Similar topics

0
1268
by: Erik | last post by:
on page http://nl3.php.net/manual/en/ref.mysqli.php I read : "The mysqli extension allows you to access the functionality -- provided by MySQL 4.1 and above. More information ...." and then:
5
6828
by: Glenn | last post by:
I've RTFM'd and searched google and Zend and still am having a problem loading php_mssql.dll. First, background: I'm using PHP Version 4.3.10 Apache/2.0.52 MySQL Server 4.1 Windows 2000 Professional OS
5
1717
by: Zlatko Matiæ | last post by:
Hello. I have finished my MS Access application and now I would like to embedd some users manual in the aplication. Is it possible and how to create it ? In which format, by which tools ? Thanks in advance. Zlatko
4
6133
by: Paul Aspinall | last post by:
Hi I have a service installed, but I want to programatically set it to 'Manual' startup, rather than 'Automatic'. I cannot do this with 'System.serviceProcess.ServiceInstaller()' as I don't actually install the service (MSDE does), but I want it set to Manual, and my app starts and stops it. I can Start and Stop the service, but need it to be Manual, and not Automatic
4
3195
by: Charles Law | last post by:
I've been using monitors a bit lately (some of you may have heard ;-) ) and then up pop Manual and AutoResetEvents , and they look for all the world like the same thing. Are they interchangeable, or when should I use one over the other? TIA Charles
2
1156
by: A_StClaire_ | last post by:
another question. this one more just a curiosity. why does Visual Studio 2005 "support" manual compilation of source code files only through the inconvenient command line? I see and understand MS pushing Runtime and Pre- Compilation as more advanced methodologies, but they could have easily added an option for old school VS 2003 / ASP 1.x compilation just under 'Build' or 'Publish'.
2
1378
by: dangerd | last post by:
Hi there, I have another trivial question. In the PHP manual, the description section often contains the following elements: Description array mysql_fetch_array ( resource $result ) I am wondering what is a ( resource $result )?
0
906
by: =?Utf-8?B?SmltSGVhdmV5?= | last post by:
I want to learn how to do a manual compile. I found an article on the web which indicated that you can create a response file and then use that response file to do the compile. I was wondering if there is some way I can tell VS2005 to create a response file for the project which is being compiled so that I could use this as a starting point for subsequent compiles? Any place you can steer me to so that I can learn how to do manual...
0
9566
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9389
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10149
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10003
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9943
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9828
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7370
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3918
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3529
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.