blah blah blah is here! blah blah » Close

0
votes
0 answers

Simple Regex not working as expected

I am simply trying to find all instances of a word in a richtextbox.text with the following [code] private void FindAllReferences(RichTextBox rtb, string sText) { MatchCollection mcReferences; mc ...

0
votes
0 answers

Recursively retrieving lists of objects

I have a tree that I am going through and am trying to recursively retrieve lists of objects and add them to a "master" list so to speak. Here's the line where I ask for the lists: [code]List<MyItem> items = GetRetractable ...

0
votes
0 answers

c# rotating image around his center

hello the title says everything, i want to rotate an image but it dont rotate around his center it rotates in a circle around the form. for(int i=0;i<500;i++) { Image m=Image.FromFile("C:/p1.png"); using(Gr ...

1
votes
10 answers

Playing with .xml & C#

If I use this code to create a new xml file: [code] new XDocument( new XElement("user", new XElement("name", textBox1.Text), new XElement("age", textBox2.Text), new XElement(&q ...

0
votes
1 answers

Can we use Serial Port in ASP.NET Webforms?

in Winforms, this is easily done: using System.IO.Ports; SerialPort myComPort = new SerialPort("COM1", 115200, Parity.None, 8, StopBits.One); if (myComPort.IsOpen == false) { ...

0
votes
1 answers

How to declare and access two dimensional ArrayList

I am working on datagide for that i requre two dimensional ArrayList to keep records for various purpose so please help me

0
votes
0 answers

How to configure my file web.config?

Hi, My problem is the same of grahowher. I have a problem when synchronizing web publication. I begin by giving you an insight into my soft installed: -sql-server 2005 -windows 7even so IIS7 I created a publication MaPublication.I mad ...

0
votes
2 answers

Why is my Windows Service dying?

foamy
1252

Hi all, I have an issue with a Windows Service I wrote. This issue only comes up on one particular client's server and roughly once a day. The service is installed on about 40 servers, but this is the only place it happens :-S The iss ...

0
votes
1 answers

downloading an exe file from webserver

hi, i am placing some exe files in webserver. and i am developing a windows application.. so i want to download that exe files into my system from the webserver....... how can i approach any idea...........

0
votes
0 answers

Activating/Showing/Hiding Window Forms

I am sorry to ask such a seemingly abcd question but I have been trying in vain to hide/show forms. Also my main menu is made up of two forms, a main menu form is a central window, devoid of title bar, minimize, maximize and is mostly comm ...

0
votes
0 answers

downloading an exe file from webserver

hi, i am placing some exe files in webserver. and i am developing a windows application.. so i want to download that exe files into my system from the webserver....... how can i approach any idea...........

0
votes
0 answers

downloading exe file from the server

hi, i am developing a new windows application. In that i want to download an exe file from the folder which can be placed on the server. i try to download the file from the server but it shows an error as "remote server error - 40 ...

0
votes
1 answers

Faster database INSERTs???

I'm working on some code in C# that will run a query against a remote Sybase database and then insert those records into a local Access database. It works just fine, the problem is that it is SLOW!...it takes 15 seconds to insert 150 recor ...

1
votes
1 answers

Controlling and Delimiting Inputs

Hi, I am looking for ways in console to control user input according to the following examples: a. a form where the user is requested to enter a name and I want the user from entering any numeric and to block the input as soon as a ...

0
votes
0 answers

database like forms in Console

Hi, Are there any quick way(s) to create a database form in Console? That is I have marks 1 to marks 20 to be filled with digits of the range 0 to 100. I want the user to be able to use direction keys to move from one form to another an ...

Feedback