Results 1 to 2 of 2

Thread: [02/03] Receiving ?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2006
    Posts
    108

    [02/03] Receiving ?

    Dim lms As MemoryStream = New MemoryStream(Convert.FromBase64String(lol))
    Dim limg As Image = Image.FromStream(lms)

    Does this Code work on Compact Framework 1.0 ?

    I have tried importing almost everything but FromStream still remains ..

    The Error is FromStream is not a member of SYstem.Drawing.Image

    can someone help ?
    Thank you.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [02/03] Receiving ?

    The help/MSDN documentation specifically states that a type or member is supported on the CF. For class topics you look at the Requirements -> Platforms section and if the CF is not listed then the type is not supported. For members you can simply look at the member listing for the class and it will say "Supported by the .NET Compact Framework." for every member that is supported. If you go to the topic specifically for that member then it will have a Requirements -> Platforms section too.

    Note that I am talking about the .NET 1.1 documentation here. On MSDN2 it is just Platforms, not Requirements -> Platforms, and there is also a Version Information section that explicitly names supported Framework versions. Also, on the member listing it will have a PDA icon for supported members rather than a message.

    Now you have the tools you can just go to MSDN yourself and check whether any of the types or members you're using are not supported.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width