|
Hi
Anyone help about how to establish GPRS Connection using VS2005, VC++, pocket pc platform. Please suggest me with any sample code or article
Thanks in Advance.
|
|
|
|
|
if use VC++ to establish GPRS Connection ,there is a lib to dial,the name is "RasDial".
But I don't know how to establish GPRS Connection using VS2005,Csharp(C#)
|
|
|
|
|
We can Connect the GPRS through C#. Using Pinvoke Native Interop services,
|
|
|
|
|
hello,
If there is any API for hooking and intercepting in Symbian OS .
Please tell about that
Regards
Manisha
|
|
|
|
|
I need a help to send the query to GPS via serial port. I am using VS2005, VC++, Pocket PC 2003 Platform.
Anyone please suggest me with example source code ASAP.
Thanks
|
|
|
|
|
What is the exact problem and where are you stuck ? What did you try so far ?
|
|
|
|
|
Hi,
Thank you fo your reply. I tried code from Serial Port Enumeration on Window Mobile in Code project for my applicaiton, it shows COM2 : GPS_HWCOM. But actually on this Pocket PC 2003 GPS Port is COM5, I checked that GPS setting.
I try to read the data from serial port COM2, it shows letters are small square box, then I use COM5 to read the buffer it show the GPS information.
can you please suggest me how to solve this problem and how to scan this port by 1 sec or 2 sec delay..
Thanks
|
|
|
|
|
hi use serial ports and set the readdatabuffersize = 1024 and then register the
serial port DataRecieved event where you will get the data of GPS
when the buffer gets full, and then parse it.
hopefully this helpsgm
|
|
|
|
|
Hi All,
I am working on windows Mobile 6.0 and I want to use SIP(session Initiation Protocol) in my application. Is there any third party support for SIP API's which I can use in WM 6.0.
Thanks in Advance
Atul
|
|
|
|
|
Hi all,
I'm finding great problems in an apparently very simple piece of code:
I obtained that from a string (or an integer value) rappresenting an ARGB color, to reproduce the correspondig color, but I am not able to obtain the inverse (obtain a string (or an integer value) from a color.
Instead of a value I obtain only the string "System.Drawing.Color".
This is the code:
Console.WriteLine(Color.FromArgb(Red, Green, Blue))
I also tryed to use Color.ToString, but it seems it is not supported in C.F. 2 SP2.
I also tryed many other possibilities without results.
I find very strange there are no possibility.
Please help me to obtain a number or a string.
Regards
Marco
modified on Monday, May 12, 2008 6:31 AM
|
|
|
|
|
hi,
i also done this type of work in .net framework . Try following code in .netCF
for change color value to String variable
Dim a As New ColorDialog<br />
If a.ShowDialog = Windows.Forms.DialogResult.OK Then<br />
Dim STR As String = RGB2HTMLColor(a.Color.R, a.Color.G, a.Color.B)<br />
endif
where code of RGB2HTMLColor function is following
Private Function RGB2HTMLColor(ByVal R As Byte, ByVal G As Byte, ByVal B As Byte) As String<br />
<br />
Dim HexR, HexB, HexG As Object<br />
Dim sTemp As String<br />
<br />
'R<br />
HexR = Hex(R)<br />
If Len(HexR) < 2 Then HexR = "0" & HexR<br />
<br />
'Get Green Hex<br />
HexG = Hex(G)<br />
If Len(HexG) < 2 Then HexG = "0" & HexG<br />
<br />
HexB = Hex(B)<br />
If Len(HexB) < 2 Then HexB = "0" & HexB<br />
<br />
RGB2HTMLColor = "#" & HexR & HexG & HexB<br />
End Function<br />
and for change a string to color (reverse)
dim a as color<br />
Dim ArgbComp As String() = Microsoft.VisualBasic.Split(HEXCOL2RGB("#000000"), ",") '#000000 is sample<br />
a.BackColor = Color.FromArgb(ArgbComp(0), ArgbComp(1), ArgbComp(2), ArgbComp(3))
where code of HEXCOL2RGB function is following
<br />
Private Function HEXCOL2RGB(ByVal HexColor As String) As String<br />
<br />
Dim Red As String<br />
Dim Green As String<br />
Dim Blue As String<br />
<br />
Red = Val("&H" & HexColor.Substring(1, 2))<br />
'The red value is now the long version of "00"<br />
<br />
Green = Val("&H" & HexColor.Substring(3, 2))<br />
'The red value is now the long version of "FF"<br />
<br />
Blue = Val("&H" & HexColor.Substring(5, 2))<br />
'The red value is now the long version of "1F"<br />
<br />
<br />
HEXCOL2RGB = "255," & CInt(Red) & "," & CInt(Green) & "," & CInt(Blue)<br />
<br />
Return HEXCOL2RGB<br />
<br />
End Function
hope this helps
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
Thanks Rupesh,
I tryed your code and it works, but I can't use HEX values.
Now I am studying how to adapt it in my appl.
In my case, for example, value 65535 (256*256) it's corresponding to Yellow color.
When I choose the Yellow (for example)color from color picker (or ColorDialog), I want convert it in the corresponding value (or string) 65535. This is the problem.
I'm using another Color Picker (free), but I would like to use Windows Color Dialog.
But It seems it is not supported in .net C.F. (Windows Mobile 2003 SE).
Marco
modified on Monday, May 12, 2008 10:45 AM
|
|
|
|
|
hi every body
i have a list view control in windows mobile application which read from database and it has some problems :
1- the list view has 5 columns , i made the alignText property to all of the columns to center but i have one problem the first column does not set to center i try to set it from the property window and from code to be center but it always be left , and i don't know why ?
can you help me in that ??
and other problem is i want to make the header text bold , not all the list view , how could i do that , i didn't find any property to do that in windows mobile
by the way i use vb in my application
Thanks a lot
Mona
LA ELAH ELA ALLAH MOHAMED RASOL ALLAH
|
|
|
|
|
The left column always has it's text left aligned - it's the same in winforms.
I believe you would need to make your own ListView (inheriting from the built in one) and override the OnPaint method to alter the header font properties. You could possibly fix your first problem using this method too.
Dave
|
|
|
|
|
Can Anybody help me out with whether API Hooking or Intercepting of APIs is possible in SYmbian OS. its very urgent
Regards
Tejasvi Sabale
|
|
|
|
|
Hi Repsected All,
i m working with vb or c# in .net cf 2.0, and i m trying to controling GPS, actiualy after goes off for power saving my gps also off, but does not avctivate after power on the device, have to myself gps on, i want to on programetically, if possible than pls guide me.
bay
regards Rajat.
B in Game
|
|
|
|
|
|
HiRespected all,
i am working with vb.net or c#, and i m doing to controling mobile power saving on / off programetically.
we know default after 10 seconds, device goes off for saving power and touching and key it will on.
i want to on programetically but how?
any one who has idea, pls guide me.
regards Rajat.
B in Game
|
|
|
|
|
hi rajat,
i have no idea about power but i read the artcle few day ago. May following link help you
Power Mode[^]
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
Right now I'm building my XPe image as follow:
Start with a "Starting XPe image" using the "NT Loader" and the "Windows Explorer Shell"
(and other components, including my device list from tap)
Boot it from my writable USB, goes through FBA, install the device driver from the CD (they don't ship with .INF, so I will just use their installer), install .NET, change display settings.
OK, now I have a working XP Image I'd like to modify it to:
- use the EWF Filter (no write on the disk)
- use another shell (one of my .NET3.5 app)
- be ready for network boot.
How could I do that?
Any tip or links?
Thanks! :P
|
|
|
|
|
I've created a Windows Mobile 5.0 Application, in Visual Studio 2005 with 5.0 SDK, I would love to put in an info button, that gave them the version of my application, however I do not want to have to update this manualy, how can I make it autoincrement a version number on every bulid?
Paul
Computer Programmer Web/Mobile .NET
|
|
|
|
|
no one?
Computer Programmer Web/Mobile .NET
|
|
|
|
|
Hello,
I am developing an application to monitor Internet Explorer on Windows Pocket PC using Windows CE 5.0. I want to start my process whenever Internet Explorer opens.
We have tried hooks, but failed. We got information that says WinCE does not support hooks except keyboard hook.
Now, we have developed an application using BHO (Browser helper Object).
Here, whenever I browse URL then I can monitor Internet Explorer by following events –
OnDocumentComplete, OnTitleChange, OnBeforeNavigate2, OnNavigateComplete2.<br />
But we found that whenever we close Internet Explorer on Pocket PC. It does not closed completely, it get minimized and when we open it again the same website is opened with previously opened page without loading it. As a result the OnDocumentComplete event is not fired. That time my application fails. So I request you to suggest me some solution to get ride on the above issue.
We have used a sample application at http://msdn.microsoft.com/en-us/library/bb158758.aspx which is present on our machine C:\Program Files\Windows Mobile 6 SDK\Samples\Common\CPP\ATL\PIEHelper
Thank you.
Shashikant
|
|
|
|
|
|
Try this:
http://www.microsoft.com/downloads/details.aspx?familyid=dacd1722-256b-48c5-91c1-af6062340efc&displaylang=en
~Dave
Dave Traister
Software Engineer
ComponentOne LLC
www.ComponentOne.com
|
|
|
|
|