|
I want to play a flash movie (.swf) in pocket pc for my application using vb .net. Whenever the user click a hyperlink, the application can play flash movie.
I have flash player. But I don't know whether I can call Pocket IE to run the flash player to play the movie.
Could anyone tell me whether it can do or not?
if yes, would you mind tell me how can i do? need any lib or something?
Thanks a lot!!
|
|
|
|
|
Hi,
could anyone please help me, how to pass command line argument to my app?
my code is as follows:
<br />
#include "stdafx.h"<br />
<br />
int WINAPI WinMain(HINSTANCE hInstance,<br />
HINSTANCE hPrevInstance,<br />
LPTSTR lpCmdLine,<br />
int nCmdShow)<br />
<br />
{<br />
if (*lpCmdLine == 'test'){<br />
MessageBox(NULL, TEXT("OK"), TEXT("Result"), MB_OK);<br />
}<br />
else {<br />
MessageBox(NULL, TEXT("NotOK"), TEXT("Result"), MB_OK);<br />
}<br />
<br />
return 0;<br />
}<br />
The problem is, that it always goes to "else"...
Thank You
Martin
|
|
|
|
|
Use
if(wcscmp(lpCmdLine, _T("test")) == 0)
for the comparison test.
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
Thank You very much.
It is working. )
br
Martin
|
|
|
|
|
As you can imagine, I'm a beginner at programming Pocket PC's, and I need some help.
I want to "draw" the contents of a DATETIMEPICKER, at the Today Screen. I tried the following:
DateTime_SetFormat( GetDlgItem(hDlg,IDC_DATETIMEPICKER1 ), TEXT("dd MM yyyy"));<br />
DateTime_GetSystemtime( GetDlgItem(hDlg,IDC_DATETIMEPICKER1 ),&stDate);<br />
GetDateFormat(LOCALE_USER_DEFAULT, DATE_SHORTDATE, &stDate, TEXT("dd MM yyyy"), date, 10);<br />
<br />
DrawText(hdc,date,10,&rcClient,DT_CENTER);
But it doesn't work.
I also tried with ExtTextOut, without any success.
I thank you all for taking the time to help me.
-ricardito69-
|
|
|
|
|
Hi,
I want to know how to communicate 700 series hand held intermec pc with 6920 communication server. I've 6920 communication server installed on my desktop pc. But I am pretty confused about client part on my hand held device. I don't know which client software to use.
So if anybody can provide me the exact steps for communication between pocket pc (700 series intermac OS: WinCE) & 6920 norand communication server, then it would be immensely helpful to me...
Thank you..
Dhaval.
|
|
|
|
|
:|I am loading a 4X5 picturebox matrix using a bitmap file template. As each cell in the matrix is being loaded, I append a text string using the DrawString function to complete the cell's image.
The problem is that the DrawString function seems to work only on the desktop and not on the hx4700.
Does any body know how to get around the DrawString to draw a string on a bitmap image at runtime?
This will avoid having to crate separate images for each cell on the matrix.
Thanks for the help!
dynertec.lcr
|
|
|
|
|
Hi,
I run down all the controls in my CDialog using
CWnd *hWnd = GetWindow(GW_CHILD);
anyone knows a way to retrieve the kind of control (I mean: if it's a CButton, CEdit... or even if it's a PUSHBUTTON, COMBOBOX ... and so on..) on my Dialog?
I tried using
CString str;
CRuntimeClass *prt;
prt=hWnd->GetRuntimeClass();
str=prt->m_lpszClassName;
but str always takes the value "CWnd".
I tried putting /GR compiler flag inside Project Options but the compiler complaint... Is there another way to do it? where am I wrong?
[environment: WinCE, pocketpc2003]
|
|
|
|
|
Use GetClassName API function to retrieve the HWND class name.
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
Simple question - does anyone know what the block size of the filesystem on a storage card on an MS Smartphone is? Is it even system defined, or is it likely to vary depending on the device or storage card being used?
I'm basically developing a PC app that copies files to a Smartphone using RAPI, but am having problems as the size a file occupies, and its reported size are never the same (due to the block size)
I'm using OpenNETCF.Desktop.Communications for the RAPI work, and have been unable to find any way of either reading the actual free space on the device, or any kind of information about the filesystem.
--
Help me! I'm turning into a grapefruit!
Phoenix Paint - back from DPaint's ashes!
|
|
|
|
|
Hello all,
This is my 1st post a a member for a few months now.. Love the site...
OK.. I am trying to execute other applications (user has check boxes to select the function) on the PPC via the following:
CreateProcess(@"\windows\fexplore.exe",@"myPathAndExeHere",... other args...);
Note I am utilising:
[DllImport("CoreDll.dll")] to get CreateProcess.
It works really well, except that fexplore process remains running, even though the app I called has finished...
I can't proceed to any other apps I want to call, until fexplore is finished...
SO... what I am thinking I need to do is somehow scan to see if "File Explorer" is running {somehow} and "Stop" that/those process(es)..
Could anyone give me any insights?
Will be <GREATLY> appreciated.
TIA
|
|
|
|
|
(WinCE)
Hi, is there a way to enumerate the controls (or simply get the first, then the next..) of a CDialog?
(please don't answer: "try enumwindows..." and if you do, please tell me if it really works for what I need - I suppose enumwindows is no way what I need)
|
|
|
|
|
sorry, I meant "Figueira"
|
|
|
|
|
The solution is to use GetWindow . I usually use it on its API version. You must first use:
HWND hWndFirstChild = GetWindow(hWndDlg, GW_CHILD);
Next, you iterate all the siblings.
HWND hWndNext = hWndFirstChild;
hWndNext = GetWindow(hWndNext, GW_HWNDNEXT);
You should get a NULL when the enumeration finishes.
The behavior is the same with the MFC versions of the method.
Lvca wrote:
sorry, I meant "Figueira"
Yeah, I understood what you meant on the first post...
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
thank u very much... I'd like to specify this:
my original idea was to find a way to create a subclass for CDialog... what I want all my dialogs to do is to "SetWindowPos" every controls in a certain way. So ... I thought this: i could use a CMyDialog, derived from CDialog (is this possible?) ... where i get with
::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
..the handles of every controls this way:
int myID;
pDC->GetDlgItem(myID);
and I could use these HANDLES anyway I like.. but...
the problem is: is it possible to subclass CDialog?
is this a bad idea... and why?
|
|
|
|
|
WHen i connect my pocket pc to Desktop computer ActiveSync Activates and connects it ty my desktop. How Does it do it??? I want my programm handle the connection and disconnection of pocket.
|
|
|
|
|
What dlls i have to copy to my pocket pc to use MSXML??? And how to register them??? And repeating the question, i made an application on EVC40, but i can't see the menu bar or toobar of my window, seems like it biger, than window of my pocket can show. I tried to make an application with using MSXML on EVC30, but it doesn't compile, it says that problem is in file <msxml.h>, i can't understand...
|
|
|
|
|
Hello,
I am quite new to C++, and I was wondering what template do I choose in Visual C++ .Net 2003 to create a smart device application?
If it is just a regular windows forms application, which includes do I use?
Thanks,
Programmer2k4
My sig:
"The so-called 'Bugs' do not exist, they are merely features hidden by developers with message boxes that say 'An unhandled exception has occurred'." - Programmer2k4
"And it is a professional faux pas to pay someone else to destroy your computer when you are perfectly capable of destroying it yourself." - Roger Wright
I now use my CodeProject Blog!
|
|
|
|
|
Hi,
You can find "smart device project" under c# projects and under VB projects.
You can't create smart device application with C++ under .NET.
Regards,
Eli.
|
|
|
|
|
I do not have any bluetooth on my desktop PC, but do have on my PocketPC. I'd like to backup the mobile phone setting ands files via bluetooth. There are certainlly Win32 application that do that, but are there any for the Pocket PC?
I feel like I'm diagonally parked in a parallel universe
Jerry Davis
http://www.astad.org http://www.jvf.co.uk
|
|
|
|
|
I have an application in Embedded C++ version 4.0
I have a CDialog derived class which displays a dialog.
How do I code a DateTime picker from a combo pulldown?
Any help will be appreciated!
|
|
|
|
|
And have some problem. When i launch my programm on my Pocket PC i can't see the menu bar of my programm, seems like it biger than the window of pocket pc. What to do???
|
|
|
|
|
Hi,
i develop a .NET Windows application on a Win CE platform.
i do not know if my problem is a common bug, but i found no solution.
Within my application i want to use a proxserver to connect with a .NET Webservice. But everytime I get the 407 Error 'Proxy authentication required'.
I attached my code, where you can see that i try to solve my problem by using the Proxy Object of my Webservice instance and additionally use the GlobalProxySelection Object:
WebProxy myProxy = new WebProxy(myProxyAdress);
myWebservice.Proxy = myProxy;
myWebservice.PreAuthenticate = true; // do not know if this is necassary
System.Net.ICredentials credentials = new System.Net.NetworkCredential(this.proxyUser, this.proxyPWD,
this.domain);
//here i set the credential of my webservice instance, which i mean is not necessary.
myWebservice.Credentials = credentials;
//here i set the credentials of the Proxy Object of my Webserive Instance.
myWebservice.Proxy.Credentials = credentials;
further I tried the following Code:
GlobalProxySelection.Select = new WebProxy(myProxyAdress);
System.Net.ICredentials credentials = new System.Net.NetworkCredential(this.proxyUser, this.proxyPWD,
this.domain);
GlobalProxySelection.Select.Credentials = credentials;
Both examples result in the 407 error, while the same Code on a Win32 plattform still works.
May someone help me, I realy get confused about this problem.
Thx in advance.
Matthias Schröder
|
|
|
|
|
hi,
just wanted to know is there resource available for REX OS.
anybody knows about REX OS and its features, base services, richness compare with others OS ? if so, please let me know in detail.
regards,
aks
|
|
|
|
|
Hi all,
any resources available for REX OS ???
Now a days i am not getting valuable feedback from here.
is there any useful site where i can post messages and get answers for these kind problems?
Regards,
aks
|
|
|
|
|