SHFullSCrren method
Hello.
I use this code, on a ppc:
Capture = true;
IntPtr hwnd = Win32.GetCapture();
Capture = false;
Win32.SHFullScreen(hwnd, Win32.SHFS_HIDESTARTICON);
to make my window not to show the start icon.
Win32 is a class defined by me where i import the dll's necesary to use this
function.
Th problem is that tha code works, but after i get to messageboxes from my
application with some error or something else the starticon is visible.
It happens all the time after 2 messageboxes.
Does anyone encounter this problem? Tag: Open like File Explorer Tag: 93927
[evp] internet connection
hi everybody and sorry for my english
I developed a small application to put a file in ftp site. I use the code of
microsoft site.
It works well via activesinc to a normal pc with dsl line, and well in the
emulator, but not if i try to connect via GPRS.
If I try change option in activesync, after many random (for me) changes,
it works!!! (via GPRS)
BUT after small hours, it don't work
Please, somebody can help me?
hi
AEOM Tag: Open like File Explorer Tag: 93924
Asus A716 report incorrect SD card Serial Number
I have been running this program in my ASUS A716 PPC for checking the
serial number of the SD card. It is interesting that HP/DELL/ACER with
PPC2003 report both Manufacturer ID and Serial ID in hexidecimal
format, while Asus A716 report only the Serial ID (Manafacturer ID
reported as not available), and the Serial ID is in decimal format.
What's more strange is that the serial ID reported is not correct.
Any body has any idea? (attached with my testing program)
Best regards,
John(john@sky-power.com.hk)
==================================================================
#include "stdafx.h"
#include <winioctl.h>
#include <storemgr.h>
extern "C" __declspec(dllimport)
#define IOCTL_DISK_GET_STORAGEID
CTL_CODE(FILE_DEVICE_DISK,0x709,METHOD_BUFFERED,FILE_ANY_ACCESS)
BOOL KernelIoControl(DWORD,LPVOID,DWORD,LPVOID,DWORD,LPDWORD);
typedef struct _STORAGE_IDENTIFICATION
{
DWORD dwSize;
DWORD dwFlags;
DWORD dwManufactureIDOffset;
DWORD dwSerialNumOffset;
} STORAGE_IDENTIFICATION;
typedef struct _PPC_STOAGEID
{
STORAGE_IDENTIFICATION StorageID;
unsigned char Data[64];
} PPC_STORAGE_ID;
int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPTSTR
lpCmdLine,int nCmdShow)
{
PPC_STORAGE_ID idSD;
HANDLE hSD;
DWORD dwLength;
DWORD dwError;
BOOL bResult;
// I have checked the registry profile that the SD card is DSK1:
TCHAR sDeviceName[10]=_T("DSK1:");
memset(&idSD,0,sizeof(PPC_STORAGE_ID));
idSD.StorageID.dwSize=sizeof(PPC_STORAGE_ID);
hSD=CreateFile(sDeviceName,GENERIC_READ,0,NULL,OPEN_EXISTING,0,NULL);
if(hSD)
{
bResult=DeviceIoControl(hSD,IOCTL_DISK_GET_STORAGEID,NULL,0,&idSD,sizeof(PPC_STORAGE_ID),&dwLength,NULL);
// Most HP, Dell and Acer with PPC2003 return both manufacturer ID
and serial ID
// Asus A716 only return a serial ID, but the serial ID is not
correct
// Asus reported "2014249026" (which is 780F0042 in HEX)
// but the correct ID should be 780F662D in HEX
if(bResult==FALSE)
dwError=GetLastError();
CloseHandle(hSD);
}
return 0;
} Tag: Open like File Explorer Tag: 93922
Symbol PPT2800 - How can I restore to factory settings?
Hi,
I have a Symbol PPT2800 which has some non-standard apps installed
that I would like to remove. One in particular is run when the device
is started. I cannot remove them in the normal way (They don't appear
in Remove Programs) and deleting all of the entries in the Start Up
folder results in them reappearing the next time it is switched on. I
have tried a cold reboot but this has no effect at all (no
configuration or screen alignment). I was wondering how I can get
round this and restore everything to how it was out of the box?
Thanks, in advance,
Ben Tag: Open like File Explorer Tag: 93912
can anyone see a problem with this setup (electrical-wise)???
hi there,
before i go ahead and test this, can anyone give me advice if this may cause
short circuit in my pda or other hardware...
1. PDA Cable connected to the PDA
2. USB Gender changer (Female A - Female B)
3. USB Printer cable connected to the gender changer, then directly to the
printer.
Should this work, as i am worried if the gender changer may cause a problem
or not?
thanks,
Paul Tag: Open like File Explorer Tag: 93911
receive phone call C#
Hi,
I'm trying to receive phone call on my Qtek s100. I have managed to make a
call. I'm trying to write an C# program using compact framework. Anyone
managed to
receive phone call and can give me some hints/sample codes?
Thnx
Amiro Tag: Open like File Explorer Tag: 93899
Problem with the SHCreateShortcut function
Hello all,
I've got a problem withe the SHCreateShortcut function.
I use it like this :
SHCreateShortcut( _T("\\Windows\\Menu Démarrer\\Programmes\\myprog.lnk")
,_T("\\Program Files\\myprog.exe"));
Menu Démarrer is because the device is french ;-) (equals to Start Menu)
My shortcut is created, but in the details of the shortcut, it is written :
"\Program" File\myprog.exe
There is a " after the Program string.
Does anybody have an idea ?
Thanks a lot,
Matt.
(Pocket PC 2003 with eVC++) Tag: Open like File Explorer Tag: 93885
CAN bus on PocketPC
Hello
i m serching interface for PocketPC that are for CAN bus...i already find
CompactFlash RS232 card and RS232<->CAN bus card..but i ll prefer use only
one card like CompactFlash <-> CAN bus if this solution exist of course. i
ther someone who knows if it exists and the manufacturer
Thanks
Benoît Raynaud
PDA is Problem Da i hAve Tag: Open like File Explorer Tag: 93883
newbie question
Hello;
I am new in PDA business. I have a Pocket PC made by Medion. The OS is
Windows 2003.
I bought the PDA for my wife and she entered all of her contacts and tasks
and . into it but forgot to charge it in time and bang! All of the data was
gone.
What I would like to know is if there is any way that I can set the system
to generate a beep or other type of warning when its battery nearly dead?
Is there any free software that I can get?
I am a C++ programmer and have a let of experience in writing C++ for
windows but I never write code for PDA. Can I write such software by myself?
What do I need other than MSVC 7 that I have?
Best Regards Tag: Open like File Explorer Tag: 93881
Development Tools for Pocket PC (.NET?)
Hi,
as someone who cannot possibly afford Visual Studio, are therte any good
Pocket PC development tools out there that I can use based on C#?
Thanks in advance
R-D-C Tag: Open like File Explorer Tag: 93878
Windows Media Player Series 9 - Power requirements
Anyone has any idea whether the media player application will issue a
setpowerrequirement command when it starts to play a file?
I noticed that a PmSetPowerRequirement command is executed when I click
play.
Is the source code for the WMP available?
Zico Tag: Open like File Explorer Tag: 93875
Tracking HTML Content on Pocket PC
I have learning content implemented in HTML and need to run it on a Pocket
PC. When the learner uses the content on the Pocket PC, I need to collect
tracking information such as assessment results, score and bookmarking of
last page visited etc.
I need a web server on the Pocket PC so that I can collect the tracking
information to a XML file or database. Is there a web server for Pocket PC?
If not, is there an alternate way I can write tracking infomation from Pocket
IE.
Thankls for any help... Tag: Open like File Explorer Tag: 93874
Adding custom icon to system toolbar (system tray)
Hi all,
I need to add an icon to system toolbar, just like "PC Connection" icon
appears at right-bottom corner of the screen. If Pocket PC would have a
system tray, it would not be an issue at all. But the problem is how to
do the same thing here.
I will appreciate any ideas on this topic.
Cheers,
Alex Tag: Open like File Explorer Tag: 93867
Tab Navigation in C#
I'm trying to figure out handling keyboard navigation using tab in Windows
forms in C# on the PocketPC. Can anyone piont me to (or provide) sample
code? I googled, check MSDN--no really good examples. MSDN offers on topic
"Navigation and Keyboard Detection" but I admit I can't figure out how to
handle the tab key to move from one control to the next.
Tab order comes for free in .NET FX, but apparently not in .NET CF...
Thx
John O. Tag: Open like File Explorer Tag: 93865
RegisterHotKey
I use RegisterHotKey to intercept the hardware buttons and I can capture them
on different PDAs but on my h6315, I can not intercept the hardware keys for
Phone and Disconnect.
Any advice is greatly appreciated.
Vu Tag: Open like File Explorer Tag: 93858
Re: TouchScreen Calibrate
hello
so i ll try you solution but :
how make a bootable storage card ? is a simple SD with a welcome.not
empty file on it working (in pratice, i put the SD in the pocketpc, i create
an empty file named welcome.not on it) ? even after a hardreset it will
bypass the calibrate/copy&paste/time zone screen ?
How write into registry value after an hardreset ? need i to create
another SD card with autorun.exe on it and insert it after the SD containing
the empty file welcome.not ?
i m new in pda at you can see, sorry
Benoît Raynaud
"Peter Foot [MVP]" <feedback@nospam-inthehand.com> a écrit dans le message
de news:%23UK$6m3NFHA.164@TK2MSFTNGP12.phx.gbl...
> Provided you follow those steps - have the welcome.not file on a bootable
> storage card, and make sure the first things you do in deployment are to
> write the calibration data to the registry and any other info normally set
> in the welcome wizard (timezone etc).
> This is only a practical method if you are deploying to a batch of devices
> all of the same model. As I stated below you should call TouchCalibrate at
> some point in your application perhaps after your application is
deployment
> and it is first run to ensure the calibration data is accurate enough for
> normal use.
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> http://www.inthehand.com | http://blog.opennetcf.org/pfoot/
>
> "Benoît Raynaud" <benoit.raynaud3@wanadoo.fr> wrote in message
> news:424e7ffa$0$3121$8fcfb975@news.wanadoo.fr...
> > your solution will work even after an hard reset of the PDA ?
> >
> > "Peter Foot [MVP]" <feedback@nospam-inthehand.com> a écrit dans le
message
> > de news:esikpL3NFHA.164@TK2MSFTNGP12.phx.gbl...
> >> If you place an empty file called welcome.not in the root of a storage
> > card
> >> which is inserted on boot (on some devices you can place this file in
the
> >> stable storage folder but it varies from one manufacturer to another)
> >> this
> >> will disable the welcome wizard. However your touchscreen may not
> >> function
> >> if you do not apply the calibrary data in the registry. You can work
> > around
> >> this by taking existing readings from a device of the same model and
> > writing
> >> them to the registry, then soft reset the device after you have
finished
> >> installation. This can allow you to perform installation un-interuppted
> >> on
> >> hard reset, however it's good practise to allow the user to calibrate
the
> >> device properly once it's up and running. Take a look at this article
for
> >> some pointers:-
> >>
> >
http://blog.opennetcf.org/pfoot/PermaLink.aspx?guid=06b4072d-3585-43d4-8605-f7cebc6387f7
> >>
> >> Peter
> >>
> >> --
> >> Peter Foot
> >> Windows Embedded MVP
> >> http://www.inthehand.com | http://blog.opennetcf.org/pfoot/
> >>
> >> "Benoît Raynaud" <benoit.raynaud3@wanadoo.fr> wrote in message
> >> news:424e7115$0$25033$8fcfb975@news.wanadoo.fr...
> >> > Hello
> >> > i m looking for how bypass TouchScreen calibrate after a hardreset on
a
> >> > PDA.
> >> > i think about looking in the rom and reflash pda with modify rom (but
i
> >> > think this impossible), or rebuilding a new winCE with platform
> >> > builder.
> > i
> >> > think that build a new driver only will not be efficient cause after
an
> >> > hardreset my new driver will not be reload during the first start of
> >> > the
> >> > PDA. but rebuild a winCE like HP or Asus done will be not easy i
> > think....
> >> > Thanks
> >> >
> >> >
> >> > Benoît Raynaud
> >> >
> >> >
> >> >
> >> >
> >>
> >>
> >
> >
>
> Tag: Open like File Explorer Tag: 93856
TouchScreen Calibrate
Hello
i m looking for how bypass TouchScreen calibrate after a hardreset on a PDA.
i think about looking in the rom and reflash pda with modify rom (but i
think this impossible), or rebuilding a new winCE with platform builder. i
think that build a new driver only will not be efficient cause after an
hardreset my new driver will not be reload during the first start of the
PDA. but rebuild a winCE like HP or Asus done will be not easy i think....
Thanks
Benoît Raynaud Tag: Open like File Explorer Tag: 93847
PPC Theme format
I've been trying to find out the format of the of the theme file for my
Pocket PC and I've narrowed down some things but I'm stumped as to the format
of the .000 file, which is the .INF file. I've found a site that had the
format but if I use that format it doesn't work when I copy it over to my
PPC. The format in the theme's generated by the MS tool looks encoded vs.
the plain text file I'm using. Could that be the problem and if so how does
one get around that? Tag: Open like File Explorer Tag: 93845
iPAQ to RS232 devices
This is a multi-part message in MIME format.
------=_NextPart_000_0101_01C53778.61E1AC30
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
Apart from buying specific CF card with RS232 cables (which is more =
costly), any other option that enables iPAQ PDA (e.g. 4150, 3417, 2410, =
2750 & etc) to connect to RS232 devices, e.g. modem, barcode scanner, =
card reader & etc. =20
Is there cable directly connecting the iPAQ acts like RS232 cable? Any =
other possible solutions, e.g. IrDA to RS232 adaptor?
------=_NextPart_000_0101_01C53778.61E1AC30
Content-Type: text/html;
charset="Windows-1252"
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=3Dwindows-1252">
<META content=3D"MSHTML 6.00.2800.1491" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Apart from buying specific CF card with RS232 cables =
(which is=20
more costly), any other option that enables iPAQ PDA (e.g. 4150, 3417, =
2410,=20
2750 & etc) to connect to RS232 devices, e.g. modem, barcode =
scanner, card=20
reader & etc. </FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Is there cable directly connecting the iPAQ acts =
like RS232=20
cable? Any other possible solutions, e.g. IrDA to RS232 =
adaptor?</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0101_01C53778.61E1AC30-- Tag: Open like File Explorer Tag: 93842
device type
My app needs to detect the device type, not serial number. For example, I
need to knowif it runs on iPaq 4705 or iPaq 6315, or 4350.
Any advice is appreciated,
Vu Tag: Open like File Explorer Tag: 93840
can't associate to AP (BSSID) programmatically
This is an unsolved problem for all PocketPC models I have tried.
Using DeviceIOControl, IOCTL_NDISUIO_SET_OID_VALUE and OID_802_11_BSSID to
associate the Pocket PC to an access point doesn't work, even though the
docs from WinCE say it should. I get an error code 50, which means that the
operation is not supported. I'm not the only person experiencing this pain.
But nobody has posted a solution.
If anyone from Microsoft, Dell or HP could help with this, it would be
deeply appreciated. At least, if you can only tell me that it's not
possible, you could save a lot of time for a lot of people who try and fail
to do this in their applications.
--
Raul Santelices Ahués, M.Sc. http://raul.cl
Edunova / Tecnlogía Portátil en la Sala de Clases
Pontificia Universidad Católica de Chile Tag: Open like File Explorer Tag: 93838
Embedded VC++
Hi,
Can I use the Embedded VC++ tool to develop device driver?
I want to compile the USB Print Source code from Platform
Builder for my PocketPC 2003. Tag: Open like File Explorer Tag: 93833
IAppointment and ITask Find
I'm working on an app that will display appointments and tasks that are
coming up within the next few days (depending on user setting).
Is there a way I can use Find() to get a list of all the appointments that
have occurances coming up within a specified date range? Is the same
possible with tasks that have multiple occurances?
thanks in advance,
ed Tag: Open like File Explorer Tag: 93829
CSP XML provisioning for WIFI possible?
Hi
Has anyone done a configuration of an SSID for
a PDA with wireless lan using XML CSP?
I would like to learn how it is done..
Regds
Allan Tag: Open like File Explorer Tag: 93828
Coding Problem - HELP
Hi,
I have encounter this strange problem....
sometimes I delete some listview1 or imagelist1 or some property...
then my previous code will have error....
My previous code is working fine, and I backup it....
then i delete one listview1 and imagelist1, and recreate one....then
suddenly my previous coding is not working....
whenever come to xxx.text....then will have problem.....
now i open my backup file deploy...also can not....
anyone pls help me....
I do not make any changes on my coding...only delete the listview1 or
imagelist1, then my whole program will have problem...
anyone know how to trace the problem ?
thank you very much
Regards Tag: Open like File Explorer Tag: 93826
Wizard style hides property pages
Hello All!
I created a property sheet in Pocket PC 2003 according to the MyBackLight
sample from Pocket PC 2003 SDK. It all works fine.
But when i try to switch it to being a wizard - my property pages disappear,
leaving only "< Back" "Next >" buttons on the screen. What am i doing wrong?
evc 4.0 sp 4, Pocket PC 2003.
Thanks in advance
Best regards
Raf. Tag: Open like File Explorer Tag: 93824
eVB setup procedure
Hi All
CAn anyone advise me about the eVB 3.00 setup procedure :
I see this when I want to install eVB300 on my machine where is already VB6
and VS.Net
Here's the warning at the setup procedure :
"The embedded Visual Tools3.0 setup failed. "
"C:\windows\system32\autoexec.nt. the system file doesnot match to execute
MS DOS Application or Microsoft Windows"
What's goin on ? I cannot install eVB suite
Thank's by advance for any help
Bernie Tag: Open like File Explorer Tag: 93822
VPN over GPRS connection problem
I have a testet vpn server based on Linux. There is no problem with PC's
connection with it. When I have a PocketPC in the craddle I can see all data
from vpn on my PocketPC.
When I try to get VPN connection over GPRS this fails. I don't even know how
to connect with VPN !
My GPRS connection works fine. My VPN connection have a proper Host Name (IP
also tested), PPTP type, username, and a password.
When I tap my VPN connection and choose "Connect" - the GPRS connection is
established, but no VPN connection try is done (I've tried to put bad
password). My admin says that no VPN connection try is made on the server.
Can sb tell me how to estabish a VPN connection on PocketPC?
Any help appreciated.
Frestyler Tag: Open like File Explorer Tag: 93821
Get Version of WMP Mobile or its Active X Control
Hi all,
we want to embed videos and audio files in a html Control. Because of
the different Versions of WMP and its ActiveX controls we want to
start WMP 10 Mobile embedded and the older ones as independant
application.
How do I detect if WMP and ActiveX Control is installed or in ROM, and
which version they have?
thanks
Roland Hochmann Tag: Open like File Explorer Tag: 93817
Bluetooth enumeration
Is there a way to enumerate the virtual bluetooth com port? I'd like that my
application find out the right com port to connect...
Thanks.
--
Chri Tag: Open like File Explorer Tag: 93815
To Alex Feinman re: imaging.h
Hi all,
Alex, you sent:
> You can do it with the Imaging API (imaging.h)
>
> CComPtr<IImagingFactory>pFactory;
> HRESULT hr = pFactory.CoCreateInstance(CLSID_ImagingFactory);
> if ( SUCCEEDED(hr) )
> {
> CComPtr<IImage>pImg;
> CComPtr<IBitmapImage>pBmp;
> hr = pFactory->CreateImageFromFile(szBitmap, &pImg);
> hr = pFactory->CreateBitmapFromImage(pImg, 0, 0,
> PixelFormat16bppRGB565, InterpolationHintDefault, &pBmp);
>
> I'm not totally sure what is the internal format in this case though.
This code creates an image from a file, presumably in an image
buffer in memory as 24-bit ?
Then it converts to a 565 bitmap, presumably leaving the image buffer
in memory - this does not address the problem of uselessly allocating
memory for a 24-bit image before conversion to 565 - nor as far
as I can tell (since I haven't played with the imaging library yet) does
it free the image buffer.
Is there no way of converting compressed image file or resource directly
to a 565 bitmap without wasting memory ? (I realise I could use a full
jpg and/or png library but they're much bigger than I'd like - wasting
the memory just in a different manner :-)
Also "imaging" only appears in EVC4, not EVC3 so - maybe copying
imaging.h and imaging.lib to the appropriate EVC3 folders would make
it available there (at least for mobile 2002 ) ? Or does the dll itself not
exist in mobile 2002 ?
Finally why on earth did MS use the 555 format as the default when
(so far as I've checked) all Windows Mobile devices are 565 ?
bye
Dave (Parys Technografx) Tag: Open like File Explorer Tag: 93812
Install Font In pocket PC Emulator
Im using Pocket PC 2003 Emulator for my project(hand written Identification
In Tamil Language), I want to install the "Tamil Unicode" font into it. For
this purpose I used eMbedded VC++'s remote file viewer i can copy the font,
but Tamil (Unicode) characters also appear Box format, and i switch off the
pocket pc emulator the font i copied earlier is also deleted. Is there any
way to install Windows font(Latha) into emulator permenant and set it to
default font?
Please give reply
Thanks, Tag: Open like File Explorer Tag: 93810
Voice Recognition Software for Pocket PC?
Hi,
I need to produce a voice driven appliaction for Pocket
PC. It needs speaker dependent voice recognition (for
use in noisy environments) and voice synthisis.
I'm trying to find a good software component that I can
use to do speaker dependent voice recognition. Any
suggestions on what software to check out?
Regards
Andrew
biztalkeai(at)yahoo.co.uk Tag: Open like File Explorer Tag: 93807
Index problems with MS database
Hi!
I'm having problems with my databases created by
myDB.Create(uDB_Name, 1, 1, DB_SortProp);
where DB_SortProp is defined like
CCeDBProp DB_SortProp[1] = {CCeDBProp(CCeDBProp::Type_String,
ID_RECORD_OF_MY_DB,
CCeDBProp::Sort_Ascending)};
I can create this databases all right, then in my application create
records and put them in by myDB.AddRecord(pNewRecord);
and after some time, one more AddRecord-Operation will kill my index. There
are still all records present, as I can see by GetNumRecords(), but seeking
will give me only a fraction.
Deleting all records (not the database itself, just the records) seems to
quench the effect; I can then again add records and all works fine until
after some time the problem comes back.
I can not put my finger on when that - most likely index - problem arises;
it can be the third record or the 3 hundredth, it has nothing to do with
the record's content, and it has nothng to do with how long the DB already
lives.
As my application has to handle a lot of data I'd appreciate any hints.
Kerstin Tag: Open like File Explorer Tag: 93805
Code for backlight brightness level that works on Ipaq, doesn´t on Axim
I am using the code below for changing backlight brightness on iPaqs and
works OK. But it don't work on Axim (al least X50v).
I've found that the program that changes the brighness in Axim modify the
same registry keys, and calls the same BackLightChangeEvent (at least has
this name on its code, seen with a Hex editor).
The behaviour is very strange, let mi explain it with an example:
-I adjust with Axim program both ACBright and DCBright to level 1
-Then change the bright level with my program to level4 for both, AC and
DC. bright level doesn't change.
-Return to Axim program using battery and I can see that the slider for
DC remains al lever 1 but the level for AC has changed to level 4!.
-Connect AC power: The slider for DC power changes to level 4, and the
one for AC level changes to level 1 !!!!. Obviously the bright level remains
unchanged
Disconnect AC power: The opossite occurs: DC slider to 1 and AC slider
to 4.
Notes:
-The registry keys remains as I have set from my program, but if I change
the Axim program sliders, then it set the keys to the new values.
-A soft reset doesn't make Axim to change to a different bright level than
the selected with its program althought the registry keys were set to other
values.
¿Any idea?
My code is:
void SetBacklight(int value, BOOL bAcBright) //Set the Backlight for Battery
mode.bACBright set modifies also the AcBacklight
{
HKEY hKey = NULL;
DWORD dwDisposition = 0;
if (RegCreateKeyEx(HKEY_CURRENT_USER, _T("ControlPanel\\Backlight"),0,
NULL, 0, KEY_ALL_ACCESS, NULL, &hKey, &dwDisposition) == ERROR_SUCCESS)
{
if (bAcBright)
RegSetValueEx(hKey, _T("ACBrightNess"), 0, REG_DWORD, (PBYTE) &value,
sizeof(REG_DWORD)); //AC Mode
RegSetValueEx(hKey, _T("BrightNess"), 0, REG_DWORD, (PBYTE)&value,
sizeof(REG_DWORD)); //DC Mode
}
RegCloseKey(hKey);
HANDLE hBackLightEvent = CreateEvent( NULL, FALSE, TRUE,
TEXT("BackLightChangeEvent"));
if (hBackLightEvent)
{
SetEvent(hBackLightEvent);
CloseHandle(hBackLightEvent);
}
} Tag: Open like File Explorer Tag: 93804
CreateProcess - OpennetCF Diagnostic....
Just wonder which one is better if I want to use them to Launch
Tmail.exe....
Could some one give me a sample code of how to use CreateProcess to launch
Tmail.exe.....
with the TO field filled with TO: support@xxx.com
thannk you very much Tag: Open like File Explorer Tag: 93803
Deploment & Installation Successful - but not application found on Pocket PC
Hi,
I deployed my vb.net project succesfully.
I create one application project, one setup project....successfully created
all the cab file and deployed...
So I tried to run a Setup.exe....well everything goes smoothly, and end with
Installation completed, and pop up the Pocket PC / Add/Remove Program.....
but i can not find further action taken in Pocket PC, and the Add/Remove
Program under Pocket PC there....i can not find the application that I just
installed......
So I deploy and install everything is ok, just I do not how come I did not
see the application installed in Pocket PC...
what could be the problem ? Tag: Open like File Explorer Tag: 93801
System hangs on killing all the running processes
Hi all,
I am writing a application for Pocket PC using WinCE 3.0 API set. I
want to close all running applications in the system. I am able to get
list of all running process in the system. If I do kill all processes,
system hangs. I understand few processes need to remain alive. So what
all processes I should not kill. My question is what all process should
always run to keep device running properly. For example after doing
hard reset what all process system starts. I want to achieve close to
hard reset state for device programmatically. Or is there any way to
hard reset the device programmatically.
Thanks,
Pradeep Tag: Open like File Explorer Tag: 93800
Must ActiveSync plugins/providers be compiled with _MBCS instead of UNICODE?
Hi there:
could someone confirm that ActiveSync plugins (providers) on the desktop
side have to be compiled with _MBCS instead of Unicode? It seems to me that
this is the case. Compiling my plugin with Unicode enabled reliably crashes
the wcesmgr.exe process. It runs just fine when compiled with _MBCS.
Intuitively this makes sense, since there is no way for ActiveSync to know
whether a plugin was written with Unicode or not, and so it must be clearly
defined which character type is expected.
What I don't understand though is why STOREINFO and CONFINFO use TCHAR in
their structure declarations, while others like OBJUIDATA use plain char.
This makes it impossible to actually compile the plugin with Unicode on and
converting the internal unicode data to ANSI as needed when interfacing
with ActiveSync.
Thanks,
Patrick Tag: Open like File Explorer Tag: 93798
List View Control problem
Hi,
I'm having this problem using ListView Control(.Net CF-VS net 2003) to
display e.g. customer names which is stored in Thai language. It
displays me special characters i.e. square boxes inplace of
description.
The surprising thing is the description is displayed properly in thai
language when i use combo box or listbox. but in listview control it
displays special characters. please throw some light on this problem
as i have to implement this project immed and most of my forms use the
listview control..Any help appreciated..
Thanks n Best regards,
Dilip Tag: Open like File Explorer Tag: 93795
How to Install or Add POOM (Pocket Outlook Object Model) in Visual Studio.Net 2003
Dear all,
I've tried to search everything in the net about POOM. But I found not
something I need.
I am a newbies developer, I want to develop pocket pc application using
VB.Net on Visual Studio .Net 2003. I've already developed a simple
application (such as Notepad) and it succeded, I almost do nothing
(such as add object in toolbox bar or something like that) when develop
this.
>> This is the important part..... <<
But it now geeting harder, confusing and stressed when I try to develop
pocket pc application in order to read contact/address book in my
pocket outlook. I try to explore my Visual Studio.Net 2003 about POOM
but I didn't find it although I've installed .Net Compact Framework.
I've installed .Net Framework 1.1.
Is there anyone can help me how to do this ? Can explain me the easiest
way how to develop this ? Can u tell me the required component to do
this ?
Thank you for your response... Tag: Open like File Explorer Tag: 93794
Pointer of a file, not moving after a FREAD or FWRITE ???
I don't understand.
I am using FRead and FWrite in a WCE 3.0 with eVC 3.0++.
I am using the fread and fwrite functions to read some structures in a
file. The file has been opened with the "rb+" parameter.
Usually when you do a fread or fwrite of a structure, your pointer is
set at the end of that structure which is also the beginning of another
structure or the end of the file.
That's what it's supposed to be.
But that's not the case in my application. The pointer is not moving,
each time I write to a file I need to do a
fseek( myfilepointer, 0, SEEK_END);
and when I want to read, I need to focus to the front when it's the
first read, but then I need to do another fseek of another structure.
Is it a problem with WCE or is it me that's doing something wrong ?
Thank You ! Tag: Open like File Explorer Tag: 93784
solution for slow debugging
On my first machine debugging a device over activesync over USB was
extremely slow. Since I turned "allow network and RAS server connection" on
it is really fast, takes less then a second to move from one line to
another. Machine is P4 on 2.4GHz.
On my second machine which is 3.0Ghz debugging is fast eventhough the option
is not on. Wierd.
Devise has WiFi ofcourse.
Hope my experience might help to somebody.... Tag: Open like File Explorer Tag: 93782
[PocketPC/VB] Datagrid column size
Hi
I have 4 columns in the datagrid, the first one is the ID_CLIENT...I need to
set the with
of this column because is not so large like the column ADDRESS .
How can I set different with of the columns of a datagrid?
thank you very much Tag: Open like File Explorer Tag: 93780
Multiple Application Copies on PocketPC
I'm trying to deploy my application to my PocketPC that is docked via
activesync.
I have the output file folder defined as \windows\startMenu. I have two
problems.
1) When I do a release version, I don't get my application showing up in the
start menu.
2) When I look at START - PROGRAMS, I see multiple copies of my application
and its ICON file showing up in this screen. I can't get rid of these
multiple copies (I'm guessing these were created during my Debug process. I
have about 28 of them and can't figure out how to delete them.
Can anyone help clarify how to solve either problem
--
Thanks
RonF Tag: Open like File Explorer Tag: 93777
Windows Media Player 10 Mobile control
Hi all,
I would like to use Windows Media Player 10 Mobile control which should
arrive with WMSDK 10 in my app on PPC 2003 SE. SDK has samples etc, but
where can I get control itself? it is not registered by default, so I
guess it must be some redistributable component as it was in previous
version of SDK.
Does anybody know where can I download this control from?
Cheers,
Alex Tag: Open like File Explorer Tag: 93765
Easy way of finding registry keys?
It there an easy way of finding out which keys belong to which functions.
I'm trying to set some default conditions when my app is installed. There
must be two or three thousand registry keys in my Axim X50. I found a few,
but am still looking how to change the Button Assignments and change the
Regional Settings.
There must be an easier way.
Thomas Tag: Open like File Explorer Tag: 93764
Hello All!
How to make Pocket File Explorer like "open" menu (the word + a small
pointer to the left of it)?