Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.remoting
Get "not mark as serializable" when passing VB6 Type as a parameter
ylangevin
6/28/2004 8:45:00 PM
Hi,
I have a project where I need to separate a VB app from his components that will reside on a separate machine. I've decided to use the .Net remoting to do accomplish this. My solution is to recreate the .net components with the same signature that the vb components and only change the references in my VB app and recompile it. This way, when the vb app creates a new obejct, the .net component is being created instead of the vb component. The .net component then creates a remote call to access the vb code on a remote machine.
When a remote call is done with a vb class, everything works fine, but when the call has a vb public type as a parameter, I always get the "not marked as serializable" error. Does anyone has an idea of what it may be?
thanks
---
Posted using Wimdows.net NntpNews Component -
Post Made from
http://www.DotNetJunkies.com/...
Our newsgroup engine supports Post Alerts, Ratings, and Searching.
1 Answer
Allen Anderson
6/29/2004 2:11:00 PM
0
I believe Sunny correctly answered this in a previous post.
Allen Anderson
http://www.glacialcomp...
mailto: allen@put my website base here.com
On Mon, 28 Jun 2004 13:45:29 -0700, ylangevin
<ylangevin@-NOSPAM-provance.com> wrote:
>Hi,
> I have a project where I need to separate a VB app from his components that will reside on a separate machine. I''ve decided to use the .Net remoting to do accomplish this. My solution is to recreate the .net components with the same signature that the vb components and only change the references in my VB app and recompile it. This way, when the vb app creates a new obejct, the .net component is being created instead of the vb component. The .net component then creates a remote call to access the vb code on a remote machine.
>
>When a remote call is done with a vb class, everything works fine, but when the call has a vb public type as a parameter, I always get the "not marked as serializable" error. Does anyone has an idea of what it may be?
>
>thanks
>
>---
>Posted using Wimdows.net NntpNews Component -
>
>Post Made from
http://www.DotNetJunkies.com/...
Our newsgroup engine supports Post Alerts, Ratings, and Searching.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Get "not mark as serializable" when passing VB6 Type as a parameter
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password