VS 2008 - Connected Clients - Updated Attachments!

Aug 12, 2009

Attached are my source files i found a source and messed about with it, itsa chat client and a server which listens to clients anyway the server sends out all the messages to each client, all i want to be able todo is have a little box in my client, which is there, but has no function, its meant to list all the users currently connected.

View 4 Replies


ADVERTISEMENT

[2008] Chat Clients Connected ?

Feb 28, 2009

Using this example here, do you think it would be possible to develop it to show who is connected to the server?

View 10 Replies

2 Clients Connected Via Server / Network Code Causes Slowdown Of Picturebox Movement

Aug 10, 2011

I have 2 clients connected via a server program.When 1 client hits an arrow key, a picturebox moves on client1 and on client2.Before adding this network functionality, the picturebox on client1 moved fast with each click.Now, there is a delay of like 2-3 seconds.I know the code isn't optimal, but i'm not a networking wizard.What i'm doing is when pressing a key on client 1, it passes a text to a textbox in client 2 which then has the picturebox move in client 2 depending on the text.The slowdown occurs on client 1, which is odd because the picturebox isn't directly connected to the network code.[code]

View 3 Replies

VS 2008 : Dragging Two ATTACHMENTS From OUTLOOK Into App?

Jun 29, 2009

how to handle a single attachment being dragged from Outlook - basically this code gets the filename:

Dim fStream As Stream = DirectCast(e.Data.GetData("FileGroupDescriptor"), Stream)
Dim fileGroupDescriptor(512) As Byte
fStream.Read(fileGroupDescriptor, 0, 512)

[code]....

View 2 Replies

VS 2008 : MailMessage.Attachments : Add The Filename Using The Above Property?

Jul 6, 2010

How do I add the filename using the above property as I am unable to find anything in MSDN.

View 2 Replies

Data Source Updated As Well When The Variable Is Updated?

Jul 1, 2009

part of my code is in below

[Code]...

I would expect to see the path.Path include the new record, however, I also notice that tempnextgen also include the new record. Can anyone help me out on this issue? Why the tempnextgen got updated as well, how to prevent this unexpected operation?

View 3 Replies

VS 2008 Instances With Tcp Clients

Oct 4, 2009

I am programming a chat like application using Tcp. Now I have a probem. I am going to have loads and loads of data being transferred so I will have to use 4 seperate ports.[code...]

My problem is for me to use a maximum of 4 ports all together transferring data from the client(s) to the server(s) I will need 4 clients and 4 servers. I need to open 4 instances of 4 clients. I was going to put a client in a form and then when the client is running it creates 4 instances of that form but than there would be too much confusion going on. I think there my be a way to use Classes instead of forms.

[code...]

View 6 Replies

VS 2008 Sending Signed & Secure Email With Attachments

Jun 11, 2010

Newbie here I need to send a email with and attached file (a *.xls file) The condition is that the e-mail need to be signed and crypted. I already got a digital certificate sign (provided by Verisign). I also read something about X509Certificate2 Class on MSDN, and something about Outlook interop Model. My idea was use the Outlook Interop Model Class (from Outlook 2007) but i have no idea how to do this.

View 1 Replies

Changing ToolStripStatusLabel Text To Connected If Connected To A Network

Apr 4, 2011

On my program I am trying to make a ToolStripStatusLabel's text change to "connected" if connected to a network and if not connected to a network change the text to " Not Connected" then I don't know how to display a image if connected to a network or not connected. So if the computer is connected to a network I have a image that I would like to be displayed next to the ToolStripStatusLabel. And if not connected to a network, can the program display a different image? I tried this:

My.Computer.Network.IsAvailable=True(ToolStripStatusLabel2.Text "Connected")
My.Computer.Network.IsAvailable=False(ToolStripStatusLabel2.Text "Not Connected")

View 6 Replies

Find Out If The Connection Of Sockets (TCPClient) Is Connected Or Not Connected

Nov 10, 2009

I am trying to find out if the connection of my sockets (TCPClient) is connected or not connected. I am using the following code:

[Code]...

View 3 Replies

VB Express 2008 Registration For Multiple Clients?

Apr 6, 2010

I teach programming at a high school and I have used VB 2005 Express (in a computer lab of 33 clients) for a number of years without a problem. However, this year I switched over to VB 2008 Express and now I am constantly having registration issues. I have found the following ...

1. You must re-register the product for every user on that client

2. Each client must have a unique registration key

3. You are allowed only 30 days of useage without registration

What is happening is I asked my students to register the application themselves. But we keep getting this registration request every time a student switches seats in the room. Now we are getting an error message that says we have had too many registrations from this IP address.Is there a registration key that will work on more than one computer? Is there any way around the registration issue?

View 3 Replies

VS 2008 - Central Game Server / Clients

Jun 25, 2010

I've got a game I would like to build, it will require a central game server where peoples data (game data :-)) will be sent to and shared with other players - how is the done. Is it remoting? TCP? something else - I need to study up on it but want to make sure I'm learning the right thing.

View 3 Replies

VS 2008 Need To Install Merge Module Or Something On Clients Pc?

Sep 10, 2010

I recently added the crystal reports controls to my project. I'm using Crystal XI release 2. When I built my project I include all the crystal dll's in the release folder.I haven't done a setup project yet, so I just take the release folder over to the client and paste it into a directory in the Program files folder.I am getting an error on the crystal report form. I assumed as long as the dlls where in the release folder everything would work.Do i need to install a merge module or something on the clients pc?

View 2 Replies

Visual Studio 2008 - Get Multiple Clients With The Server?

Dec 12, 2009

I made a simple chat system that connects to a server with a client one on one. I'm not really sure how to get multiple clients with the server so that you can see everyone's messages. Here is the source code. The Server only accepts one client at a time.

View 3 Replies

VS 2008 Make A Chatroom Allowing Multiple Clients?

Jun 30, 2009

How can I make a server application? How can I then create another application that is meant for the clients!? I have tried to look for something for over 3 months now. All that stuff about TCP/IP just is not working! Using TCP/IP I cannot connect to anyone out of my network! How can I make it so when you start the client application it will automatically connect you to the server. Then having 2 textbox's and one button that says "Send". One text box will have what has been send and recived and the other textbox will be what you type to then later send it! How can I make it work with up to five clients!?

View 4 Replies

VS 2008 Multiple TCP Clients - Send The Data Twice To The Same Client

Mar 18, 2009

I have a large class that I built to act as a TCP server for one of my silverlight applications. When a user connects it stores the tcp client into a table for later communication. The problem is that when I send data, with more than one client connected, it loops through both open TCP Clients but some how sends the data twice to the same client.... the other tcp client never receives his data. This isn't a logic issue as I can step through the code and see that it is clearly taking each individual TCP client out of the table and sending it the data. They all use the same port... could that be the issue? And if so how do I make it so that it can connect on one port then transfer to another? I have tried using different computers for connecting but still the most recently connected client receives all of the packets of data.

View 6 Replies

VS 2008 Updated Database, Now Need To Re-read?

Mar 24, 2010

I've updated my database...

And all the information goes in fine, and an Auto-Number is allocated.

Do I need to re-read the database to find & display this auto-number?

Where do I begin?

View 15 Replies

VS 2008 Updated Other Record If Exists?

Sep 25, 2011

i can't find any wrong, if record exists then updated the record but only can insert the new record.

cannot updated the record.why?

[Code]...

View 6 Replies

VS 2008 Data Not Updated Using LINQ + Sql 2000

Dec 28, 2010

[Code]...

I have the following records in the table student(see in fig 1). I am trying to update the Name of student whose Roll no =1. But Record is not updated in the database,

View 2 Replies

VS 2008 Updated DataGridView - Sending Updates To DB

Oct 12, 2010

I have code similar to the code below that works in other parts of my program. The reason the code below does not work is because the datatable is made up of data from two separate tables. Does anyone know how to make this work for multiple tables? Can I choose what fields to send back and where to send them? This is what fills my datagridview and it works fine.

[Code]....

View 9 Replies

VS 2008 Connected Client ID?

Dec 18, 2009

Is their a way to give every client that is connected to the server an ID.

EX: SendMessage(Client.ID,"Hello")

View 2 Replies

VS 2008 Create A System For Notification Of Updated Software

Jan 8, 2010

I need to implement a notification system software for each new verson, I am interested only inform the user of the presence of updates, not autoupdate software, how can I do?

View 15 Replies

VS 2008 UI Gets Updated And Background Code Functions Correctly

Nov 19, 2010

In order to multithread correctly, so that my UI gets updated and the background code functions correctly, I've been doing this:I have one sub that does the UI updating and checks for invocation: [code] However, I need to update the UI within the Class now. When I do that, my app is no longer responsive. I need to do all UI updating within the form class and all background code within my custom class.I just can't figure out how to determine at what part my class is at, to update the UI.The UI has a few labels and a picture box that needs updating. As it runs a new process, (about 8 in all) I need to update the picture box and labels with the appropriate information so that the user knows where the app is at.

View 7 Replies

VS 2008 Window Handles ,SetWindowPos API And ShowWindow API -Updated

Aug 5, 2009

1. I have an array of windows handles (list of window handles) which are windows I want to minimize when I call the ShowWindow API. But when I call it it sometimes minimizes other windows which aren't the windows I had before. I'm guessing that window handles are changed when other windows are being opened, is there is any option to detect a window in other way? like identity or something like that?

2. I'm trying to change a window size by using the SetWindowPos, but the problem is that I'm using this API while I'm dragging a window which causes the window to change the size for a sec and then go back to the same size, how can I change the window size while I'm dragging it?

3. When a left mouse button is up I want to maximize a window, but when I'm using the ShowWindow API right after the left mose button is up it causes the window to maximize for a sec and then go back I could fix that adding a delay:[code...]

4. Another question, can anyone give me an example on how to put a window right behind other window? (I guess changing something in the Z order?) I already got the two windows handles.

View 5 Replies

[2008] Backgroundworker Progress Bar - Not Displaying Updated Status

Feb 3, 2009

Got a bit of a weird problem with a progress bar. I'm using a backgroundworker, which calls a "Process" function in a different class. The function goes about its business, and sends an update back to the form displaying the progress bar. What I'm finding is that its doing everything right, except update the progress and a label on the form. I've put breakpoints in to check the values of variables being sent to the form, and they're correct. I've also checked the value/maximum of the progress bar during the same break as I step through, and they're being set correctly.

they're just not displaying their updated status. I've tried refresh and application.doevents, to no avail. When the backgroundworker is complete, the values of the progress bar/label are as if I've never touched them! When the worker is complete, the Close button is enabled, so I know its finished. Anybody got any pointers/thoughts on this because I've been battling with this for a day and a half so far. I'm using the same technique as I've used elsewhere in the app to do similar backgroundworker progress updates, but this one refuses to work properly.

View 2 Replies

VS 2008 Combobox Connected To Another Form

Jan 12, 2010

Ok so i'm particularly new to this, just wondering. I have a combobox on a form, I have an array set up so the items in the combobox have values. The problem is I need to send the values from the combobox to a textbox from a different form. So basically how can I connect a combobox to multiple forms.

View 6 Replies

VS 2008 - Update A Date Field In Table When A Record Is Updated

Jun 26, 2009

I want to update a date field in my table when a record is updated to reflect when the last update was made. I have this for the parameter: objEXTCommand.Parameters.AddWithValue("@entryDate", Now.Date)

However, this inserts the Date and a time of "12:00:00". I want the date and current system time. I've gone about several ways, but none seem to work. I try this: [Code]

View 11 Replies

VS 2008 [updated And Still Open]Regex - (") Messing Up The Syntax

Nov 4, 2009

Can I get an english explanation of .*? I kinda know what it does, but a breakdown would be nice on the logic behind it. Also, in the same manner, I'm after the specification for special characters, especially " but if it's doable, for as many special characters, or all of em as long as " is included.

EDIT: Might as well include the entire context, because I'll prolly be asking this in another thread in 15 minutes.

[Code]...

View 3 Replies

[2008] Unable To Get All Tables Updated (binding Source And Filters)?

Jan 28, 2009

I had this - in the CURRENTCHANGED event of my BINDING SOURCE.

Private Sub vendorBS_CurrentChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles vendorBS.CurrentChanged
If Me.CMCStarting Then Exit Sub
vendorBAL_C.vendorUpdate()
End Sub

This calls a sub in the class vendorBAL_C that does this

Private Sub SaveData()
_adapter.Update(_vendortable)

[code]....

The vendorUpdate sub calls two .Update's on my SQL Data Adapter.Only the first one is getting saved._vendortable gets saved - changes to _vendorcapabilitiestable does not.Those two DATATABLES are getting created by

_adapter.Fill(_vendorSet)
_vendortable = _vendorSet.Tables(0)
_vendorcapabilitiestable = _vendorSet.Tables(1)

To add just a tad complexity to all this I'm making changes to _vendorcapabilitiestable through a filtered binding source in the UI.

capabiltiesBS.DataSource = vendorBAL_C.capabilitiesTable
.
.
.
Private Sub CapabiltiesTreeView_AfterSelect(ByVal sender As Object, ByVal e As System.Windows.Forms.TreeViewEventArgs) Handles

[code]....

I tried calling .EndEdit's on my binding source - no change.Changes to the second table are not being saved.

View 7 Replies

How To Check If Successfully Connected In Ms Sql 2008 In Silverlight

May 17, 2012

i just want to ask about on how to check if i am successfully connected in ms sql 2008 in vb.net silverlight.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved