Q:How to modify localized phone number description?
Hello~
In U.S., I want to use regional setting to U.K.
And I found below phone number desciption on using.
(1)5161112222 --> U.S. phone number.
In U.S. setting,
(1)516-111-2222
In U.K. setting,
(1)5161112222
How can I use to (1)516-111-2222 with U.K. setting in Newyork.? Tag: How to read data from EXCEL file Tag: 127928
rearrange SIP list
I got 5 SIP list.
DioPen
Keyboard
Touch12
Transcriber
XtKeypad
Can I rearrange it to below?
XtKeypad
Touch12
DioPen
Keyboard
Transcriber
Is it enumerated only alpabetically? Tag: How to read data from EXCEL file Tag: 127927
OutOfMemoryException
This is a long shot, but i was wondering if there was anything that i could
do to avoid an OutofMemory Exception.
I have written a program that runs on a pda which reads in a csv file and
stores it into a datatable object (which can be searched through). At the
moment i can only read in a file with 8000 lines. I'd like to increase this
to 20,000 but can't as i get the OutOfMemoryException...
--
WD Tag: How to read data from EXCEL file Tag: 127926
Debugging WiFi device with AS4.5
The problem I am facing is about debugging User side application on a
WiFi enabled pocketPC device.
I am using VS 2005, ActiveSync 4.5 and device is loaded with WM 6.0
(CE OS 5.2.1620)
The device is connected the PC via USB cable
The symptom is that having a debug session On makes Application very
very slow. 3-10x slower than when the same binary is run on the same
device without debug. I strongly suspect it is because debug session
tries to use WiFi connection that the device has.
Earlier with AS4.0 & WM5. There was no official way to have USB and
WiFi on at the same time. Therefore people would kill WZC on device
and then they could have debug session together with WiFi and it
worked perfectly.
My question is what can I do to force debug session to stick with USB
as it used to be with earlier MS software? Tag: How to read data from EXCEL file Tag: 127920
Embedded scripting language for Windows Mobile application
Hello.
I'm developing an application for Windows Mobile 5 devices, using .NET
compact framework. I need to have some automation for some tasks in
the application, and the perfect solution for this is an embedded
script language. On the desktop I could choose various languages (VSA,
python, lua...), but on the mobile device I don't know where to begin.
Any recommendations, thoughts, ideas?
Thanks. Tag: How to read data from EXCEL file Tag: 127913
WinCE and transparent irregular shaped forms
Is it possible to create transparent win form with irregular shapes in
Windows CE 5.0 (under Visual Studio 2005?). If yes, how to do that?
I am trying to override OnPaint method but it does not work at all. Tag: How to read data from EXCEL file Tag: 127912
IE script error when creating MFC Smart Device app in
I tried via making new entry in registry,but still could not get through the problem.same script error is still coming.Can some body help me out? Tag: How to read data from EXCEL file Tag: 127910
winCE 5.0 show notification
I am developing an win CE app. There is a backgroung thread that is
synchonizing my app with a desktop comp every i.e 60 secs. I would like to
show any notification to the user when data has been synchronized. Do you
have any idea how to do that? I have tried to show a form (but the form is
frozen, why?).
Any help will be appreciated! Tag: How to read data from EXCEL file Tag: 127909
Usage of SHCMBM_SETSUBMENU
Hi all,
I'm trying tp dynamically change my menubar on the fly in my
application.
I found the message SHCMBM_SETSUBMENU in MSDN document.
But I'm not sure how to use this API, everything I've tried just
doesn't work.
And I can't find any example about this API in Internet.
Is here anybody have experience of thes API, and can tell me the right
usage of this API?
I'm working on a Windows Mobile 6 Smartphone.
Thanks!
- William Tag: How to read data from EXCEL file Tag: 127908
from Embedded Visual Basic to .net 2005
Is it possible/easy/quick to move a source code written in Embedded
Visual Basic 3.0 to Studio .net 2005?
I use buttons, listboxes, combos, grids, labels (standard
components...) and a winsocket
Is there any wizard, automatic procedure, something?
will the code immediately (quickly) work again or will I need to cry
for hours to have my code working again?
(emb vis bas semed to be good -easy and free-, but it is buggy...), so
I am thinking to migrate
thank you Tag: How to read data from EXCEL file Tag: 127906
embedded visual tools does not fire events anymore
I have developed an application using embedded visual basic 3.
it works prefectly
... then I exchange some data from a server using a winsocket...
When the communication ends (8K of data data exchanged), the
application becomes weird... after a while, when I click on a command
nothing happens...nor listbox, grid... no one *_click event works.
The app stop to respond. I have to reset the palm.
I use a different form to exchange data, and after the data exchange
the "hourglass mousepointer" remain always visible (rotating)
there are no loops... so the program cannot be in a loop.
any suggestion?
thanks Tag: How to read data from EXCEL file Tag: 127905
Create with VS2005 a console output
Hello,
i have create a small sample with VS2005 C++ for Windows Pocket Emulator.
int main there is a printf and a Message.
The message box is shown, but the printf text not. Why ?
What must i do, to create a console window under Windows Pocket.
Thanks for help
Jimmy Tag: How to read data from EXCEL file Tag: 127901
Auto Update Apps created w/ VS2005
Our first mobile app is in use widespread on both pocketpc2003 and windows
mobile5.0. Now when a change is made I must track down all of the devices and
re-deploy to each one. I would like to find a solution to auto-updating these
apps. I know that others may have done so and I still consider myself a
newbie to the VB.NET....so I am asking for some assistance in pointing me to
the direction I need.
--
Message posted via http://www.pocketpcjunkies.com Tag: How to read data from EXCEL file Tag: 127899
Problem with Virtual COM for Bluetooth
Hi,
I have develop my own server & client over bluetooth using normal
virtual com port for windows mobile 6.0 device .There is a
server already running one the device and client on other device,
Now,i need to transfer data from client to server.
step at server end as follow:
1: Register Device with
PORTEMUPortParams pp;
pp.channel = RFCOMM_CHANNEL_MULTIPLE;
pp.flocal = TRUE;
pp.uiportflags = 0;
2: after that,Open port using CreateFile.
3. used DeviceIoControl with IOCTL_BLUETOOTH_GET_RFCOMM_CHANNEL.
4.after that register service on server with particular GUID.
5.ConfigurePort with value
BaudRate=CBR_9600,
ByteSize = 8,,
fParity = true ,
Parity = , EVENPARITY ;
StopBits = ONESTOPBIT;
6.SetCommunicationTimeouts with value
ReadIntervalTimeout = MAXWORD,
ReadTotalTimeoutMultiplier =0,
ReadTotalTimeoutConstant=0,
WriteTotalTimeoutMultiplier=10,
WriteTotalTimeoutConstant =1000;
7:at create one thread for reading data..
ReadFile(hDevOpen,szBuffer, 999, &dwBytesRead, NULL);
Step at Client is follow:
1: Register Device with
PORTEMUPortParams pp;
pp.channel = 0;
pp.flocal = FALSE;
pp.device = btaddr;;
pp.uuidService = GUID;
pp.uiportflags = 0;
2: after that,Open port using CreateFile.
3. used DeviceIoControl with IOCTL_BLUETOOTH_GET_PEER_DEVICE.
4.ConfigurePort with value
BaudRate=CBR_9600,
ByteSize = 8,,
fParity = true ,
Parity = , EVENPARITY ;
StopBits = ONESTOPBIT;
5.SetCommunicationTimeouts with value
ReadIntervalTimeout = MAXWORD,
ReadTotalTimeoutMultiplier =0,
ReadTotalTimeoutConstant=0,
WriteTotalTimeoutMultiplier=10,
WriteTotalTimeoutConstant =1000;
7:at create one thread for writing data..
WriteFile(hDevOpen, &cBuffer, dwSize, &dwWritten, NULL);
Now the problem is that, i got succes for WriteFile at client with
dwSize & dwWritten is same.
But at Server end i got succes for ReadFile with any value means
dwBytesRead is equal to zero and no data in szBuffer.
What am i doing wrong?
Any help would be greatly appreciated..
Waiting for your replies..please help. Tag: How to read data from EXCEL file Tag: 127898
MobileDataforce Pointsync mobility Platform
Hi.
Does anyone have any experience using the MobileDataforce's
(http://www.mobiledataforce.com/) RAD platform Pointsync? Tag: How to read data from EXCEL file Tag: 127897
GetOpenFileName bug on WM 6.1 Standard (Smartphone)
it's a good thing that now GetOpenFileName works on Smartphones (it was
completely broken on Smartphone until WM 6.1).
however there is an ennoying bug: when lpstrInitialDir is specified in the
OPENFILENAME structure, GetOpenFileName should open the specified folder.
on WM 6.1 Smartphones, it seems to open always the "\My Documents" folder,
even when lpstrInitialDir is set to "\Storage Card", for example.
this is particularly ennoying when the files to open are located on a
Storage Card. it requires navication by the user, i.e. Menu, select
"Storage Card"...
Microsoft people (or MVP), please log a bug report on this. we hope this one
will be fixed so that the Smartphone version works as well as the Pocket PC
(WM Professional) version.
thanks! Tag: How to read data from EXCEL file Tag: 127894
Dynamically change MenuBar Softkey to button or menu
Hi all,
I use the SHCreateMenubar to create a menubar on Smartphone.
The first softkey is defined to a button(TBSTYLE_BUTTON), and the
second is defined to a drop-down menu(TBSTYLE_DROPDOWN).
Now I want to change softkey2 to a button in my program,
I can use DestroyMenu to destroy the drop-down menu, but i still can't
receive the command when user press the softkey2.
so, how can I dynamically change the drop-down menu to a button?
Thanks! Tag: How to read data from EXCEL file Tag: 127892
Deflect Focus?
I don't want my application's main window to ever have the focus until it
determines that it needs it. The effect I'm after is kind of like a splash
screen that appears but doesn't take the focus away from the current
application and does not receive the focus if that application is closed.
What's the proper way to deflect the focus that comes to it automatically so
that the next available application gets the focus?
Thanks! Tag: How to read data from EXCEL file Tag: 127891
memory leak in inbox or SDK sample?
Hi,
i was examining the TV_Inbox sample and i find out that in some
circumstances the IMailRuleClient or CRuleClient doesnt get freed.
I was wondering if this is by desing,this is bug in inbox,in
sample,and how to avoid it,as for me it is important to get this
interface released!
the case is if just IMailRuleClient is initialized and called(ie you
get a message),everything is then normal,ie it gets released when for
example you kill mail box by end tasking it.
But if a custom form is being displayed(clicking on new message to
display it),then just CFormProvider gets released and the ruleclient
doesnt,and dll unloads.
I was thinking maybe it is related to "Free" threading model of this
com?and if because it implements two different classes and objects,it
is caused by that?
i am no expert in com,
so?
thanks Tag: How to read data from EXCEL file Tag: 127890
problem when registering a directshow filter with regsvrce in windows 6
Hi all,
I'm a newcomer in Windows Mobile developement. I try to create and register
a DirectShow filter for Windows mobile 5 or 6.
1. I create a new SmartDevice Win32 DLL project with ATL option checked in
Visual studio 2008.
2. I write the .h, .def and .cpp following MSDN documentation :
http://msdn2.microsoft.com/en-us/library/aa451266.aspx (see the code further
down).
3. I copy the tool 'regsvrCE' onto the emulator file system, along with the
generated SampleGrabber.dll.
4. When I try to register 'SampleGrabber.dll' with regsvrce.exe, the
emulator crashes, and the error I get is:
--------------------------------------------------------------------------------------------------------------------------------------
A problem has occured with regsvr_arm.exe
Please tell Microsoft about this problem, at no cost to you. The data is
used exclusively to improve products.
Report Details :
----------------
This error report includes information regarding the condition of
regsvr_arm.exe when problem occured.
TO view our data collection policy on the web, select here
To view technical information contained in this error report, select here
The report also includes information about the operating system version and
device hardware you use and the internet Protocol (IP) adress of your
device.
We do not intentionally collect your files, name, address, email address or
any other form of personally identifiable information. However, this error
report could contain customer-specific information such as data from open
files. While this information could potentially be used to determine your
identity, if present, it will not be used.
The data that collect will only be used to fix the problem. If more
information is available, we will tell you when your report the problem.
This error report will be sent using a secure connection to a database with
limited access and will not be used for marketing purposes.
Error Reporting :
-----------------
Bucket Parameters
-----------------
EvntType : WinCE50lbException
AppName : regsvr_arm.exe
AppVer : 1.0.0.1
AppStamp : 40c4830c
ModName : samplegrabber.dll
ModVer : 5.2.0.0
ModStamp : 480718e5
Offset : 00001388
OwnName : regsvr_arm.exe
OwnVer : 1.0.0.1
OwnStamp : 40c4830c
Exception Information
---------------------
API Cur Process : 0x00000000
API cur Thread : 0x00000000
API Own Process : 0x00000000
Info Flags : 0x00000000
Current Process : 0x16C2C68A
Faulting Thread : 0x16CBAAD6
Owner Process : 0x16C2C68A
Code : 0x00000005
Flags : 0x00000000
Record : 0x00000000
Address : 0x019C1388
Parameters : 2
Param[0] : 0x00000000
Param[1] : 0x24000001
System Information
------------------
OS Version : 5.2.1235.3
LCID : 1033
CPU Architec : 5
CPU Type : 2577
CPU Level : 4
CPU Revision : 1
Machine : 0x01C2
OEM String : Microsoft dev
Platform : PocketPC
Platform Ver : 4.0
Process List
------------
Name, hProcess
NK.EXE, 0x17FFF002
gwes.exe, 0x7791D296
regsvr_arm.exe, 0x16C2C68A
Thread List
-----------
hThread
0xD6815146
0x7695CB56
0x16CBAAD6
Thread Context List
-------------------
ThreadID, Pc
0x16CBAAD6, 0x019C1388
Thread Call Stack List
----------------------
PID = 16C2C68A, TID = 16CBAAD6
--------------------------------------------------------------------------------------------------------------------------------
Can you tell me what I did wrong in my code?
Did I miss an option in Visual Studio at compiling or linking?
Am I starting from the right Visual Studio project type??
Your help is greatly appreciated.
Code :
--------------------------------------------------------------------------------------------------------------------------------------
---------------------
SampleGrabber.def
---------------------
LIBRARY "SampleGrabber.dll"
EXPORTS
DllCanUnloadNow PRIVATE
DllGetClassObject PRIVATE
DllRegisterServer PRIVATE
DllUnregisterServer PRIVATE
------------------
SampleGrabber.h
------------------
#include <windows.h>
#include <streams.h>
#include <initguid.h>
// {75C097E9-6655-45e1-B81D-5A5D2379FFD1}
DEFINE_GUID(CLSID_CSampleGrabber, 0x75c097e9, 0x6655, 0x45e1, 0xb8, 0x1d,
0x5a, 0x5d, 0x23, 0x79, 0xff, 0xd1);
class CSampleGrabber : public CBaseRenderer
{
public:
DECLARE_IUNKNOWN
CSampleGrabber(LPUNKNOWN pUnk, HRESULT *phr);
static CUnknown* WINAPI CreateInstance(LPUNKNOWN punk, HRESULT *phr);
HRESULT CheckMediaType( const CMediaType *pMT);
// This is called for each media sample received.
HRESULT DoRenderSample(IMediaSample *pMediaSample) ;
ULONG NonDelegatingRelease();
// this is necessary for automatic registration of the filter when doing
// a regsvr32.
AMOVIESETUP_FILTER *GetSetupData();
private:
};
---------------------
SampleGrabber.cpp
---------------------
#include "stdafx.h"
#include "SampleG.h"
// Fill in media type information below, this information is used when
registering the filter with dshow
const AMOVIESETUP_MEDIATYPE sudPinTypes = {&MEDIATYPE_NULL,
&MEDIASUBTYPE_NULL };
const AMOVIESETUP_PIN sudPins = {
L"SampleGrabber", // Pin string name.
FALSE, // Is this pin rendered?
FALSE, // Is it an output pin?
FALSE, // Can the filter create zero instances?
FALSE, // Does the filter create multiple instances?
&CLSID_NULL, // Connects to filter.
NULL, // Connects to pin.
1, // Number of media types.
&sudPinTypes // Pointer to media types.
};
const AMOVIESETUP_FILTER sudNULL = {
&CLSID_CSampleGrabber, // Filter CLSID.
L"SampleGrabber", // Filter name.
MERIT_DO_NOT_USE, // Merit.
1, // Number of pin types.
&sudPins // Pointer to pin information.
};
// this is necessary for automatic registration of the filter when doing a
regsvr.
AMOVIESETUP_FILTER* CSampleGrabber::GetSetupData()
{return((AMOVIESETUP_FILTER*)&sudNULL);}
// this is needed for COM to register the component with RegSvr
extern "C" BOOL WINAPI DllEntryPoint(HINSTANCE, ULONG, LPVOID);
CFactoryTemplate g_Templates[1] = {
L"SampleGrabber", // Name
&CLSID_CSampleGrabber, // CLSID
CSampleGrabber::CreateInstance, // Method to create an instance of
MyComponent
NULL, // Initialization function
&sudNULL // Set-up information (for filters)
};
int g_cTemplates = sizeof(g_Templates) / sizeof(g_Templates[0]);
BOOL APIENTRY DllMain(HANDLE hModule, DWORD dwReason, LPVOID lpReserved)
{
g_hInst = (HINSTANCE) hModule;
return DllEntryPoint((HINSTANCE)(hModule), dwReason, lpReserved);
}
STDAPI DllRegisterServer()
{
return AMovieDllRegisterServer2( TRUE );
}
STDAPI DllUnregisterServer()
{
return AMovieDllRegisterServer2( FALSE );
}
CSampleGrabber::CSampleGrabber(LPUNKNOWN pUnk, HRESULT *phr) :
CBaseRenderer(CLSID_CSampleGrabber, NAME("CSampleGrabber"), pUnk, phr)
{ }
CUnknown* WINAPI CSampleGrabber::CreateInstance(LPUNKNOWN punk, HRESULT
*phr)
{
return new CSampleGrabber(punk, phr);
}
HRESULT CSampleGrabber::CheckMediaType( const CMediaType *pMT)
{
return S_OK;
}
// This is called for each media sample received.
HRESULT CSampleGrabber::DoRenderSample(IMediaSample *pMediaSample)
{
return S_OK;
}
ULONG CSampleGrabber::NonDelegatingRelease()
{
return 0;
}
------------------------
SampleGrabber.vcprog
------------------------
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioUserFile
ProjectType="Visual C++"
Version="9,00"
ShowAllFiles="false"
>
<Configurations>
<Configuration
Name="Debug|Windows Mobile 6 Professional SDK (ARMV4I)"
>
<DebugSettings
Command=""
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="ALEXANDRE-PC"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment=""
EnvironmentMerge="true"
DebuggerFlavor="5"
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
<DeploymentTool
DeploymentDevice="d1a7b239-28d5-4485-9b8c-5764e3dc79b6"
/>
<DebuggerTool
RemoteExecutable=""
Arguments=""
/>
</Configuration>
<Configuration
Name="Release|Windows Mobile 6 Professional SDK (ARMV4I)"
>
<DebugSettings
Command=""
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="ALEXANDRE-PC"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment=""
EnvironmentMerge="true"
DebuggerFlavor="5"
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
<DeploymentTool
DeploymentDevice="d1a7b239-28d5-4485-9b8c-5764e3dc79b6"
/>
<DebuggerTool
RemoteExecutable=""
Arguments=""
/>
</Configuration>
</Configurations>
</VisualStudioUserFile> Tag: How to read data from EXCEL file Tag: 127889
activesync/airsync
Hi. Has anyone developed anything to simulate the dialog which takes
place between exchange and airsync to help debug issues. I cannot get
it to work and yet the interfaces OMA and OWA work fine from the
pocketpc browser.
Thanks Ian Tag: How to read data from EXCEL file Tag: 127886
Disable Event Sound For Splash Screen
Hello,
When I change the registry keys at [HKLM\Software\Microsoft\Splash
Screen\MSTimeout]( & CarrierTimeout) to values that will allow multiple
splash screens to display
ie.
MSTimeout = 750
CarrierTimeout = 10000
I get the expected result
ie.
MSBitmap Displayed - Carrier Bitmap Displayed - MSBitmap Overlayed
however.. when my phone(or the emulator) boots a System Event
Sound(Alarm2.wav I believe) is played whenever Carrier Bitmap is first
displayed. I can stop the sound behavior by unchecking "Events (warnings,
system events)" in "Sounds & Notifications" in the control panel but this is
not the desired solution.
I would like to be able to disable the sound for that specific event, but if
need be i would settle for being able to uncheck the Events box
programatically through a registry setting or some other means. Are either
of these options available? Ive been digging through the registry like crazy
but I can't seem to find specific
Thanks in advance
DrewG Tag: How to read data from EXCEL file Tag: 127885
WVC1 in Windows Media Player Mobile 10.3
I am trying to stream a feed that has both an audio and video stream.
The audio is encoded in windows media 9.1 and the video is encoded in
the microsoft advanced format vc-1 (WVC1). Windows media player
mobile 10.3 plays the audio fine but it never shows the video. When
viewing the properties of the stream it is able to decifer exactly the
codecs of each stream. Is VC-1 not supported in 10.3 or is there a
way to add support in windows mobile 6. Or is there a more updated
windows media player mobile that i do not have.
Thx
Michael Tag: How to read data from EXCEL file Tag: 127882
Customize folder Icon.
Hi all,
I've developed a smartphone application and built the CAB file also. for
customizing the icon I have created a icon resource .dll and a .lnk file.
The problem is am not able to add this "icon.lnk" file directly in my CAB.
Getting error message like "Cannot resolve this link. This file may not be
shortcut".
Copying the "icon.lnk" file manually in the programs folder works fine. but
if i start to add the same in CAB giving me trouble.
Any suggestion?
--
Thanks and Regards,
Shankar B. Tag: How to read data from EXCEL file Tag: 127874
SIP - Soft Input Panel - figure keyboard with 10keys
Hi NG,
I am searching for a SIP - Soft Input Panel - which has only the
figures 1 to 10 on it, and the point + enter,
Does anyone know where i can get such a SIP, or even how to develop
one on my own?
I want the user to write down a list of figures very fast - and even
directly with his fingers.
Thanks a lot.
Benjamin Tag: How to read data from EXCEL file Tag: 127872
Re: HTC Touch (P3450) adjust backlight intensity/brightness
I am not able to adjust the backlight for my P3450 running WM6. I'm adjusting
"BrightNess" and "ACBrightNess" in the registry "HKCU\ControlPanel\BackLight"
successfully. I then try to update the display using the
"BackLightChangedEvent" but nothing is happening.
The event seems to be fired up because "int test =
SetEvent(hBackLightEvent);" returns 1, but still the display is not changing.
This approach apparently works for some devices (as i gathered from a quick
google) but does not seem to work for my HTC Touch.
I would like to be able to change the display brightness depending on
ambient light. Thanks in advance for any help. Tag: How to read data from EXCEL file Tag: 127871
Export Word Using ASP.net 2.0 : Office 2007 doesn't support UTF-7
Hi,
I am creating word document using UTF-7 in ASP.Net 2.0. so till the date,
word document is opening perfactly in Word 2000 and word 2003. but in Word
2007, It show encoded text also like "+ADw-html" instead of "<html". please
give me
alternative solution so document can open in word 2000-03-07 version. [ Note
My Document contain some Japanies and Chiense chracters also]. Tag: How to read data from EXCEL file Tag: 127869
How to select wifi over gprs?
How to configure CE5.0 to send data over wifi if both wifi and gprs are on?
I have tried to find out the this solution for a while but still not able to
get answer.
I have tried the "connections", but still cannot configure the CE5.0 to send
data over wifi first if both on. After reboot, sometime it go through wifi,
and sometime go through gprs when both on.
If turned on the gprs first, and then turn on wifi later, the CE5.0 always
send data over gprs when both gprs and wifi on by looking from sniffer.
Thanks,
M.K. Tag: How to read data from EXCEL file Tag: 127868
MS Stack, pairing no services
Hello everyone,
Did not see any Bluetooth forums hope others leaving Widcomm for Microsoft
stack have had this issue. I can pair devices but no services are picked up?
My Motorola S9's have two services, one for hands free and another for
headset - neither are found so I have a paired device which does not work.
Right clicking on the the blue icon in the sys tray and selecting send a
file works! I chose my HTC Touch and a file and presto the file is sent.
There are no services for this device ether (Touch). I downloaded inthehand
Bluetooth library and am able to list all devices paired - and of course 0
services for all devices.
I have removed my dongle and drivers, rebooted etc, to know avail - pairing
and no services found, every time?! Most websites with a Microsoft stack
issues report no activity at all.
My Bluetooth adapter is from Trend net and is TBW-101UB version 3.
Under device manager:
Broadcom Ultimate Low Cost Bluetooth 2.0+EDR; 10/24/2006; 5.1.2535.0
Microsoft Bluetooth Enumerator; 8/3/2004; 5.1.2600.2180
The only newer drivers are for vista (I'm still on XP)
All thoughts & questions appreciated Tag: How to read data from EXCEL file Tag: 127866
Differentiating between the Rocker and DPAD
Hi, I am writing an app that captures key events and I would like to
differentiate between the rocker and the dpad I see that there is a method to
do this
GetKeyEventSource
but I can't seem to find the correct .lib file to link with when compiling,
perhaps someone can point me to the correct lib to link with, suggestions for
other ways to do this are also welcome.
I have searched in both WM 5 & 6 Smartphone and PPC lib directories and
can't find the appropriate file to link with. The description on MSDN doesn't
give much insight.
http://msdn2.microsoft.com/en-us/library/bb821761.aspx
Thanks,
Adam Tag: How to read data from EXCEL file Tag: 127865
Windows Mobile 6 Classic / Windows CE 5.0 problem with USB to UART
I'm currently developing a .NET CF 2.0 program to interface to USB sensor. It
is using the USBExpress CP2102 device from Silicon Labs
(http://www.silabs.com) and I've come across an issue with their driver for
Windows CE5. I canâ??t read from the device, yet I'm able to wite data out of
the device. What concerns me most is that I purchased a FTDI evaluation board
to test and it had the same problem!
I did have to use pinvoke to call the driverâ??s API dll. Yet I also tried
their native C examples from the USB bridge vendors, and tried using the
example applications to determine the problem. Has anyone heard of a similar
issue, or know of some setting in Windows Mobile 6 / Windows CE 5.0 that
could be preventing the driver from reading data from the USB to uart bridge?
Since it has happened with more than one bridge/chipsets I'm thinking it must
be a windows CE issue/security setting.
I spent the better half of the past two day tiring to get a hold of MS tech
support with little success. I've been hung-up on twice and the online form
doesn't accept my PID for the device and sends me to a page to pay ~$260 for
support. I do have two MSDN support tickets, yet when clicking the support
link on MSDN I get sent to the same page that rejects my PID and wants me to
pay ~$260 again... Since I've been unable to figure out how to use my support
incidents, I'm using this as my last hope of finding a solution to this
problem. Tag: How to read data from EXCEL file Tag: 127864
OpenNetCF randomly becomes unavailable on Windows Mobile 6
Hello,
I have built a PocketPC application that has dependencies on OpenNETCF
1.4. I've built the OpenNET DLLs into my CAB for distribution and
everything works well and installs well on WM2003, and WM5. On
Windows Mobile 6, everything installs fine and my application launches
after installation. However, if I reboot the PocketPC then launch my
application again, I lose my connection with OpenNETCF and receive the
following error:
File or assembly name 'OpenNETCF, Version=1.4.50804.0,
Culture=neutral, PublicKeyToken=30C767B29D52D6E6', or one of its
dependencies, was not found.
Now, the strangest thing about all of this is that this failure seems
to be inconsistent. Sometimes it never fails at all, but I can manage
to make it fail about 70% of the time.
I'm not sure if I'm doing something wrong in my CAB INF, if OpenNETCF
1.4 is inconsistent on this platform, or what, but I have deployed
many PocketPC apps in the past and have never seen this behavior. Any
help or clues anyone can give would be *most* appreciated.
Thanks,
Larry King
Human Interface Engineer Tag: How to read data from EXCEL file Tag: 127863
Email recieve event
I am new to pocket pc programming.
Can capture the new email when it arrives the inbox?
If it pssible can you please send me the sample code.
Thanks in advance. Tag: How to read data from EXCEL file Tag: 127858
Windows CE cab file web deployment
I am wondering if there is a way to deploy an MFC ActiveX control via
the web to devices running Windows CE. My inf file which I referenced
with CabWiz while generating the cab file is below. In my HTML page,
I use an Object tag to reference the control. My object tag looks
like this (where classid is the real classid, and the codebase url is
a real location for the cab file):
<object id="ActiveXControlName" classid="clsid:
00000000-0000-0000-0000-000000000000" codebase="http://LocationOf/
ActiveXControlNameInstall.cab#version=1,0,0,0">
</object>
We can assume that the site the web page resides on is a trusted site
in the user's browser, and that unsigned ActiveX control will result
in a prompt.
Basically, if the ActiveX control is not registered on the Windows CE
device, I would like user to be prompted to install the cab file on
each page visit. If the ActiveX control is registered on the device,
but the version number of the registered control is older than the
version number specified in the codebase, I would like the user to be
prompted to update the control by installing the cab file. If the
ActiveX control is registered on the device, and the version number of
the registered control is the same or newer than the version number
specified in the codebase, the control will render as normal. Here is
my inf file, with the Provider and AppName fields changed to fake
values:
[Version]
Signature = "$Windows NT$"
Provider = "CompanyName"
CESignature = "$Windows CE$"
[CEStrings]
AppName="ActiveXControlName"
InstallDir=%CE2%\
[Strings]
sh3_cpu = 10003
sh4_cpu = 10005
mips_cpu = 4000
strongarm_cpu = 2577
armcpu = 1824
[CEDevice] ; valid for Windows CE 4.1 - 5.0
VersionMin = 4.1
VersionMax = 5.0
[DefaultInstall]
CopyFiles = Files.Windows
CESelfRegister = ActiveXControlName.ocx
[SourceDisksNames]
1 = ,"Common files",,.
[SourceDisksFiles]
ActiveXControlName.ocx = 1
[DestinationDirs]
Files.Windows = 0,%CE2% ;\Windows
[Files.Windows]
ActiveXControlName.ocx,,, Tag: How to read data from EXCEL file Tag: 127854
How do I get an email address in Pocket Outlook from the Company Directory in WM6?
I am using C#.net on a Windows mobile device. I can get email addresses
stored in my contacts, however, when I use the built in ContactDialog()
window to select a user from the company exchange server, I have an error
thrown.
here is my code: It blows up when I try to access the information for the
contact I pulled down from the server....
private void mnuSend_Click(object sender, EventArgs e)
{
EmailAccount MainAccount = AppSession.EmailAccounts[0];
EmailMessage myMsg = new EmailMessage();
ChooseContactDialog myContactDialog = new ChooseContactDialog();
string contactname, myAddress;
Contact SelContact;
myContactDialog.Title = "select user to send message:";
myMsg.CC.Add(new Recipient("first.last@company.com"));
myMsg.Subject = "Test message from Mobile phone";
myMsg.BodyText = "This is the body of the message";
myContactDialog.EnableGlobalAddressListLookup = true;
while ((myContactDialog.ShowDialog() == DialogResult.OK))
{
contactname = myContactDialog.SelectedContactName;
MessageBox.Show("Contactname=" + contactname); //This much works!
SelContact = myContactDialog.SelectedContact;
MessageBox.Show("About to try to access the Email1Address");
//The following line throws an exception
MessageBox.Show("SelContact.email1address = " + SelContact.Email1Address);
}
MainAccount.Send(myMsg);
MessageBox.Show("Message sent");
} Tag: How to read data from EXCEL file Tag: 127853
Identifying music or video file being played
Hi,
Is there any way I can find out if the file being played is audio or
video? I need to invoke an application based on the type of the file. Tag: How to read data from EXCEL file Tag: 127848
Way to see which Threads are still running?
We have coded a .NET CF application with several threads.
Now after exiting, at least one thread is not correctly closing, so it
hangs.
How can I see which one it is?
Thanks Tag: How to read data from EXCEL file Tag: 127846
wm6.1,threaded sms and custom inbox forms?
Hi,
With windows mobile 6.1 and introduction of threaded sms my
application which creates a custom forms for inbox is now having
problem.
It only shows the last conversation,somethimes your own sent messages.
I was wondering how can i fix this behavior,as the IMessage passed
into my createreadform is always the last conversation.
thanks Tag: How to read data from EXCEL file Tag: 127843
how to develop SMS function in wm5 ppc emulator
hi:
I try to read the sms from the inbox on a wm5 ppc emulator,but then i found
that
there is no sms inbox (only for outlook),is this true?
if yes,then how can i develop sms function with this emulator? Tag: How to read data from EXCEL file Tag: 127837
How to develop the SMS function with wm5 ppc sdk?
Hi there
i want to read the sms in inbox on the wm5 ppc emulator in wm5 sdk,
then i found that it seems there is no sms/phone function support on
wm5 ppc emulaotr,am i wrong or miss something?
thanks in advance Tag: How to read data from EXCEL file Tag: 127836
Shell folder extetensions
Hi All,
Is it possible to create shell folder extensions for Pocket PC, I could not
find any reference to IShellFolder interface references in Pocket PC
development documentation.
Does any budy has any ideas on how to create shellfolder extensions for
Pocket PC or any alternatives to achieve the same. Tag: How to read data from EXCEL file Tag: 127831
.NET CF & Hardreset - still not possible?
Hello
Is it really not possible to perform a hardreset with newer devices using
.NET CF?
Thanks
Rampf Tag: How to read data from EXCEL file Tag: 127830
Custom font problem on Windows Mobile
Hi,
I am a beginner in Windows programming and currently building a Windows
Mobile 5.0/6.0 application that is dependent on a custom TrueType font I
created. The custom font is mapped to Unicode characters and the font file
resides in the application folder under Program Files. I've read through MSDN
Library and installed my font as instructed here
http://msdn2.microsoft.com/en-us/library/ms901090.aspx . Implementation was
successful and my program displayed the custom font correctly with no issues.
You can download and view my custom font file from the link below.
http://project.ionized.googlepages.com/PDCDefault.zip
Now the problem is that some specific non-related programs on the Pocket PC
device start using my custom font once AddFontResource function is called.
The affected programs will display squares instead of characters, thus
rendering them useless. Not all programs exhibit this behavior though. The
same font corruption can be reproduced if I copy my custom font into the
\Windows\Fonts folder and reset the device. Copying the custom font into
\Windows\ folder may work in some but not all cases. I am also refraining
from adopting the latter methods because extra steps are required to
unregister and remove fonts from the Windows or Fonts folders.
Examples of such problematic programs are HTC Cube, HTC Comm Manager,
KaiserTweak and Windows Mobile's very own screen alignment program. I think
these programs were using system font (Tahoma) before my custom font is
installed.
Before custom font is installed:
http://project.ionized.googlepages.com/before.png
After custom font is installed:
http://project.ionized.googlepages.com/after.png
Iâ??ve searched many places and one of the common workarounds I found was to
copy another Microsoft TrueType font like Verdana into the Windows folder.
Somehow, the problematic programs would choose Verdana over custom fonts but
this is not a guaranteed fix. The other solution was to rename the custom
font family name to begin with the letter Z because somebody mentioned that
fonts are loaded in alphabetical order(?). This did not work for me however.
I could not find any official solutions on Microsoft site regarding this
problem.
So, my questions are:
1. Why do other programs use my custom font?
2. How does Windows Mobile determine which font gets priority over system
font?
3. What can I do to prevent other programs from using my custom font?
I've totally ran out of ideas on how to implement custom fonts now. Any
suggestions or insights will be much appreciated.
Thank you.
Best regards,
Ionized Tag: How to read data from EXCEL file Tag: 127828
Wireless Zero Configuration compliant Device
Good day, all participants,
I would like to buy a device, either a Smartphone or Pocket PC. I want to
use OpenNetCF or Wireless Zero Configuration to retrieve wifi signal
strength. I know that if a device is not WZC compliant, then we cannot use
WZC. Although I heard from our good man, Mr. Chris Tacke that many devices
are WZC compliant, I still want to make sure that I got the right device.
Hence, for anyone who owns a device with WZC compatible, can you share that
information and experience with us here?
Thanks to @sid, we know that HTC TyTN II is WZC compliant. Are there more
devices?
Any comments are welcomed and appreciated
Sam Tag: How to read data from EXCEL file Tag: 127820
CabWiz
Does anyone have good instructions for configuring a CabWiz INI file?
I used CabWiz once before, and it took me a long time to get the INI file to
work.
Now, a couple of years later, I need to do it again, and I'd rather not
spend all that time banging my head against the wall with CabWiz.
I just need an installer that registers my "single exe" program with
Add/Remove Programs, drops a shortcut onto the PPC desktop, and adds the
program to the Start menu.
Thanks! Tag: How to read data from EXCEL file Tag: 127813
Info on Owner drwan UI
I am new to this Pocket PC programming and i read few posts on Owner drawn
UI. I couldn't find much info here and Google also didn't return anything
which explains the basics of this concept.
Can i have few links where can i start on? Managed code is better.
Thank you Tag: How to read data from EXCEL file Tag: 127811
Notification access using softkey when device is locked
Hello all,
In my application, Notification is given to user by using
"SHNotificationAdd" API. At presently I have one problem. User can not
access notification when device is locked. Even it is not updating
soft key which is given into "SHNotificationAdd" API (It is displayed
only left soft key as "Lock"). I want to access notification like user
can access incoming call notification using soft key when device is
locked.
Kindly waiting for positive response. Tag: How to read data from EXCEL file Tag: 127810
Slide UI
Hi!
How to make UI in a program on pocket like iPhone? With slide function.
Language C#. Or where can I read about this?
Thanks. Tag: How to read data from EXCEL file Tag: 127809
Notification soft key access when device is locked.
Hello all,
In my application, Notification is given to user by using
"SHNotificationAdd" API. At presently I have one problem. User can not
access notification when device is locked. Even it is not updating
soft key which is given into "SHNotificationAdd" API (It is displayed
only left soft key as "Lock"). I want to access notification like user
can access incoming call notification using soft key when device is
locked.
Kindly waiting for positive response. Tag: How to read data from EXCEL file Tag: 127808
Hello everyone!
Is there a way to read data from EXCEL file from my application for win
mobile?