|
Hi,
I am using MMC 3.0 to generate snap in. I want to know how can I add menu items to the menu that is generated with a right click on the ScopeNode.
Any help will be highly appreciated.
|
|
|
|
|
Hi,
Is it possible to create a pdf document from crystal report from a windows console application( my intention is not to display the report in the application since its a console stuff but to generate and save as pdf file).
Thanks and Rgds,
PL.Seenivasan
Long Live
|
|
|
|
|
yes you can use ExportToDisk option in the console application
Regards
Shajeel
|
|
|
|
|
Hi,
I finally had done that.
Thanks a lot.
Rgds,
PLS
Long Live
|
|
|
|
|
Hi,
a few days ago I posted about my problem about applying different WPF-Styles at runtime from c#, see
http://www.codeproject.com/script/Forums/View.aspx?fid=1649&msg=2390066[^]
As I did not get an answer, I have written a sample application, which demonstrates the problem:
Download here[^]
In this example with each pressed key the Window-background should toggle between red and green, as each time the corresponding other style is applied to the Window, affecting the self-made Dependency-Property. But you can see, that only once one color is applied, depending on the default toggle setting.
I am still very thankful for any hint!
Best regards
Alex
|
|
|
|
|
|
Sir,please help me
1)how to track the files and size of the file which is present over the network(intranet).if any one transfer files from one system to another System,i want to find out the size of the file in LAN
2)Also i want to know about how to poll and node(System)connected in the network.how many systems are on-line and how many system are off-line in LAN
if you have an answer kindly please mail me
My Mail id is < nichdomni@rediff.com >
with Regards
Nicholas.R
|
|
|
|
|
hi
iam having a field(text box) in the form,which is to accept some decimal values as input.i have declared this field as float type in the database.can anyone tell me the regular expression for this field.also suggest some links for regular expression tutorials.
pintoo
|
|
|
|
|
|
it is not working out..giving some error like unrecognised escape sequences.
pintoo
|
|
|
|
|
You need to escape the characters like \. Try changing this to \\ or put @ symbol before starting string.
|
|
|
|
|
\d\[\s].?\d[[\s]
for getting folating point value
with regards
nicholas.R
<nichdomni@rediff.com>
|
|
|
|
|
Nicholas.R wrote: \d\[\s].?\d[[\s]
This is wrong.
|
|
|
|
|
Well, how about using Double.TryParse[^]?
string str = floatTextBox.Text;
double val;
if (Double.TryParse(str, out val))
{
}
else
{
}
|
|
|
|
|
I would use the Double.TryParse method, as suggested. If you really must use a Regex:
^[+-]?\d+\.?\d*$
-----
You seem eager to impose your preference of preventing others from imposing their preferences on others. -- Red Stateler, Master of Circular Reasoning and other fallacies
If atheism is a religion, then not collecting stamps is a hobby. -- Unknown
God is the only being who, to rule, does not need to exist. -- Charles Baudelaire
|
|
|
|
|
How to copy all files from one folder to another at a time in C#.net
|
|
|
|
|
use
System.IO
FileInfo Class , and File.Copy() method .
Hope this hits will help you
|
|
|
|
|
file.copy only copies one file but i want to copy all files in a folder to another folder at a time
|
|
|
|
|
Hi,
this is also easy to do:
foreach(string file in System.IO.Directory.GetFiles(path))
{
File.Copy(....);
}
|
|
|
|
|
You have got the answer
|
|
|
|
|
Hi,
I got the answer . Thank u
I Modified the code a little :
DirectoryInfo df = new DirectoryInfo(@"C:\Inetpub\wwwroot\Sample\images");
foreach(FileInfo f in df.GetFiles())
{
string p = f.FullName.Replace("images", "New Folder");
File.Create(p);
}
|
|
|
|
|
ysunil_74 wrote: string p = f.FullName.Replace("images", "New Folder");
File.Create(p);
That just creates an empty file in a different location and will also cause interesting side effects if the filename has the string "images" in it.
|
|
|
|
|
ysunil_74 wrote: but i want to copy all files in a folder
What prevents you from iterating through the list of files returned through .GetFiles() ?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
What's the best way to update/Refresh PropertyGrid control on Form1.cs when differnt kinds of obejects are create through a middleTier class. I mean right now I declared like this
public static PropertyGridControl pg = new PropertyGridControl
I am updating through global or static reference in my classes when objects properites are changed or created. I don't want to use this global referench as there any better or elegant way. Can some plz demonstrat in a few examples or any helpful links
thanks
|
|
|
|
|
I appreciate your post but it didn't answer my question yet.
I'll be more specific, I'll tell you exactly what I've already done and what else needs to be done.
(if it's necessary: I use VS 2008)
I created a solution named "Shehakim".
in this solution I added two projects:Windows application named "Shehakim" and ASP.NET Web Service Application named "AppSevices".
in the AppServices project I configured roles and users etc. at VS Menu>Projects>ASP.NET Configuration.
then in Project Properties>Web>Servers>UseVS...>I chose the deployment destination of the service to port 55438 and Virtual path /AppServices.
then,
in the "Shehakim" project properties>Services I chose "Use Forms Authentication" and I supplied this address in the fields: http://127.0.0.1:55438/AppServices.
now,
what I want to do is to create a login form (A windows based form) in the AppServices project so I can call this form from many applications, and causing the "Shehakim" project react correspondingly to the users authorization in the AppService.
thank you so much for your time!
Shimi
modified on Wednesday, January 16, 2008 3:01:36 AM
|
|
|
|