blah blah blah is here! blah blah » Close

0
votes
1 answers

Storing an array in config file

Hello, I am familiar on how to store configuration variables in the app.config file using ConfigurationManager.AppSettings[], however, I would like to be able to store and array of IP addresses in the config file from which the user can ad ...

0
votes
1 answers

merging of xml documents

Hi, i have 2 xml documents that needs to merged. but while appending nodes of second document into first, i am not able to append root node of second xml document. and its giving problem during deserialization(root missing). following are 2 ...

0
votes
1 answers

can i have a dataset update a MySql table?

Hi, I have a dataset and I want to insert the rows from that into a MySql database. The column count is the same, and in the right order, but the field names are different. Is there an easy way to do this using the MySql .Net Connector or ...

0
votes
1 answers

C# rock, paper, scissors... need help

I dont know what I've done wrong... can anyone help? using System; class RPSGame { /// <summary> /// Keeps track of state of the Rock-Paper-Scissors game. /// </summary> string[] MoveNames = { "Rock&q ...

0
votes
1 answers

Store listview items into access database

I need to store listview items into access database and retrieve them. How can i do that please

0
votes
1 answers

Timing, Threading etc.

GlennP
344

Hi, A couple of questions in C# does Thread.Sleep() just pause the thread that’s running while leaving other threads running. What I’m thinking is I need to wait for a device that is slow to respond while I have been using timer with a st ...

0
votes
1 answers

argumentoutofrangeexception was unhandled

Hi everybody, I have a trouble with ArgumentOutOfRangeException. When I type a French word in a combo box then submit it to add new record to database, the combo box throw an exception: ArgumentOutOfRangeException was unhandled: InvalidA ...

0
votes
1 answers

Multiple fontstyles in richtextbox?

I am trying to let the fontstyle of a richtextbox be changed to bold with ctrl-b, underlined with ctrl-u, ect. and back by using the hotkey again. Right now changing the fontstyle from regular to bold works fine, but when I change it to bol ...

0
votes
1 answers

shhh... debugging.com goes live!

So debugging just went live, I would LOVE it for you guys to join in the launch. I am always looking for feedback, especially from you guys so don't hesitate to speak up! In case you are curious, it is built on ASP.NET MVC, Sql Server, J ...

0
votes
1 answers

help with glitch. Just a simple string comparison

I was debugging and I was working with this and it seems that it doesn't want to run the function funCheckForEntry(). I checked the value of strModule while I was debugging and it was "Todays Learner" if (strModule.Equals(" ...

0
votes
1 answers

DateTime exception when using Greek or Bulgarian Regional Settings

Hi, I have used a DateTimePicker control in my C# application, it will display the Date and Time based on the current Regional Settings. I have used the below code: Thread.CurrentThread.CurrentCulture.ClearCachedData(); DateTimePicker1. ...

0
votes
1 answers

issues with sql stored procedure

Hi i'm trying to retrieve the date of current day, but I only want the date, not the time. I'm trying to use this.... ALTER PROCEDURE [dbo].[P_sp_VideoLog2TimerUpdate] -- Add the parameters for the stored procedure here @ParkID int, ...

0
votes
1 answers

looking for examples of c# technical program documentation

I am new to c# and programing and am looking for examples of user and technical program documentation. Is there a site that might provide example(s)? My searches have not been successful especially not successful for examples of technical ...

0
votes
1 answers

Regular expression

Need regukar expression to remove "," and "." from a string in javascript

0
votes
1 answers

Rich text box line end

Hi everyone I have a rich text box on a form that contains a number of lines of text (part of an app console system). I’m looking for a way to fill each line (after my text) with tabs or spaces to the end of the text box's current line (fo ...

Feedback