|
Am checking on server the type of string inside a text box if it was only character i allow it to save on the database. I use JS but i have to check on server in case the user has disabled the JS.
|
|
|
|
|
Use Regular expression like
bool b=Regex.IsMatch(TextBox1.Text, "^[a-zA-Z]{1,}$");
himanshu
|
|
|
|
|
I Will try it but am also searching for a regular expression tha would allow alphabatical charachters only and Arabic Charachters.
|
|
|
|
|
Try this link for RegularExpression(use search option for string and Arabic words)
Regular Expression[^]
|
|
|
|
|
I still was not able to know what is the regular expression that allows alphabatical characters and arabic letters
|
|
|
|
|
i have a hardware....i am receiving data in to the server and from there i need to display the graphs......
My question .....what the best approach i must use so the application to display the graphs online using WWW.....
i need the concept and materials and samples if any body already did it.....
Kindly note i dont want the logic how to draw the graphs.....i need the best way to do in what technology.....
|
|
|
|
|
Hi
If you want to present the graphs online (and this is a .net forum) I would say use ASP.NET. You could preprocess the incoming data, so that not every request triggers the redraw of your graph.
Regards
Sebastian
|
|
|
|
|
Can anyone Explain me how we can change the Place Bar in Open File Dialog using Hooking (Win32 API).
I know we can change it using registry, But i need to do using Hooking.
Thanks & Regards
Satish
|
|
|
|
|
Greetings,
how can I convert Key to ASCII. To point is that I would like to have to same result as using ToAsciiEX in Winapi (user32.dll).
For instance: I would like to check whether Key.LeftShift has an equivalent in ASCII table - as we can see from the link: http://www.bbdsoft.com/ascii.html[^] there is no equivalent in the ASCII table so the ToAsciiEx function will return 0.
For instance: CTRL+B has it's equivalent in ASCII table equals 2
I would like to know whether SHIFT+A has equivalent in ASCII table.
Generally i would like to check whether pressed keys (for instance: simple A, 0,4 or CTRL+B) have equivalent in ASCII table
modified on Friday, July 3, 2009 4:46 AM
|
|
|
|
|
Do you mean something like this :
char c = (char) Keys.ShiftKey;
|
|
|
|
|
Hi,
I am trying to create a installer project using VS2005 and i am getting the following errors:
Error 19 No 'PublicKey' or 'Hash' attribute specified for file 'dotnetfx\dotnetchk.exe' in item '.NET Framework 2.0'. D:\Common ATE\MIO\Dotnet driver\InstallerProject\IADniMio_Installer\IADniMio_Installer\IADniMio_Installer.vdproj IADniMio_Installer
Error 20 Could not find required file 'C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\Packages\dotnetfx\dotnetchk.exe' for item '.NET Framework 2.0'. D:\Common ATE\MIO\Dotnet driver\InstallerProject\IADniMio_Installer\IADniMio_Installer\IADniMio_Installer.vdproj IADniMio_Installer
Can anyone help me with it?
Regards,
Priya.
|
|
|
|
|
Hi,
first of all I would check if the file 'C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\Packages\dotnetfx\dotnetchk.exe' is present on your system. If not reinstall Visual Studio or remove the bootstrapper from your installer. Maybe this fixes the first issue to.
Regards
Sebastian
|
|
|
|
|
I guess the installation of .NET Framework 2.0 is Existing Problems,and Missing File also.
Study Hard!
|
|
|
|
|
I suggest you find the required file from successful installer project.
Study Hard!
|
|
|
|
|
Hello,
I want to get Hardware Configuration & Software Details of system through Domain. actually i got all computer name of Domain using DirectoryEntry. then i want to get Ip Address of all computer and as well as Hardware Configuration & Software Details by using computer name.
Thanks & Regards
Raushan
|
|
|
|
|
For local machine, these details can be obtained through Win32 classes[^]. Don't know if you would be allowed to fire the queries on other machines in the network.
|
|
|
|
|
Thanks for reply..
u r right, but when i get all computer name of domain then i have passed Username & Password. then i would like to fetch hardware configuration by using domain username & password.
|
|
|
|
|
I have to get CPU weightage and RAM weightage and Disk IO weightage for Load Balancing in TFS2008 for Build,Deploy and Test Progress. I foungd the Below Formula to find that.
Host Rating = (Free CPU * CPU Weight) + (Free Memory * Memory Weight) + (Free Disk * Disk Weight) + (Free Network * Network Weight)
But I dont know about the CPU Weight,Memory Weight,Disk Weight and Network Weight.
How can I get the all details .
If any c# code is there to find that......
|
|
|
|
|
Point[] pts = new Point[]
{
new Point(100, 300),
new Point(200, 200),
new Point(300, 100),
new Point(400, 300),
new Point(500, 100),
new Point(600, 300),
new Point(700, 500),
new Point(800, 200),
new Point(900, 300),
};
GDI.Graphics.DrawCurve(Pens.Red, pts, 0.5f);
Hello i am drawing a curve using the Graphics.DrawCurve method but i cant seem to find a way of changing the Thickness/Width of the line that draws the curve . Is there an alternative function for changing the curve Thickness/Width ?
|
|
|
|
|
Hi,
how would you do it with paper and pen?
Just take a thicker pen, look at the various constructors.
And don't forget to look at some of the Pen properties, which may become relevant when you choose a wider pen.
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
We don't all have wide pens.
|
|
|
|
|
If you don't have a wide pen, use a regular pen and do a convincing Parkinson act.
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
We do have. Check these:
Pen oPen = new Pen(Brushes.Black, 2);
Pen oPen = new Pen(Color.Black, 2);
|
|
|
|
|
If it were that easy I wouldn't get so much spam.
|
|
|
|