Send & Retrieve Data From Web Server Directly ?
Apr 10, 2010
I want to collect all stocks information within 2009 & 2010. I stored the required parameters (YMD & stock code) in DB. Is it possible to write a VB.Net windows application to pass all required parameters (post method) to web server and retrieve the web response automatically? (1 - 5 are valid stock code) It is
View 2 Replies
ADVERTISEMENT
Aug 11, 2010
i'm tying to send email in my application directly by the smtp server but the server doesn't allow me to do that.The application its used by everyone in the company, so i set the smtp client UseDefaultCredentials to True, but the server replies with this when i try to send an email:[code].....If i set the credentials by hand, the server sends the email. So my problem is how to make this work to everyone? I don't want to have one public/friend var all time in the application with the credentials of the current user?
View 9 Replies
Oct 24, 2011
How can I configure my connection that directly my data save into server. I am using databinding approach, like this me.tblnameTableAdapter.Fill (me. DbnameDataSet.tblname). It is possible to stored data into server just like ADO.Net?
View 3 Replies
Dec 12, 2009
I'm trying to update some data fields in an existing data table, and want to access the data directly. I know it's possible, and I used to do it years ago in VBA, where you could do things like
[Code]...
View 6 Replies
Nov 5, 2008
I Was Wondering Is It Possible To Send Data/Text Across Programs During Runtime. I've Heard Of Something Called API, I Heard It Somewhere and It Sounded Like It Had Something To Do With What I Want. Or Not, I Don't Know. Anyways Heres a simple example Of What I Want To Do
[Code]...
View 2 Replies
Jun 11, 2011
i need help to do a simple chatting software which will use my wireless modem to send and retrive data.i must create a program something like MSN messenger.
View 1 Replies
Jun 29, 2009
I am(beginner) trying to make a simple application using visual basic 2008 and sql swerver 2005.The connection is successful and i can add/update/delete data sucessfully from sql server database but now i want to show the data from sql server to textbox on the visual basic form. i have tried the following code but this doesn't work and even there is no any error.[code]...
View 11 Replies
May 9, 2009
I am using visual basic 2008 and sql server 2008. I am trying to retrieve data from a table in sql server 2008. I am using the following code
Dim cn As ADODB.Connection
cn = New ADODB.Connection()
Dim rs As ADODB.Recordset
rs = New ADODB.Recordset
Dim cnstr As String
[Code]...
View 8 Replies
Jun 10, 2011
Am trying to retrieve data from sql server based on two columns. Its a web application being developed using VS2010 (vb.net) but i keep getting the error: incorrect syntax near '='
Here's my code below:
Sub GetBasicMidwives()
' Set the SelectCommand properties...
With objDataAdapter
.SelectCommand = New SqlCommand()
[code].....
View 11 Replies
Apr 21, 2010
I had tried to use SQL statement to retrieve data record from SQL server, but when the database grow, the query speed getting slower. I just want to get most recent 5 records, any way to make it fast? Below is the SQL
SELECT Top (5) EventNumber, IP, DateTime, DateTimeStamp, EsdMaxLog, EsdMaxLin, EsdMaxAbs, EsdCntAll, EsdCntLast, SvMax, SvCurrent, EsdLimLog, EsdLimLin,
EsdLimAbs, Distance, SvRange, CdmFilter
[code]....
View 1 Replies
Mar 7, 2010
Note: Combobox contains company name, then when i select one of the company in the list, the information on the table connected to to the company table like purchase order table info will appear on the datagridview.
View 2 Replies
Sep 9, 2009
How do i send raw data to a server that the server will read and print out the data that was sent.
View 1 Replies
Sep 18, 2010
What is the best way to send data from vb.net project to Sql server. I am using now first I am Createing like belowFirst: Createing a Insert store ProcudureSecond : Creating a Ent Class where I am Declering the Fild Proper Catagory of all the Field and Second I am Creating another Class wher I am connection with The Sql server and Calling the Parameter and joing the Ent with teh store Procudure
View 1 Replies
Jun 9, 2008
I have a combobox where the user can type the sql server name. Then a connect button that, when the user click, I want it to populate another combobox with all the databases from the server in the previous combobox. Unfortunately, I am getting the error object reference is not set....!
Here is where I am getting the error:
For Each objDB As Database In Me.SMOServer.Databases
I am new to VB ...I'm using vb2008 connecting to sql server 2005.
Here is my complete code:
Imports Microsoft.SqlServer.Management.Smo
Imports Microsoft.SqlServer.Management.Common
Public Class Form1
'Public Class frmSQLConnection
Private m_objServer As Server
[Code] .....
View 1 Replies
Jun 27, 2011
Hey guys, I am trying to send data from client to server (encrypted) and the string sent from the client is not the same as recieved from the server. I've been killing my brain for hours to get this to work but I cant manage. Im converting everything to Base64 string.
Client:
Public Sub SendMessage(ByVal msg As String)
Try
SyncLock myclient.GetStream
sw = New IO.StreamWriter(myclient.GetStream)
[code]....
View 4 Replies
Feb 17, 2011
I'm am having a heck of a time finding a code snippet that works for this. I have got to the point where it appears the picture is stored as a blob (perhaps incorrectly) by using this [code]...
View 3 Replies
May 17, 2011
this is my code right now:
[Code]...
View 2 Replies
Jun 18, 2010
i hav got a problemo with my client/server application that i created in vb.net.Actually i want to add a "Refresh button" at the client side such that when it is pressed some specific lines should be executed at the server side.(e.g. when the "refresh button" is pressed at the client side, the server should evaluate some variable "data" and executes this line "winsock.sendData(data)" )
View 3 Replies
Aug 20, 2010
I have programmed a chat application in VB but as soon as I send any data from a client the server will send it to all. It should send a reply only to a particular client. This is the function I have used.
[Code]...
View 1 Replies
May 18, 2009
I never used the printingdocument class, and i need some info to know if i can do what i'm thinking.I need to send some text from one textbox directly to one printer (i doesn't have to be the default printer), the user just have to push the button in the form, and the text gets printed. I don't need (want), the print preview and the form with the printers list.
View 6 Replies
Sep 21, 2011
In our project we've decided to put an exam generator using vb.net and after generate you can send it to client computer/students. *server computer/teacher will the one who will use exam generator and send it to the client computer/student*student will recieve it and then send it back again to the server computer/teacher*teachers will going to generate an exam depends on the type of exam, so i think im going to make it a wizard type environment
View 14 Replies
Aug 23, 2011
I have a task to create a web service to receive client-side app's http request(with rpc={json data} in the end), deserilize it and put he parameter in stored Procedure in order to retrive data from sql server. the procedure query and client-side's app are already there and the return data to client-side app is JSON too
View 1 Replies
Oct 20, 2010
I want to do what I have done in the past, using the old VB6. Subclassing has changed a lot since VB6 and I still want to do the same:
I need to intercept WM_PAINT of DataGridView, send it to a memory device context (to avoid flickering), make some visual changes, like place a logo over all over the grid. With VB6, was easy to do. I have spend hours trying to convert VB6/API code to Visual Basic Express 2010 code, without success.
View 1 Replies
Feb 2, 2011
I am facing problem in asynchronous socket communication.
1)I wanted to perform connect(from client to server) operation on enter button and send the data whatever client want to send and disconnect from server. And again client should get connect to server whenever client wanted to send data. this is the mechanism.
i.e how to reuse the socket.
2)Again Server should able to send the data to client.
View 5 Replies
Nov 4, 2011
I found similar forum thread [URL], but he don't have answers. How I can conncect | send | recive data using tcp connection with specific internet service (not web).
View 1 Replies
Apr 11, 2011
I have determined thanks to the last q & a that there is something wrong with my "save to db" code as well as my "retrieve to picture" code. Even If I manually save the pic in the db it stil wont retreive. This is code i patched together from 3 or 4 examples around the net.
Dim filename As String = txtName.Text + ".jpg"
Dim FileSize As UInt32
Dim ImageStream As System.IO.MemoryStream[code]......
View 2 Replies
May 28, 2009
Are there any good books out there that will show someone how to set up a form using Visual basic that will take information and send it to the server and then send a recipient an Email?
View 2 Replies
Jun 19, 2009
I have a running program which is installed in the server side and this program is running 24hrs a day. Now I made some enhncements on this program and would like to publish it. I tried to publish first in my local disk but after publishing Im having some errors "Critical error: Required processing file is missing" after clicking the setup.exe file. Now Im thinking of publishing this directly to my server. If I publish it directly to my server would it disrupt the running program? is it safe to do that? or is there something that I need to do it first?
View 6 Replies
Jan 6, 2011
I want to create a page that allows a user to upload a file directly to my ftp server. For some reason when I run the code and try to upload a file I get:
ERROR: Could not find file 'C:Documents and SettingsuserMy DocumentsVisual Studio 2010ProjectsASP.NETuploadASP.NETuploadfile.txt This is not where the file is located. I am fairly new to .NET programming so I may have done some things incorrectly.
Here is my code:
If FileUpload1.HasFile Then
Dim fileExt As String
fileExt = System.IO.Path.GetExtension(FileUpload1.FileName)
fileExt = fileExt.ToLower
[code]....
View 1 Replies
Jun 17, 2010
We found code to read and write binary data (.jpg) with MSMQ and everything is working fine but if we are using for this code for a xml file it gives memory? problems.
View 5 Replies