When my mobile phone is connected to hyperterminal, I can use the at-command AT+CNMI=1,2,0,0,0 If I receive an sms then, hyperterminal will show me the content immediatly.
I have a USB modem that can detect caller ID and can detect dialled digits when special AT commands activated, How to send and receive data. The sent data will be the AT command such as AT+VCID-1 to activate the caller ID, the received data will be caller ID information and the digits dialed. I'm new to prgramming and using Visual Basic 2008 Express.
i have a project where in web sqlserver database values are put in local access databaseWeb database values are put in xml format and then read it in vb6 and put it in msaccess database. I want to know how to invoke request to web to generate xml and receive the generated xml file in my local machine.
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)
I'm fairly new here and based on the help that i've seen people give I though this would be a great place to ask! Basically, I'm new with coding, so I decided to work with Minecraft - specific a Minecraft Server Starter. It has a built in text box to display all the stuff that the console would normally display and an input tetbox to use commands.I have it so you can either use the Normal Minecraft Server or a Bukkit server. Basically, when I run minecraft.jar it works perfectly, I get the Output from the console and I can input commands.When I use craftbukkit.jar (bukkit) I get the Output of the console fine, but I can't input any commands... I can't figure out why it's doing this!
catch statements - it works well just checking my disk drive for a file, if an error is thrown then I open the disk tray and ask them to put the disk in, click OK on the message box and it performs another check for the file, if this fails the button that starts all this is disabled on my main form (the code is shown below).
Okay, so my problem is I'd like to have the message box pop up and the have the drive open up (using an API which I have) either at the same time or in the order of: message box then drive open. I can see two ways to do this: Have the commands happen at the same time (Can you even do this?) OR Have the message box appear and then open the disk drive (but how I could achieve this I don't know as the message box waits for the user to click OK... I originally though of starting a timer just before and getting it to open the disk drive tray in the tick event,
Code:
Public Class Form1 'open cd-rom tray API Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal _
I wrote a program that read a text file, find some specific text and eventually replace it with other. This works fine but after the file creation I have to ftp MANUALLY to my AS400, putting the file and finally run a specific command.
Here's the question, I saw that I can use FtpWebRequest but it only permits to download, upload and so on, I need to run a custom command (passing a string).in other words here's what I need:
user = "me" pass = "you" host = "as400"
ftp.Credentials = New System.Net.NetworkCredential(user.Text, pass.Text)'now the connection is opened put my file send custom command
I am using mysql and I have installed the connector... here is a sample of my code. so far I can sucessfully connect to the db, but i am trying to learn how to parse sql commands to the db. for example in this snippet, i wanted to add to the testing table, an entry consisting of Fname and Lname.... It is not working... what should i be doing different ??
Is it possible to run it without making a batch file? ( I want be be able to change some of the values in the commands to)I found Shell(pathname[,windowstyle]) but I am not quite sure how to use it or if it is the right code.
I'm making a multipurpose tool. In with I need to run some DOS commands with arguments.So, Ex. of what I have now.
Private filepath As String = "C:UsersTTGToolToolG5.5.0pluginscom.zend.guard.core.resources.win32.x86_5.5.0 esources" Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click[code]....
So it should be "like I like cats" or what ever it is in the textboxes in the command prompt.
I am currently developing an SMS application to read and receive SMS. I run the application and tried to send an SMS and the application indicates that the message is successfully sent. However the recipient did not receive the SMS. I am using Sony Ericsson T610
Code:Imports SystemImports System.ThreadingImports System.ComponentModelImports System.IO.Ports Public Class Form1 'connect your mobile/GSM modem to PC, 'then go in device
So, I made a program which connects with an access database. What I want to do is to make a custom sql commands instead of using the default "Fill" command that is generated when I insert for example a textbox which is connected with a column from my access database. So here is the command I wrote:
SELECT id, aa, code, credit_date, receipt, rewards, klm, subscriptions, place, various, notes FROM credits WHERE code = (CodeBox.Text)
Ok what I want to do and having trouble with, is having a textbox and the user who will use this program, to type a code in the textbox and make a search with this command above. What I can't understand is how to use the text of the textbox inside an sql command. I've not made the database connection with code, but as visual basic does it automatically, TableAdapter, DataSet, BindingSource and I can make a new command using the Query Builder with DataSet Designer!
I'm new at this forum but I hope to get my doubts cleared I want to make a program which will work basically with cmd commands.Example of cmd command:adb install <path-to-apk>But that <path-to-apk> I wanted it to be user defined.Right now I'm forcing the user to place their files into a specific folder with a specific name....
I've been thinking of a new possible project, and I was wondering if it is possible to run BATCH or CMD commands straight through my VB program.I don't want to run a seperate .bat file either, I just want to run it from my code...I looked else where on the internet and they say to do things such as:
shell("cmd.exe") sendkeys.send(" (put anything you want between the quotes) ")
how to send a email using vb.net, however i cant figure out how to receive an email. I want to go into my email account and read a email and store it in a variable, is this possible? and if yes could any one give me some sample code, because that would be great. just to get a good idea of what I'm using here's my code for sending a email,
im working on an application that is sort of like outlook. You will be able to set up your email account (from a internet email like gmail or aol) and it will grab the email the internet mail. I have the sending part taken care of but i need the reveiving part. If anyone would be able to help me code something to recieve email from a internet website such as gmail or aol, Because of the dream in code's policy, i will show you what i have so far. I probably should say that i am using visual basics 2008.[code]
how I can recieve a fax by using FaxCOMEX.dll library?I know how to send a fax, but I need to recieve a fax using this library.Is it by using the event OnIncomingJobAdded and then I can get all data of the recieved fax? or ther are another way?
I am working on a program to poll SMSes automatically, i am using the serialPort_DataReceived event to detect any SMSes coming through the serialPort
Private Sub serialPort_DataReceived( _ ByVal sender As Object, _ ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) _ Handles serialPort.DataReceived
but the message i received does not contains the full information, may i know that if there is any other received data event that can be used to receive data coming through the serial port which can better receive data from a gsm modem?
Am told to receive XML data via URL. Can someone suggest the best way to achieve this without any authentication required at the level of server. Best Regards, Harikrishnan R