Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. SOAP FORMATTER

SOAP FORMATTER

Scheduled Pinned Locked Moved Visual Basic
helpwcfgraphicsdesignhardware
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Herbertmunch
    wrote on last edited by
    #1

    hI ALL, My problem is this: Im writting a control that reads a list of graphics from an embedded text file. This file is generated by soap formatter. The Soap F. serialises a class that holds info. My program then uses soap to deserialise the file, back into the orig class and reads the info and loads the embedded pictures into variables This all works fine at runtime, but when you add the control to a form in design time it returns an error : Cast not valid. I can Deserialise it back into a object type though. i.e Dim SoapF as new soapformatter Dim MemoryStream as memoryStream Dim obj as Object Dim tstClass as TestClass 'This works at designtime/runtime : obj = soapf.deserialise(MemoryStream,Object) 'This works at runtime (but i need it to work all the time!) : tstClass = soapf.deserialise(MemoryStream,TestClass) Any Ideas? __________________ Thanks for your help!

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups