blah blah blah is here! blah blah » Close

0
votes
1 answers

Egular Expression

"^([0-9]|[1-9][0-9]|100)(\\.00)?$", how can I fix this regular expression to only allow input 1.00 and 100.00(no inputs of 0.00 allowed). Thanks

0
votes
1 answers

Storing text in a label

GlennP
329

Hi, This is going back a while I can't remember the details of it but in VB6 there was a way of making a label so once it had text in it you could make it read only (you couldn't over write it). I am sure of it. What I need to do is take ...

0
votes
1 answers

C# Programming

Hi guys I am new to serial port programming in C#, and I am finding it very difficult. I will be very much thankful in getting any kind of help from u guys. So my problem is: I am not able to find out the way how to detect whether the unit ...

0
votes
1 answers

Dynamic Window Form

Hi friends, I am working in an window application in c#.net. In my application i want to create a window form at runtime and save to my root directory with other window forms. I can be able to generate window form but i cant save this for ...

0
votes
1 answers

Writing plugins and their interface

I'm writing an application that will support plugins. To enable this, I'm using a common interface, that sets up all calls into the plugin that the host app may need to make. I've also setup delegates and callbacks so the plugin can callbac ...

0
votes
1 answers

create array and button change color, you help me

Hi, You help me this game using windows forms This game is a single-player game. it consists of a form with 25 buttons, as shown in the following: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 th ...

0
votes
1 answers

Question about unmanaged C++ dll in C# performance

I am currently invoking an unmanaged c++ dll using DllImport in my code. The dll is a wrapper for some static libs. When I call a certain FileIO-intensive function in my C# code, it executes about 25% as fast as it would if called in C++. ...

0
votes
1 answers

How to close form?

Hello ppl. I am a absolute beginner in C#, and now i'm trying to learn the basics. How do I close the form in my app? I have two buttons: One that will open a message box which says; Hello World. The other button; I want it to close th ...

0
votes
1 answers

How do I get the navigation bar back?

Yikes, I'm actually using on vb on this, but assume both c# and vb have navigation bars in relation to data sources. Is there a way to bring it back?

0
votes
1 answers

Message pop up function

Hi Guys, I want to pop up a message box when i close my solution asking if i want to save my work, with the option to click yes or no. The below doesn't work, but what would be a better way of replacing it? DialogResult yourAnswer = Mes ...

0
votes
1 answers

Invoke C dll functions and structs in C#

Below is the header file.can anyone please give a idea to call the callback function below. //Function Prototype int PASCAL EXPORT RegisterCallbackFunctions (TCallbacks CallbackFuncs); //Data Structure struct TCallbacks { LPONUSSDREQU ...

0
votes
1 answers

Copying of data

How do I do copying of data from one table to another table based on the values selected from a dropdownlist in Visual Studio 2005? Thanks.

0
votes
1 answers

Regarding Customerror tag in web.config

hi this is stalin,most of the times iam getting the error in myproject in web.config,error is <customErrors mode="Off"> or <customErrors mode="RemoteOnly" defaultRedirect="ccc.aspx"/> my qu ...

0
votes
1 answers

need help passing arrays to functions

I have this code that I am writing for school. I am getting an error that the GetUserData method, when called, says "not all code paths return a value." What I'm trying to do is use that method to get values into different 'slots ...

0
votes
1 answers

NotifyIcon app without a window?

Hey! i'm new :) how can I create a C# application that has NotifyIcon on Win system notification area, but does not have a window of its own? e.g. I only want my app to be a icon in the notification area I can do the icon and all, but I ...

Feedback