Re: Image on a Compact Framework Form

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Alex Feinman [MVP] (public_news_at_alexfeinman.com)
Date: 07/30/04


Date: Fri, 30 Jul 2004 10:26:45 -0700

You should look using CeFileViewer (part of eVC installation) since File
Explorer does not show DLL files

-- 
Alex Feinman
---
Visit http://www.opennetcf.org
"Art Cabot" <trash@stricklandtechnical.com> wrote in message
news:F1831A6D-D5C4-4A4C-8A26-BF1A402B270B@microsoft.com...
> I don't see it in the \Windows folder, but I don't see it there in the
emulator, either.
>
> Where should I be looking and how do I get it there if it's not there? Is
it as simple as copying it?
>
> I just noticed that the emulator loads   netcf.all.wce4.x86.cab, whereas
my mobile device is an ARMv4T CPU and would load a different cab file.  Is
that any help?
> -- 
> Art Cabot
> Strickland Technical Services, Inc.
> Augusta, Georgia
>
>
> "Chris Tacke, eMVP" wrote:
>
> > Sounds like imgdecmp.dll may not be in the CE build.
> >
> > -- 
> > Chris Tacke, eMVP
> > Co-Founder and Advisory Board Member
> > www.OpenNETCF.org
> > ---
> > ---
> > Principal Partner
> > OpenNETCF Consulting
> > www.OpenNETCF.com
> >
> >
> >
> > "Art Cabot" <trash@stricklandtechnical.com> wrote in message
> > news:FECA1AAD-97C9-460D-8B2D-DC03F45E8E2C@microsoft.com...
> > > It hangs it the InitializeComponent() portion of the Windows Form
Designer
> > code:
> > >
> > > Dim resources As System.Resources.ResourceManager = New
> > System.Resources.ResourceManager(GetType(Form1))
> > >
> > > Me.PictureBox1 - New System.Windows.Forms.PictureBox
> > >
> > > ' PictureBox1
> > > Me.PictureBox1.Image= CType(resources.GetObject("PictureBox1.Image"),
> > System.Drawing.Image)
> > >
> > > It hangs on that last line and, if I trap the error, it's either just
a
> > generic Exception or, in a couple of my tries, a NullReferenceException.
> > >
> > > I'm thinking I have to prepare the images in some sort of reference
file,
> > but there's next to no documentation that I can find.  It runs fine "as
is"
> > in the emulator.
> > >
> > > Help!!!
> > > -- 
> > > Art Cabot
> > > Strickland Technical Services, Inc.
> > > Augusta, Georgia
> > >
> > >
> > > "Art Cabot" wrote:
> > >
> > > > It's an Intermec CK30A mobile computer.
> > > >
> > > > -- 
> > > > Art Cabot
> > > > Strickland Technical Services, Inc.
> > > > Augusta, Georgia
> > > >
> > > >
> > > > "Chris Tacke, eMVP" wrote:
> > > >
> > > > > This is a PPC or a vanilla CE device?
> > > > >
> > > > > -Chris
> > > > >
> > > > > "Art Cabot" <trash@stricklandtechnical.com> wrote in message
> > > > > news:0C67CDA8-D505-426F-80AA-4D2A7CF61D16@microsoft.com...
> > > > > > Actually, it was every image on every form. If I took one off,
then
> > the
> > > > > next one that tried to open would fail. I'll get some examples of
the
> > code
> > > > > that hung tomorrow.
> > > > > >
> > > > > > .NET and Compact Framework is a new area for me. I may be doing
> > something
> > > > > wrong, but, like I said at the outset, it runs fine in the
emulator.
> > > > > > -- 
> > > > > > Art Cabot
> > > > > > Strickland Technical Services, Inc.
> > > > > > Augusta, Georgia
> > > > > >
> > > > > >
> > > > > > "Alex Feinman [MVP]" wrote:
> > > > > >
> > > > > > > Can  you email me a copy of the failing image?
> > > > > > >
> > > > > > > -- 
> > > > > > > Alex Feinman
> > > > > > > ---
> > > > > > > Visit http://www.opennetcf.org
> > > > > > > "Art Cabot" <trash@stricklandtechnical.com> wrote in message
> > > > > > > news:DB7203D9-FC5F-414E-8223-890D1B24FD6C@microsoft.com...
> > > > > > > > I had some that were full-screen (160x160), but I made one
that
> > was
> > > > > 16x16
> > > > > > > and got the same error.  I think they were included in the
> > project, but
> > > > > I
> > > > > > > can try again.
> > > > > > > >
> > > > > > > > -- 
> > > > > > > > Art Cabot
> > > > > > > > Strickland Technical Services, Inc.
> > > > > > > > Augusta, Georgia
> > > > > > > >
> > > > > > > >
> > > > > > > > "Alex Feinman [MVP]" wrote:
> > > > > > > >
> > > > > > > > > Could it be that the image is too large? What type of
image?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -- 
> > > > > > > > > Alex Feinman
> > > > > > > > > ---
> > > > > > > > > Visit http://www.opennetcf.org
> > > > > > > > > "Art Cabot" <trash@stricklandtechnical.com> wrote in
message
> > > > > > > > > news:DC114604-35B1-4CBC-A07B-2BAAD9ED0B9E@microsoft.com...
> > > > > > > > > > Should I be able to put an image on a form for a mobile
> > device
> > > > > running
> > > > > > > > > Compact Framework?  It runs fine in the emulator, but
hangs
> > when run
> > > > > on
> > > > > > > the
> > > > > > > > > device.
> > > > > > > > > > -- 
> > > > > > > > > > Art Cabot
> > > > > > > > > > Strickland Technical Services, Inc.
> > > > > > > > > > Augusta, Georgia
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > >
> > > > >
> > > > >
> >
> >
> >


Relevant Pages

  • Re: Image on a Compact Framework Form
    ... I just noticed that the emulator loads netcf.all.wce4.x86.cab, whereas my mobile device is an ARMv4T CPU and would load a different cab file. ... > "Art Cabot" wrote in message ... >>> Augusta, Georgia ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: writeXML(fullFilePath) DOESNT Write
    ... I thought I might have the answer when I saw this in the emulator's Help file: ... But when I had a couple of programmers at our corporate headquarters try on both a Windows CE and Pocket PC emulator, ... "Art Cabot" wrote: ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Image on a Compact Framework Form
    ... "Alex Feinman " wrote: ... > "Art Cabot" wrote in message ... >> I just noticed that the emulator loads netcf.all.wce4.x86.cab, ... >> "Chris Tacke, eMVP" wrote: ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Image on a Compact Framework Form
    ... It hangs it the InitializeComponentportion of the Windows Form Designer code: ... It hangs on that last line and, if I trap the error, it's either just a generic Exception or, in a couple of my tries, a NullReferenceException. ... "Art Cabot" wrote: ...
    (microsoft.public.dotnet.framework.compactframework)
  • Problems enabling ActiveSync for PPC Emulator
    ... All I really need is for the emulator to be able to access the Internet ... hangs when it gets to "Deploying XML provisioning files and tools...". ... Incidentally my host computer is running Windows Server 2003, ... I've found that after I've tried running EmuASCfg, ...
    (microsoft.public.pocketpc.activesync)