|
you mean red color for example
EASY COME EASY GO
|
|
|
|
|
No, ColorDialog box have a option of Custom Color. In these boxes we can add our selected color.It may be red or according to R,G,B.
If you can think then I Can.
|
|
|
|
|
If it has the option, then what is your problem? Just turn the option on!
Or is there more to your query?
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
|
|
|
|
|
No Dear this option is only in GUI. my question is that is any option by using programmingly i can add custom color in Colordialog box.
If you can think then I Can.
|
|
|
|
|
Have you tried this?
ColorDialog cd = new ColorDialog();
cd.CustomColors = new int[] {1, 2000, 20000, 255, 255 * 0x100, 255 * 0x10000};
cd.ShowDialog();
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
|
|
|
|
|
Thank you
Exactly i want it
If you can think then I Can.
|
|
|
|
|
To create a custom color,
1. In the More Colors dialog box, click Custom... .
The Color dialog box is displayed.
2 Try one of the following:
a. Use the color matrix and the saturation gradient to create a color by clicking inside the matrix. Then use the saturation gradient pointer to select a saturation level.
b. Enter the HSL or RGB values for the custom color.
The custom color is displayed in the Color/Solid box.
3. If you want to create more colors, click Add to Custom Colors to add the color to the Custom colors palette. You can then repeat step 2 to create other colors.
4. Click OK to assign the color to the page element that you have selected on the page.
|
|
|
|
|
i have a software for remote desktop using c#, but i wanna combine using sharing desktop in my software, how to built sharing desktop using c#?
|
|
|
|
|
if you have the code of the program what is you problem
EASY COME EASY GO
|
|
|
|
|
hi,i have dynamically bind my table to a combobox.during runtime when i am typing any name in combox field it is unable to search.i have to select from drop down list.if combobox contain 2-3records easy if it contains more than 100 then how can i filter a particular name.plz give some idea.
|
|
|
|
|
Hello Sudhir,
By default it is not available. You can use that feature by using a Text box and a list box. and Create your own combo box. and listbox have the fality to short and select index .
If you can think then I Can.
|
|
|
|
|
set the AutoCompleteMode property to SuggestAppend, of combobox.
when you type a letter in combobox it will give you a list of items presents with that letter.
|
|
|
|
|
I am using onlyconnect htmleditor
i need to insert images in it using drag n drop
Can anybody suggest me how 2 do that
|
|
|
|
|
So you are looking for help for what looks like spanish opensource html editor. In an english centric C# forum. Good luck with that.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hello
there's a wonderfull article showing you how
A Simple Drag And Drop How To Example
http://www.codeproject.com/KB/cs/dandtutorial.aspx
--------------------------
I really like to be YOU instead of I.
------------------------
Ahmad Mahmoud
|
|
|
|
|
Hi all,
I want list of child processes from current process!
Or a parent process of particular process!
Or the parameters/argument of particular process (I am getting empty string in StartInfo.Arguments of process object, I dont know why! (its wpf application)) And I even getting the MainWindowTitle empty string of wpf application process! (even though I have set the System.Windows.Application.Current.MainWindow.Title = "ticker"; in the constructor of startup window!)
Help me out!
Thanks a lot in advance!
Chears!
Divyesh Chapaneri
|
|
|
|
|
As far as I know, there's no concept in windows of "child processes". If you want to know what processes were spawned by a given process, that process has to keep track of them and provide some sort of function that allows you to discover those child processes.
I guess an alternative would be to write a windows service that watched for the appropriate system messages, at which time you could capture the originating process.
In other words, you have to be a programmer.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
John Simmons / outlaw programmer wrote: you have to be a programmer
Wash your mouth out with soap!
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
|
|
|
|
|
|
Was that directed at you? No.
So what is your problem?
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
|
|
|
|
|
Yes, there is. I don't know the details, however
1. Task Manager has context menu offerings called "End Process" as well as "End Process Tree";
2. And this bunch of programmers[^] seems to know more about it.
|
|
|
|
|
Yes its there, if you have used the tool Process Explorer of systeminternals you will have better understanding how the processes works in windows.
And I am working with c# and I dont have any class/object PROCESSENTRY32 in c# framework!
Thanks,
Divyesh
|
|
|
|
|
So you need to call native code through P/Invoke, see here[^].
|
|
|
|
|
Very nice artical/website!
I am working on it, ll update you the status!
Thanks
|
|
|
|
|
I have a parent-child scenario using OBJECT Sql Transactions to insert data into TableMaster and TableChild.
When I try to commit the transaction on the software using object.Commit() I get a foreign key error like "TableChild.IDMaster is conflicting with TableMaster.IdMaster as if the key value doesn't exists, but this error just happen because there is an AFTER INSERT trigger in the TableMaster table that is probably trying to run together with the object transaction, conflicting with the SqlTransaction object in the application.
It seems like it tries to insert TableMaster, runs the trigger and after that, tries to insert the tablechild items. I just wonder how can I have an SqlTransaction object in my application for master detail and do not have problems with table triggers...
I'm using Visual studio 2008 + Sql Server 2008 (C#) and not using any dataset nor tableadapters, only commands associated with SqlTransaction object.
Thanks in advance!
|
|
|
|