|
Hi,
On my form I have a Business EMail address field. I have a requirement where in the field should not allow any characters which are not valid in the EMail field of the Active Directory (AD).
Is any body aware of the email address regular expression which restricts user to enter any characters which are invalid in the email field of the AD?
Regards,
Vipul Mehta
|
|
|
|
|
A simple Google search [^]would have helped you
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
I need to refresh the hardware device list in the Device Manager instead of doing manual rescan for the hardware changes by right clicking on any of the device and selecting the option for "Scan for hardware changes".
i need to do it using C# code.is there any way to invoke the setupapi.dll to perform the rescanning of all the hardware device in the Device manager list,
I need this because Non-PNP device will not be automatically detected by windows.
thanks and regards
vinayskvs
|
|
|
|
|
|
Thanks for this. It alerted me to the fact that SyncToy 2 has been out for almost a month.
Kevin
|
|
|
|
|
Hi buddies,
My gridview has some data which i want to spool in excel. For that i wrote a code in a button click event like this
protected void imbtnexcel_Click()
{
Response.ContentType = "application/vnd.ms-Excel";
Response.AddHeader("Content-Disposition", "inline;filename=ExcelRPT.xls");
}
im using VS2008.whereas this is working in VS2005
Here the event is getting fired but excel file is not opening.How to acheive this?
T.Balaji
|
|
|
|
|
Hello...
I have a service that basically handles threading. Each generated thread calls a WorkerClass in the Service project that in turn calls a new BaseClass project (dll) to do work. I have a boolean that I set in the WorkerClass which in turn updates the same boolean in the BaseClass project. The boolean simply indicates if the service is running or not running. My threads can take a while to complete (doing file reading, splitting, database reading, inserting, updating...etc...). When the OnStop function is called I want to update the thread in the BaseClass object to set the boolean (bServiceStoped) to true and immediately exit the BaseClass and end the thread. Does anyone know of a way to do this?
thanks...
|
|
|
|
|
|
This column would open a dialogbox when clicked
|
|
|
|
|
|
You can try adding image column from Columns->(Collection Properties)
and on the event of the datagrid click if the clicked column is the image column then you can can call a dialouge box to display.
|
|
|
|
|
What .NET reporting frameworks have you used and liked?
Most people do not like reports but we all know the business world needs them.
I have used ActiveReports for a little while now and noticed a steady decline in their release schedule.
Any suggestions?
|
|
|
|
|
|
SQL Server Reporting Services.
|
|
|
|
|
I'm responsible for a project involving development of a client-server application which requires two types of messaging between the client and the server:
1. Reliable message delivery to and from the server
2. Low latency, high volume data feed from the server to clients
With #1, I have found that MSMQ works pretty well for our needs within our network. However, I'm concerned that MSMQ doesn't work well over an untrusted network and therefore I am thinking of switching to using .NET remoting, as I believe that it is possible to encrypt the traffic and operate over untrusted networks such as the Internet.
#2 poses a much bigger problem. My experiments with .NET remoting have shown me that the application gets saturated very quickly. Using remote events and delegates, the client app simply can't keep up with the server and performance suffers to the point of being unusable. I'm a bit out of my depth on multithreading but I've seen MFC apps using sockets that don't need complex threading models to accomplish this so I'm not sure that multithreading is required here.
My questions are:
- For #1, I'd appreciate advice as to whether this sounds like a good idea and any pointers to how to encrypt the traffic.
- For #2, is there any example code that anyone can point me at which uses the .NET framework to get the performance I need, or ideas to help resolve this performance problem?
Any assistance and of course example code is welcomed!
|
|
|
|
|
You could take a look at either WCF, RabbitMQ, or NServiceBus, whatever is more appropriate for your scenario.
If you already have a working solution using MSMQ, then just make a secure tunnel - problem solved.
|
|
|
|
|
Hi-
I think this is pretty basic, but I'm not a coder...
I am using Visual Studio 2008 to create a web interface for an Access database. I can view, sort, edit my data in GridView but want to be able to have an expand/collapse feature. Not for a parent - child greidview. I just want to be able to see 5 records at a time and then when I click on the expand button be able to see all the records. Then when i hit collapse, I go back to only seeing 5 rows.
ANY advice is greatly appreciated.
Thanks
|
|
|
|
|
I believe you would get better suggestions/answers from Web Development[^] or ASP.NET[^] forum, depending on the technology you use.
Mika
|
|
|
|
|
I am new to Linux platform, i want to know that,
From where i can get Dot Net Framework for Linux platform ? and how i can run my dot net programs on to the Linux platform ?
please guide me.
|
|
|
|
|
|
Mono's not 100% complete, though.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
It's not feature complete, but it's the best bet for him at the moment.
|
|
|
|
|
Just now looking at the current roadmap, and it looks more complete than the last time I checked it out ( been a handful of years ago )...
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
It will probably lack some core functions, like object.Equals()
Last time I had to report that double.TryParse throws an exception. Somehow they couldnt understand that it should never throw an exception... thankfully that has been fixed.
|
|
|
|
|
I just fiddled around with it through an .iso file mounted on VMWare server. Didn't really go into depth, but I will when time permits
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|