December 15th, 2011, 04:34 AM
Simplest option:
Set up your settings file like this
value0
value1
value2
use the following code to parse the strings
December 15th, 2011, 03:54 AM
I'm not sure what you are trying to say. Are you working with the .NET framework? Try using
this.ShowInTaskbar = false;
December 15th, 2011, 03:19 AM
I moved some code around, created buttons for starting the server and and listening for connections, and it works now. Can someone explain why? lol. thanks in advance. New source:
using System;...
December 15th, 2011, 02:23 AM
I'll keep it short and simple. Take a look at my source.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using...
December 12th, 2011, 08:07 PM
Basically, my program does not install, as it is dire that there are no external dependencies, so there is no way to install frameworks if the consumer does not have .NET 4.x. I only have experience...
December 8th, 2011, 04:44 PM
I'm writing an application that does certain actions based off of what my iPhone (using WiFi on the same network) is sending data to. I've got the packet-sniffing part down (I can sniff my own...
December 4th, 2011, 03:00 AM
The texbox does not display "Connecting..." until after the connection has timed out/connected.
public void Connect(string hostname) {
textBox3.Text += "Connecting..." + n;
...
December 3rd, 2011, 08:00 PM
Oh, thanks. i was confused as to what a data member was. I get what you mean now. And Connect() is called with Form1_Load so it will be fine.
EDIT: it works thankyou so much
December 3rd, 2011, 07:16 PM
I don't know if you can answer this but would that work? I believe the connection has to be made in order to use "serverStream = cSoc.getStream". Is that wrong? I could try connecting as a data class...
December 3rd, 2011, 06:56 PM
in my Connect() function i declare
NetworkStream serverStream; but down in the "button5_Click" event, when i try to use "serverStream" i get the error "The name 'serverStream' does not exist in the...