.net CF C# Writing to Exif
Hi!
I've spent about a week diving into this problem and I've found some
solutions on c++ (via opennetcf.com).
I'm not able to use this solution on c# because of IntPtr & Marshal
I'm not able to use
Marshal.PtrToStructure(IntPtr, ImageCodecInfo); -- this is not working
because of struct is not sequential.
which I need to iterate through installed codecs.
This(http://www.eggheadcafe.com/articles/20030706.asp) is great
article about the subject, but I'm not able to use it in CF because of
lack of methods in Drawing.Imaging in CF. I've tried to use this
solution and edit it to use OpenNetCF framework with no success(I'm
just not able to read ImageCodecInfo from OpenNetCF).
Is there any way how to work(write/read) with Exif in .net CF C#?
I'm desperately looking for some solution for my diploma thesis.
If you have any information regarding this issue please let me know.
Thanks in advance for any help.
I enclose some other website which I've found usefull.
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=553938&SiteID=1
- here is incomplete solution
--------------------------------------------------------------------------------
Ondrej Paulicek, MCP, MCTS Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87253
.net CF C# Writing to Exif
Hi!
I've spent about a week diving into this problem and I've found some
solutions on c++ (via opennetcf.com).
I'm not able to use this solution on c# because of IntPtr & Marshal
I'm not able to use
Marshal.PtrToStructure(IntPtr, ImageCodecInfo); -- this is not working
because of struct is not sequential.
which I need to iterate through installed codecs.
This(http://www.eggheadcafe.com/articles/20030706.asp) is great
article about the subject, but I'm not able to use it in CF because of
lack of methods in Drawing.Imaging in CF. I've tried to use this
solution and edit it to use OpenNetCF framework with no success(I'm
just not able to read ImageCodecInfo from OpenNetCF).
Is there any way how to work(write/read) with Exif in .net CF C#?
I'm desperately looking for some solution for my diploma thesis.
If you have any information regarding this issue please let me know.
Thanks in advance for any help.
I enclose some other website which I've found usefull.
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=553938&SiteID=1
- here is incomplete solution in c++
--------------------------------------------------------------------------------
Ondrej Paulicek, MCP, MCTS Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87252
Text to speech
I must develop TTS functionality in my application, so I'm looking
for samples or 3rd party SDK products.
Any idea?
marcello Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87251
microsoft.windowsmobile.telephony
Hi
I am new to the Mobile development. I have installed windows SDK 5.0, i want
to microsoft.windowsmobile.telephony.dll. I guess this assembly is part of
Windows Mobile SDK 5.0. But it is not showing in the add refe windows.
anyone got any idea? Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87248
Save Bitmap as PNG with transparency?
Hi!
Windows Mobile 6.0, CF 3.5
I noticed that Bitmap.Save(xxx, ImageFormat.Png) (and Gif) does not
preserve transparency when inspecting the image in for example PhotoShop.
I even tried to run through each pixel before the save by executing
if (bmp.GetPixel(x, y) == Color.White)
bmp.SetPixel(x, y, Color.Transparent);
(debug showed that the SetPixel statement was executed)
Does anyone have some solution on how to save a bitmap as PNG (or gif)
where white is made total transparent?
--
Bjorn Brox Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87247
Mobile 6 classic emulator - cant hard reset
Hi,
I've been using the Mobile 6 emulator for a while now and have been unable
to Hard Reset it. When I Hard Reset it, its the equivalent of doing a Soft
Reset. Anyone else experienced this? Does anyone know of a way i can force a
Hard Reset on this emulator? I'm using VS2005.
Thanks,
Dav Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87245
CF 3.5 development in VS2005?
Hello,
I´m new to Wm Development and I´m wondering if it is possible to
develop CF3.5 Solutions in Visual Studio 2005?Or is it only possible
in Visual Studio 2008?
Thanx for youre answers
thomas
--
I'm trying a new usenet client for Mac, Nemo OS X.
You can download it at http://www.malcom-mac.com/nemo Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87241
Is the TypeConverter attribute supported in CF 2.0?
Does anybody know if the TypeConverter attribute is suppored in CF
2.0? I have found an example of a person using it claing to be in the
CF world... But I get a compile error that TypeConverter is not an
attribute class. MSDN seems to show that it isn't supported which
would back up the compiler error.
Here is a link to the example that I found:
http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_thread/thread/52fe4d21322edafb/4d3059ecce1ed73d?lnk=gst&q=typeconverter#4d3059ecce1ed73d
What I'm trying to do is databind an object without using the Parse
and Format methods. In the full framework we have implemented this by
creating a class derived from TypeConverter and all of our Business
Objects specify this class by using the TypeConverter attribute. Does
anybody know how I can convert a string to my Business Object in the
business layer (textbox binding). Right now I have to do it in the UI
layer using code like this...
private void orderNumberBinding_Parse( object sender, ConvertEventArgs
e )
{
e.Value = new OrderNumber( e.Value as string );
}
Any help is appreciated. Thank you!
Jerod Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87240
How do you check to see if a hand-held device's power is on or not
I would like to know if there is an easy way, through WM 6 SDK, that I can
check to see if my PPC's power is on or if it is in sleep mode. I would like
to try and find some code in c# if possible. Any help would be great.
Thanks in advance,
--
Noble D. Bell
www.noblesoftware.com Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87238
ListBox.UseTabStops
This is a multi-part message in MIME format.
------=_NextPart_000_000A_01C87E02.7AFEEA60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Env.: VS2008, WM6, .NET CF 3.5
Hi All,
I need to display columns in a listbox. Although VS's forms designer =
lets you think embedding \t works, it actually doesn't :-(
Is there any way to add this behaviour to the ListBox? Actually, what I =
need is ListBox.UseTabStops for CF.
I don't use a ListView for this reason: Some items have text splitted =
into 3 columns but some just display one chunk of text accross the width =
of the control, such as this (assuming formatting of this post is =
preserved):
Lorem ipsum dolor sit amet
consectetuer adipiscing elit.
Lor 12345687 ipsum
Lorem 987654321 ipsum
Lore 654789123 ipsum
I considered using a monospaced font but it looks ugly.
Any solution will be warmly welcome.
TIA,
Serge.
------=_NextPart_000_000A_01C87E02.7AFEEA60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6000.16609" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Env.: VS2008, WM6, .NET CF =
3.5</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Hi All,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I need to display columns in a listbox. =
Although=20
VS's forms designer lets you think embedding \t works, it actually =
doesn't=20
:-(</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Is there any way to add this behaviour =
to the=20
ListBox? Actually, what I need is ListBox.UseTabStops for =
CF.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I don't use a ListView for this reason: =
Some items=20
have text splitted into 3 columns but some just display one chunk of =
text=20
accross the width of the control, such as this (assuming formatting of =
this post=20
is preserved):</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Lorem ipsum dolor sit =
amet</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>consectetuer adipiscing =
elit.</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Lor =
12345687 =20
ipsum</FONT></DIV>
<DIV>
<DIV><FONT face=3D"Courier New" =
size=3D2>Lorem 987654321 =20
ipsum</FONT><FONT size=3D2></FONT></DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3D"Courier New" size=3D2>Lore 654789123 =20
ipsum</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I considered using a monospaced font =
but it looks=20
ugly.</FONT></DIV>
<DIV> </DIV>
<DIV>Any solution will be warmly welcome.</DIV>
<DIV> </DIV>
<DIV>TIA,</DIV>
<DIV> </DIV>
<DIV>Serge.</DIV></FONT></DIV></BODY></HTML>
------=_NextPart_000_000A_01C87E02.7AFEEA60-- Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87232
Upgrade project from PPC2003 to Mobile 5
Hi,
I have a project written for Pocket PC 2003. It has been written in VS2005.
Is there a quick way to upgrade the project to target Mobile 5? My app will
run on Mobile 5 but I was wanting to upgrade the entire project to target
Mobile 5 if possible.
Cheers,
Dav Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87230
What to use dataset or xml in compact framework
I have to develop the win application for handheld. i m using
webservice for all bussiness logic or for data transfer.
i want to ask which is the best to get from web service XML or
dataset.
is it best to get return result in XML or dataset from webservice. i
have a major performance issue. so which is best so the performance is
good.
i also have to manipulate some information on handheld application.
So please suggest me what is best to use or xml or dataset. Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87229
Creating a shell link (CF3.5 C#)
Hi!
Using compact framework 3.5, C#
Could anyone tell me how I create a shell shortcut to a file within a C#
program (Form button action)?
I am in a need of add or remove a link to an exe file to the
\\windows\\startup folder.
--
Bjørn Brox Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87224
Create patch deployment package
Hi,
Can someone tell me how one can create a patch installation package(cab) for
a c# application targetted for Windows CE platform? For desktop windows/web
applications we use microsoft's Orcas tool to create a patch installation.
Does Microsoft provide something similar available for Windows CE
applications? What are the third-party tools that can be used to build a
patch?
Thnx Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87223
Drawing an Image at Full Screen
I want to draw an image at full screen (use the full 320x240 screen
dimensions).
Ideally, I'd like to be able to show the image such that my
application's form remains focused --
eg. Display the image within a control within my form; have a 'Go
FullScreen' menu option which then would paint the image at full
screen; and then if the user presses one of the menu keys, the image
go back to 'windowed' mode and the menu action takes place as if it
were in 'windowed' mode.
So step one is drawing the image at full screen. Is there any way for
a control to draw itself outside of its bounds? How does the media
player control go into full screen? Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87222
Determine software version
How do I programatically determine the version of executables on Mobile 5 and
6 devices from a seperate executable?
I'm running an app on mobile 5 and I want that app to determine the version
of other excutables that are sitting on the same PDA.
Thanks!
Eric Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87212
newbie question
This is a multi-part message in MIME format.
------=_NextPart_000_0006_01C87D59.78CB7460
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
New to non-desktop world.
When I try to create a Smart Device application, the VS 2005 gives the =
following options:
PocketPC 2003
Smartphone 2003
WinCE 5.0
I can understand to select WinCE as that is my target, but what is the =
difference between these? Sorry, I am a long long time desktop =
developer. New to this wonderland.
Also, what is the latest WinCE? how do i load it?=20
Help on this will be greatly appreciated.
------=_NextPart_000_0006_01C87D59.78CB7460
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6000.16608" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DVerdana size=3D2>New to non-desktop =
world.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>When I try to create a Smart Device =
application,=20
the VS 2005 gives the following options:</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>PocketPC 2003</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>Smartphone 2003</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>WinCE 5.0</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>I can understand to select WinCE as =
that is my=20
target, but what is the difference between these? Sorry, I am a long =
long time=20
desktop developer. New to this wonderland.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>Also, what is the latest WinCE? how =
do i load it?=20
</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>Help on this will be greatly=20
appreciated.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0006_01C87D59.78CB7460-- Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87197
Gps multiplexing and raeding directly from com port
Is it possible to read data directly from com2 port (device is connected to
com4 and beacuse of multiplexing function is visible as com2, too), without
using GPS intermediate driver. If it's posiible please give me some hints,
how can I do this. Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87189
Can Compact WCF be extended for duplex communication?
I am trying to confirm whether duplex communication is at all possible using
.NET Compact Framework support for WCF. Our Windows CE device is not a
mobile device and I would think some sort of duplex communication should be
supported. However, I see where only basic http & custom bindings are
supported. Basic Http obviously won't meet my needs, but I also don't even
see how custom bindings can help me. I would need to write a custom channel,
but it doesn't seem that will meet my goals either. ChannelBase is supported
by the Compact Framework, however IDuplexChannel is not.
I guess I'm looking for comfirmation ( positive or negative) on whether
Compact WCF can be extended to support duplex communication w/ a device
running Windows CE.
Thanks,
-Mike Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87187
No System.Runtime.Remoting in CompaceFramework?
Hello from Germany,
i have a little question. I have wrote a program in VB.NET. A second program
can connect to the masterprogram from a notebook or other pc's in my
network. This use the namespace System.Runtime.Remoting.
I would like wrote a program for my pocketpc (Acer n311 with Windows CE
5.0). But in the CompactFramework i can not find the System.Runtime.Remoting
Namespace.
Is this namespace not in CompactFramework or can i find/use a other?
I hope you can help me.
Best regards
Andy Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87183
Mobile Application
Hi , Everybody
I am Onur , A computer engineering student , and waiting to start my
graduation project ,
my project will be in asp.net,c# and mobile application field , but
all subject in this field are repeated and conumed , if any one can
help me to get a new idea for the project I'll be very grateful .
Waiting for Opinions .....
Regards, Onur Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87182
Rotate Image
I know there isn't a native command for rotating images in the Compact
Framework. I am looking for a way to do this. Simple 90 degree rotation.
I've found some stuff in the newsgroups, but nothing I can get working. If
anyone has any sample code they can provide on how to do rotation of an
image file on the Compact Framework, it would be appreciated. Particularly,
I want to open an image file, rotate it 90 degrees (from landscape to
portrait) and re-save it back.
Thanks! Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87179
Functionality of the compact framework
Hi,
I have an application that runs local to clients desk tops which I
would like to install on their new mobile phones running Windows
mobile.
It down loads data and populates bookmarks in MS Word using the
.Net Programmability in Office 2003 or downloads an actual MS Word
doument
It also uploads these files back to the server using a bespoke zip program
that uses a dll in the assembly folder.
Is any or all of this possible with .Net compact framework etc...
Thanks for you help
Regards Andrew Mercer
--
Andrew Mercer
----------------- Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87174
Message queues
This is all .NET 3.5 with Visual Studio 2008
I have a simple app on Windows Vista-64 that creates a messaging queue.
FormatName:DIRECT=OS:david-1\private$\callerid.
The app then writes a couple of entries. I have verified that the entries
have been correctly created with the Computer Management tool.
I now have a simple app written for the compact framework on an HP iPAQ HP
2790. MSMQ has been installed on it. When I call
MessageQueue.Exists(@"david-1\private$\callerid"), it returns false. I can
call this code:
IPAddress[] addresses = Dns.GetHostEntry("david-1").AddressList;
and the correct address comes back so I know networking and dns are working
properly.
Is there something special that I have to do on the Vista-64 machine or on
the iPAQ to make this work? Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87155
How to create a floating/resizable/movable dialog/form without
I want to create a floating dialog/window that when moved resembles
the way a MessageBox is moved. When you bring up a MessageBox and
click on the title and drag the MessageBox to a different location, a
frame (also known as border or rectangle) appears over the dimensions
of the MessageBox and while you drag the MessageBox, only this frame
moves while the content area of the frame is transparent.
I have looked up solutions for creating transparent controls but I
believe that this is the wrong solution. For starters, when a
MessageBox is moved, there is no flickering at all. This tells me that
the frame is probably not a control of any sorts, because if it were
it would require that the background be updated very quickly and this
does not appear possible using anything that inherits from a base
control.
I believe that the frame is being drawn as a rectangle on top of a
bitmap of the entire form (or entire screen) and that double buffering
must be used to eliminate flickering. In fact, I wouldn't be surprised
that only the grahic areas behind the actual frame lines are being
updated and nothing within the frame. This allows for the fastest
updating possible while the frame is being moved around.
So, it's possible that when a mouse down even is detected by the
MessageBox control on the title area, a snapshot of the entire form or
screen is taken and then a rectangle is drawn at the same location
where the MessageBox is located. When the user moves the mouse while
it is down, the code is effectively redrawing the frame on a different
location of the snapshot. Then again, maybe I am wrong. Perhaps the
drawing of this MessageBox is an internal piece of code that access
the drawing buffer of the device and simply just draws on it. If this
is so, I am not aware of whether there is an API that would allow me
to do the same. In other words, some API that simply says,
"DrawFrame".
Finally, I also want to be able to resize the dialog/form. A
MessageBox cannot be resized so I would obviously need to come up with
a radically new solution. And while resizing, it cannot flicker.
So my assumption here is that I will probably need to take a snapshot
myself and handle the the moving/resizing. Has anyone done this before
or at least know of an API that lets me take a snapshot of the entire
screen (or just the form) ?
Thank you
Johann Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87154
Clearing Pocket IE Windows Cache
Using VS 2005, .NET CF 2.0 SP1, on Windows CE 4.2
Is there a way to clear the internet explorer cache programatically
other than deleting the Temp Internet Files directory? It seems
there'd be an API call to execute the functionality of the "Clear
Cache" button on the "Internet Options" window from the Control Panel.
\Windows\Profiles\xyz\Temporary Internet Files Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87153
Printing from Symbol MC50
Trying to get a Symbol MC50 to print using WLAN. I have a Zebra MZ320 printer on the WLAN. How do I install the printer on the MC50? This is a PocketPC 2003 device
From http://www.developmentnow.com/g/18_0_0_0_0_0/dotnet-framework-compactframework.ht
Posted via DevelopmentNow.com Group
http://www.developmentnow.com Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87125
Launch program from within another program
Hello,
I need to do the following:
1) Run a program (Program A)
2) From within "Program A" I need to launch and run "Program B"
3) Close "Program A"
Is there an easy way to do this within C#?
--
Noble D. Bell
www.noblesoftware.com Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87122
Installing application through CAB to predefined folder
Hi all,
I developed application that will run on Symbol MC3000 WinCE5.0
devices. On that device only \Application directory is cold boot
persistent. Now I would like for application CAB file to install
application in \Application folder by default (fow now I know that
this is only possible for \Program Files folder). I am using VS.NET
2005 and CF .NET 2.0. Is there a way to set up CAB file to use
\Application folder as a default installation location?
Thanks in advance, Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87118
suggestion about PDA and mobile Printer
Hi guys!
I need to develop an application that send to print from a PDA (with windows
mobile of course or windows CE) to a mobile printer (i've used zebra
printers some months ago with laser readers) but this time i need to print
to an A4 sheet, for example an excel or word file, but i don't know what
kind of printer or model i should use, i think there should be bluetooth
printer, but not all mobile printers have drivers for windows mobile or CE,
i'd like to know if someone has done it, from a PDA send to print to a
mobile printer, sheets A4 or Legal or Card and what kind of printer have
used.
PS: i think if the PDA and the mobile printer has bluetooth any PDA should
work
--
Regards
e-Ricc Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87107
ObjectDisposedException without an ObjectName
We have a program that has been in development for a number of years
now, and it has created a fairly sizable startup routine that, on
occasion, throws an ObjectDisposedException. We are logging the error,
but it seems to occur at different places every time. In other words,
it is difficult to debug.
The main problem is that the ObjectName property of the
ObjectDisposedException is always an empty string, as this VB.NET
example:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
Try
Dim Test As New Button
Test.Name = "ObjectTest"
Test.Text = "Not yet disposed"
Test.Dispose()
System.GC.Collect()
Test.Text = "This object is disposed"
MessageBox.Show(Test.Text)
Catch ObEx As ObjectDisposedException
MessageBox.Show(ObEx.ObjectName)
End Try
End Sub
This always throws the ObjectDisposedException, and the name is always
a blank string. If the code is run in .NET full, then the ObjectName
is "ObjectTest". Is this something we are doing wrong? Does anyone
have any pointers as to a better way we can try to find this exception? Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87093
Simply obtaining the Mobile Phone Number of the User
Hello all,
I have written an application used by a large number of remote sales
staff. When they sync their daily data, I want to know what phone
number (SIM) they have in their smartphone. I have already used the
TAPI to find the IMEI of the device.
There seems to be quite a lot of information about how to find the
phone number of the caller when a call comes in, but I'm just trying
to find the phone number of the device itself. In other words, what
you see in Start Menu : Settings : Personal (tab) : Phone : "Phone
Number". Or, to put it a third way, if it was my mobile phone, what my
own mobile phone number was.
The application is written for an XDA II device, PocketPC version 4.2.
In Visual Basic, compact framework.
Any help appreciated! Thanks a lot in advance, as this is driving me
nuts.
Regards,
Saul Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87087
connection problem when trying to directly connect to SQL Server
Hi,
I have created a SQL Server 2005 database in VS 2005 and I am using windows
mobile to access directly to SQL Server.
I use Vista and Windows Mobile device centre for the connection between the
device and the PC.
I have enabled remote connections for TCP/IP and named pipes. I have also
checked the firewall settings and made an exception for sqlsrv.exe
Building it is fine but When I debug the application, the status says
deployed successfully then it gives me the following error :
SqlException was unhandled- int returnValue =
this.Adapter.Fill(dataTable);
When I comment out the line that calls this 'Fill' method the It displays
the column heading but no data in it off course..
So I am very confused whether this is a connection error or not...
The code is automatically generated by visual studio.
The connection string I use is:
"Data Source=HEZAL-PC\\SQLEXPRESS,1433;Initial Catalog=MEDITERRANEAN
_RESTAURANT_MANAGEMENT;Integrated Security=True;"
Here is the stack trace:
at System.Data.SqlClient.SqlConnection.get_ServerVersion() at
System.Data.SqlClient.SqlConnection.Open() at
System.Data.Common.DbDataAdapter.QuietOpen() at
System.Data.Common.DbDataAdapter.FillInternal() at
System.Data.Common.DbDataAdapter.Fill() at
System.Data.Common.DbDataAdapter.Fill() at
Orders.MEDITERRANEAN__RESTAURANT_MANAGEMENTDataSet1TableAdapters.Customer_DetailsTableAdapter.Fill()
at Orders.Form1.Form1_Load() at System.Windows.Forms.Form.OnLoad() at
System.Windows.Forms.Form._SetVisibleNotify() at
System.Windows.Forms.Control.set_Visible() at
System.Windows.Forms.Application.Run() at Orders.Program.Main()
Sorry for the information overload.. I need some help urgently as I have
spent days reading searching but nothing helped :(
Can anyone help me please?
Thanks Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87085
SMDK for .NET Barcode Control and MC70
Hi All,
I develop an application which runs productive on 20 Symbol MC9000
Series Devices.
I use :
- Visual Studio 2005, C#
- "Symbol Mobility Developer Kit for .NET v1.6"
- Compact Framework 2.0 SP2
- Windows-CE 5.0 for MC9090
- Windows-CE 4.2 for MC9060
On all devices the Barcode control from the "Symbol Mobility Developer
Kit for .NET" works very good: Drop a Barcpde Control, implement the
OnRead event handler --> Done.
Today, I got my hands on a Symbol MC70 device (Windows Mobile 5.0, CF
2.0 SP2) with UMTS/GPRS support. On this device the Barcode control is
not working. Even the Example from Symbol Technologies is not working
(%PROGRAMFILES%\Symbol Mobility Developer Kit for .NET\v1.6\Windows
CE\Samples VS2005\C#\CS_BarcodeControlSample1)
Is there anyone, who uses sucessfully the Barcode Control from the
"Symbol Mobility Developer Kit for .NET v1.6" on a MC70 Device ?
Regards
Henrik Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87070
InputPanel
Alright I used to add an inputpanel to hide and show the SIP - Moved to
Windows Mobile 5 and looked like the SIP panel is there automatically.
Which object's events can I capture to control this SIP panel? Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87060
Mapping
Hello all, does anyone have any suggestions on mapping software to use? I
am looking for a solution that allows me to pass parameters to it (i.e.
destination address) and then have it route to the address via a GPS link.
Another requirement I have is the maps have to reside on the device (SD
Card) and cannot come from a server and it would be nice to have the maps
broken down by city, state or region. Does anyone know of anything out
there right now like this? Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87055
will vs2003 and vs2008 corporate on the same machine ?
hello ..
our development envoirement is vs 2003 ,and we want to update our
projects to vs 2008 ....
and some of our customers using old machines so we have to continue
some projects in vs 2003...
is it possible that these two platform will work on the same
machine ,or did somebody try this ?
because i have visual studio 6 and vs2003 on the same machine ,and
they work without errors...
thanks ...
evgininanir Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87053
Blackjack II GPS
Hi,
According to emails I have received, Google Maps finds the GPS immediately.
However, scanning the com ports in C# does not. Even with the Modaco hack,
looking for the GPS doesn't necessarily work.
Any idea how Google Maps get their GPS code to work with an unmodified BJ 2?
Hilton Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87045
Updating DataRow throws Exception 0xC0000005
Hi guys,
I'm facing a very puzzling problem and thought maybe someone here
could help. It's been driving me nuts, really.
I'm developing a Windows CE application (to be deployed in Windows CE
4.2 core) and my emulator is running Windows CE .NET v4.10 (build
908). I don't have a device with me now where I could test the
software, unfortunately (that's still being arranged).
One of the code bits is a button to consolidate data, merging rows in
a DataTable:
[CODE]
private void btnConsolidar_Click(object sender, System.EventArgs e)
{
for( int j=0; j < dataTable.Rows.Count; j++ )
{
DataRow row1 = dataTable.Rows[j];
String ean = (String)row1["ean"];
String cod = (String)( ( row1["codigo"] == null ) ? "" :
row1["codigo"] );
int idx;
for( idx=j+1; idx < dataTable.Rows.Count; idx++ )
{
DataRow row2 = dataTable.Rows[idx];
if( ((String)row2["ean"]) == ean || (cod != "" &&
((String)row2["codigo"]) == cod ))
{
long q1 = long.Parse((string)row1["quant"]);
long q2 = long.Parse((string)row2["quant"]);
if( bConferencia )
{
if( (string)row1["quant1"] == "0" )
{
string q =
(string)row2["quant1"];
//row1["quant1"] = q;
dataTable.Rows[j]["quant1"] = q; // CRASH!
}
if( (string)row1["quant2"] == "0" )
//row1["quant2"] = (string)row2["quant2"];
dataTable.Rows[j]["quant2"] =
(string)row2["quant2"];
}
row1["quant"] = q1+q2;
// remove a fileira copiada
dataTable.Rows.RemoveAt( idx );
//dataTable.AcceptChanges();
// row1 = dataTable.Rows[j];
// compensa a fileira removida
idx--;
}
}
}
dgItens.DataSource = dataTable;
dgItens.Refresh();
}
[/CODE]
Please forgive the commented extra code, I've been adding and removing
scaffolding looking for the problem.
What this does is something like this: suppose you have three rows,
thus:
A 0 0 7
B 4 3 0
A 0 0 3
C 1 5 0
A 2 2 0
It consolidates the same products to:
A 2 2 10
B 4 3 0
It works when you only have one product repeated (i.e., only one row1
is updated). However, if there are several repeated products,
A 0 0 7
B 0 0 5
A 2 2 0
B 4 3 0
the system crashes with a native exception (code 0xC0000005, which
research shows is an illegal memory access exception) when I try to
update the second row in the table (line marked "CRASH!", above). Note
that the first update goes well! Also, if I set it up with only one
product repeated, press the button, set it up with another product
repeated, and press the button again, it works.
I'm guessing it has to do with the way DataTable updates its rows, but
so far, I've had no luck figuring the problem out. I'll greatly
appreciate any help I can get!
Thanks in advance,
Shade. Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87044
emulator has only 3.5 free space in german VS2008
Hi,
since today i am using the german VS2008,
the german emulator for WM2003SE has only 3.5 MB
free of Space. what can i do ?
As i remember in the english version of VS2008
the emulator has had 30 MB free space
Hallo,
seit heute setz e ich das VS2008 dt für die pocket PC
Entwicklung ein.
O Schreck, der Emulator für den PocketPC 2003 SE
hat nur 3.5MB freien Speicher. So kann ich das CF3.5
und SQL Compacct und die Anwendung garnicht erst
auf das Device kopieren.
Die Frage: wie kann ich den
Hauptspeicher des Emulators vergrößern ?
Anmerkung unter der englischen Version waren es rund
30 MB freier Speicher
Rainer Borchmann Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87037
developing camera capture
hi,
Iam developing a video capture application for windows mobile.
How can we customise CeCameraCapture dialog to...to remove the stand
by option. Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87034
Is it possible to increase the width of the caret (cursor) in CE?
I would like to widen the width of the cursor / caret throughout my
device. This is easily achieved in Windows XP/Vista. Is there any
way to programatically (or via registry) adjust the cursor width or
perhaps install a different cursor type on my device? Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87029
Autostart an Application on Device Start
How to I register an application (That I am writing) to automatically start
when a device is powered on?
Joel Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87028
calling a web service from a dll developed in C++
HI All,
I need to develop a dll in C++ which calls a web service for a smart
device/WM. The reason for using C++ is because, that this dll has to
be invoked from a non-dot-net application from the device.
I need to develop the Dll in such a way that i don't have to install
compact framework on the device.
Any help would be appreciated.
Haroon Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87027
How to allow desktop app to communicate with mobile app?
Hi,
I would like some suggestions at the best way to accomplish this.
I have a desktop and compact framework application that need to communicate.
The setup that I will require is that they are cradled so there is a direct
connection between the two devices. What is the best way to allow these two
applications to communicate. I was looking at RAPI but that is for
controlling the device and does not allow me to open a connection to a
specific application. I was also thinking about sockets but am not sure if
that would be easy through a cradled device. Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87026
VS2008: Where are the Windows Mobile project templates?
Hi All,
I had VS 2005 Pro and the WM6 Pro SDK installed and working great.
I added VS 2008 Pro. Reinstalled WM6 Pro SDK Refresh as indicated I don't
remember where.
Now, in the VS2008 New Project dialog, when I click "Smart Device" in the
tree, I don't have any sub-categories (PocketPC, WM6 Pro, SmartPhone,...)
and the list contains only one template (Smart Device Application).
Where are all the Windows Mobile project templates?
TIA for your help.
Serge. Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87022
CommandLine not member of system.environment (VB 2005)
hi,
i'can't get "CommandLine" or "GetCommandlineArgs" with VB.NET to works for
my application on windows mobile 5 (compact framework 2).
help please,
thanks
stef Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87021
Problem with the breakpoint hitting(at runtime breakpoint was disa
Hi All,
I am using VS2005 service pack 1(SP.050727-7600) + compact framework(SP2),
Currently iam doing development in the compact framework technology. I am
facing a problem with the breakpoints, in only one of the function the
breakpoints are not hitting and at the run time only this function breakpoint
was disabled and showing the following error when i mouseover on breakpoint.
"The breakpoint will not currently be hit. No executable code is
associated with this line."
Please let me know what could be rootcause of this problem and how i can
avoid this problem.
NOTE: The function has been overriden in the form inheritance classes. The
overriden Derived form function breakpoints are working correctly, but the
base form overridable function breakpoints are not working.
--> From the dervied form function, i am calling the base form function
using MYBASE.functionName(here in debug mode it is not going to the base
function eventhough i kept the breakpoint in the base function). Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87020
Network LogIn
Hello!
I have a simple problem - when I try to access a networkfolder with my
PocketPC the password prompt can't carry all characters of my password, so I
like to write a simple application which is able to connect my networkfolders.
I'm thinking of an simple gui (folderpath and password) and I like to write
this in C#
Does anyone has any idea, how I can realize the network login? (assemblies
or dll)
I'm using Visual Studio 2005 Pro and the target device is a PocketPC with
Windows Mobile 2003 SE
Thanks for any replies
Regards
J. Sandner Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 87014
native exception with try-catch
I have developed an application in VB.net and recently have started to get
native exceptions. When running the application on the device I get an error
that says "A native exception has occured in ....." and it gives me two
buttons - details or quit.
When viewing details it gives me:
Error
ExceptionCode: 0xc0000005
ExceptionAddress: 0x006c0044
Reading: 0x006c0044
at NativeMethods.OpenStore(IntPtr pOpenInfo, IntPtr pfnOnFlushFailure,
IntPtr& pStoreService, IntPtr& pStoreServer, IntPtr& pQpServices, IntPtr&
pSeStore, IntPtr& pTx, IntPtr& pQpDatabase, IntPtr& pQpSession, IntPtr&
pStoreEvents, IntPtr& pError)
at SqlCeConnection.Open(Boolean silent)
at rmcRemoteConnection.get_LocalConnection()
at rmcRemoteConnection.ExecuteCommand(String SQLStr, SqlCeCommand Command)
at rmcRemoteConnection.ExecuteCommand(SqlCeCommand Command)
at kWGlobal.ExecuteCommand(SqlCeCommand cmd)
at ComponentGlobal.SendDataTokWatch()
at ComponentGlobal.IntervalTime(Object state)
at Timer.ring()
The code within ComponentGlobal.IntervalTime is:
Private Shared Sub IntervalTime(ByVal state As Object)
'THis is fired whenever the time is passed
Dim DatS As datDataSource
Dim BaseTime As New Date(2000, 1, 1)
Try
For Each DatS In DataSources
If (NextIntervalDueDate.Subtract(BaseTime).TotalMilliseconds
Mod DatS.Interval) = 0 Then
'THis means the correct number of intervals has passed
DatS.IntervalTime(Nothing)
End If
Next
'Set the next timeout period
SetNextEvent()
SendDataTokWatch()
Catch ex As Exception
End Try
End Sub
As you can see the entire function is within a try-catch but the error is
not caught. This is a major issue as the reliability of the application is
crucial.
If anyone can help it would be much appreciated.
--
matthew Tag: Support for LLDP (Link Layer Discovery Protocol) Tag: 86994
Does anyone have experience with LLDP on a .Net CF device?