Firefox 3 Release & Stardock Site Compatibility
Jul 30, 2008 12:59

Firefox 3.0 goes final and is scheduled for release on Tuesday, June 17th.

There are currently known incompatibilities between Firefox 3 and many of our sites and forums. For the most part, the sites function properly, but have formatting issues. A specific example are the login & password fields to log into these forums. In Firefox 3, instead of both being on the same line, they are stacked vertically.

We will be addressing these visual issues in time. Please do NOT post threads on the forums pointing out Firefox 3 site issues. They will be deleted. We are aware of the problems and will work as quickly as we can to resolve them.

Until posted otherwise, the only version of Firefox our sites support at the moment is Firefox 2.

Docklets in .NET / C#?

Any interest?

By Posted January 31, 2008 23:35:31

Hey everybody,

Poke your developer friends, I'm interested in hearing if anyone would be interested in writing docklets in .NET languages such as C#. Considering adding the ability to do so. Would allow for simple operation such as overloading the Paint method to do drawing, and performcing drawing via just drawing to the provided graphics object just like it were a regular window, etc etc etc. This as well as assistance in creating/drawing-to/animating alpha-blended windows for creating flyouts and whatnot. Not to mention all the benefits that the .NET libraries offer for making things quickly and easily. Would require .NET 2.0. If someone made me up a particularly sweet sample we'd consider doing 3.0 as well ha.

Thoughts?

-Jeff Bargmann
ObjectDock Lead Developer

0 Karma 12 Replies 12 Referrals
January 31, 2008 23:38:26
Zubaz has no idea what he said . . .

He seems to like it though . . so I support it.  

Now  . . about that icon organizer app . . . 
February 1, 2008 05:45:23
Littleboy already did it ages ago

.Net SDK and .Net Runtime.

It was compiled with .NET 1.1 and I haven't had the time (and courage...) to update it since. Back then I didn't know better and it's loading the .Net runtime in the ObjectDock process (gasp! - see info here). And some part of it is quite lame (especially the register & path handling parts).

It also requires admin rights to register the runtime and docklets, so I don't think it's working with a limited account (be it on XP or Vista).

The .Net part should be salvageable though. It's mainly an interface and some interop code (and code to deal with calls to ObjectDock, particularly for the context menu and conversion between managed/unmanaged Bitmaps).

I still have the code so let me know if you want to look at it (#stardock, msg "Julien").
February 11, 2008 21:55:08
I'm for it! I've got 2.0! Now how do I write one?
Sign Up or Login and this ad disappears!
There are many great features available to you once you register. Sign Up for a free account and browse the forums without ads.
February 12, 2008 00:00:39
I'd love the code. I'll update it
February 12, 2008 01:07:53
Sign me up! A bit of documentation on the WC Wiki and I'm sure me and many others will be set
February 12, 2008 01:28:23
I am good in C#, but I am not familiar with docklets   
February 12, 2008 06:15:25
Ah well, time to update it I guess

The part that really needs some love is C++ side. There is a lot of crappy code there that I need to rewrite. The C# part is just an interface and some helper functions, so it can be kept mostly unchanged.

Update: Stupid RegistrationServices.RegisterAssembly wants to write to HKCR instead of HKCU//Software//Classes. I redirected it using RegOverridePredefKey but there may be a less convoluted way to do it.

Here is a test build.

Tested only with the 3 sample docklets. I included the old chm help file. It's up to date as I didn't change anything in NetDockletHelper, but most of the things in ObjectDockSDK.Utils are probably going to go away very soon.

Unzip to "ObjectDock/Docklets/DotNetDocklets" or better yet on Vista, open an elevated command prompt in "ObjectDock/Docklets" and use "mklink /D DotNetDocklets [Path to the unzipped folder]"

Enjoy!
February 15, 2008 10:57:59
Hi Littleboy,

I am currently writing a docklet in C++, however I was interested in looking at using C# and your component would be ideal for that. However I downloaded the files from the link you gave but when I run the "Docklet Chooser dialog" it states for every sample docklet that "This docklet is not a valid .Net Docklet".

Maybe I'm going blind but I couldn't see anything obvious that I'd missed - is this a bug?

Regards.
February 16, 2008 05:37:36
It's probably a bug and since there is no logging and no check for the installed .Net Framework version, it's hard to know why it's not working.

A couple of things to check:
- it needs to be in "Docklets/DotNetDocklets" as the path is hardcoded
- make sure you have the latest version of the .Net Framework 2.0 (SP1)

I'm in the process of cleaning the code a bit (removing the really idiotic parts so as not to look too bad ) and I'll make it available here soon.
February 16, 2008 06:24:17
Thanks for the quick reply littleboy

Checked the path and it was actually Docklet/DotNetDocklets2, however renaming it to the suggestion has no effect (incidentally it does detect all 3 docklets).

My version of the .Net Framework is correct (Version 2.0.50727 SP1)

Ah, that's excellent if you are releasing the code perhaps I should wait till the code is available and debug it to see what's going on. I briefly looked into doing an interop utility and then I realised what a nightmare it would be marshalling all the data. It would certainly be interesting to see how you've done it What would the licensing terms be for using/editing your code?

Cheers
February 16, 2008 11:01:25
My bad, it was some leftover test code that I forgot to comment!

I've updated the download with a new version. Remove the previous version before unzipping this one. Additionally, there is a "CleanupRegistration.reg" registry file in the package that you might want to merge, as I renamed the NetDockletHelper dll.

The marshalling code is not that big, maybe 100-200 lines in managed code, a little bit more in native code. The .Net runtime is doing most of the job for us, the only thing we have to do by hand is the conversion from a System.Drawing.Image to a Bitmap to set the docklet image & overlay. The hard part back in 2004 was to learn how COM worked

The code is going to be released under a BSD license.
May 11, 2008 09:18:33
What's the status on this? I'd like to write a docklet or two with .Net 3.5.

Stardock Forums v1.5.3099.12923
© 1995-2008 Stardock Corporation. All rights reserved.
All times are EST. The time is now 17:08:26
Server Load Time: 00:00:00   Page Render Time: