Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / May 2004

Tip: Looking for answers? Try searching our database.

IDesignerSerializationService does not return instance

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joerg Krause - 18 May 2004 16:37 GMT
Hi designers,

I've written my own designer following some articles postet here.

It works as expected, but I cannot run design time serialization.

I tried to get the right service this way:

IDesignerSerializationService ds =
(IDesignerSerializationService)this.host.GetService(typeof(IDesignerSerializationService));

But unless I implement IDesignerSerializationService the method
return null. I don't want to implement it by myself, because
I deal with winform controls only and I think I can use the internal
serializer.

I want to call ds.Serialize(MyControlCollection) if I need the
serialized stuff, but I want not use any customization.

Can anybody give me a hint how to use the serialization outside
the VS.NET environment?

Thank you very much,

Joerg Krause
Frank Hileman - 24 May 2004 17:35 GMT
Hello Joerg,

That API is not public now. The code is not in the .NET framework; it is in
visual studio, in a non-redistributable. In Whidbey I think the situation
will change.

Regards,
Frank Hileman

check out VG.net: www.vgdotnet.com
Animated vector graphics system
Integrated Visual Studio .NET graphics editor

> Hi designers,
>
[quoted text clipped - 5 lines]
>
> IDesignerSerializationService ds =

(IDesignerSerializationService)this.host.GetService(typeof(IDesignerSerializ
ationService));

> But unless I implement IDesignerSerializationService the method
> return null. I don't want to implement it by myself, because
[quoted text clipped - 10 lines]
>
> Joerg Krause

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.