loading theme programmatically
Hi,
I wish to change the theme (tsk file) programmatically.
I read this article:
http://www.pocketpcdn.com/articles/changetodaytheme.html
That seems to work only half.. First I load the standard "Guava Bubbles"
theme. This has lots of red system colors.
The I use my above code to load my theme. It seems the tdywater image is
loaded, not sure about stwater one.
But the system colors should change to blue, but they stay red of the
pevious theme.
Even though I deleted the "UseStartImage" value. Do I need to delete some
other keys regarding color?
The other problem is, after a reboot, this change is lost!
I tried doing a RegFlushKey:
int WINAPI WinMain( HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
HKEY hKey;
LONG lRet;
DWORD dwSize;
TCHAR szCmdLine[MAX_PATH+1];
TCHAR szFile[MAX_PATH+1] = _T("");
PROCESS_INFORMATION pi;
lRet = RegOpenKeyEx(HKEY_CURRENT_USER, _T("Software\\Microsoft\\Today"), 0,
0, &hKey);
if(ERROR_SUCCESS == lRet) {
dwSize = sizeof(szFile);
lRet = RegQueryValueEx(hKey,_T("Skin"), NULL, NULL, (BYTE*)szFile,
&dwSize);
if (ERROR_SUCCESS == lRet) {
RegDeleteValue(hKey, _T("UseStartImage"));
wcscpy(szCmdLine, _T("/safe /noui /nouninstall /delete 0 "));
wcscat(szCmdLine, szFile);
if(::CreateProcess(_T("\\Windows\\wceload.exe"), szCmdLine, NULL, NULL,
FALSE, 0, NULL, NULL, NULL, &pi)) {
::WaitForSingleObject(pi.hProcess, INFINITE);
}
}
RegFlushKey(hKey);
RegCloseKey(hKey);
RegFlushKey(HKEY_CURRENT_USER);
RegFlushKey(HKEY_LOCAL_MACHINE);
// Broadcast the update today message
::SendMessage(HWND_BROADCAST, WM_WININICHANGE, 0xF2, 0);
}
return 0;
}
Lisa Tag: Urgent: start/stop wifi service Tag: 117148
Unresolved error for SerialPortServiceClass_UUID
I am getting the linking error
Unresolved external symbol SerialPortServiceClass_UUID
when I add the line
pp.uuidService = SerialPortServiceClass_UUID
to my code. I searched MSDN, but could not find documentation for
which libraries, etc., I should include. Can someone clue me in?
Thanks,
Rich Tag: Urgent: start/stop wifi service Tag: 117146
PIE: how to add a Favorite from a link?
i have the impression that javascript function window.external.AddFavorite()
does not work on Windows Mobile 5.
is there a way to set a Favorite when the user selects a link?
thanks! Tag: Urgent: start/stop wifi service Tag: 117141
C# NETCFv2 HiDPI Font Size
Hi,
When painting directly to a form and using a Font, I'd like to be able to
set the point size directly like in C++. I know that it's 19 on a VGA HiDPI
device, but the Font that gets created at that size is HUGE. It seems that
the NETCF v2 is doing something to my font internally that I don't have
control over and I'd like to try and figure out how to disable it.
I've tried setting the AutoScaleMode of the Form to 'None' but that didn't
have any effect. I can divide the 'real' font size by 2.5 to get a font
that looks very close to what a native application would show but that seems
like a terrible hack when something more elegant should be available. Any
ideas on where I should look?
Thanks! Tag: Urgent: start/stop wifi service Tag: 117140
MSMQ PPC win ce 4.2(Reader thread terminated) -Losing messages on
I get the following message in the MSMQ log file ..
"Reader thread for session "server"(the server which sends messages on
to the client ppc) has been forcefully terminated .Memory may have been
leaked."
This error is related to my previous post
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=925500&SiteID=1
Any ideas on solving this...
thanks in advance Tag: Urgent: start/stop wifi service Tag: 117139
keyboard localization
Hi gang.
I own Palm Wireless Keyboard. The keyboard is not supported on my iPaq
3630. I have written an application that translates scan codes
transmitted over IrDA to keybd_event() calls. It works very well for
standard english layout. I hope to publish the code and I would very
like to let the application grow by others to support other keyboards
and international layouts.
There are some keys missing on this small keyboard, so a chord on the
Palm Wireless keyboard has to be translated to other chord on the
standard PC layout, which looks twisted, but works. One example. When I
press green Fn key and apostrophe on the Palm Wireless keyboard, scan
codes shift down, back apostrophe and shift up are sent by
keybd_event() to emit tilde.
While this works for standard english layout, I would like to support
other languages. I am Czech, so I would like to write letters from
Latin-2 table. Is it possible to do it by keybd_event() on non
localized Pocket PC (US english) ? The only method I could imagine is
to write a SIP to emit internationalized characters. Am I right?
Thanks, Vojtech Bubnik Tag: Urgent: start/stop wifi service Tag: 117131
Hiding from Microsoft Spy
Hi All,
I am not getting any help in other group for a query. I am posting the
same here.
Given a Window, is it possible to hide the child windows from getting
seen by Microsoft-Spy.
Regards,
Herojit Tag: Urgent: start/stop wifi service Tag: 117129
Anybody know this error.help me to find out why it was happening
hi,
i am trying to call MAPILogonEx Funtion in c#. And My Code Is Like This
private IntPtr m_pSession;
void Cemapi()
{
IntPtr CheckMapiLogin = MAPILogonEx(NULL, "", "", NULL, out m_pSession);
}
[DLLImport(\windows\cemapi.dll", EntryPoint = "MAPILogonEx)]
public static extern IntPtr MAPILogonEx(Int64 int64Param,string
strProfileName,string strPassword,int NULL,out IntPtr m_pSession);
when i run the program i am getting the following error.
Error:
A Native Exception has occured in pocket pc wm5 samples.exe select quit and
then restart the program or select details for more information.
if i select details for more info.
it is showing like this
Exceptioncode: 0xc0000005
ExceptionAddress: 0x026c48a0
writing 0x00000000
Thanks
raghu sunkara Tag: Urgent: start/stop wifi service Tag: 117128
Using UpdateNLSInfo?
Hi all.
I'm trying to find out how to use UpdateNLSInfo function.
It is in coredll, but I can't find any document about it.
Can anybody explain what this API really does and the parameters?
Thanks in advance Tag: Urgent: start/stop wifi service Tag: 117126
Windows Mobile
Does windows mobile 5 browser support java applets and activex controls. Our
SSL VPN appliance needs to install an activex control to allow access to the
web interface. Tag: Urgent: start/stop wifi service Tag: 117123
wifi q's
Hi,
How can I provision wifi? seems DMProcessConfigXML fails when wifi is not
active.
So next q is, how do I programmatically turn wifi on/off ?
lisa Tag: Urgent: start/stop wifi service Tag: 117120
pre-uninstallation...
Hi community!
I have an application which is running in the background. How can I
terminate it if the user wants to uninstall it? Can I process some
pre-uninstallation? Like running another file which is killing it?
Thanks
James Tag: Urgent: start/stop wifi service Tag: 117119
How to get a deleted Serial Outlook Appointment
Hello
I began a Calender-Project and I have some trouble with serialelements.
If I start an new recurring appointment (e.g. every Monday) an delete
one appointment then I cant find it in the appointments.
Is it possible to get this deleted appointment? Because my Calender
should not display this appointment.
Sorry for my bad english.
Bods Tag: Urgent: start/stop wifi service Tag: 117116
How to get a deleted Serial Outlook Appointment
Hello
I began a Calender-Project and I have some trouble with serialelements.
If I start an new recurring appointment (e.g. every Monday) an delete
one appointment then I cant find it in the appointments.
Is it possible to get this deleted appointment? Because my Calender
should not display this appointment.
Sorry for my bad english.
Bods Tag: Urgent: start/stop wifi service Tag: 117115
Assistance Migrating Applications from PPC 2003 to Mobile 5.0
Our company uses a Pocket PC application that is working well on 2003 SE;
however, it is not compatible with Mobile 5.0. We are trying to find
someone that may be able to assist us with migrating this application to
Mobile 5.0. We do not have the source so are not able to rebuild the
application. We are hoping we can find out what is the root cause of the
incompatibility and develop a hack to fix this problem.
I would appreciate your help in locating a knowledgeable technical resource
that may be able to assist us. If you either know of, or can recommend the
best way to find people that have the skills I would require, that would be
greatly appreciated.
Sincerely,
Robert
www.miracleservice.com Tag: Urgent: start/stop wifi service Tag: 117114
how to render webpage from IE to a bitmap
I wanted to built an application which renders a webpage into a virtual
screen with custom size eg 640 480 and save it into a jpg . Is that possible
using IE in CE? Tag: Urgent: start/stop wifi service Tag: 117113
Just starting
Hello,
I am just starting out on pocket pc and hope someone can help me get going.
My goal is to create an application that can read data from a printer using
the usb or serial port on the printer, display the data in some format on
the pocket pc, and then send setup information back to the printer. I have
done this for Windows using MFC.
Can I use VC++ to do this with pocket pc?
If not, what do I need?
Are there any books to help get started?
Thanks for your help Tag: Urgent: start/stop wifi service Tag: 117112
Camera API for wm5
hi
i would like to be able to view the camera feed in a window separate to
the standard CameraCaptureDialog like in part of a screen or a small
part of the window or wherever
any ideas on how to do that?
thanks. Tag: Urgent: start/stop wifi service Tag: 117110
!!! THIS TIME NEXT YEAR YOU COULD BE A MAIL ORDER MILLIONAIRE !!!
!!! THIS TIME NEXT YEAR YOU COULD BE A MAIL ORDER MILLIONAIRE !!!
OUR MAIL ORDER STARTS, AND YOU ARE THE FIRST
Dear Friends,
Many people are going to tell you that there are.."no more secrets" to
making the big profits in mail order. Well, nothing can be farther from the
truth.
THIS IS A PROMOTION
Our Ambition is to win you as a partner.
FOR Only 1 US-DOLLAR / 1 EURO or 1 British Pound, you are one of the
beginners in our MAIL-LIST >SECRETS<, and so the first, who will get SECRETS
first
The 1 USD / 1 EURO or 1 British Pound is for processing and storage your
Mail-adress.
Well, the normal processing and storage ist more then 1 USD, EURO or BP, but
we wanna show you, that we wanna have your trust.
Yes,
this is an extraordinary way to start, but this is for us the only way to
"separate the chaff from wheat",
which means, we want people who have the real interest and desire on
earning money.
THIS PEOPLE WILL DO THIS WITH A LAUGH.
The Only need is, that you have the ambition to earn big money. Nothing
more.
Please write your Mail-Adress CLEARLY on a piece of paper:
> MAIL-LIST "Secrets" ENG < + your Mail-adress.
Put the 1 USD / 1 EURO or 1 British Pound between the paper, and then the
paper in an dark piece of a paper. For example, piece of a newsletter.
P.S.
you can change 1 EURO / 1 BP also by every moneybank into a 1 US-Dollar
Banknote. So it is easier to send.
Put it all into an envelope, close it, stamp it, and send it per Postal way
to:
S.P.L. Solutions
- Marketing -
Post-Box 4262
D - 24041 Kiel
GERMANY
IF you pay fast you will get a SPECIAL PRESENT !!!
After we receive your payment, you are in the Mail-List for starters.
Be exited.
MAIL ORDER STARTS BY THE END of NOVEMBER, So hurry up. Tag: Urgent: start/stop wifi service Tag: 117107
!!! THIS TIME NEXT YEAR YOU COULD BE A MAIL ORDER MILLIONAIRE !!!
!!! THIS TIME NEXT YEAR YOU COULD BE A MAIL ORDER MILLIONAIRE !!!
OUR MAIL ORDER STARTS, AND YOU ARE THE FIRST
Dear Friends,
Many people are going to tell you that there are.."no more secrets" to
making the big profits in mail order. Well, nothing can be farther from the
truth.
THIS IS A PROMOTION
Our Ambition is to win you as a partner.
FOR Only 1 US-DOLLAR / 1 EURO or 1 British Pound, you are one of the
beginners in our MAIL-LIST >SECRETS<, and so the first, who will get SECRETS
first
The 1 USD / 1 EURO or 1 British Pound is for processing and storage your
Mail-adress.
Well, the normal processing and storage ist more then 1 USD, EURO or BP, but
we wanna show you, that we wanna have your trust.
Yes,
this is an extraordinary way to start, but this is for us the only way to
"separate the chaff from wheat",
which means, we want people who have the real interest and desire on
earning money.
THIS PEOPLE WILL DO THIS WITH A LAUGH.
The Only need is, that you have the ambition to earn big money. Nothing
more.
Please write your Mail-Adress CLEARLY on a piece of paper:
> MAIL-LIST "Secrets" ENG < + your Mail-adress.
Put the 1 USD / 1 EURO or 1 British Pound between the paper, and then the
paper in an dark piece of a paper. For example, piece of a newsletter.
P.S.
you can change 1 EURO / 1 BP also by every moneybank into a 1 US-Dollar
Banknote. So it is easier to send.
Put it all into an envelope, close it, stamp it, and send it per Postal way
to:
S.P.L. Solutions
- Marketing -
Post-Box 4262
D - 24041 Kiel
GERMANY
IF you pay fast you will get a SPECIAL PRESENT !!!
After we receive your payment, you are in the Mail-List for starters.
Be exited.
MAIL ORDER STARTS BY THE END of NOVEMBER, So hurry up. Tag: Urgent: start/stop wifi service Tag: 117106
how to write applications in VB.net (2003) for Pocket PC 2003 (SPV M3100)
Hi Guyz,
I am very new to this technology, can somebody help me how to start
writing programs which you can install and test on Smart Phones (Like
SPV M3100) using Visual Studio .net 2003(vb.net). where to find the
relavent softwares and books, tutorials and samples,
Please advice.
Thanks
Kal Tag: Urgent: start/stop wifi service Tag: 117103
Vista RTM Ultimate and Oulook 2007 RTM Windows Mobile 5 device NOT SYNC
I have vista RTM ultimate and outlook 2007 RTM on my PC. When I plug
my t mobile MDA running windows mobile 5.0 into the machine it asks me
to SYNC with windows media player. in the windows mobile device center
it shows it connected. I am going crazy and ready to cry. I had this
working in a previous build, then it stopped in RC2. TOday I reset my
MDA to factory settings and wiped out all the DATA. Plug it in, and NO
SYNC....ANYONE PLEASE HELP....
CHRIS Tag: Urgent: start/stop wifi service Tag: 117101
How to power off on WM5?
I want to power off.I think I might use KernelIoControl method,but I
don't param value.What are the params?
Thanks in advance.
PT
2006.11.18 Tag: Urgent: start/stop wifi service Tag: 117100
VX6700 Pocket PC Notifications Stop every 2-3 weeks and require hard boot to get going
Verizon has replaced my UTStarcom VX6700 Pocket PC 6 times (yes, 6
times!). After a couple weeks the edit of Tasks and calendar entries
stops working which can be fixed by soft boots. About a week later the
notifications for tasks, calendars and alarms stop and they are not
fixed with a soft boot. Verizon helpdesk has me do a hard boot (which
means I need to reset all the configs) and the notifications work. But
then they stop again, so Verizon replaces the pocket pc and it starts
all over again.
Yes, you guessed it, my 6th one is now in this state.
Any thoughts, suggestions, help since I know what will happen when I
call Verizon (sorry to bad mouth you here Verizon, but it is what it is
and you need to fix you helpdesk support procedures)
MS Windows Mobile 5.0 OS 5.1.195 (Build 14928.2.2.0)
ROM Version 2.07.20 WWE 2/24/06
ExtRom Version 2.07.200 WWE
PRI Version 1.09_002
The edit functions use to stop more quickly until I upgraded to the new
2.07 xxx version.
Thanks. Tag: Urgent: start/stop wifi service Tag: 117099
VX6700 Pocket PC Notifications Stop every 2-3 weeks and require hard boot to get going
Verizon has replaced my UTStarcom VX6700 Pocket PC 6 times (yes, 6
times!). After a couple weeks the edit of Tasks and calendar entries
stops working which can be fixed by soft boots. About a week later the
notifications for tasks, calendars and alarms stop and they are not
fixed with a soft boot. Verizon helpdesk has me do a hard boot (which
means I need to reset all the configs) and the notifications work. But
then they stop again, so Verizon replaces the pocket pc and it starts
all over again.
Yes, you guessed it, my 6th one is now in this state.
Any thoughts, suggestions, help since I know what will happen when I
call Verizon (sorry to bad mouth you here Verizon, but it is what it is
and you need to fix you helpdesk support procedures)
MS Windows Mobile 5.0 OS 5.1.195 (Build 14928.2.2.0)
ROM Version 2.07.20 WWE 2/24/06
ExtRom Version 2.07.200 WWE
PRI Version 1.09_002
The edit functions use to stop more quickly until I upgraded to the new
2.07 xxx version.
Thanks. Tag: Urgent: start/stop wifi service Tag: 117098
ACM Wrapper Filter
Hello,
I am trying to instantiate a DirectShow ACM Wrapper filter for audio
decompression purposes. CoCreateInstance(CLSID_ACMWrapper) returns
-2147221164 {Class Not Registered}.
I am developing on a Palm Treo 700wx and on a Windows Mobile 5.0 Pocket
PC Emulator. On both devices I could not find the CLSID_ACMWrapper
registry entry under:
[HKEY_CLASSES_ROOT\Filter]
[HKEY_CLASSES_ROOT\CLSID]
CLSID_ACMWrapper is located in the Windows Mobile 5.0 Pocket PC SDK in
the header file: uuids.h. The CLSID_ACMWrapper has a value of
6a08cf80-0e18-11cf-a24d-0020afd79767.
The documentation also seems to say that the ACM Wrapper Filter is
supported: http://msdn2.microsoft.com/en-gb/library/ms925329.aspx
How can I find and instantiate a ACM Wrapper Filter for Windows Mobile
5.0?
Thank you,
Miguel Cabrera Tag: Urgent: start/stop wifi service Tag: 117092
converting
Hi there,
I am new in ".NET mobile world" and my question is:
1. if there are any possibilities to convert an existing application
(VB.NET or C# code) into .NET Mobile application ?? ...or what I need
to change in code if I want to run app. on PocketPC...
2. what I need to build (convert) an application for Mobile Devices, if
the app is build/coded in VB.NET or C#?
thanks a lot.
Jerry (Slovakia) Tag: Urgent: start/stop wifi service Tag: 117091
How to protect my software?
Hi
I've just recently started to 'port' some of my VB6 applications to VB.Net
and the Pocket PC environment. I'm using Visual Studio 2005. I'm a 'part
time' programmer and only develop software for a very particular specialised
sector.
I would like to make a PPC program 'shareware', that is to give the user
unlimited use for say 30 days, and then ask for a small fee to enable the
program to be used indefinately. This goes into my 'fund' to enable me to
keep up with buying development software.
I have done this on the PC and have usually written a line into the registry
supplemented by a small file in the Windows System32 directory (or similar
directory). The registry line is checked at startup and compared with the
file, if they match then the program starts. This also gets around the
problem of someone editing a regisrty line or altering a system date etc.
This approach has always worked resonably well for all but the more serious
hackers. I encrypt all registry entries and details within the file just to
add an extra bit of security.
Now i'm into new territory on the Pocket PC. I would like to have some idea
as to what others do to 'protect' their software.
Many thanks for any help and/or tips.
Cheers
Jem Tag: Urgent: start/stop wifi service Tag: 117088
How to use cemapi.dll in c#
Hi,
Is there any way to call functions in cemapi.dll using c#?
Raghu Sunkara Tag: Urgent: start/stop wifi service Tag: 117086
Restrict method : syntax error
hi, i'm using WM5.0 and Visual studio 2005. I'm trying to select
specifics appointments form the calendar using the restrict method and
then delete them .
I have a string syntax error .I have tried many syntax but i can't find
one that works. Can someone tell me th syntax to use ?
--------------------------------------------------------------
The query string is incorrectly formatted.
Nom du param=E8tre : restriction
--------------------------------------------------------------
Imports Microsoft.WindowsMobile.PocketOutlook
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim strfilter As String
Dim outsession As New OutlookSession
Dim app As AppointmentCollection
strfilter =3D "test"
app =3D outsession.Appointments.Items
messagebox.show("count : "&app.count)
app.Restrict("[Subject]=3D" + strfiltre)
messagebox.show("count : "&app.count)
End Sub
End Class Tag: Urgent: start/stop wifi service Tag: 117085
Facing problem related to trapping CS call notification
I am using a Pocket PC device with Windows Mobile 2005 edition in an UMTS
network.
Our app. also traps the CS call events. For this we use lineOpen() which
takes a callback function;
Here is the sequence we do.
1. Create network connection using ConnMgrEstablishConnection() API.
2. Once network is up use lineOpen() to trap CS call events.
3. Make a CS call our app gets CS Call connected event using the callback
function.
4. Disc the CS call and our app gets CS call disconnected event using the
callback function.
5. Now we release the network connection using ConnMgrReleaseConnection();
6. Now we get some events in CS Call callback();
6. Now again we make CS call but this time we DONT GET ANY CS call
NOTIFICATIONS?
Thanks in advance
abba Tag: Urgent: start/stop wifi service Tag: 117083
reloading nls on WM5?
Hi
I'm trying to replace wince.nls of my WM5 device.
But just replacing it didn't work, and I found reloadnls.exe, which is
launched at startup and reload nls file.
Does anybody know how this program does it?
Is there a windows message to do that?
Thanks Tag: Urgent: start/stop wifi service Tag: 117082
is WM crossbow wm 6.0 or wm 5.5?
i know there are two upcoming releases of WM, crossbow is Q1/Q2 07 and
Photon (Yamazaki CE Kernel) later on, i wonder what is the latest word
on the naming?
is crossbow going to be WM 6.0 or WM 5.5 (i even heard it will be
called WM 5.0 SE)?
when should we expect crossbow devices?
Regards
Mo Tag: Urgent: start/stop wifi service Tag: 117080
Obtain ActiveSync Connection to PC
Hello!
I want to receive event (or check state) in my App when device is
cradled and ActiveSync just connected and paired with PC. Please suggest me
how I can achieve it. Prefered C# / OpenNetCF library resolution.
Waldek. Tag: Urgent: start/stop wifi service Tag: 117074
C# program to Soft reset pocket pc
Hi All
How do I perform a soft reset on the pocket pc from a C# program? I've
tried to search for this but was unable to find anything.
I use a very old one with a broken screen in my car with a gps and
cellular phone to track my car on the internet. But sometimes the
bluetooth or something else goes wrong and in that case I want the
program to be able to "reboot" the device, then everything works again.
Hans... Tag: Urgent: start/stop wifi service Tag: 117072
single stepping
ther are times when I cannot single step when in debug mode. I'm developing
pocket pc vb.net code primarily. I can't see any commonality in tehcode that
does not single step. If I put breakpoints in the3 code sections that are
flaky, the debugger stops on them. The code runs fine.
Anybody else have this issue? Tag: Urgent: start/stop wifi service Tag: 117071
ActiveSync WM5 SetStatusText() format
What is the format for status messages fed to ActiveSync (I'm assuming)
through IReplNotify::SetStatusText()? I've seen a {<SSP name>} prefix
referred to. But, I've also noticed that Windows Media Player's status
text is a link that says "Setup must be completed." Tag: Urgent: start/stop wifi service Tag: 117068
Unable to Run a Service in service.exe on Emulator
Hi,
I am trying to run the FingerServer sample that installs a service which
runs under services.exe in Pocket PC. I tried installing the service in an
emulator but I cannot make that work. I did a software reset in the emulator
after installing and putting the registry keys but that did not help. I even
wrote a small console app to start the service using ActivateService()
function (and made sure command line for service.exe was enabled in the
registry). That didn't help either - Windows CE Remote Process Viewer doesn't
show my DLL under services.exe. I tried this onPocket PC 2003 Second Edition
and Pocket PC - WM 5.0.
Can user service run inside services.exe in an emulator? Tag: Urgent: start/stop wifi service Tag: 117067
short[] to byte[] conversion
I need to convert a short[] to byte[] not using for.
Im using BinnaryWriter that cant write short arrays but it can write byte
array.
I need a way to convert directly short[] to byte[].
something like this:
BinnaryWriter bw;
short[] s = new short[100];
byte[] b = (byte[]) s;
bw.Write(b);
--
Alberto Cardoso Tag: Urgent: start/stop wifi service Tag: 117066
ADOCE and specific request
Hi,
I have a problem when I try to use ADOCE in order to pass specific request
like "SELECT * FROM MYTABLE WHERE MYFIELD='N' ".
I read that was not possible to use the = operator with ADOCE. Is it true ?
How can I do to execute such type of request with ADOCE ?
I have no problem to execute a request like "SELECT * FROM MYTABLE"...
Thanks in advance for any answer.
G. Tag: Urgent: start/stop wifi service Tag: 117065
Wi-Fi provisioning issue
Hi,
Is there a way to provision WiFi settings in Pocket PC?
On PocketPC it seems you can only add new Wi-Fi entries through OMA
Provisioning XML, if Wi-Fi is active. Perhaps XML can be used to
activate the wi-fi first, make these settings elsewhere like in windows
registry directely?
Please help.
Me Tag: Urgent: start/stop wifi service Tag: 117064
Get signature
Hi!
I need to get a signature or the drawing that user write/paint in the
display of PDA.
How can do that? I need a component to do that? Tag: Urgent: start/stop wifi service Tag: 117061
ImagingFactory : Problem with Draw interface of IImage.
Hi All,
I am having a issue with Draw method of IImage. I am not getting
response for this same query in other groups and posting it again here.
Hope to get information
Imagine I have a png of dimension 256 X 256. Now if I try to display
the whole image , it works fine . So the following works fine .
IImage *pImage ;
RECT dstRc .
...CreateImageFromFile(TEXT("\\test.png"), &pImage) ;
dstRc.left = dstRc.top = 0 ;
dstRc.right = dstRc.bottom = 256 ;
pImage->Draw(hdc, &dstRc, NULL) ;
Now If I try to display the bottom right quarter of the image like :
IImage *pImage ;
RECT dstRc .
RECT srcRc.
...CreateImageFromFile(TEXT("\\test.png"), &pImage) ;
dstRc.left = dstRc.top = 0 ;
dstRc.right = dstRc.bottom = 256 ;
srcRc.left = srcRc.top = 128 * 2540 /SCALEX (96) ;
srcRc.right = srcRc.bottom = 256 * 2540 /SCALEX (96) ;
pImage->Draw(hdc, &dstRc, &srcRc) ;
Now I got the right upper quarter instead of the bottom .
Please help.
Regards,
Herojit Tag: Urgent: start/stop wifi service Tag: 117059
third party word document editors for PPC
Hi,
Can anyone tell me any third party word document editors available,
which expose their DLLs for development purposes? I need to programmatically
control opening, closing and editing of word documents in Pocket PC.
Thank you,
L.M.Collins. Tag: Urgent: start/stop wifi service Tag: 117058
Cleartype with doublebuffer
I have noticed following registry key get created when Cleartype font
is selected, just wanted to confirm whether is this the way to go.
[HKEY_LOCAL_MACHINE\System\GDI\CLEARTYPE]
Also I am using a double buffer bitmap, over which I am drawing my text
with Cleartype font, but it never draws in cleartype, just plain old
text
HFONT hSysFont = (HFONT) GetStockObject(SYSTEM_FONT);
HFONT hFontNew = NULL;
HFONT oldFont = NULL;
if (hSysFont)
{
LOGFONT lf;
GetObject(hSysFont, sizeof(LOGFONT), &lf);
lf.lfQuality = CLEARTYPE_QUALITY; //Sets clearType font
hFontNew = CreateFontIndirect(&lf);
}
oldFont = (HFONT) SelectObject(dc, hFontNew);
DrawText(dc, "Test Text", -1, &rClientArea, DT_WORDBREAK | DT_CENTER);
SelectObject(dc, oldFont);
DeleteObject(hFontNew);
Any suggestions why its not working, for doublebuffer bitmap? Tag: Urgent: start/stop wifi service Tag: 117056
StretchDIBits problem
Hello,
I am drawing some sequence of images on a DialogBox. To draw the images i am
using StretchDIBits in OnPaint. The images are drawn properly but only thing
is its consuming lot of memory on emulator and on device as well. If I dont
use this call the memory is ok then. Can any one help me in this regard. Tag: Urgent: start/stop wifi service Tag: 117055
receive SMS messages on some port other then Inbox
Hi,
I am looking for source code example(C#) for how to receive binary SMS
messages on some port(configurable) in Windows Mobile 5 .0
Thanks
Jatinder Tag: Urgent: start/stop wifi service Tag: 117053
Best compiler/IDE/language for on device development
I know that this has been asked many times, but I am sure that there
have been some new tools released in the last year this I haven't heard
about.
I am looking for the best development tool for developing applications
on the device and on the desktop. I would like a tool that allow for on
device development, debugging, visual form creation, and compiling to exe's.
I would like to have a native tool that doesn't require huge runtime
libraries (other than the runtimes that are shipped with the devices, or are
part of the OS such as Compact Framework 1.0). I want to stay away from the
CF 2.0 as it only included with some of the newer devices, and the CF3 is
already on the horizon.
I have tried the ones listed below, but still haven't found the right
tool, or maybe I didn't evaluate the tools correctly. If anyone else has
experience with the ones listed below, or know of a better tool them please
let me know.
NSBasic (http://www.nsbasic.com/ce/) - Actually used a few years back to
write some fairly large apps, but they are slow and required the runtime to
be installed. If the applications were smaller and faster I would probably
use.
Pocket GCC (http://pocketgcc.sourceforge.net/) - Have also used to write
some decent application. Application speed is very fast and small, but
requires a lot of work and hasn't been updated in a while.
Pocket CSharp (http://pocketgcc.sourceforge.net/pcsharp/) - Works with CF1
and compiles about twice as fast as Pocket GCC, but doesn't support the
entire CF1 and also hasn't been updated in a long time doesn't appear to be
supported anymore.
Basic4PPC (http://www.basic4ppc.com/) - Installed the trial but didn't
evaluate very long as it seemed to be somewhat limited. Curious as to how
large the compiled exe's are and how the speed compares to GCC?
Pocket Programming Language (PPL) (http://www.arianesoft.ca/page.php?1) -
Evaluated briefly. Looked very promising, but really didn't like the
language (or just maybe not used to it). Compiled exe was a little to large
for simple applications, but the language seemed to have access to the
entire API. Would have evaluated longer, but no real good tutorials and the
IDE crashed a little to often. (I am still hopeful for this one thought)
Pocket Zeus
(http://www.krmicros.com/Development/Pocket%20Zeus/PocketZeus.htm) - Looked
cool and I liked the on device debugger, but seemed geared more towards
instrumentation data logging/development.
Thanks Tag: Urgent: start/stop wifi service Tag: 117048
Show the video in dialog by direct show
hello
Now I will playback a video(3gp or mp4) in my dialog. I create some
button in the dialog and use direct show to playback in the dialog.
But I found that if I use direct show to palyback the video, it
always create a childview in toplevel.
I wish that the video is affiliated in the dialog when I playback.
What can I do to slove the issue??
The following codes is to use direct to playbcak video.
pGraph = NULL;
pMediaControl = NULL;
pVidWin = NULL;
pEvent = NULL;
CoInitialize(NULL);
CoCreateInstance(CLSID_FilterGraph, NULL,
CLSCTX_INPROC,IID_IGraphBuilder, (void **)&pGraph);
pGraph->QueryInterface(IID_IVideoWindow, (void **)&pVidWin);
pVidWin->put_Owner((OAHWND)this->GetSafeHwnd());
pVidWin->put_WindowStyle(WS_CHILD | WS_CLIPSIBLINGS);
pGraph->QueryInterface(IID_IMediaControl, (void **)&pMediaControl);
pGraph->QueryInterface(IID_IMediaEvent, (void **)&pEvent);
pVidWin->put_FullScreenMode(OATRUE);
CRect grc;
::GetClientRect(this->GetSafeHwnd(), &grc);
pGraph->RenderFile(_T("\\Program Files\\mv.3gp"), NULL);
CString resolution;
pVidWin->SetWindowPosition(0, 0, grc.Width(), grc.Height());
pMediaControl->Run(); Tag: Urgent: start/stop wifi service Tag: 117047
I'm trying to start/stop wifi service like the Wieless Manager does.
How can I accomplish this? I know how to do this with Obex service.