|
The control I downloaded contains a dll file, (I dont think this question is specific to the control so I posted here, hopefully the right place) A search brings up too much noise.
so, how do I "install" it so I can drag it from the toolbox and use it in my form ?
thx,
a newbie.
|
|
|
|
|
Right-click in the ToolBox and click on Select Items... Browse to the .DLL file and click OK.
|
|
|
|
|
Thanks, that worked. much appreciated.
|
|
|
|
|
I created a few custom icons for buttons and menus. One image was added to a ContextMenuStrip item. Later I changed it to a different image. I removed the previous image from the Resources.resx file using the IDE. Now the all the MenuStrips and ToolStripButtons are gone!
This image is not connected in any way to any of the other MenuItems or ToolStripButtons. Is there any way to repair the project? I have a backup but it's much older.
Thanks in advance,
Mark
|
|
|
|
|
I've run across the same kinds of problems before. I always end up editing the Visual Studio generated file (Form1.Designer.cs or something like that if you're using C# ... not sure for VB) by hand. I usually find that all the control creation code is still there, but I need to re-establish the parent-child control relationships.
Something like:
this.mainMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileMenu, this.editMenu, this.helpMenu } );
Look at a valid project to see the exact syntax.
|
|
|
|
|
Thanks, I'll give it a try.
|
|
|
|
|
Hi,
Go to IntializeComponent() method and set the Contextmenu image property manually.
|
|
|
|
|
how can i able to Copy Dataset from on from to another from dataset
is it possible?
if yes tel me.
thanks in adv
|
|
|
|
|
|
what is the control used in windows for drop down of asp.net, And How to populate the values of one dropdown list in a windows form with C#.
|
|
|
|
|
|
As Mika said it's the ComboBox class and you populate it's items via the Items property (Items.Add() , etc.)
Keep It Simple Stupid! (KISS)
|
|
|
|
|
Dear Experts :
When I put the tablelayoutpanel into usercontrol and allow other developer
adjust row / column size into design time (so that they use mouse to adjust
inner controls layout).
How to do it ?
another question , if usercontrol inside contain 4 other control (like
textbox, label ..etc) how to explore one of control (like textbox) property
explorer
into design time.
Can anyone tell me
Thanks
Michael
|
|
|
|
|
Dear Experts :
When I put the tablelayoutpanel into usercontrol and allow other developer
adjust row / column size into design time (so that they use mouse to adjust
inner controls layout).
How to do it ?
another question , if usercontrol inside contain 4 other control (like
textbox, label ..etc) how to explore one of control (like textbox) property
explorer
into design time.
Can anyone tell me
Thanks
Michael
|
|
|
|
|
Hi there guys, i need some of your programming experience, here is the issue:
When a user logging into a WinForm application (C#.NET), how can i Assign dynamically a defined application Menu according to a Role in the DataBase?
Thanks in advance for your support, time and for share your knowledge, it really helps.
Any guru out there?
modified on Monday, January 12, 2009 12:28 AM
|
|
|
|
|
I would just enable/disable the menu items, or make them visible/invisible depending on your requirements.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
hi All,
I am Currently Working on Wpf And WinForms using SCSF. Any one can please help me in this ,how to Develop The Themes Concept in Wpf or Win application .If any one knows Articles please FWD the Links it helps lot.
Thanks And Regards,
Guru
|
|
|
|
|
dear Team,
I created a form . I placed a groupbox in the form.
in that group box i have added two controls
1. a lable
2. numericUpDown control
the issue: the project runs in the two different laguages ( english and arabic)
when i open the project in arabic : the alighnment of the controls and possitioning of the controls(label and numericUPDown) in the groupbox should be changed into right to left and even the possition of the controls(label and numericUPDown) are not changing .
can you provide any solutions for this or any link related to solve this issue.
thanx in advance.
|
|
|
|
|
Unfortunately you cannot make .net align your controls automatically, you have to perform the layout yourself for each required culture. Fortunately, visual studio makes this relatively easy (i tested this in 2008, don't know if sequence is different in earlier versions). Open the form that needs 'translating' and set the form.localizable property to true. Notice that the language property is set to (default). this means the current layout will be applied to all cultures. To make your changes, set the language property to Arabic, then rearrange your controls as required for a rigth->left layout. Note that most controls (inc. label & numericUpDown) have a RightToLeft property. Set this to true, rather than changing other properties like TextAlign etc.
When you build the project, your should see a folder 'ar' in the bin. This should contain a dll which represents the Arabic specific layout. Now, to use the arabic layout at runtime, the ui thread must be set to Arabic. This will happen automatically is the windows regional settings are in Arabic, if not you can override these settings using Thread.CurrentThread.CurrentUICulture and Thread.CurrentThread.CurrentCulture (Arabic cultureInfo code is 'ar-SA'). Any other configured langauge will use the (default) layout.
Hope all this makes sense! I can e-mail you an example project if required.
"An eye for an eye only ends up making the whole world blind"
|
|
|
|
|
thanx a lot rob... it is working
|
|
|
|
|
i used keyhook...and i got some time this error
CallbackOnCollectedDelegate was detected
Message: A callback was made on a garbage collected delegate of type 'Cyber_Client!Cyber_Client.Utilities.globalKeyboardHook+keyboardHookProc::Invoke'. This may cause application crashes, corruption and data loss. When passing delegates to unmanaged code, they must be kept alive by the managed application until it is guaranteed that they will never be called.
anybody can able to help me....
|
|
|
|
|
Bah. No. I wrote the solution, but instead I just remembered I was the guy who told you about that article, warned you that you will get that error and where to find the solution. Instead, no.
|
|
|
|
|
All your posts have been about malicious desires, disabling keys, disabling taskmanager, killing all processes. Why don't you give up already.
|
|
|
|
|
hi
thanks for reply
plz i dont get the solution.can u plz repeat the link or better to write the solution in the message.
thanks in advance
|
|
|
|
|
NO and no. I specifically removed the link. You won't get help, not from me.
|
|
|
|