|
hey hey thanks every body I did not mean no fight eh,
all the help you guys gave me has all worked, well done.
Now ready to submit my homework tomorrow morning.....first thing!!!!
Next time I will be safe...peace out
|
|
|
|
|
Dear All,
I am looking for a method where I can capture windows services messages and show them in Windows Form as Sql Server Synchronization Agent does.
I am logging windows services messsages in my own Event Log.
Any Idea how should I capture all those outputs.Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
Message Closed
modified 23-Nov-14 7:10am.
|
|
|
|
|
thanks for the reply, but do you think SQL Server Synchronization Agent uses the same mechanism.
If you exactly see, SQL SERVER Agent is a Services which messages can be captured by Replication Properties which is a Win Form.Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
Hi,
What is the code to make a 10 by 10 matrix with random doubles in each element in the matrix? I would want to display the matrix as a messagebox in a windows form. No experience in C#
|
|
|
|
|
You were given the answer to this question here[^].
Iman Mohtashemi wrote: No experience in C#
Then you really need to study the basics and work on some samples before asking more of the same questions. Take a look at .NET Book Zero[^], an excellent free tutorial on C#.txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
in VS 3.5 version WPF & Silverlight has been introduce. still i am working with VS 2.0 version. so just i want know.
1) Silverlight is for windows application or for web application.
2) WPF is for windows application or for web application.
please answer.
thankstbhattacharjee
|
|
|
|
|
Even the most cursory google search would have turned up the answer for you. If you want to be a developer then you have to learn to think for yourself and be able to find out details without expecting others to spoonfeed you.
1. Web. 2. Windows."WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
May I borrow your spoon, please? txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
No, but I do have an extremely large hammer you can use."WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
There was no VS 3.5; there was VS 97 then VS 6.0.
|
|
|
|
|
i need a help about no-wait flowshop gantt algorithms, if anybody can help, send source and program abdullahguclu@yahoo.com. thanks a lot
|
|
|
|
|
Couple of things:
1) Don't post your email in any forum, unless you really like spam.
2) Isn't it rather rude to just demand source and program? Why should we do all the work for you?
3) Try Google. "no-wait flowshop gantt algorithms" gives quite a few hits on algorithms. Have a look!You should never use standby on an elephant. It always crashes when you lift the ears. - Mark Wallace
C/C++ (I dont see a huge difference between them, and the 'benefits' of C++ are questionable, who needs inheritance when you have copy and paste) - fat_boy
|
|
|
|
|
Nobody provides complete samples for you in the forums; that's not what they are there for. The forums are to provide specific help to problems you have. If you need source code, the articles section of Code Project is a good place to start; if you can't find a relevant article, search Google; if you still can't find what you want, consider something like rentacoder."WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Hi,
I want to convert the below string to DateTime object . I am unable to do this using Convert.ToDateTime()
Wed Feb 24 04:56:30 2010
Please suggest. Please provide regular expression if required.
Thanks,
|
|
|
|
|
If it is always going to be in that format, then you could use String.Split to break it on the spaces, and then re-assemble for conversion, or use Convert.ToInt repeatedly in a DateTime constructor. You should never use standby on an elephant. It always crashes when you lift the ears. - Mark Wallace
C/C++ (I dont see a huge difference between them, and the 'benefits' of C++ are questionable, who needs inheritance when you have copy and paste) - fat_boy
|
|
|
|
|
|
|
The Convert class is rarely the best way to do anything; avoid it.
|
|
|
|
|
Hey all together I've got a question I'm using Visual Studio 2010 RC c# developing an Visio Com Add In
I want to add a Simple Button to the CommandBar "Drawing Object Selected"
so I go for
Office.CommandBar commandBar = appVisio.CommandBars("Drawing Object Selected");
which is working fine I tested it with the "...Enabled = False" and the Contextmenu does not appear so this is the right commandBar
now I write the following source. I think the Problem is the ....Add() Method
Office.CommandBarButton commandBarButton = (Office.CommandBarButton)commandBar.Controls.Add(1);
commandBarButton.Caption = "MYButton";
commandBarButton.Tag = "MYButton";
commandBarButton.Enabled = true;
commandBarButton.Visible = true;
commandBarButton.Style = Office.MsoButtonStyle.msoButtonCaption;
commandBarButton.Click += new Office._CommandBarButtonEvents_ClickEventHandler(ButtonClick);
The Button does just not Appear
I hope anybody knows what I do Wrong? Ore is it a Bug?
The wired thing is
In Visual Basic the Code:
CType(commandBar.Controls.Add(1), Office.ComandBarButton) works fine and as far as I know is that the same as
(Office.CommandBarButton)commandBar.Controls.Add(1); in C#
Regards Spixel
Sorry for my not very clever english
|
|
|
|
|
Hi,
How to get country list with country name and two-letter country code like US for United States, FR for France etc. The code needs to get all country names on that system.
I need to retrieve it for a multi lingual software which will get the country list from the OS using C#.
Any help would be appreciated.
Regards,
|
|
|
|
|
See here[^].Me, I'm dishonest. And a dishonest man you can always trust to be dishonest. Honestly. It's the honest ones you want to watch out for...
|
|
|
|
|
|
Hi,
Thanx Abhinav for reply. I tried the CultureInfo class from the link u provided but it doesnt satisfy my requirement.
What I need is a list like
Name CountryCode
AFGHANISTAN AF
ÅLAND ISLANDS AX
ALBANIA AL
Also When I run the code using CultureInfo class
foreach (CultureInfo ci in CultureInfo.GetCultures(CultureTypes.SpecificCultures))
{
Console.WriteLine("DisplayName: {0} \nName: {1} \nEnglishName: {2}", ci.DisplayName, ci.Name, ci.EnglishName);
Console.WriteLine("2-letter code: {0}", ci.TwoLetterISOLanguageName);
}
I get the 3rd entry
DisplayName: Catalan
Name: ca
EnglishName: Catalan
2-letter code: ca
It is showing ca as its country code, while we know that CA is the country code for CANADA. I think this only shows the culture info not the country list with country codes.
My problem is that these country names are different in non-english Windows so I have to get these names from the system instead of hard coding them.
I hope more replies to it.
Best regards,
|
|
|
|
|
Hi,
A list of country names with 3 digit code would also satisfy my need.
This list can also work in my case
Name CountryCode
AFGHANISTAN 004
ALBANIA 008
ALGERIA 012
Regards,
|
|
|
|
|
Try this[^]. txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|