C#/ASP.NET REGEX VALIDATION
Hi,I need help asap. hope someone can help me.Im using this regex "^((0?[1-9]|1[012])(:[0-5]\d){0,2}(\ [AP][M]))$" to validate the time im entering the textbox.it should accept format like: 12:00 AM,...
View ArticleVisual Basic Key Down event only working once?
Hi,For some reason or another the Key press event doesn't seem to be working properly and I can figure out why. (probably because I only started using VB today). Private Sub...
View Articlecalculator progam in c#
WHEN I ENTER ANY 2 DIGIT NUMBER , I GET RESULT WITH THE NUMBERS I HAVE INSERT.PLZ HELP!!! using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using...
View ArticleAn exception...
Message = "An exception 'Microsoft.VisualStudio.Debugger.Runtime.CrossThreadMessagingException' occurred"I am getting this error message when I try to access a text value from a form that is on the...
View ArticleTransparency and opacity
As the opacity changes the background color is also changed and no longer matches the TransparencyKey which results in the form. Anyone knows how can I fix this? Is there a way to calculate the...
View ArticleMy Genius Scanner is not identifying by windows 8 or windows 8.1 preview
My Scanner is not identifying by identifying by windows 8 or windows 8.1 preview.Actually the driver is designed for Windows XP and could install in Windows 7 through programme compatibility mode.The...
View ArticleHow can I get past the Weclome logon screen when the keyboard layout is in a...
I have a DELL Insprion 2400 with Windows XP Office Edition. I messed around and changed my keyboard layout to Japanese in a attempt to make the Japanese chaters to show up. I restarted the computer....
View ArticleVisual Basic hotkeys in full screen applications/games
Hi,I'm making this program in VB that starts timers which are linked to different hotkeys (F5,F6,F7, and F8). I used GetAsyncKeyState (see below) in order for the hotkeys to work even when the window...
View ArticleI can not deploy my application.
I am using VS2010. Now i create a simple application. When i try to deploy i can't find the deploy option in my VS2010.I follow this steps:1) Right-click the Solution item in the Solution Explorer....
View Articleexe. is not a valid Win32 application
Hi,I have done a application in visual studio 2012windows forms application (in C++). It runs very well in my PC (windows 7), but when i try to run it in windows XP, it says "is not a valid Win32...
View ArticleHow can I do virtual mouse click?
Hi all,I have to do a virtual click on any position on window(I mean click by not use a mouse ). How can I do that in C#?Thank a lot.
View ArticleList sortable with mouse
Hi, I'm creating a Winforms application and need some advice on a control. I want to browse a folder containing a number of files, these should be loaded into some sort of list on the form and the...
View ArticleImport unicode value from .csv file
Hi,I have a problem while importing value from .csv to dataset.if the value is normal text it will work fine unfortunatly if it is unicode value in the .csv file it doesn't import the value.The c# code...
View Articlehow to install my WebService on Windows-2000
hii made WebService using C# on Visual-Studio 2008i force hem for FrameWork 2.0but when i try to install this WebService on Windows-2000 i got this message:"This setup requires the .NET Framework...
View ArticleText not showing in label buttons when clicking on a button
I am having trouble with a project I am working on that involves clicking on a button, and text is supposed to show up in a label box I created. I know this would be easier using a text box to show the...
View ArticleDisplaying eventinfo values?
It's easy to obtain the values for the properties and fields or invoke methods but it has been difficult for me to get the delegate from an EventInfo.I have tried following the instructions from this...
View ArticleVisual Studio Database question
Hey allI've been on here before and I've gotten answers, but they didn't drive things home for me. I'm still confused. What I'd like to do is start over from scratch and work my way forward. I believe...
View ArticleHow do I derive the character from the System.Windows.Forms.Keys enumeration...
I am creating a simple virtual keyboard. I have a class of all the keys I want in the keyboard. I want to display the correct text for each key by using the System.Windows.Keys enumeration. I...
View ArticleHow to Create Custom control ? How to override those events ?
Hi, I have requirement which is similar to below example Example : I need to create a control which has a textbox and button ... Onclick of the button i have to show some default text in textbox.. for...
View Articleunselect or unhighlight a first row in dataGridView with ReadOnly property...
Hi all,I try to display all records in dataGridView named dgv when the form loading without highlight a first row as one of following codes but they are not working: if (dgv.Rows.Count >...
View Article