Re: PDA application development



He used C++, from which consuming COM objects is again a way different
scenario than managed. The designer expects and handles COM objects, so
they just work.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com


"Fotis8" <Fotis8@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6C217208-D67F-4DD8-9645-4FF2DA19EE2B@xxxxxxxxxxxxxxxx
I am affraid that, honestly, I can't do that on my own. I hope I could find
something to make it work. Maybe you know if this has been done before? I
mean using the cortona control.

Also, I would like to ask Mike, how could it possibly work on his system?
Is
it easy for him to let me know what he has installed and made it work?

Thanks!

"Chris Tacke, eMVP" wrote:

You didn't point out you were using VB until very late in the thread
(depth
opf 10) when Mike asked about eVC back at level 4. So in effect
everything
in between was wasted effort becasue we thought you were talking about
one
thing (C++) when you were talking about another (VB).

Ay any rate, no ttere's nothing you can do - at least not with any level
of
ease. To get it to even work at all - not considering designer support
to
begin with, but to just be able to use it in your project - you'll need
to
write a COM interop wrapper around the control. There is an example in
MSDN
for doing it with the WMP control. If you have no experience in doing
CCWs
then I'd guess it will take you 1-2 days to get that working - maybe more
if
the COM library is complex.

Once you have that working, you then need to add designer support for
that
wrapper. Again, complexity of the actual target is the issue that will
affect level of effort. Again, with no experience in getting the
designer
to work in the the first place I'd say this is probably a 1 week effort
at a
minimum.

Oh, and you have to be using CF 2.0 or later as a target.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com


"Fotis8" <Fotis8@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6451A1D8-B6E3-4EFC-9684-A2C42D37F01B@xxxxxxxxxxxxxxxx
I pointed it out actually in one of my replies. Anyway, is there
something
that I could possibly do to make it work then, besides asking
ParallelGraphics since they don't bother replying back?

Thank you!

"Chris Tacke, eMVP" wrote:

The fact you used the exact same control has no bearing on things.
eVB
(and
youy should have pointed that out in the first post instead of letting
everyone think eVC) was COM based, so it inherently knew how to use
COM
objects. VB.NET is Compact Framework based so it doesn't just consume
COM
objects in the same way.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com


"Fotis8" <Fotis8@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8961EBDA-291D-4031-A3C5-E984F42AF84A@xxxxxxxxxxxxxxxx
Yes, I've asked Parallel Graphics,but, none replied back.
Also, like I've mentioned before, I've used exactly the same control
with
Embedded Visual Tools 3.0, and it worked. Why not work with Visual
Studio
as
well?

I really can't find out what the problem could be.

Thanks.

"Chris Tacke, eMVP" wrote:

Have you asked Parallel Graphics? They would be the ones that
would
know.
If you need something for managed code, it's way different than
native.
You
can't just consume a COM control in a CF project, and you certainly
don't
get automatic designer support. Designer support requires specific
designer
files (xmta IIRC) *plus* you'd need a managed wrapper.

Add to that the fact that a COM control that works on the desktop
will
*not*
work on a CE device unless there are completely separate compiled
binaries
for the two.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com




"Fotis8" <Fotis8@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:758B2A81-58F4-48DE-B855-845A6E0FCD6B@xxxxxxxxxxxxxxxx
Also, could you please try it using Visual Basic (in Visual
studio)
for
smart
devices?

Thank you

"Fotis8" wrote:

I've installed SP1, and also uninstalled and re-installed the
control
software, but, still the same problem. I don't know what to say.
Maybe
it's
something I'm not doing right? Don't know what else to do.

"Michael Salamone" wrote:

Sorry - I guess I should have said that all my projects
mentioned
below
were
Smart Device projects.

--
Michael Salamone, eMVP
Entrek Software, Inc.
www.entrek.com


"Fotis8" <Fotis8@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0FD8BB7D-C73B-4A49-AA6D-9DD03FF98869@xxxxxxxxxxxxxxxx
Hi!

It's not greyed out to me as well when building a Windows
application. My
problem is when I'm trying to build an application for a
smart
device.
Then
it is greyed out.

Any idea why?

Thank you.

"Michael Salamone" wrote:

Using VS2005 w/SP1, I was able to add it to my toolbox. It
was
never
grayed
whether I tried a basic dialog (Win32 project), MFC dialog,
managed
C++
WinForm project, or managed C# WinForm project.

When I tried to add it to the dialog and MFC dialog, it
failed
initialization. I don't know if that was expected or not.
I
did
not
install the entire software package - just manually
registered
the
control.

When I tried to add it to the WinForm form (whether managed
C++
or
C#),
it
created the control but did not render (perhaps the same
initialization
problem prevented it from rendering - just get a
rectangle).
I
could
view
and set its properties.

So not sure what you're bumping into. If you haven't
installed
SP1,
you
might start with that. And you might try uninstalling and
re-installing
the
control software.

--
Michael Salamone, eMVP
Entrek Software, Inc.
www.entrek.com


"Fotis8" <Fotis8@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
news:0ACE3B37-07C8-4920-9EC9-FC453A5C646C@xxxxxxxxxxxxxxxx
Thank you for your reply Michael!

The thing is that I have used the same reference in
Emdedded
Visual
Tools,
and I had the control in design time. Now, using the
reference
again, I
get
it in design time (by looking for it and place it in the
toolbox
with
the
browse function), but, it's greyed out for some reason I
can't
really
understand. You think I'm getting the wrong control?

Also, by using the same reference and control again, when
developing a
Windows application (not a smart device), it works!

I would really appreciate it if we could sort this out.

Thank you!

Fotis

"Michael Salamone" wrote:

He's asking if ParallelGraphics ported/adapted their
control
to
Windows
CE /
Windows Mobile. And it seems like you've used it in
previous
projects
using
eVC, so I think the implied answer is "Yes, they do have
a
device
port
of
their control".

Why would be grayed in VS 2005? Perhaps because you
have
referenced
the
device control which it can't render for you on the
design
surface.
Do
they
provide a desktop control you can use at design time?
If
so,
try
that.

--
Michael Salamone, eMVP
Entrek Software, Inc.
www.entrek.com


"Fotis8" <Fotis8@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
news:9D157F3F-6921-4E46-87F8-9393272DC491@xxxxxxxxxxxxxxxx


"Scott Seligman" wrote:

=?Utf-8?B?Rm90aXM4?=
<Fotis8@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:

I would like to ask you if it is possible to use the
Parallel
Graphics
Cortona Control in Visual Studio 2005, in order to
develop
a
PDA
application
for a WM 5.0 OS.

Only if ParallelGraphics provides a device port of
their
control.

You should ask them if they do.

--
--------- Scott Seligman <scott at <firstname> and
michelle
dot
net> ---------
Circular logic will only make you dizzy, Doctor.
-- Peri in Doctor Who:"The Two Doctors"


Thank you for your reply!

What do you mean by a 'device port' ? In Microsoft
Emdedded
Tools
3.0
you


.



Relevant Pages

  • Re: PDA application development
    ... what I've noticed is that Visual Studion in general does that with COM ... The general issue here is that you have a control that isn't working with ... the designer plus you don't know how the ... Chris Tacke, Embedded MVP ...
    (microsoft.public.pocketpc.developer)
  • Re: PDA application development
    ... the designer plus you don't know how the ... control that plugs in to make sure you understand it. ... Chris Tacke, Embedded MVP ... "Chris Tacke, eMVP" wrote: ...
    (microsoft.public.pocketpc.developer)
  • Re: Disappearing Controls when the designer loads a form.
    ... which were traced to an exception my user control threw while in the designer. ... private ArrayList readOnlyColumnsList; ... public string ReadOnlyColumns ...
    (microsoft.public.dotnet.framework.windowsforms.designtime)
  • Re: PDA application development
    ... To get it to even work at all - not considering designer support to ... write a COM interop wrapper around the control. ... "Michael Salamone" wrote: ... The thing is that I have used the same reference in Emdedded ...
    (microsoft.public.pocketpc.developer)
  • Re: PDA application development
    ... "Chris Tacke, eMVP" wrote: ... To get it to even work at all - not considering designer support to ... write a COM interop wrapper around the control. ... "Michael Salamone" wrote: ...
    (microsoft.public.pocketpc.developer)

Loading