|
It looks great! The source would be much appreciated, thanks
Derek Lakin.
I wish I was what I thought I was when I wished I was what I am.
Salamander Software Ltd.
|
|
|
|
|
http://www.onyeyiri.co.uk/ExplorerBarDemo.zip[^]
hope you like it, unsuprisingly, the controls code is in the file called ExplorerBar.cs, that download is a demo app, showing the current features of it.
NOTE: the errors are as follows, it does not like you switching Colour Schemes on-the-fly [doing this changes the look, but causes other problems], and in the XPTheme mode, it doesnt quite come out with the color of the current xptheme [i suggest using the colour scheme style]. i am wokring on both of these problems.
1001111111011101111100111100101011110011110100101110010011010010 Sonork | 100.21142 | TheEclypse
|
|
|
|
|
Thanks very much. Great stuff
Derek Lakin.
I wish I was what I thought I was when I wished I was what I am.
Salamander Software Ltd.
|
|
|
|
|
Thanks, btw, if you manage to fix those bugs, let me know
1001111111011101111100111100101011110011110100101110010011010010 Sonork | 100.21142 | TheEclypse
|
|
|
|
|
I haven't had chance to look at your bugs (no XP availablity at work and life's too busy at home!), but I have started one of my own, with a different design-time approach: http://www.codeproject.com/useritems/CollapsiblePanelBar.asp[^].
Let me know what you think.
P.S. One thing I did find with your ExplorerBar is that the drawing code is slightly out for the right hand curve. The start position needs to come in a bit.
Derek Lakin.
I wish I was what I thought I was when I wished I was what I am.
Salamander Software Ltd.
|
|
|
|
|
Derek.
Unless you're in this for a learning exercise, I'd use the one Nnamdi has directed you too. It looks great.
Hopefully source will be included and the style fits with your app..
Pete
|
|
|
|
|
|
Quick question: does all .NET runtimes provide a compiler? I saw some compiler classes in the .NET class browser the other night. Is it possible to deploy a .NET application which can compile "anything" without a VS.NET installation?
--
Please state the nature of your medical emergency.
|
|
|
|
|
Jörgen Sigvardsson wrote:
Is it possible to deploy a .NET application which can compile "anything" without a VS.NET installation?
Yes, it is possible to compile VB code (with the vbc.exe compiler) and C# code (with the csc.exe compiler) which are part of the .NET framework.
After all, those 20Mb should have a use, right?
My latest articles:
XOR tricks for RAID data protection
Win32 process suspend/resume tool
|
|
|
|
|
Sweet!
--
Please state the nature of your medical emergency.
|
|
|
|
|
I have an MFC App that is creating a .NET form dynamically. .NET handles the mixed interface properly but the .NET form is independent of the MFC interface. Is it possible to have MFC parent the form properly?
Thanks for any help
|
|
|
|
|
So could one of you guru's who keep claiming that .NET is such a superior app development environment enlighten me as to how to use "AddStrip" to add images to a sequence of buttons on a tool bar? All I get is an image in the first button and the rest are blank. I'm useing the IDE to add buttons to the toolbar. Do they need to be added manually in the code? What gives? This used to be child's play in MFC...
I'm not a real reverend, I just play one on CP.
|
|
|
|
|
Couple questions:- What is AddStrip?
- Is there an
Images collection that you can add to using the designer?
Norm Almond: I seen some GUI's in my life but WTF is this mess
Leppie: I made an app for my sister and she wouldnt use it till it was colorful enough
Norm:good point leppie, from that statement I can only deduce that this GUI must be aimed at children
Leppie:My sister is 25
-Norm on the MailMagic GUI
|
|
|
|
|
David Stone wrote:
What is AddStrip?
AddStrip is a method of the ImageCollection class where you can add multiple images to the ImageList at once by passing in a single bitmap containing the images.
James
Sig code stolen from David Wulff
|
|
|
|
|
The designer for the ImageList control doesn't support the AddStrip method; so you won't be able to do it via the IDE.
I have uploaded a sample that uses the AddStrip method in code and has the ImageList attached to a toolbar.
ToolbarTest.zip (7.4 Kb)
James
Sig code stolen from David Wulff
|
|
|
|
|
Thanks. I assumed as much. I went ahead and just added the images individually to the imagelist designer tool (easy enough to do as I was merely transferring them over from an old MFC app).
I'm not a real reverend, I just play one on CP.
|
|
|
|
|
I did a few updates all at one time and now the box seems hosed. On a Win2K AS box with Win2k SP 2 I installed .Net Sp2 (NDP10_SP_Q321884_En.exe) and the Moble toolbox. After that any of the websites I tried to access just gives me the "Server Error" with the message about the "web.config" file with the customErrors mode set off.
I have tried what I could find such as going as far as to set the name and password in the machine.config file to be the administrator account and it is still a no go. The websites have application titles.
Last five hours down the old todiy.. Any other ideas?
Rocky Moore
|
|
|
|
|
Hello to all!
I am creating a windows service in C# that will handle fax management tasks (taking them from a database and using the WindowsXP FaxService for sending).
To be able to send a fax message, the WinXP FaxService wants a file type that is registered with an aplication that supports the PrintTo verb. I am using Word documents so there is no problem there.
The problem is that, to be able to print to the faxservice, my service needs to be able to interact with the desktop (otherwhise Word gets stuck) so I need a way to set the desktop interaction option from the installer itself (MSI) rather than instucting the users in system administrative tasks.
I didn`t seem to find a way using the serviceinstaller classes in .NET (C#)
Any ideeas ?
Thank you!
|
|
|
|
|
I wish I could help you. I looked all over the place for this and came up dry. We're eventually going to get something like InstallShield which I hope will provide the functionality. I did find a way to hack the registry to check the checkbox but it still didn't behave like I checked it manually. I had to uncheck it, apply, then recheck it. If you ever do figure this out, please let me know (I'll keep looking).
|
|
|
|
|
My application is based on a solution with .exe written in managed C++ and some dll written with MFC7 (reusing of old code) and some other dll written in managed C++ or C#.
All these projets are included in the same solution. My problem is to debug the MFC7 dll, the break point are ignored, I can't make step by step debugging so for the moment I add some TRACE in my code MFC7 but this is not easy to debug like that. Note, that the break point in MC++ dll are valide.
Is there a setting to do in VS.NET to be able to debug solution mixing MC++ and MFC?
|
|
|
|
|
Did you turn on Enable UnManaged Debugging? Right-click on the project in Solution Explorer, then go to Configuration Properties/Debugging.
Gaul
Gaulles Technologies, Inc
|
|
|
|
|
I didn't find the option you have described, there is no "Enable UnManaged debugging"!
For Debuggers, I have the options: (note I'am using VS.NET in french)
Native only
Managed only
Mixte
Automatic
I tried all these options but I can't debug my MFC project included in my solution.
Is anyone has a suggestion?
|
|
|
|
|
In the English version, the options under Debugging are:
Enable ASP Debugging false
Enable ASP.NET Debugging false
Enable Unmanaged Debugging false
Enable SQL Debugging false
You need to set Enable Unmanaged Debugging true
You find the options, you need to select the project in Solution Explorer, right-click and select Properties, Common Configuration Properties, and then Debugging
Gaul Ihenacho
Gaulles Technologies, Inc
http://www.gaulles.com
|
|
|
|
|
It works, I can debug my MFC dll used by MC++ client.
Besides your advice, there was some setting to change in the C/C++ properties:
General:
Debugging Informations: C7 Compatible (/Z7)
Compiling as managed code: take in charge assemblys (/clr)
Code generation:
Basis check before excecution : default
(The settings comment are a translation from french to english, so it's may be not the terminoly used in the english version of Visual Studio.NET).
|
|
|
|
|
Anyone have any info on writing a custom IFormatter?
|
|
|
|