blah blah blah is here! blah blah » Close

1
votes
2 answers

loop through string, if not found read more, if not found read more, if found, stop?

i'm reading a rs232 port and i call the readexisting: [code]string x = port.ReadExisting(); string y; if(x.Contains("\r")) { do something; } else { y = x + port.ReadExisting(); } [/code] this doesn't keep ...

0
votes
0 answers

html to communicate with serial port? what language should i use? (no flash, silverlight or activex)

so i have a socket set up to communicate with a serial port. how do i set up a webpage that communicates to the socket, and updates the webpage with a return message from the serial port? i have a server set up that takes messages and c ...

0
votes
1 answers

search hashtable by value, not by key?

is there a way to search a hashtable by value, not by key in c#?

1
votes
1 answers

search hashtable by value, not by key?

is there a way to search a hashtable by value, not by key in c#?

0
votes
1 answers

find string in hashtable, if found, add +1 to number on end?

i have a hashtable of usernames as a key, when a user connects with the same name, i want to add a number to the end. so if "larry" joins, and another joins with the same name i want the new string to be "larry-01". if ...

0
votes
2 answers

how to convert int received socket into string?

how do you convert an int Socket.Received to a string? i get it received with the ascii number equivalents, but cannot convert those into a string

0
votes
1 answers

how do you get the client's machine name (not in asp.net) in tcp/ip?

i have a simple socket server program that i need to get the client's machine name that just connected. i know i could get it off the client, and then pass it to the server, but is there a way to have the socket get the name of the machine ...

2
votes
2 answers

commenting on an answer doesn't bump up question? now way to tell if comment is made from main forum?

how come when you comment on your post, it doesn't bump up your post? there are no other notifications that someone commented on your post. so if you post an "answer" in the post section, and it's not correct, then how can you t ...

0
votes
1 answers

accessing wpf Colors in a different thread?

i have a program that needs to change the color of a rectangle. but i'm using threads. here's what i have [code]mySolidColorBrush.Dispatcher.Invoke(DispatcherPriority.Send, new FillBoxColor(fillBoxColor), Colors.Green; delegate void ...

0
votes
2 answers

app.config problem

i'm throwing an "Object reference not set to an instance of an object." when i try to write to the appSettings part of app.config. here's my sample code: [code]Configuration config = ConfigurationManager.OpenExeConfigur ...

0
votes
1 answers

ipod/iphone retreive mp3 metadata in c# over usb or bluetooth?

is there a way to retreive the metadata, album art, track titles, folder contents, etc., over usb or bluetooth? is there another language you can retreive it in (c++, objective c)? anyone have any links available?

1
votes
1 answers

possible to open an .exe and then fill in textbox?

is it possible to open an exe and then fill in some textboxes? i want to open a program, like anydvd, and have it automatically rip a dvd. then, when it's finished, i want to open dvdshrink, fill in the location of the new file, then hav ...

3
votes
2 answers

this place needs a help page immediately

how does the voting system work? what does the blue star mean? how is a checkbox different than a vote? if a checkbox is the answer, then why is there a voting system? why do i have to keep logging in if i close my laptop for 5 minutes? ...

0
votes
3 answers

wpf compare button content to string

i'm looking to compare button content in wpf i have a button with "Start" written in it, i need it to change to "Stop" in code, so i tried this: [code] if (btnStart.Content.ToString() == "Start") { ...

0
votes
1 answers

ordering posts incorrect?

are the posts here by date? because some are 17 hours old, yet some are below it that are a few hours old, so what's the order of the posts here? thanks.

Feedback