|
Hi,
I could not find any info on this anywhere some maybe someone here has an idea?
When I create a dialog with a button (CButton) and the stylus is held down on the button for an extended period the the red dots from tap and hold do not appear. This is good.
When I create a CBitmapButton and the stylus is held down the red dots do appear. This is bad.
How do I disable tap-n-hold for owner draw (CBitmapButton) buttons ?
Thanks Tom.
|
|
|
|
|
Never mind -
Here is the solution
Derive your own class from CBitmapButton and override the OnLButtonDown function.
void CMyBitmapButton::OnLButtonDown(UINT nFlags, CPoint point)
{
Default();
}
|
|
|
|
|
Is it possible to get Smartphone/Pocket PC ID/PIN???
I have a solution for mobile devices and I want to limit user access without requesting user name/password, just based on device ID.
|
|
|
|
|
I'm also interested in the answer
Thanks...
sun.lcr
|
|
|
|
|
you can actually look at ur mobile device's Settings. There is an Asset Viewer there that tells you ur device's identity.
|
|
|
|
|
Hi,
I want to host the existing Web Service (on PC) to Windows CE device.How can i host the same Web service there.
According to the article i read ,i need to write new ATL Component and from that COM dll i need to generate WSDL and WSML files using tool called "wstlstb_ce.exe"
article link is:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnembedded/html/embedded12032002.asp
but by doing that my WSDL gets changed(it will be different from the Desktop counterpart).
is there any other way of hosting XmlWeb service on Windows CE Device??
Thanks and Regards
Tushar Mahajan
|
|
|
|
|
Hi,
I try to launch the voice Recorder out of my Application but didn't yet find a way to do so. The ShellExecute is not supported and all the other methods i know arent either. There seems to be a dll called VCOMCTL.DLL coming with activesync that provides that functionallity but i didnt find a way to set a reference to it as it is not "Known" by .NET.
Thanks, Markus
|
|
|
|
|
hello,
i want to ask that i m new to mobile world.
I dont think that a computer scientist may survive
in the field of mobiles and communication b/c after
doing BS(cs) he only thinks about programming.
If anyone interested in this field then how can
he become successfull in this manner.
I m student of BS and think of mobiles.
How can i do the final project of mine in this field.
Any one who has an idea please tell me and also tell me
about my confusion.
Thanks in advance
Voilent Voice
|
|
|
|
|
Hi,
I want to upload file on Windows CE.NET Emulator.I Open RemoteFileViewer and try to connect Device "STATDARDSDK Emulator",but it is not connecting to Device giving MessageBoxes:
"The Emulator Startup Server Reported the Following Error:Unable to establish a connection with the Device.Please check server configuration settings."
and
"Platform Manager was unable to connect to the Device.Please check your startup server and transport settings and try again."
can anyone tell me how to upload file on emulator??
Thanks
TusharM.
|
|
|
|
|
You are doing the right thing, you problem is that the Platform Manager is not seeing the emulator. Do you have a valid and live IP connection?
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
where do you find the remote file viewer? Do you have to download the tools kit for the file loader?
sun.lcr
|
|
|
|
|
Hi,
Remote File Viewer comes with Embedded VC++ 4.0 ,
you can find it in Tools menu.
Thanks
TusharM.
|
|
|
|
|
I have to write a routine where i have to compact a local database in the middle of an application.
I have created a Cdatasource object and CSession object at the time of start of the application.
In the middle of the PPC application say on a button click,
i called the close method of these 2 objects, ran the command for compacting the database and opening the datasource and session again.
In the routine for compacting the database we are creating a com object.
i.e
HRESULT hr = CoCreateInstance(CLSID_Engine, NULL, CLSCTX_INPROC_SERVER, IID_ISSCEEngine, (void**)&ssceEngine);
This returned false.So it could not create the engine object,
Can any one tell me why this happened,
When i call this function in the start as soon creating a sdf file it works, but from the middle of application it doesnt,
Pls help !!!!!!!!!
|
|
|
|
|
Did you call CoInitializeEx?
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
This is what i wrote:
ISSCEEngine* ssceEngine = NULL;
bool retVal = false;
m_strLocalStorageFile = _T("C:\Tmp1");
HRESULT hr = CoCreateInstance(CLSID_Engine, NULL, CLSCTX_INPROC_SERVER, IID_ISSCEEngine, (void**)&ssceEngine);
if (SUCCEEDED(hr) && (ssceEngine != NULL))
{
CString strDestStorageFile = _T("C:\Temp");
CString strSource = _T("Data Source=");
strSource += m_strLocalStorageFile;
strSource += _T(";SSCE:Database Password=xxxx;SSCE:Encrypt Database=TRUE");
CString strDest = _T("Data Source=");
strDest += strDestStorageFile;
strDest += _T(";SSCE:Database Password=xxxx;SSCE:Encrypt Database=TRUE");
BSTR sourceFile = strSource.AllocSysString();
BSTR destFile = strDest.AllocSysString();
hr = ssceEngine->CompactDatabase(sourceFile, destFile);
}
if (retVal)
{
if (::DeleteFile(m_strLocalStorageFile))
{
// rename the file
::MoveFile(strDestStorageFile,m_strLocalStorageFile);
}
}
This code works from fine in one module but doesnt seem to work when called from another module.
The module from where it works is where the sdf file is created.
before calling the above lines of code im just closing the connection the datasource and session and opening it after running the compact routine.
I also tried calling coInitialixeEX but didnt wrk
Pls help !
|
|
|
|
|
exactly, so why don't u try paint that comes with all microsoft OS to draw larger icons?
|
|
|
|
|
How to custom draw big icons in CListViewCtrl which type is LVS_ICON?
I know how to custom draw in CListViewCtrl typs is LVS_REPORT, but can't draw
icon when type is LVS_ICON by the same method!
I use embedded vc 4.0 ,and wtl 7.0, sdk is smartphone 2003
Please help me.
Thanks .
lee
|
|
|
|
|
Did you try drawing big icons in some drawing software like Paint, Visio etc?
HTH
|
|
|
|
|
oh,sorry.
I use embedded vc 4.0 ,and wtl 7.0, sdk is smartphone 2003
|
|
|
|
|
how video can transffer to mobile from pc
hussain
|
|
|
|
|
either via active sync or by simple file sharing
|
|
|
|
|
Do Anyone know how to install WinCE on SetTopBox ? I copy all file from a boot floppy disk to Set Top Box (STB)'s harddisk, after that i used SYS command for that harkdisk, and copy NK.bin to that harddisk. And i turn STB on to boot. That is ok. WinCE run in a short time after not run.
I use Platform Builder to create NK.bin. But i dn't know config for all devices as mouse, keyboard, or update driver.
Help me. Thanks.
--------------------------
ERP VN: www.erpvn.net
|
|
|
|
|
If your device is iPaq,it has Widcomm Stack so you can't using MS function,
but you can use CreateFile() with COM8 and it will open your BlueTooth manager to do the pairing.
If you has MS stack,you can use MS function(WSALookupServiceBegin() etc.).
Regards,
jon
|
|
|
|
|
I have a set top box device having winCE 4.2
installed.
This device allow us to install and use webcam.
But i want to communicate with webcam by programming
in this enviroment as we used to do on PC by DirectX. A
problem i have that this DirectX verion on WinCE 4.2
does not support us functions or librarys to do this.
So, can anybody give me a suggestion?
---------------------------------------
My site: www.erpvn.net
|
|
|
|
|
I've been toying with ATL com objects and I have a problem.
once I create the com object and load to the emulator, it works fine once,
then I get a hard error and the com can not be used again.
Does anybody have any idea of what I'm doing wrong!!!
thanks for the help!
sun.lcr
|
|
|
|