Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Send A Message To A Client From A Service On A Server???? (SOLVED)


I need to send a message to a client computer in a server / client network. The message will be generated from a service running on the server.

How do I do this?????

Or can I send a message to a user group or a user would be even greater...

/Smirre




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Send Message To Remote Computer(client/server)
hi;
i have a program.the program is send message to remote computer.send computer is server.server only send message.the remote computer is only client so receive message for read (and print).i have(know) Remote computers ip number.need ip number for communication.I used net send but couldnt.please help me.
Thans...

How To Send A Message To DDEML Client When The DDEML Server Goes Down
Dear Friends,

I have completed a full DDEML Client...

My Client Program collects data from an Third party server..over which have no control..

Now when the third party server crashes or closes for some uncontrolled reason...I want my Client program to be able to find out that the server has stopped..
Is there any function to find out whether the server is still on...i have tried DDEConnectList but it does not work...

I have also tried the DDECallBack function whether it sends any of these flags when the server goes down
XTYP_DISCONNECT,
XTYP_ERROR
but no success..

I have also checked out the msdn.microsoft.com...but nothing specifically in this context mentioned


Thanks

Regards

Mustafa

How Can I Send A Message From One Client To Another Client
I am making a basic messenger program. When a user connects to the server I would like their IP and their Nickname to be sent to the Server. I then add this information to the Userlist. Then, the userlist is updated and sent to each client everytime somebody logs on or off of the messenger.

MY QUESTION IS...
How can I allow one client to click another Clients IP address from the listbox and relay the message from one client to the server and to the chosen client?

I hope I haven't lost any of ya there! ;-) Please help me.

(Solved)Please Need Help : Client Server AND Accessing DB Via Internet?
I have 2 Questions :
----------------------
1. I want to install my application including the components, only in one computer (or server).
    and the users from other computers(clients) can running my application without installing it on the users(clients).
    Is There anyway to do this, and how?

2. If i'm having SQL Server/MySQL Installed in one computer(or server), can my program(not browser) which is installed on another computer(which is not connected via LAN) accessing it and doing database operation like addnew, edit, delete, update, and querying VIA INTERNET???

Thanks alot for your suggestion and explanation.



Edited by - Esthrim on 10/18/2005 9:12:21 PM

[Problem Solved] Time Server/client
Ok, you got very nice stuff here about winsock. So I found the right place to ask something a little tricky. I don't want a chat program, I want a local time server application. Meaning that I want all the computers in my LAN to syncronize the time and date with a computer (time server).

Now comes the tricky part. I don't want the clients to be prompted anything. Everything should run invisibly on the client computers. So, the client application should do something like this:

1: connect to the server;
2: ask for the time and date from the server;
3: receive it;
4: set the time on the local machine;
5: DISCONNECT.

I know how to do step 1-4, but I didn't find a way to disconnect when the transmission is complete, without messing things. It might happen that two computers ask the time in the same time (). In this case my server always fails. It doesn't accept new connection, not until it finishes with the sending.

Ah, almost forgot. Is it possible to write a procedure that sets the time even if the user (on Windows NT4.0 or newer) doesn't have the right to set it? If yes, can you help me?

Thanks.




Edited by - S K on 12/28/2004 1:51:26 AM

Encript The SQL Server SP When You Send It To Client
How can encript the SQL Server SP when you send it to client

Thanks
Char Dhami

Send Receive Problem I Have In My Projects ( Server && Client )
Hello all, How are you??

Befoure I'll copy a really big pice of code I was thinkin' your expereience might help me!

I'm developin' few projects in the same time, though i'm developing a Server & Client match software for secure data transffers.

IanB was helped me in a thread I opened about "How to get data from a file into var with limit" ( ex. 1024kb each time )
He gave me the next code:
Code:
Private Const CPY_BUFFER = 1024

Public Function SendFile(ByVal sSource As String) As Boolean
    Dim iSNr As Integer
    Dim dCount As Double
    Dim dRest As Double
    Dim sTemp As String
    Dim i as Long

    SendFile = True

    iSNr = FreeFile
    Open sSource For Binary As iSNr
        dRest = LOF(iSNr)
        If dRest < 1 Then
            Close iSNr
            GoTo ERROR_HANDLER
        End If

        If dRest > CPY_BUFFER Then
              sTemp = Space(CPY_BUFFER)
              dCount = Int(dRest CPY_BUFFER)
              For I = 1 To dCount
                    Get iSNr, , sTemp
' Send sTemp Here
                    dRest = dRest - CPY_BUFFER
              Next
              sTemp = Space(dRest)
              Get iSNr, , sTemp
 ' 1 final send for any bytes left over (if file is not a multiple of
buffer size)
          Else
                sTemp = Space(dRest)
                Get iSNr, , sTemp
 ' 1 send here where file < buffer size
          End If

      Close iSNr
      Exit Function

ERROR_HANDLER:
    SendFile = False
    Close iSNr
End Function


& I edited & update this code to work once on my Server & once on my Client to do the same 2 things.
1 - To Download data & store it in a new file
2 - To Upload data & grab data from a file.

It is working fine! thoughhhh!!
in 1 update i made for this code, was that I added progressbar to the progress of the sends & receive.
In the Server while i'm sendin' a file I'm gettin' it in the same time in the Client side!
BUT!! & here is a big! hugh! B-U-T in here! When the Client sends data it sends it really fast, & the server getting it after some time ( Without stucks or anything ) , the file received succefully but in a late...

Any ideas what can make the diffarents? the Send Receive codes are wrotten the same in the server & in the client with the same Var's!

Any idea of you will might give me a solution, Thanks in advance, & sorry for the use of many many words to describe my problem in this thread :/

Thanks in advance, yours, Yoni D.

[solved] How To Send A File To Server By Http?
I have a local file and want to send it to server, how to do it by using http? Is it possible to have ID&Password authentication when it sends the file? I searched google and vbforums, still can not find a answer.

thanks

How To Send Message Over A Proxy Server
Hi all

I am using winsock control to send messages from one IP to other on TCP/IP protocol. But i have a problem in sending to a client behind a Proxy sever.

Any ideas

Please help me
Latha

Send A Multi-function Command From A Client To A Server, Useing Winsock
im new to the winsock control...

i have created a server, and a client which successfully connect, and send and receive data. i want to be able to send one string of data to the server which the server can split up and use those separate strings to execute different commands.

e.g.
i want to send a (one single) string to the server which tels it to display a message box. when the string arives the server splits the string int the folloing variabls

strCMD = "1"

'the command to execute in this case a message box.

strPar1 = "Error!"

'the first parameter for the message box in this case the message box title.

strPar2 = "This is a message from the client!"

'the second Parameter for the message box, in this case, the message to be displayed.

strPar3 = "4096"

' the type of message box to be displayed, in this case system modal.


i have developed ways of acheiving this but they are unreliable and constantly cause errors. if i could send a string array, that would be perfect, but i cannot work out how to do that.

please tell me what to do!!!

Winsock, I Made A Server-Client... Now I'm Trying To Make A Server-Client+++
Trying to get this Winsock Chat thing to support more than 1 person. I don't know at ALL what to do... Could anyone push me in the right direction?

Also, I need help getting screen names to work as well. Thanks.

As you will see, I attempted to add multiple connections myself... I failed. =[

I'm using VB6.

Code:Option Explicit
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Private Const EM_LINESCROLL = &HB6
Dim ClientNum As Integer
Private Sub cmdSend_Click()
    Dim strdata As String
    strdata = "Server : " & txtmsg.Text
    tcpServer(0).SendData strdata
    Text1.Text = Text1.Text & strdata & vbCrLf
    txtmsg.Text = ""
    SendMessage Text1.hwnd, EM_LINESCROLL, 0, 10
End Sub

Private Sub Form_Load()
    Dim s As String
    s = InputBox("Server Port Number: ")
    tcpServer(0).Close
    tcpServer(0).LocalPort = s
    tcpServer(0).Listen
End Sub

Private Sub Form_Activate()
    txtmsg.SetFocus
End Sub

Private Sub tcpServer_ConnectionRequest(Index As Integer, ByVal requestID As Long)

    If Not tcpServer(0).State = sckConnected Then
        ClientNum = ClientNum + 1
        tcpServer(ClientNum).Close
        Load tcpServer(ClientNum)
        tcpServer(ClientNum).Accept requestID
        Text1.Text = "User has entered the server..." & vbCrLf
        SendMessage Text1.hwnd, EM_LINESCROLL, 0, 10
    End If
End Sub

Private Sub Form_Unload(Cancel As Integer)
    MsgBox "Wanna-Be AIM"
    tcpServer(0).Close
End Sub
Private Sub tcpServer_DataArrival(Index As Integer, ByVal bytesTotal As Long)
    Dim strdata As String

    tcpServer(0).GetData strdata
    Text1.Text = Text1.Text & strdata & vbCrLf
    SendMessage Text1.hwnd, EM_LINESCROLL, 0, 10
End Sub

Using Fax Service Client Api
I'm writing a module to send faxs through Microsoft Shared Fax Server on a Windows 2000 server. Clients are Win Xp.
I'm using Fax Service Client Api and the following code:
Dim FS As New FaxServer
Dim FD As New FaxDoc
Dim ServerName As String
ServerName = "SERVER"
Set FD = FS.CreateDocument("C:esborrarBody.txt")
FD.FaxNumber = "9888888888"
FD.FileName = "C:esborrarBody.txt"
FD.SendCoverpage = 1
FD.CoverpageName = "Generic"
FD.CoverpageNote = "nota portada"
FD.CoverpageSubject = "cos de la portada"
FD.DiscountSend = 0
FD.DisplayName = "nom fax per gestió interna"
FD.EmailAddress = "mmmm@mmmmm.com"
Dim jobid As Long
jobid = FD.Send()

The problems are:
-Error 80070006 on the Send method.
-I'm not sure that connection to the server is established because I tried to obtain information like the 'ArchiveDirectory' propertie and I don't get result.
The name of the server is 'SERVER' and the client is on a domain. Which string I have to use to connect to the fax server?

Thanks in advance

Building A Web Service Client In VB
Hi,
I am trying to write a web service client program in VB 6.0? Have anyone done this before? Is it possible at all? For example, here is a link to the webservice (a calculator).

http://dotnet.securedomains.com/eyes...impleCalc.asmx

Thanks a lot!
Gang

.net Client Using Java Web Service
How to consume a java web service that returns an object using .NET? i can consume web service using vb.net that returns dataset objects, but how can i consume web service that returns an user defined object like ie. person class in java?

thanks

Consuming A Web Service From A VB6 Client
Hi.

I have successfully written an activeX DLL in VB6 that builds/send/receives/parses raw XML messages using the MS XML 4.0 data types.

I am trying to use SOAP next. I have used it to create SOAP messages and send them to an ASP I have built that parses it, does some work and returns a SOAP message back . My activeX sends and receives this OK and I can parse it fine.

I am now trying to use an off-site web service supplied by a 3rd party. The url is of the form HTTP:/xxxxxxxxx/xxx.asmx?wsdl

My general code for building SOAP messages (I use the serializer30 , httpconnector30 etc.) falls over when try to send a message to this.

I have also tried to use the high level API (using the SoapClient30 and msoapinit) The msoapinit works OK (at least , my code doesn't fall over at that point) but I do get a message when I try to make a call to the proxy object created by the mssoapinit method. I get reams of stuff back saying that either the client has failed or the server has sent an invalid response (which doesn't exactly pinpoint the problem!!).

The thing is...does the server offering this service have to have something installed to support my client ? I understand that the high level API converts the proxy object call to SOAP (using info in a DOM created from the mssoapinit ) so am I wrong in thinking it will work without anything extra installed in the server?

Thanks in advance!

David Kelly

Run Vb6 App As A Service Without..(SOLVED) !
guys,

is there a way to run a vb6 application like a service?? is so how should i go about it???

i hope to make an exe program run as a service ... as all the app listed in the services will run the moment the computer is start up... and does not take into consideration whether the user is login or not.... am i right ???

[solved!]Is It Possible To Use WEB Service In VB6?
in VB .NET, it is easy, however, is it possible to use Web Service in VB6? I have a big project in VB6. Now I want to use Web service to do some online stuff. Later, maybe I'll rewritte all codes by VB .NET, but now I do not have enough time.

thanks

Asynchronously Consume A .NET Web Service From A VB 6 Client
Hi

I need to find out how to use SOAP (I'm using the SOAP toolkit
3.0) to asynchronously consume a .NET web service from a VB 6 client.

Any advice would be greatly appreciated... Has anyone else done this yet?
It would be easy with a .NET client, of course, but I need to be supporting
VB 6 clients for quite some time to come.


Thanks.

Problems With VB-client When Using And WEB-service On UNIX
We have a problem getting reply to a VB-6 client from a GSOAP Unix
server.
The GSOAP WEB-server on UNIX is replying fine if we connect to the
server from a .net client. But some (not all) VB-6 clients are hanging
when they are waiting for a reply from the WEB-server even though we
in logfiles can see that everything including the answer is created on
the server side. The strange thing is that some client computers
always work fine, while other client computers never work, so it seems
that we have a problem with the setup of the clients ???

Note that this problem ocurres only on some client computers.
Other client computers work fine.

The clients are running on Windows 2000 SP4.
We have also tried on Windows NT4 and the same happens here.
Some clients work fine, while others never work.

(Sorry: if this is wrong forum please tell me which is the correct
one)

Please reply to my e-mail adress: Join Bytes!

RGDS Per Eskilson

Making The 'a Program Is Trying To Send A Message' Message Go Away
I have a little program using MAPI to send email but keep getting the message "a program is trying to send a message" and the option to send or not send. Since I am usually looping this program it forfeits the purpose to have to sit and press send send send. Is there a way to disable this.
Robert

Is Access Client Server?? What Is Client Server?
If I use visual basic to query an Access 97 database, this is what I find:

The SQL query only selects one number from a large table - ie the total info required is 4 bytes.

However, when I analyse the network traffic to my computer I find that 17,000 bytes get downloaded when running this query.

I am using ADODb connections and coding them manually in visual basic. I do not know if this is relevant, but my question is:

I thought using client server that all that went up the wire was the SQL statement and all that went down the wire was the resultant data.

Is this just Access? Does a query have a minimum package of 17,000 bytes? Anything I can do to make the performance better (as my application has to run over a 56K line)?

What about if I used SQL server?

Visual Basic Client For Soap Web Service
hi, i am trying to create a visual basic 6 client to use this sharetips webservice:

http://saruman.cs.nott.ac.uk/elc/Sharetips.asmx?WSDL

there are three operations supported, "buy", "sell" and "close".

i understand how to invoke each operation individually, but my problem is that i need to make an enquiry into the service so that all three generate live sharetips, then can tell the user to buy, sell, or close on a particular share.

any advice on this would be great, i'm stuck in a rut!

thanks.

ActiveEx: Microsoft Exchange Event Service Client
Okay, I can't believe how much trouble I have had trying to track this issue down on the web. Et tu google?

I am supporting, among other things, a number of MS Access applications that were written in-house in VBA by various people quite some time ago. Most of them were originally written using Access 97. Recently we made the move to push the whole company to Access 2003 and let the chips fall where they may. One of them fell in my lap today when a bigwig asked me to take a look at his app and see why it was no longer running.

He hadn't clicked Yes to convert his .mdb to 2k3 yet. I backed it up and made the conversion. When I did, I got one error, a broken reference to a dll named ActiveEx.dll (NOT ActiveX). Turns out this is the MS Exchange Event Services Client dll for Office 97, but it no longer exists in Office 2003 and I can't figure out what I should replace it with. I have googled the known cyber universe looking for the answer and cannot find it. I really don't have the time to re-write his app for him. Does anyone know how I might go about resolving this?

Trouble Connecting From .NET 2.0 App On Win2000 Server Client To Remote SQL Server 2005 DB
Hi,

Has anyone experienced similar problems trying to connect under the stated configuration? Were you able to resolve?

This looks like some type of security or permissions issue on the client side but I don't know where to start looking. The login is correct and I don't have any issues when the client is XPSP2.

Additional info:

The Windows 2000 Server client is running SP4.
The 'Data Link' application used to configure the connection string from the client tests successfully.
Can't even connect as Administrator from the client.

Any guidance would be greatly appreciated.

Scott

Telnet Server, RF Client Bar Code Reader, Working With A VB Application Thin Client Application
> Hello To All,
>
> I need a little advice and direction.
>
> I trying to build and application where a RF (Radio Frequency 900mhz
> hand held Bar Code Reader) device would connect and enter and retrieve
> information from a VB application.
>
> Example of Screen:
> Updating Inventory:
>
> Invoice Number:_____________
>
> Part Number: _____________
>
> Quantity: _____________
>
> Press F2 to Save and Continue.
>
> How Do you build a Telnet or VT100 or VT220 Server application in VB
> that can create the Example and except the individual entries.
>
>
> The hand held device can connect to a server in Telnet (ANSI), but I
> just lost and can find anything solid on the web.
>
>
> Steven

Using Faxcomexlib To Create An XP Fax Client Using Windows 2003 Server As Fax Server
1) Can anyone help me clarify the syntax for computer name when the FaxServer and remoteFaxClient are deployed within a domain?

2) If item 1) above is not the problem then does anyone have suggestions on how to properly setup the Fax software (remote Fax Client and the Fax Server)?

The following code works fine for creating a local FAX Client on XP and Windows 2003 Server. However, I want to use the XP node as the Fax Client and the 2003 Server node as the FaxServer.

Whenever I try to use the XP node as the remote Fax Client ot the Windows 2003 Server FaxServer, I get the following error code:

Error -2147024894 (80070002)

This error occurs on the line where the faxjob is submitted. I get the same error on both fax sumissions (JOBID and sumbission without retrieving the JobID):
    'submit and get JovID
    JobID = objFaxDocument.ConnectedSubmit(objFaxServer)

    ' submit without retrieving the JobID
    'objFaxDocument.Submit (objFaxServer.ServerName)

I am wondering if I am using the correct name for the FaxServer. The computer name is "medserver" but the full name (path and computername) is "medserver.domain1.local". I tried using "\medserver", "//medserver", "\mdeserver.domain1", "\medserver.domeain1.local" and I still am not able to connect to the server and send the test fax. Using a blank name for the FaxServer "" or using the local computer name while running the Fax Client VB routine local to the Server works just fine. I get through the connection call but I get the 80070002 error when I submit the fax from a remote Fax Client to the FaxServer.

============================================

Private Sub cmd_SendFaxComEx_Click()
    Dim objFaxDocument As New FAXCOMEXLib.FaxDocument
    Dim objFaxServer As New FAXCOMEXLib.FaxServer
    Dim objSender As FaxSender
    Dim JobID As Variant
    
    strFaxNumber = Me.txt_toFaxNumber.Text 'Any valid faxphone#
    'strFileName ="C:Program DATA FilesVB TestsFax ClientHello World.doc"
    strFileName = Me.txt_attachment.Text 'Any valid text/fax file
    strFaxMachine = Me.txt_FaxServerName.Text 'FaxMachine Name = "\FaxServer"
    
    'Error handling
    On Error GoTo Error_Handler
    
    'Connect to the fax server
    objFaxServer.Connect strFaxMachine '"" for default
    
    'Set the fax body
    objFaxDocument.Body = strFileName '"c: empmsg.txt"
    
    'Name the document
    objFaxDocument.DocumentName = "TMR Test Fax"
    
    'Set the fax priority
    'objFaxDocument.Priority = fptHIGH
    
    'Add the recipient with the fax number 12225550100
    'objFaxDocument.Recipients.Add "12225550100", "Bud"
    objFaxDocument.Recipients.Add strFaxNumber, Me.txt_RecipientName
    
    'Choose to attach the fax to the fax receipt; set to false for no attachment
    objFaxDocument.AttachFaxToReceipt = True
    
    'Set the cover page type and the path to the cover page
    'objFaxDocument.CoverPageType = fcptSERVER
    'set objFaxDocument.Coverpage = fcptNONE for no coverpage
    objFaxDocument.CoverPage = "generic"
    
    'Provide the cover page note
    objFaxDocument.Note = "Here is the info you requested"
    
    'Provide the address for the fax receipt
    objFaxDocument.ReceiptAddress = "someone@example.com"
    
    'Set the receipt type to email
    'objFaxDocument.ReceiptType = frtMAIL
    
    'Specify that the fax is to be sent at a particular time
    'objFaxDocument.ScheduleType = fstSPECIFIC_TIME
    'CDate converts the time to the Date data type
    'objFaxDocument.ScheduleTime = CDate("4:35:47 PM")
    
    objFaxDocument.Subject = "Today's fax"
    
    'Set the sender properties. For the EMR this will be the Dr. Office Info.
    objFaxDocument.Sender.Title = "Dr"
    objFaxDocument.Sender.Name = "TMR"
    objFaxDocument.Sender.City = "Phoenix"
    objFaxDocument.Sender.State = "AZ"
    objFaxDocument.Sender.Company = "TMR"
    objFaxDocument.Sender.Country = "USA"
    objFaxDocument.Sender.Email = "Dr@TMR.com"
    objFaxDocument.Sender.FaxNumber = strFaxNumber
    objFaxDocument.Sender.HomePhone = "1-602-555-5555"
    objFaxDocument.Sender.OfficeLocation = "Downtown"
    objFaxDocument.Sender.OfficePhone = "1-602-555-5553"
    objFaxDocument.Sender.StreetAddress = "123 Main Street"
    objFaxDocument.Sender.Tsid = "Office fax machine"
    objFaxDocument.Sender.ZipCode = "12345"
    objFaxDocument.Sender.BillingCode = "23A54"
    objFaxDocument.Sender.Department = "TMR EMR"
    
    'Save sender information as default
    objFaxDocument.Sender.SaveDefaultSender
    
    'Submit the document to the connected fax server and get back the job ID.
    JobID = objFaxDocument.ConnectedSubmit(objFaxServer)
    
    'Use the following line to submit the fax document w/o getting a job ID.
    'objFaxDocument.Submit (objFaxServer.ServerName)
    
    MsgBox "The Job ID is :" & JobID(0)
    'Exit Sub
    objFaxServer.Disconnect
    
Error_Handler:
        'Implement error handling at the end of your subroutine. This implementation is for demonstration purposes
        'MsgBox "Error number: " & Hex(Err.Number) & ", " & Err.Description
        objFaxServer.Disconnect

End Sub

Short Message Service Via VB?
HAi all,

Does any one know how to make an application to send sms (shortmessage service) with visual basic? is it possible?
Please help me.

Thank you very much

Regards,

Ilham Wijaya

[SOLVED] Set Client Area
Hello,

I'm trying to create a fairly standard custom container control. My control has a custom title bar at the top,
and I would like to exclude the title bar area from the container client
area in both the designer and at run time so that adding contained controls
or using docking does not overlap/underlap the title bar.

Is there a way to solve this with API's?

I appreciate any help.

Kelly



Edited by - KellyVB6 on 2/16/2006 7:21:43 PM

Send Message Vs. Post Message
Hi,

What is the difference between Send Message and Post Message API ?

Use Fax Service To Send A Fax Using Vb6
hi,
there is any way to send a fax by vb6 using the fax service of windowsxp?
i have found something for .net i don´t want send directly to modem i want use the fax service for example print for the fax and enter all numbers and info etc
thanks for you help

Retrieve A Picture Stored In .MDB Via A Server (Client/Server)!!!
Hi
I have made a quick search over here (in the forum) ending up with failure to find an answer to my question.
Well the problem is like this
(Client/Server Applicatoin)
Client will keyin a user name and password to connect to the server and retrieve his information including a (picutre) and the server will send the information including the picture which will appear to the client with the other information.

Now, I want to insert the picture into MS Access file .MDB along with the other information in a table (the picture will be of an OLE type, since this is the only way that I know we can include a picture), then be able to send to the client and display in the screen along with the rest of the information.

So, anyone can help, I failed to do so. I can transfer information (not including a picture). I know that we can achieve this goal by treating the picture as binary or so.... I am not sure actually about the concept. If anyone can help or can give me a piece of code that can assist me in this.

Server DLL, Under MTS, Running On Server, How To Msgbox To Client Machine???
Ok, I have a server DLL runniong under MTS on a serever. This server has msgbox's in it I know bad...how do I get these msgbox's to appear on the client machine, since the server is in another building
Don't give me grief about msgbox's and dll's...I know. It's not my code, nor my dll...I need a quick fix, can recode it at a later date.
All I need is for the msgbox's to appear on the client machine...
We are running NT Server 4.0

Anyone?

Woka

Retrieve A Picture Stored In .MDB Via A Server (Client/Server)!!!
Hi
I have made a quick search over here (in the forum) ending up with failure to find an answer to my question.
Well the problem is like this
(Client/Server Applicatoin)
Client will keyin a user name and password to connect to the server and retrieve his information including a (picutre) and the server will send the information including the picture which will appear to the client with the other information.

Now, I want to insert the picture into MS Access file .MDB along with the other information in a table (the picture will be of an OLE type, since this is the only way that I know we can include a picture), then be able to send to the client and display in the screen along with the rest of the information.

So, anyone can help, I failed to do so. I can transfer information (not including a picture). I know that we can achieve this goal by treating the picture as binary or so.... I am not sure actually about the concept. If anyone can help or can give me a piece of code that can assist me in this.



Edited by - sankhonio on 6/15/2003 1:02:32 PM

Help On Creating A Message Forum In Vb.net Web Service Using Asp
good day all,

please can anyone thow me a rope on creating a forum in vb.net - webservice using asp. i am still new to web services. i like to try new things and learn from it and this sounds exciting.

the forum wil need a user register page, login, message board with post and replies. - this might sound easy for the experienced dudes but it threw my boat over...

also the data is saved into MS Access.

and tips, code or advice appreciated!!

Thanks

Short Message Service Notification
Anyone knows how to send a Short Message Service notification?
I want to do automatic notification on an event in a client server app using VB and SQL server

Thanks

eric

Catch Message From Messanger Service
Message sent by Net send is received by messanger service and display to the screen in message box.
Is there any way in vb to catch that message and prevent message box to appear?

Thanks!

How Can I Know The Client Name From Sqlserver Database? (Solved)
Here, I have written a trigger to insert to a log file for insert, update, or delete. Therefore, I need to know this action came from which client. How it is possible?
thanks



Edited by - vidya1 on 12/5/2006 11:23:47 PM

How Send An Email With A Service?
Hi all,

How do we do to send an email with a service? I program with VB6 and the program will run on W2000 Terminal server.

I must run a program already coded but it use winsock control and when I put it on a service I get the error "The service did not respond to the start or control request in a timely fashion". When I'm logged on the server and I just double click the program, it run.

I tried to replace the winsock control with an object of Outlook.Application. It run when I double click it but it doesn't run in a service. With the service I have the following error "Can't create object...".

How do we do to send a email with a service?

Thank's for your help.

Message Of Day - Client
HI there!

I am writing a client server program. I want to implement a Message Of the Day function that is given to the user when he locks on. Could someone please help me with this? The message must be loaded from a file or something like that. Currently when the user locks on, a message is displayed that for example: John locked on at 08:35. Now all I want to do is give the user together with the time, a message of the day.....

Thanks guys!
Regards

Sending SOAP/SAML Message To Web Service
I am trying to send a SOAP/SAML message to a WebService without a WSDL and can not find any documentation on how to do this. IS there a way to do this? If so can I be pointed in the direction of some sample code? Any help would be greatly appreciated.

SMS(Short Message Service) Application.... HELP VERY VERY URGENT !!!
Hello VB Novices, Experts, and Gurus!

I am currently developing an application for my THESIS that allows people to send queries (by punching in keywords with or w/o variables) to a mobile phone which will automatically reply the answer. This would of course be standalone to offer convenience to possible end-users.

My application would function like this....
1. Message arrives, Read it
2. Process the message and create/write the result/reply
3. Send the message
4. Delete the message

I am using Microsoft Visual Basic 6.0 for the main program, MS Access for the Database, data cable attached to a Nokia 30

I would simply like to ask anyone on their views regarding my application.

Does anyone have sample code for this application??? please email the source code to afritz_mail@yahoo.com
I want use AT-Command for this application

Any comment/suggestion/help would be greatly appreciated.

Thanks in advance.



Edited by - afritz3050 on 6/30/2004 8:58:41 PM

Winsock Query - Server To Client Messages Having Already Received Messages From Client
Hi,

I posted this onto VB Newbies but maybe it's a more intermediate query.

I have set up a client and server app so that many instances of client can connect to the server and send messages at the same time using Index=0 on the Winsock control on the Server.
However,

I want to send messages from server to client also - how can i do this since I get error message "Invalid operation in current state" when I try to connect from server to client - i need to get Winsock(0).State = connected and can't - do i need to name Winsock differently between 2 applications. I looked at www.winsockvb.com but can't find an answer to my problem.
My code on clicking command button on Server app is :

  Winsock(0).Close
  Winsock(0).RemoteHost = gstrIPAddress
  Winsock(0).RemotePort = Val(gstrPort)
  Winsock(0).Connect        'Seems like the connect isn't happening here - passes through it...

 gstrMessage = "Message to send"
If Winsock(0).State = sckConnected Then
    Winsock(0).SendData gstrMessage
    DoEvents
End If

Any guidance would be greatly appreciated!! Thanks!

**SOLVED**How Can I Determine What The Default Mail Client Is In My PC
How can i determine what the default Mail Client is in my PC



Edited by - joeboxer on 3/9/2004 7:50:53 PM

Activate Net Send Messenger Service Via VB
Hey all,
I was wondering if there was a way to activate the net send messenger service using VB. I have tried using Shell to a cmd instance and then running the net start messenger command, but no luck.

Any help would be great,
Thanks

How To Send A Trap To SNMP Service From VB ?
Does anyone know how to send a trap to SNMP service from VB application?

Virtual Server - Client Server Problem
I have a client server application which has an SQL database on the back end, a data server EXE on the data server, a middle and client tier (DLL and EXE) on multiple workstations.

This is a VB6 application that has worked fine for several years. I made some modifications and tried to re-install it for my client and it turns out that the client is now using a virtual server (VMWare) to host the SQL database and my remote object on that server. And I am now unable to get around a Permission Denied error.

Has anyone run into similar issues when migrating to a virtual server environment? I just need a sanity check here before I dig much deeper.

Thanks.

medref

Manually Create A SOAP Message In Vb 6.0 To Consume A Web Service
Question? How can I manually create a SOAP message in vb 6.0 to consume a web service written in VB.Net 2003?

(The SOAP Toolkit does not work with document style which is what my web service is expecting - or at least this is my understanding; regardless, my attempts at using it have all failed)

SOLVED Help With Message Box
How do I insert a carriage return into a message box so I can put things on different lines in a message box

RTC Client NOTIFY Message-waiting
Is this message retrievable from the event filter? If so, through which event object? I need to display a "visual" message waiting indicator on a soft phone application.

Any help would ge greatly appreciated.

Copyright © 2005-08 www.BigResource.com, All rights reserved