|
Hi,
I am doing windows mobile 5.0 application.I want to add icon to .exe file.
How to add? which website i should refer? please anybody help me,
Thanks.
|
|
|
|
|
In VS2005:
Project > (projectname) properties, and there you can choose an icon
|
|
|
|
|
Hi all
I am new to Visual Studio 2005 Windows Mobile development, please bear with me for some questions.
I have exe file installed in the device.
1.The Application launching very slow.When I double click the exe. file, I need to register to SIP Server,then load the Login form.its taking 4 to 5 sec for loading login-form.
2.Right now Iam connecting to internet thru GPRS before I launch the application.Is there any way to connect to internet on clicking Login -button?
3.I am trying to Exit the application many ways, but its not closing ,still running at the back-ground.
Please help me.
regards
|
|
|
|
|
In order to exit the application use Application.Exit(), instead of Form.Close() ... this should work fine.
Croitoriu Andrei
andrei.croitoriu@gmail.com
|
|
|
|
|
Hi Friends,
I have created a native dll in C++. How can I import the dll to an CSharp smart device application.
/////////////////////////////////////////////////////////////
Sample Code in C# is given below.
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace CallingSquareDllInSharp
{
class One
{
[DllImport("SquareDll.dll")]
public static extern int squ(int x);
static void Main(string[] args)
{
int a = 10;
int result = One.squ(a);
Console.WriteLine(result);
}
}
}
////////////////////////////////////////////////////////////////////
When I debug the the exe , I am getting an exception DllNotFoundException.
The above C# application is Console program run on visual 2005.
Kindly reply.
Thanks
Phijo
|
|
|
|
|
Your syntax is correct be sure your dll compiled for correct CPU (for ex. arm )
UMS
|
|
|
|
|
Hi all,I am doing mobile web application.In that,I need to display datas in a table format,objectlist is the only way to do that...In objeclist
1)How to align a particular column...?It will be good, the numeric value fields should right aligned...for easy calculations...
2)Is there any other way to display datas in a table format without using objectlist ?
Thanks..
-- modified at 8:09 Monday 18th September, 2006
|
|
|
|
|
Hi,
I would like to develop a simple pocket pc application which could be retrieve data from my desktop database server (SQL Server 2000) via WiFi network.
Here is the code I have written. I am using Visual Basic 2005 with Windows Mobile 5 Pocket PC SDK.
Imports System.Data.SqlClient
Public Class frmMain
Private m_adoCon As SqlConnection
...
Public Sub New()
...
' Add any initialization after the InitializeComponent() call.
m_adoCon = New SqlConnection
End Sub
Private Sub cmdConnect_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdConnect.Click
m_adoCon.ConnectionString = "Data Source=192.168.1.103;Initial Catalog=SWSSDB;User ID=swssuser;Password=swssuser01;"
m_adoCon.Open()
End Sub
There is one error occurs at the time it executes Open() method of the connection object and the error description says "General network error.". I am sure the WiFi connection is up and running smoothly.
Could you help me to figure it out?
Thank you for you help.
Dina
|
|
|
|
|
I'm not sure that this way will ever work. You cannot establish direct connection between PocketPC and SQLServer. For that purpose you need to use IIS. You need to study help file that came with SQLServer CE. There is a good example how to implement this feature. But not a direct communication, that is for sure.
KTB
|
|
|
|
|
Ive been programing abit with C++ for windows, but what compiler is used for CE applications? Whats the code type? (anything special?mfc for ppc?)
thanks!
/Johannes
|
|
|
|
|
You need either eMbedded Visual C++ 4.0 (with SP4) for Windows Mobile 2003, Windows CE 4.2 or Windows CE 5.0 custom platforms, or for Windows Mobile 5.0, Visual Studio 2005. Programs compiled with eVC 4.0 will (typically) run on Windows Mobile 5.0, but you cannot debug a program on WM 5.0 with eVC 4.0.
You must have at least the Standard Edition of VS2005 to do device development. The feature is not in the free Express Edition.
For Windows Mobile/Pocket PC devices you need the corresponding SDK from Microsoft. For a custom CE platform, you need to obtain the correct SDK for your device from the OEM.
eVC 4.0, eVC 4.0 SP4, and the Windows Mobile 2003 for Pocket PC SDK (Pocket PC 2003 SDK) can be downloaded from the Microsoft Download Center[^].
There's an edited version of MFC 6.0 for Windows CE included in the SDKs for devices prior to Windows Mobile 5.0. WM5.0 Pocket PC devices include the classic MFC runtime in ROM (mfcce300.dll) but you are expected to use the new MFC 8.0 runtime if you use VS2005. (The old MFC/CE headers do not compile with the new compiler).
|
|
|
|
|
Hi
Can anyone please help me in finding RFC for IEEE 802.15.1. I have not been able to find it on internet. Any help would be much appriciated.
Thank you
We Believe in Excellence
www.aqueelmirza.cjb.net
|
|
|
|
|
|
Hi,
I was using gmtime() on WinCE with Dinkumware libraries. It returned local time instead of UTC. Although I can convert it to UTC by calling GetTimeZoneInformation, still wondering why that is, and if there's any other function can be called?
Thanks!
d8
|
|
|
|
|
Italian start-up Mazatech is offering the second technology preview of their commercial library for hardware-accelerated 2D vector graphics. The company's AmanithVG library implements the whole Khronos Group's OpenVG specifications, using a pair of 3D APIs, also from the Khronos Group.
AmanithVG implements the OpenVG specifications "entirely on top of" a pair of open standard 3D graphics APIs: OpenGL 1.1 to 2.0, using extensions where available; and OpenGL ES (embedded subset) 1.1 and 2.0. The company claims that using 3D hardware to accelerate 2D graphics can produce quality comparable to software rasterizers, while achieving speeds many times faster or, in embedded systems, using far fewer processor cycles, as shown by the new benchmarks.
OpenVG is an open standard maintained by the Khronos Group. It defines a low-level API for vector graphics libraries, such as those associated with Macromedia Flash, or the W3C's SVG (scalable vector graphics) specification. OpenVG enables "fluidly interactive 2D performance" at very low power levels, Khronos says, and targets small-screen devices with user interfaces based on vector graphics.
AmanithVG is implemented in portable ANSI C, and supports Linux and other embedded OSes.
You can watch online the AmanithVG video at YouTube
|
|
|
|
|
Is it possible to display mainmenu at the bottom in wince 4.2 using C#, .net cf 2.0?
please help.
-- modified at 17:58 Thursday 31st August, 2006
|
|
|
|
|
Hello!
I would like to develop an application for mobile devices (pdas with Windows Mobile) using VS2005.
Where can I find any relevant information about what I need, besides vs2005, and how to actually create such an application?
Thanks
dolaura
|
|
|
|
|
you have to first decide which languge you will use, VB,VC++, VC# ,based on the type of application. MSDN is a good source of information.
Rashmi
|
|
|
|
|
If by VS2005 you mean just the IDE then take a look at Symbian C[^]
It's C++ for the Symbian Operating System. You can do your development on the VS2005 IDE.
Note that I'm only saying IDE because you can't use Windows Programming features (MFC, Windows Forms etc)
"It was when I found out I could make mistakes that I knew I was on to something."
-Ornette Coleman
"Philosophy is a study that lets us be unhappy more intelligently."
-Anon.
|
|
|
|
|
If you want to use the .Net framework, check out The .Net Compact Framework[^]
"It was when I found out I could make mistakes that I knew I was on to something."
-Ornette Coleman
"Philosophy is a study that lets us be unhappy more intelligently."
-Anon.
|
|
|
|
|
Hi,
this is sample of my code. I want to recive single phonebook entry information in 528 bytes.
------------------------------
[DllImport("cellcore.dll")]
unsafe public static extern int SimReadPhonebookEntry(int hSim, uint dwLocation, uint dwIndex, ref byte* ret);
unsafe private void buttonEx1_Click(object sender, System.EventArgs e)
{
int hSim = 0;
SimWrap.SimInitialize(0, 0, 0, ref hSim);
byte[] tab = new byte[528];
fixed (byte* pAddr = tab)
{
byte *pCurrent = pAddr;
tab[0] = Convert.ToByte(0);
tab[1] = Convert.ToByte(0);
tab[2] = Convert.ToByte(2);
tab[3] = Convert.ToByte(10);
SimReadPhonebookEntry(hSim, 16, 3, ref pCurrent);
SimWrap.SimDeinitialize(hSim);
}
-------------------------
Final tab array contains only size of array.
Where is mistake ??
I need to run this code on Visual 2003 CF and using c#, Windows Mobile 5.0.
|
|
|
|
|
Hi,
Im using compact framework on VS 2005, Im binding a combobox alright, but I want to insert a new item at zero index, like on windows I used to: ComoBox1.Items.Insert(0,new ListItem("0","Select"));
but there is no ListItem in compact framework.
I am not able to insert that new item at an index, when I do a Combobox.Items.Insert(..... Vs gives me (int index,object obj).
How do I insert that 0 index in compact framework???
please help.
_____________________________________________________
Yea! I could be wrong...
|
|
|
|
|
Dear all:
I am trying to implement an owner-draw list view in Mobile 5.0. Because I need to read the messages from SIM card and sort them before displaying, the overall time is very long.
So I want to display an item every time,in other words, update the list-view when adding a new item in WM_DRAWITEM,but I haven't found out any way to implement.
Could you give me some suggestions? Anticipating your replies! Thanks!
Yours, Roy.
|
|
|
|
|
Hi
I want to set up Infrared communication link between a PDA based on WinMobile5.0 and a robot (lego mindstorms).
Can any one help me in this regard. I just want the initial steps, how to start with it?
Thanx
Rashmi
|
|
|
|
|
Hi there! You need to enable the infrared port on the pda first(settings and config) and check if it is active(will show icon).The robot must have an infrared port so that it communicates with the pda.you can buy the infrared adapter and mount it on the robot if it doesn't have one already.then after that then you can control the robot using the pda;you should have software for controlling the robot installed on the pda or you can code it yourself.now get to work!
Regards,
Hesbon.
|
|
|
|