|
There's no out of the box support for docking windows. Is that what you mean ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
So say we want to do program that have interface like VS 2005 we wouldn't be able to do it right (without much coding)?
Anything of that show up after 3.0 upgrade, and can express edition use 3.0 (.net of course), and does some new controls show up in tool bars (for visual form builder)?
|
|
|
|
|
There are plenty of controls which can provide this support, both commercial and open source.
Commercial:
Divelements
Devexpress
Infragistics
Telerik
ComponentOne
MagicUI
Free:
Weifen Lufo (I think that's how you spell it)
Numerous implementations on this site.
Just search for the name in Google or try "docking site:codeproject.com", that will search for any hits of "docking" within the codeproject.com domain.
|
|
|
|
|
TrooperIronMan wrote: Anything of that show up after 3.0 upgrade,
No, .NET 3.0 is all WPF. As someone else said, you need 3rd party components.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Can you give me quick reference to some good read source on it...
....so basically we are not getting new controls to play with right?
Can I install 3.0 and use it with EE?
BTW I downloaded some examples on this and some resource kit so I'll try that now...
|
|
|
|
|
Hi,
I have to paste a string value to remote application powered by Citrix. I tried using SendKeys with "(^V)". Then I used the following,
PostMessage(handle,WM_KEYDOWN,Controlkey,IntPtr.Zero);
PostMessage(handle,WM_KEYDOWN,V,IntPtr.Zero);
PostMessage(handle,WM_KEYUP,V,new IntPtr(1));
PostMessage(handle,WM_KEYUP,Controlkey,new IntPtr(1));
This doesn't work either.
Then I tried Sending keys relavent to the pasting value usaing above PostMessage(). i.e. if I have to paste "123" I send three PostMessage calls with 1,2,3 key values respectively. It didn't work too.
Is there any other ways I can do this.
Any help would be great.
Thank you.
Regards,
Sampathg
|
|
|
|
|
Can we do polymorphism on event handlers
in the event handler the default parameters will be sender and e. Can i add more parameters to that ?
regards
hari
|
|
|
|
|
Not unless the delegate has extra parameters
only two letters away from being an asset
|
|
|
|
|
If I understand your question
No you cannot add extra parameters to system event handlers such as OnPaint or OnsizeChanged but you can on custom event handlers by adding extra parameters to the delegate.
Everybody gotta be somebody
|
|
|
|
|
Hi All,
I need to copy a subsection of an array to a List<>.
The only way i've found of doing this is to create a temporary array and do an Array.Copy(), as below:-
MyType[] srcArray = FillUpMySourceArray();
List<MyType> dstList = new List<MyType>();
int srcDataOffset, srcDataLength;
MyType[] tmpArray = new MyType[srcDataLength];
Array.Copy(srcArray, srcDataLength, tmpArray, 0, srcDataLength);
dstList.AddRange(tmpArray);
I don't like the use of Array.Copy. Surely there's a better way?
Jon
|
|
|
|
|
I think this should work:
dstList.InsertRange (srcArray.Length, srcArray); /ravi
|
|
|
|
|
Hey guys.... I don't really know how to create a wrapper..... but I'd like to.
Anyhow, I'm writing a program in Visual Studio 2003, and I need access to a .NET 2.0 class. If I try to reference a .NET 2.0 assembly (dll) in Visual Studio 2003, I get the following error:
A reference to "C:\Slatesoft Development\utils.dll" could not be added. This is now a valid assembly or COM component. Only assemblies with the extension "dll" and COM components can be referenced. Please make sure that the file is accessible, and that it is a valid assembly or COM component.
Any help would be great. Thanks.
|
|
|
|
|
You can't use 2.0 assemblies in VS 2003
only two letters away from being an asset
|
|
|
|
|
Okay, I figured that's what the problem was.
Is there any way to create a .NET 1.1 wrapper for the .NET 2.0 class?
|
|
|
|
|
No. YOU CAN NOT USE 2.0 CODE IN 1.1 ASSEMBLIES.
--
Rules of thumb should not be taken for the whole hand.
|
|
|
|
|
But, isn't there a way to use 2.0 code in 1.1 assemblies? 
|
|
|
|
|
I am trying to change the tab name when i open a excell spread sheet on the run time in c#.
I changed it in the code:
Response.AddHeader("content-disposition","filename=" + sFileName + ".xls");
But it works only on save mode but on the display mode still display the name of the page i am calling this excell spread sheet, in other words i see Ratings.aspx in url and in the tab name of this excell spread sheet. I need the name i assigned in the Response.AddHeader(..)
Thank you in advence.
Greg
|
|
|
|
|
When you inherited from a base case do you ALWAYS inherit all the functions and variables of the base class? I.e. If a base class has hundreds of variables and hundreds of functions do you inherit them all even if you don’t need them?
Thanks in advance.
Rapier503
|
|
|
|
|
You inherit them, but can only access the public, protected ones.
|
|
|
|
|
Kind of what inheritance is all about.
only two letters away from being an asset
|
|
|
|
|
Rahithi wrote: if not forget about my answer
How about you just delete it, since it is wrong.
only two letters away from being an asset
|
|
|
|
|
Thanks for correcting me
If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hello,
I created a compiled c# dll. I need to know the path where this dll resides. I use this code to do it...
mstrStartUpDirectory = System.IO.Directory.GetCurrentDirectory();
When I call this dll from a c# windows app i get the correct path that the dll is in (C:\roto\Practice\MyClass)
When I call this dll from a c# web service i get the WRONG path that the dll is in (C:\Windows\System32).
What do I need to do to get the correct path that the dll resides in regarless of wether I am calling the dll from a Windows app, web service or whatever.
Thanks in advance
-Roto-
|
|
|
|
|
string path = System.Reflection.Assembly.GetExecutingAssembly().Location
|
|
|
|
|
This isnt working either. This returns the path to the .net framework. I want the path to the dll I wrote. I apprieciate your trying though.
|
|
|
|