|
Hi
Can anybody helpme out to get the grasph control where we can draw multiple plots in the same graph.
Regards,
Rocky.
|
|
|
|
|
|
Hi All,
I need to display time in the following format:
7:40a (not AM/PM whole word just A/P in lowercase)
So how could I achieve this?
|
|
|
|
|
I think
string strDT = <datetime instance="">.value.toShortDateTimeString().Replace("AM","a").Replace("PM","p");
It can be a bad way but it's a simple way
|
|
|
|
|
Thanks buddy,
it is working fine.
|
|
|
|
|
Hi,
I have already used the Camtasia SW, but the file that create is very bulky, therefore I like to find some coding for .NET compatible SW.
I have found another SW called TerboDemo(7.5 trial version), which captures the screen as an array of screenshots, which also take big capacity. It saves in .tdp format.
Please help me to find a .NET cording.
Thanks and Regards
khema
|
|
|
|
|
Hi
I have created a datagrid and i have bound that datagrid with the result from the query. I have a table of purchase which i have bound with the datagrid. But now i want that whenever a person clicks anyof the row of purchase it must display the purchase details in the form of table or grid.
How can i do that?
Please hlep me
KHATRI
|
|
|
|
|
Hi you.
You are saying about hierachical data, called master-detail data. You can completely do it.
First, you make a dataset contains two table: PURCHASE and PURCHASEDETAIL. And you also make an internal relation among two tables with a "PURCHASE.ID = PURCHASEDTAIL.pID" datarelation. See next.
Second, you assign Datagrid's Datasource into this dataset.
That's all. It is working like you want .
Hope my help.
|
|
|
|
|
Yes but how it will show in datagrd.. i mean how ill gonna implement that..
like First i m calling a Purchase table in a dataset and bounding it.
Then on click it will request for the details of the table for the particular purchase id. The result will be shown in another datagrid showing heirarchial or master child relation.
KHATRI
|
|
|
|
|
|
I m not asking for ASP.NET . I am asking for Windows Form.
I am not creating application for webdevlopment its basically an Windows Application. over there I have to use datagrid with nested or master child relation.
KHATRI
|
|
|
|
|
Hi,
I want to baind only images(.bmp, gif, jpeg, etc) in combobox...Can any one help me on this..
Regards,
Sivaprasad
|
|
|
|
|
I need to send WM_COPYATA to another process from a C# program. Is there a C# method (maybe a class) equivalent to the Win32 API SendMessage(HWND h, ...) ?
|
|
|
|
|
MSDN[^]Article will help you.
Regards,
Satips.
|
|
|
|
|
Thanks , Satips.
|
|
|
|
|
Thanks, Satips, but in fact it didn't help me. I'm converting a working MFC program to C# and the only thing I stuck on is sending WM_COPYDATA message to another process, and the article doesn't say which method or class I should use (maybe I should use interop ?). Thanks anyway.
|
|
|
|
|
You could simply use P/Invoke SendMessage using this[^] p/invoke declaration. To get the window handle of the other process, you can use Process.GetProcess to get the process object for the other process and then use the MainWindowHandle property to get the window handle.
You would also need to use the actual value of WM_COPYDATA (0x004A), as that enum doesn't exist in C#.
|
|
|
|
|
Thanks Senthil, I got it.
|
|
|
|
|
Hi
I would appreciate if somebody help me,because i m beginer in C#.
1)The property of my main form IsMdiContainer=True .I would like to change its color to white but I can not.
2)In my main form I add to buttom that when I press the first button the second form will show.but the buttoms also will show else I want them never shown when the second form is active.
thanks
|
|
|
|
|
hi
i create a windows application and i change main() method to following code :
(add parameter)
static void Main(string param1)<br />
{ <br />
System.Diagnostics.Process.Start(param1);<br />
<br />
Application.EnableVisualStyles();<br />
Application.SetCompatibleTextRenderingDefault(false);<br />
Application.Run(new Form1());<br />
}
but the following error shown me :
Error 2 Program 'C:\Documents and Settings\Hamed\My Documents\Visual Studio 2005\Projects\ExeControl\ExeControl\obj\Debug\ExeControl.exe' does not contain a static 'Main' method suitable for an entry point ExeControl
how to solve my problem ?
thanks
|
|
|
|
|
Try
static void Main(string[] args);
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
"Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
|
|
|
|
|
thanks dnh.
my problem was solved
|
|
|
|
|
So, why did you change the signature of the Main method in the first place?
|
|
|
|
|
I've been trying to extend the functionality of the "file property" page in Windows.
All I've come up with after an hours worth of searching is a possibility to ADD a new tab to the dialog (property sheet handlers).
What I'd want to do is to add some checkboxes and perhaps some other elements to the default property page tab. I know it has to be possible since I've seen one application doing just that.
I hope someone here can help me find a way to accomplish this.
thx
Ele
|
|
|
|
|
Hello everyone,
I am having some problem adding ContextMenu Control and I was wondering if I can get some help.
I have a ListView "listView1" which I am trying to add a menu once the right mouse click is clicked. I have added a ContextMenu control to the Form "contextMenuListView1" and have added three items to it.
I understand in order to activate this functionality I need to associate the context menu with the listView control on the form. Unfortunatly, I don't know where I can do it! I am looking into properties of the listView control but I am not seeing anything relevent.
Can someone be kind enough to tell me how this can be done?
Thank you for your help and have a great day.
Khoramdin
-- modified at 17:46 Sunday 8th April, 2007
|
|
|
|