|
Thanks.
I can create a simple add-in such as adding a text, calling a command intellisense, calling a command about region... I think I can customize ToolBox (just like how to customize MenuBar) , but I can't customize ToolBar by that way.
Can you help me ?
Thanks lots.
-- modified at 5:06 Monday 25th June, 2007
imagic
|
|
|
|
|
Your question is too general. You need to be more specific about what problem you are having. That's why you got flamed. We can't answer this for you in a timely manner. A good answer to your question would be many pages long. There are probably tutorials on the subject, but I assume you have read them already... you know, since you are posting a forum question.
You just need to be more specific in your question. Define your problem carefully and make a new thread. This one is dead and buried.
|
|
|
|
|
Have you ever used Visual Assist X ? When we install it, a new toolbar appears in Visual Studio .NET and some new item appear in right-click-menu . I want to do something like it.
Thanks
imagic
|
|
|
|
|
Yeah I know what you're talkin about. That tutorial doesn't really cover it... you need to look into the technical documentation and figure it out yourself, building on your knowledge of toolbars and context menus in standard forms, combine that with what you know about Add-ins, and figure it out.
This is an advanced topic and you will not find an article that simply tells you how to do it. This is where programming gets fun... embrace the problem and dive into it and figure it out as you go along. Nobody can help you do that. It is going to take hours, maybe days, of research, study and experimentation. The subject is difficult, and you are going to have to do a lot of work to figure it out. Accept that and stop asking for someone to hand-hold you through it. Dig in and get to work. I would help you if I could, but I can't move your fingers for you...
Everyone else ignored this question... you need to think about why. I answered it because I like to bitch at n00bz.
|
|
|
|
|
I have a central database in Sql server Express 2005 in my server computer. I want to connect it through my another client terminal.How can i make the connection & what configurations should i change?
Code or help apprecicated both in VB.Net and C#
Thank You!
X
|
|
|
|
|
I have a central database in Sql server Express 2005 in my server computer. I want to connect it through my another client terminal.How can i connect it & what configurations should i change?
Code or help apprecicated both in VB.Net and C#
Thank You!
X
|
|
|
|
|
as far as I know the express edition doesn't not listen to network connections by default. you might want to try this: sql manager / server network configuration / protocols / enable tcp..
|
|
|
|
|
Hello,
I wrote some UI control with C# (VS 2005).
I need to set this control on some dialog that i have - but i don't know how to do it.
Someone can help me ?
Thanks for any help.
|
|
|
|
|
Build it. The ToolBox of VS will has new user control. Drag it to your dialog.
imagic
|
|
|
|
|
I try but its not appear in the Toolbox of the VS -
Maybe i need to turn on some properties ? or something like that ?
|
|
|
|
|
Maybe this affect this -
But how can i solve this problem ?
Thanks.
|
|
|
|
|
If your custom control is written in C#, without seeing the class definition code, we're guessing at what the problem is.
Did you inherit from another control? Maybe UserControl or Control? Did you write this control from scratch? Is the class attributed properly?
|
|
|
|
|
I wrote the control from scratch,
In my control i inherit from class System.Windows.Forms.UserControl.
I think that the class attributed properly - but i not sure.
What the relevant attributed properly that i need to check ?
What is the right attributed properly ?
Thanks.
|
|
|
|
|
UserControl is normally used to build a composite control using existing controls.
Inheriting from Control is usually used to build a control from scratch.
You can also inherit from an existing control, modifying its behavior.
There is no single attribute for controls. There's a bunch of them, each used for very specific things.
For example, this is one of the properties in a control I made:
''' <summary>
''' Gets or sets whether the control will stay within its parent container's visible bounds.
''' </summary>
''' <returns>A <see cref="System.Boolean"></see> value.</returns>
<Bindable(True), DefaultValue(True), Category("Behavior"), _
Description("Gets or sets whether the control will stay within its parent container's visible bounds."), _
DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)> _
Public Property StayWithinParentBounds() As Boolean
Get
Return m_StayWithinParent
End Get
Set(ByVal value As Boolean)
If value <> m_StayWithinParent Then
m_StayWithinParent = value
MoveControlWithinBounds()
Me.OnStayWithinParentBoundsChanged(EventArgs.Empty)
End If
End Set
End Property
|
|
|
|
|
Hi,
There is something fundamental which i donn't get it.
I created a new Win Forms project in dotNet 2.0.
I added Keys and Values to the settings.
When I use ConfigurationManager.AppSettings, it returns empty collection?!
I can get the values through the use of Properties.Settings - Strongly
types.
But how do i get the collection itself?
Why the is empty ConfigurationManager.AppSettings?
Thanks
Goldwind
|
|
|
|
|
What error it says?
Whether the root of the path is wrong or what error it says when you use ConfigurationManager.AppSettings.
Let me know it in Detail.
Regards,
Satips.
|
|
|
|
|
No error. Just an empty collection.
The app.config had paired values but it didnt refer to it.
I just addressed : ConfigurationManager.AppSettings
didnt use open.. method.
Goldwind
|
|
|
|
|
It's two completely different things. Properties.Settings uses the ".settings" file, but the ConfigurationManager uses .config files
-- modified at 16:42 Monday 25th June, 2007
Note that the above statement is wrong. I didn't check it before I posted. Serves me right for depending on my own brain
|
|
|
|
|
Actually Properties.Settings reads from .config at runtime, the .settings files are designer files.
|
|
|
|
|
Oh you're right... sorry I didn't actually check.
|
|
|
|
|
Never mind, it happens to the best of us...
|
|
|
|
|
Hi,
I getting some command when I compile – I don’t gets any error or warning but I want to know what this mean.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Csc.exe /noconfig /nowarn:1701,1702 /errorreport:prompt /warn:4 /define:DEBUG;TRACE /debug+ /debug:full /optimize- /out:"obj\Any CPU\Debug\MyClass.dll" /target:library
10x.
|
|
|
|
|
|
That's the command line that launched the C# compiler to compile your project.
|
|
|
|
|
i Writh Project And use Crystalreport in project
and create setup
but when installing program to PC
and run
crystalreporn not loaded
and show error for DLL Crystalreport
how to add Dll crystalreport in project C#2005 ????
"I'm sorry I'm not good english Write"
thanks
reza mohseni
|
|
|
|