Got Error When Create 2 Commands On SQL
May 23, 2012Should I use using?
[Code]...
Should I use using?
[Code]...
I want to create a system commands,but I do not know what the right way to do it and how exactly (with regex?)
/ShowWindows
IsNewWindow 10
/ = Signifies that is a command[code].....
How could I create custom commands based on text? Like, say I have a textbox, and in the textbox is this: "say Hi". When I press the "Execute" button, it will do this: "MsgBox("Hi")"... Kind of like a custom scripting language... I want my application to support scripting, but I want the syntax to be simple... How do I go about doing this?
View 5 Replieshow do I set up create Insert, Update and Delete commands for your a DataAdapter?I'm using a DataGridView to allow the user to view, change and delete data rows and would like to be able to save any changes made in the grid back to the database.The application is part of one I'm developing for our local school to write reports to report cards for the children.[code]
View 7 RepliesI am making a sort Server. But now the problem is that I am going to make a textbox that can make commands like 'ipconfig' in Cmd, but not that command. Its for starting server stopping server and such.
I tried:
if Textbox1.Text = ".serverStart" Then
'Do Stuff here'
End if
But that didn't work?
How do I create commands that allow a group of adjustable voltages to be provided outside the computer, via the usb, serial or paralell ports, etc to control devices connected to the computer?
As a former electronic technician and developer, I have several useful projects I would like to develop.For example, I just received a celestron digital microcope and I am interested in developing a speciman stage the microscope can be placed in which provides a from 4 to 8 adjustable led's located above the speciman and more below the speciman so the lighting on the specimen can be adjusted in a variety of ways so hidden features of the specimen will be revealed when viewed from the microscope.
how to send the commandsf rom the computer to outside devies for further processing is my primary concern into a port to accept these voltage commands since I am behind on current technical advances in the electronic field.
i need help on that. My app is able to debug and execute successfully. But the problem is after i click on the send button, a msg box shows message successfully sent.However the recipient did not receive the msg at all.This is the code below:
[Code]...
I using Microsof Visual Basic 2008 Express Edition. I need to create a form like: 2 buttons are open and save existing .xls file which each generation can choose a different.2 textbox that can be entered on the column
and last button to when choose two columns, to find duplicates values and mark different color same values. Is it possible?
At the moment Excel file opens, but the comparison does not require the introduction of the columns
Just trying to execute commands in cmd.exe just a simple Net Stop [service] and get a error 5. I want it to run cmd in administrator mode. One way I have seen that you can by holding down ctrl & shift while clicking cmd.exe?
View 26 RepliesI attempting to download 6 files from my FTP site to a local server using VB 2008.After 1 or 2 files are downloaded I am geeting an error Bad sequence of commands.It appears the ftp connection is not closing then re-opening.[code]Then I change the file name. After the 2nd or 3rd file, I get the error message.How would I close the connection and reopen it without having to close the program?
View 1 RepliesI am attempting to create a rudimentary text editor with buttons that can implement the Cut, Copy and Paste commands. I was able to use buttons on a toolbar and menu to implement the Cut, Copy and Paste commands using the "Command="Cut"" command in the XAML of the buttons on the toolbar and menu but have been unsuccessful in using regular buttons to implement the commands. When I attempted to use the "Command="Cut"" command for regular buttons the buttons appear disabled when debugging the application. Does anyone know if the Cut, Copy and Paste commands are disabled for regular buttons?
View 2 RepliesI'm getting a strange error in my VB FTP program. It works fine when I download a file from an FTP server, but the second time that I download the same file i get "503 Bad Sequence of Commands".If I download one file, download 3 other files, and then try to download the first file again, I get the error. If I close the program and open it again, the error is gone when I try to download the file.Is there some command that I need to send the server to unlock the file or something?
View 12 RepliesI work with VB6 SP6 under windows XP SP3.I' ve created a user control activeX. When I create some instance with the command : Form1. Controls. Add I have this error : "Error '50003' Unspecified error" if I create too many instances.
For Index = 0 To UBound(obj) Set obj(Index) = Form1.Controls.Add("MyUserCtrl.MyClass", "Label" & (Index)) obj(Index).Visible = True next index
log file for my apllication?...actually i'm doing console application where it will pull the data from database and insert to another database...i need to have log etheir it working or error.
View 5 RepliesSo every time I try to start a new project i get an error: No template information found.See application log in Event viewer for more details. To open Event viewer, click Start,click Control Panel, double-clickAdministrative Tools, and then double-click Event viewe
View 2 RepliesI created a VB.NET web site that must use an existing VB6 dll. In the VB.NET code, I use the dll like this:
Dim objTEST As CAPObject.TESTCls
"CAPObject.TESTCls")
objTEST.SetDefaults()
[code].....
im wanting to create a error hanlder for a program im doing.back when i used vb6 when a error came up i was able to use error number for example
View 2 RepliesI want to do a master key, but the following error occurs
my error is
Msg 170, Level 15, State 1, Line 1
Line 1: Incorrect syntax near 'master'.
my code is
USE EncryptTest
GO
create master key encryption by password='al4jklklkl@kjkjkFdi';
GO
Whenever i try to press a button on one form to bring up this one other form i get the error:
"An error occurred creating the form. See Exception.InnerException for details. The error is: Object reference not set to an instance of an object."
ok with this is going be realy hard to explain i just wanta learn this commands so lets say you have a combolistbox
[Code]...
i have to make a project in vb.net to connect with nokia phone using AT commands. There are so many articles on it but i hvae found nothing complete.
View 4 Replieswhy this code doesn�t work:
If CheckBox9.Checked = True Then CheckBox10.Checked = True : If CheckBox8.Checked = True Then CheckBox9.Checked = True
I want to create vb.net dll for exe ie displaying error in message box after installation....For example if connection file is not correct after installation then it should display in error message for that db connection is failed.....It should happened after installation....
View 6 Repliesi have a form with 4 text boxes on them when the user selects add the information from the textboxes saves to my database im just wondering does anyone know how i would make an error message appear if one of the textboxes was blank and stop the new data being saved until all textboxes have data in them?i did write the following peice of code but it did not work Private Sub Button1_Click(ByVal sender As System.Object, ByVal e_
[Code]...
I get an error when I use the following code to create a path as described in the Mastering Visual Basic 2008 textbook. I am entering in in vb2010
Dim
MyPath As
New
[Code].....
I had the following error occurred when i want to create shortcut and copy to startup folder. [Code] I don't understand the error message box.
View 7 Replieswhen i try to create a new project in visual, appears (the language is spanish)"no se puede abrir 'the path of the file .vbproj' su tipo de proyecto (.vbproj) no es compatible con esta version de la aplicacion. Para abrirlo use una nueva version de la aplicacion"
this proyects was build in the same visual basic 2008 express edition.
I have a vbscript that tries to create an object of msmq but I am keep getting an error that ActiveX componet cant create object. I have msmq installed and queues are there but cant create an object.
View 2 RepliesI just switched to VS 2010 for Windows phone 7 developement... I am trying to create a basic BMI calculator app...This is what I have now...
CODE:
However I have these errors which are as below
Quote:
CODE:
Quote:
CODE:
Did I forget to declare something? This does not happens when I am using the divide and multiply in VS 2008.
Error Screenshot as attached below...
I'm trying to use a cell phone modem to send an sms message but i'm not sure whats wrong with my code?? Also i'm getting en error with _ContsSMS = False .. but i have no idea what that line is ? (Also are AT commands not used for Windows 7, is this why it wont work?)
Using COM7 As IO.Ports.SerialPort = _
My.Computer.Ports.OpenSerialPort("COM7")
'set command message format to text mode(1)
[Code].....