Communications :: Build An IM Program?
Dec 27, 2008I am trying to build an IM program i found one (see attachment) but it is network only and i want to build one that goes over the internet?
View 6 RepliesI am trying to build an IM program i found one (see attachment) but it is network only and i want to build one that goes over the internet?
View 6 RepliesI put it in Communications.For My programming class at school we are required to have made a program. So I decided to make a LAN messaging program which uses VB and Microsoft Winsock Control 6.0. Im quite new and noob at using VB so i'm using a tut here, url... to make the base program.As you can see if you've read it, he uses Microsoft Visual Basic 6.0, while I use Microsoft Visual Basic 2008 Express Edition.
View 3 RepliesI dont know wether this is the right place but would i be able to use somthing like streamreader to change a .txt on another computer? If so, how?
View 3 RepliesI want to develop Modbus RTU Master program ..I am expert in Modbus communication and I have designed the Modbus pre-programmed remote controls ,, Now I want to interface some Modbus RTU slave devices to my own developed application ... and looking for kind guidance ..I am much familiar with the Modbus RTU syntax and I've tried following to initiate the the master query but I am getting initial 3 bytes ok ,, rest of them are changing the values on COM port so slave is not responding to my command ..
******************************
Private Sub Button10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button10.Click
Dim BYTE1 As Byte = 1
Dim BYTE2 As Byte = 6
[code].....
Lately, ive been using winsock quite a lot. I made a chat application, and now i want to make a remote desktop program. I dont want a half asses one, where u can press buttons that send info to the server, but i want to have a client server relationship where you see the screen, have control to the keyboard, and the mouse. Any tips on how i can go about this?
View 1 RepliesI am playing with network sockets as I need to work on a client-server application. So I have tried this simple code from VS help:
Code:
Dim tcpClient As New TcpClient()
'The following line do not belongs to original code 'But I needed to add it as debugger told me that 'I couldnt getStream from closed sockets
tcpClient.Connect("127.0.0.1", 8000)
Dim netStream As NetworkStream = tcpClient.GetStream()
If netStream.CanWrite Then
[code]....
So, I supposed that the code above would write the message to the loopback IP (127.0.0.1), it would be kept in the network buffer and would be spited out when it readed the same loopback IP. However, when it gets the line whre it should read the stream, the program just stalls and keep reading it forever. I have tested the stream with as if it was just awaiting for something to read. I have tested the stream with getStream.DataAvailable and it returned me False, what makes me guess that the data is NOT being properly written to the IP.
Firstly I thought that it could be something with the loopback IP, then I tried to provide the machine local IP (192.168.2.25) but I got the same behavior: code stalls...
I am writing a program which sends email automatically. Sending the mail works fine. The problem is that this will be on portable systems and not always have internet connection.
Is there a way to determine if an internet connection is available before attempting to send.
I'm trying to write a vb.net program that will upload a file to a FTP site that has SSL (explicit, although I'm not sure what this means).The sample code and explanations I've Googled always assume when it's SSL that I'm using a client certificate. But I have no certificate to load.I simply need to login, accept their certificate and upload my file.When I accept their certificate am I actually installing it on the client? For example of FileZilla a box pops up and I just click on accept, then my login is complete.
View 1 RepliesI want to create a program that will keep track of the amount of (network/internet download) data that has been received, but I have know idea how to go about doing it.Where would be a good place to start with this type of development? Or could some one give me example code that will get me started.
View 1 RepliesLike the title says, is there a freeware program out there for serial communication that is better than Windows Hyperterminal?
View 1 RepliesI am trying to write a program to ping computers on my network to see if they are turned on. So far i have the following:
Code:
If My.Computer.Network.Ping("192.68.0.5") Then
MsgBox("Computer is on.")
Else
MsgBox("Ping request timed out.")
End If
If i use ip addresses, this works fine but i would rather use hostnames due to the ip addresses being dynamic (something which is outside my control). Using the hostname, it reurns "Computer is on" if the ping is successful, but if the hostname cannot be found, instead on returning "Ping request timed out", an error occurs as follows:
A first chance exception of type 'System.Net.NetworkInformation.PingException' occurred in System.dll
I am using VB2008 Express and am curious how to send a command via RS232 communications. The string that I need to send is 02h PON 03h. The start and end bits are 02h and 03h.
How can I convert 02h and 03h to its ascii form. In hyperterminal, I use the sequence {(hold)ALT 0 0 2} on the number pad to send the start bit.
I am using this code currently without the start and end bits
Code:
I am trying to build a small program which will allow some one to click on the exit button and the sound will play and at the end of the sound the program will then close. The sound clip is about 3 seconds long Here is what I have:
Imports Microsoft.DirectX
Imports Microsoft.DirectX.DirectSound
Public Class Form1
Private Dsound As CSoundDevice
[code]....
I want to develop a DLL in VB.
How do I "expose" the Functions and Subs contained in the DLL such that they are accessible from another application ?
For example, in Fortran the "DLLEXPORT :: MyFunctionToBeAccessed" attribute is given after the declaration of the Function; it adds the name of the Function to a table at the beginning of the DLL, name which can be referenced after to access the functionnalities of the function in the DLL.
I'm looking for some good tutorials for building applications with visual studio 2008
the programming language i prefer is VBA
I am trying to build a program that has a Dropdown menu (Combobox) where you select between a list of items like
xbox
ps2
ps3
wii
then once you select one of the options the program will bring you to a new window (In the same window) with a new box that has a list depending on which word you chose earlier. As an example.
If you chose xbox on the first window it will bring you to a window with a new list like
fighting game 2009
fighting game 2010
fighting game 2011
then if you select fighting game 2011 you would get another window that showed a list that had a list of characters from that game.
Guy One
Funny Hat Guy
Big Nose Guy
Dead Guy
Beast Thing
Funny Turtle Thing
Then in the new window you get a selection of options for the character you selected.
Special Skills
Combo Moves
Unlockable Content
Then if you select one of those you get a new window that has the lists. for example.
If you chose Special Skills show the list of special skills like the following.
Uppercut: Down + Y
Face Smasher: Back, Forward, B
and maybe beside the list of moves it could display an image of a Screen shot that shows the move (Or not if it is too complicated).
I've been tasked with converting an old c++ service to vb.net
View 4 RepliesI am trying to build a simple app that will start another program.The command line that works in a dos batch file is c:program filespixellWall Controlwallctl.exe -layout=c:1.lay with my code below this works, c:program filespixellWall Controlwallctl.exe but the switch info above doesnt get passed, I get a run time error.
Public Class Form1
Dim layout1 As String
Dim layout2 As String
[code]....
I find a lot on the internet about how connecting from a vb.net application to a mapi application on my system.
But i would like to build an application which is the other side of the MAPI so when an application is calling a mapi service, my application handles the message.
I'm trying to build up a multidimensional array which will hold two bits of info for each record in a database e.g. id, description.[code]...
View 2 RepliesI need to loop through a very large collection of images and resize them all to 400x600 pixels. Is this possible?
View 5 Repliesi'm in middle of building an application and something got corupted and the solution has 2 errors and i don't know how to fix it when i run the app it comes up the msg that there is errors and i can run the last successful build i'm interested if there is a way to recover the program solution from the last build or a othe way that i can undo the error?
View 3 Replieshow is the best way to build a database program using vb?
View 6 RepliesWhen i add a backroundimage to my form and run the program i see the buttons build one by one.I have a form with two panels over eachother. On each panel there are 10 buttons. On the form is a button to bring a panel to the front or send to the back. When i click on that button isee the buttons build one by one. When i have no backroundimage this problem does not occure.
View 1 RepliesI want to build a recent files list into my program.
The hiearchy I currently have is "MenuStrip>File>Recent Files>File1".
I have a function which saves the files and opens them. It also stores the file name and file path in sperate variables:
CODE:
I would be able to change the text property of the File1 (File1ToolStripItem) to the SaveFileName easily, but how would I make it so that when you click the File1 (File1ToolStripItem) it opens the Savefile file?
I would also need the program to save this list so when I open the program again they are still there.
Is it possible to build a windows disk defrag program in visual basic 2010?
View 3 RepliesHow do you change the build executable image for your program? Right now mine looks like a blank form. I would like to add a custom image.
View 2 RepliesI have a simple chat program i have made, it works but with a few errors.
1st if it can't find the physical pc it is trying to connect to it crashes.
2nd if it finds the physical server but not the program (server) running it says "the computer actively refused the connection on IP/Port" and then crashes.
Code for connect button:
IP = txtboxip.Text
Port = txtboxport.Text
[CODE].....................
Imports System
Imports System.Windows.Forms
Class MyButtonClass
[code].....
shove in the right direction on this:My program is setup to instantiate/build five labels at run times, corresponding with those labels five texts boxes are built at run time. The user inputs four numbers into the first four text boxes and then when you click the total button, it totals the four boxes and outputs to the last text box
View 5 Replies