|
Do I find this (double buffer) under Properties bar in VS, because it seems I can't find it there?!
Or, I can add it in code using 'SetStayle'?
Thanks for replay
modified on Monday, March 3, 2008 4:03 AM
|
|
|
|
|
Hi,
i have got a error when i double click on ListView of .Net control,
in windows form.can any one tell me its solution.
at System.Windows.Forms.ListViewItem.set_Checked(Boolean value)
at System.Windows.Forms.ListView.WmNmDblClick(Message& m)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
amit
|
|
|
|
|
Don't repost. READ the reply you got to this last time you posted it.
He who makes a beast out of himself gets rid of the pain of being a man
|
|
|
|
|
amit_83,
Reposting wont get an answer to you any quicker.
Regards,
Gareth.
|
|
|
|
|
Hi,
iam trying to send email to CRM contact in C# using CRM template.
My Code :
InstantiateTemplateRequest instTemplate = new InstantiateTemplateRequest();
instTemplate.TemplateId = new Guid(TemplateId);
instTemplate.ReturnDynamicEntities = true;
instTemplate.ObjectId = new Guid("F54B6128-B9DF-DC11-9EA9-0018F80B1359");// Contact's GUID
instTemplate.Subject = "hello";
instTemplate.ObjectType = EntityName.contact.ToString();
Here iam using InstantiateTemplateRequest . i wanetd to know what i need to mention for objectid and object Type. This email template i have created is for contact. I tried by giving object type as contact and objectid as Guid of recipient id. also tried with system user id..
iam getting error on
InstantiateTemplateResponse instTemplateResponse = (InstantiateTemplateResponse)Ca.ExecuteRequest(instTemplate);
as "Service unable to process request"
Please can anyone tell me what i need to specify for object id and object type.
Please reply ASAP.
|
|
|
|
|
Hi,
i have got a error when i double click on ListView of .Net control,
in windows form.can any one tell me its solution.
at System.Windows.Forms.ListViewItem.set_Checked(Boolean value)
at System.Windows.Forms.ListView.WmNmDblClick(Message& m)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
amit
|
|
|
|
|
|
Nice. You send us the call stack (or possibly part of one), but not the error message itself. Therefore we don't know what the error is other than it happened at some point when checking or unchecking a list box item.
|
|
|
|
|
How can I run .net Project(C#) in Mozila Firefox instead of Internet Explorer?
Please provide me the way or Code that is needed to implement that.
|
|
|
|
|
|
Mark Nischalke wrote: There is not code to fix this, open the web page in the other browser.
I despair sometimes. I really do. It just boggles the mind why he didn't try this to begin with.
|
|
|
|
|
I really hope you mean you want to do this from Visual Studio as you're developing...if not, let me know and I will drop some abuse to you like the others.
Right click on project
Browse with.... select the default browser in there.
Knowledge is hereditary, it will find its way up or down.
Luc Pattyn
and since what every time when i want to add button to this control one add two times
posted in C# forum
|
|
|
|
|
|
Arun_mw wrote: I am using MS Active Accessibility thru oleacc.dll.
i want to use AccessibleObjectFromID in order to get the Interface IAccessible for the menu control of an MFC Application.
but for this an instance of IAccessibleHandler is required.
Wrong forum. Try the C++/MFC forums instead.
|
|
|
|
|
Hi!
I have some problem relating saving datetime variable in SQL Server from C#.net application. i use Datetime.ToShortDateString() while sending parameter to Database. now the format of resulting string depends upon the regional settings of windows and SQL server takes M/dd/yyyy format or ISO format yyyymmdd. I want my application to be independent of regional settings. so i want whatever the regional setting is i should send to DB after converting to M/dd/yyyy format. For this purpose i wanted to override DateTime.ToShortDateString() but DateTime is a sealed class. So what should i Do???
any suggestions??
May God help u solv ur problems as well,thx in advance!!
|
|
|
|
|
|
Don't use a string, use a parameter.
|
|
|
|
|
hi friends..
How to set mouse move(cursor movement) with some equal distances (like Autocad)...
|
|
|
|
|
Windows Form have a event MouseMove
The event gives you X and Y pos. After that it is all up to calculation
|
|
|
|
|
Hi friend..
can u send some sample code
|
|
|
|
|
private void Form1_MouseMove(object sender, MouseEventArgs e)<br />
{<br />
label2.Text = "Pos X: " + (e.X - posX).ToString();<br />
label3.Text = "Pos Y: " + (e.Y - posY).ToString();<br />
int a1 = (e.X - posX) * (e.X - posX);<br />
int a2 = (e.Y - posY) * (e.Y - posY);<br />
int a3 = a1 + a2;<br />
Double a4 = System.Math.Sqrt(a3);<br />
label4.Text = "Relative: " + a4.ToString();<br />
}<br />
private int posX;<br />
private int posY;<br />
<br />
private void Form1_MouseClick(object sender, MouseEventArgs e)<br />
{<br />
posX = e.X;<br />
posY = e.Y;<br />
label1.Text = "Selected: X=" + e.X + " Y=" + e.Y;<br />
<br />
<br />
}<br />
<br />
private void Form1_Load(object sender, EventArgs e)<br />
{<br />
posX = 0;<br />
posY = 0;<br />
}<br />
On windows form override the following events and place four labels. This is a simple math operation.
Edit: This is in pixel. If you write such programs and have zoom level you have to convert to mm ir inchecs.
|
|
|
|
|
Hi friend..
i need the cursor will move equal distance..
for example.. the cursor position e.x is 100 and e.y is 50 means... the cursor is in 120,60(e.x,e.y)...How to set manual values as cursor position...
|
|
|
|
|
Have the container for yours value. Check my sample as having click event. The current position mouse becomes 0,0 and then you can move.
But if you want to prgramaticly move mouse then i dont know. I will try look into MSDN Library
|
|
|
|
|
|
Hello!
I have a class with a bunch of properties. Sometimes I only have a string for which property I should set. Is there some smart way to copy how datatable["NameofDataColumn"] works? So I can call my class´s property as I´ve done in subject-text?
/regards
|
|
|
|