|
Hello everybody,
i m new native coder in windows mobile i m facing lot much problems in developent how i will seek information regarding with my queries??
any specific coding blog only for native coders
since i have quite seen that code project just contain coding by WTL,MFC, or through managed code(.net compact framework)what abt raw native coders
microsofts help is also not clearly distinguish between native coders & managed coders.
pls help native coders since its difficult to built application in native coding.
|
|
|
|
|
|
hi
I would like to know which mobile/embedded software is compatible with MS VC++ 6.0 version(eg:WinCE 3.0 etc).
thanx in advance
"Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"
|
|
|
|
|
The list of compatible development tools:
For early versions of Windows CE, there were plugins to MSVC 5.0 and 6.0. However, these reportedly screwed up your environment so you couldn't use it for desktop development any more.
In 2000 Microsoft released eMbedded Visual Tools 3.0, which includes eVC 3.0, which is basically a rebadged VC 6.0 environment that can live side-by-side. This is compatible with Windows CE 2.x and 3.0, including Pocket PC 2000 and 2002.
Windows CE (.NET) 4.x changed some debugging interfaces and so a new version of eVC was required, version 4.0. eVB was dropped. CE 4.1 requires at least SP1, CE 4.2 at least SP2. SP2 was not compatible with CE 4.1, a problem corrected in SP3. SP4 adds support for CE 5.0. In terms of Windows Mobile versions, WM 2003 for Pocket PC and Smartphone are supported but Windows Mobile 5.0 is not.
Windows Mobile 5.0 and 6 require Visual Studio 2005, at least Standard Edition. The free Express Edition is not enough. VS 2005 also supports Windows CE 5.0 platforms and Pocket PC 2003. I believe the support matrix is the same for Visual Studio 2008.
eVC 3.0 and 4.0 do not work on Windows Vista. No fix is planned. If you're running Windows Vista you'll have to run a Windows XP virtual machine if you need eVC.
See this page[^] for more, including the recommended installation order.
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
Hi ,
I am trying to retrieve a file from server to the device emulator in my application .
I am able to login successfully on the ftp server but not able to open the port for data connection to retrieve file from server.
Please guide ...
Pramod
//----------------------------- CODE ---------------------------------
HINTERNET hInternet,hConnect, handle;<br />
<br />
HINTERNET pTemp = 0;<br />
<br />
<br />
hInternet = InternetOpen(TEXT("DevX Sample"),INTERNET_OPEN_TYPE_DIRECT, NULL, 0,INTERNET_FLAG_NO_CACHE_WRITE);<br />
<br />
<br />
hConnect = InternetConnect(hInternet, TEXT("ps2672"),INTERNET_DEFAULT_FTP_PORT, NULL, NULL, INTERNET_SERVICE_FTP,0,0);<br />
<br />
if( hConnect==NULL)<br />
<br />
{<br />
<br />
printf("hiiii");<br />
<br />
}<br />
<br />
HANDLE hFile = CreateFile(TEXT("test1.txt"), GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);<br />
<br />
<br />
if (!(handle = FtpOpenFile(hConnect, TEXT("abc.txt"), GENERIC_WRITE,<br />
<br />
INTERNET_FLAG_TRANSFER_ASCII | FTP_TRANSFER_TYPE_ASCII ,0))) <br />
<br />
DWORD abc=GetLastError(),abc3=40;<br />
<br />
wchar_t *abc1=new wchar_t [40];<br />
<br />
InternetGetLastResponseInfo(&abc,abc1,&abc);<br />
<br />
MessageBox(hWnd,abc1,NULL,0);<br />
<br />
}<br />
<br />
else<br />
<br />
{<br />
<br />
char buff[1000]; unsigned long read;<br />
<br />
while (InternetReadFile(handle, buff, 1000, &read) && read);<br />
<br />
}<br />
<br />
CloseHandle(hFile);<br />
<br />
InternetCloseHandle(handle);<br />
<br />
InternetCloseHandle(hConnect);<br />
<br />
InternetCloseHandle(hInternet);
//----------------------------- OUTPUT ------------------------------------------------------------------
2007-12-19 17:55:47- User connected from 127.0.0.1 1858
2007-12-19 17:55:47- (not logged in) (127.0.0.1) > 220 Welcome to WinFtp Server.
2007-12-19 17:55:47- (not logged in) (127.0.0.1) > USER anonymous
2007-12-19 17:55:47- anonymous (127.0.0.1) > 331 Password required for anonymous
2007-12-19 17:55:48- anonymous (127.0.0.1) > PASS *********
2007-12-19 17:55:48- anonymous (127.0.0.1) > 230 Logged on
2007-12-19 17:55:58- anonymous (127.0.0.1) > TYPE A
2007-12-19 17:55:58- anonymous (127.0.0.1) > 200 Type set to A
2007-12-19 17:55:58- anonymous (127.0.0.1) > PORT 192,168,55,101,4,27
2007-12-19 17:55:58- anonymous (127.0.0.1) > 200 Port command successful
2007-12-19 17:55:58- anonymous (127.0.0.1) > STOR abc.txt
2007-12-19 17:56:19- anonymous (127.0.0.1) > 425 Can't open data connection.
2007-12-19 17:58:10- User disconnected from 127.0.0.1
"No one will believe in you unless you believe in youself"
|
|
|
|
|
Hello Pramod,
I would suggest you to check for the following two:
1. Set the Passive mode to On.
2. The username to login to the server has the proper rights.
Regards,
Dave
Dave Traister
Software Engineer
ComponentOne LLC
www.ComponentOne.com
|
|
|
|
|
Hey all,
I am really a fan of notepad, i don't know why, but since I don't have a great editor in my pocket pc, I decided to do one of my own(in C#). But the problem comes when i need to save the format of the text in the textbox it does not save the format at all..., is there a richtext component for the pocket pc in the market?
I was thinking on saving an xml file in a database with all the format for each file but then i will be turning this little notepad application into a huge application because i don't know how many files i will have.... is there any way to save the format and style of the text i have in the textbox???
And how could i open word and pdf documents in the ppc?
Basically i want to be able to use my application to read all sort of documents including .MHT
Thanks all,
Best regards!
Codeproject Team helped and helps LETAS to be a better programmer... nothing is better than good people like these... Merry Christmas to all of you!!!
|
|
|
|
|
A new site called Innovate On Windows Mobile[^] provides targeted tools, support, and training to help you develop and market your mobile applications more quickly and efficiently.
By enrolling, you gain access to exclusive benefits, such as free test vouchers and technical support, and the information you need to certify, test, and sell mobile solutions.
More than 18,000 applications have been built for Windows Mobile.
For more information for ISVs, see US ISV blog[^].
|
|
|
|
|
Dear All,
I am working in Pocket PC applications using C#.
I am not able to resize the form in application. At design time it show me its resized but during run it show me full size FORM. I tried at resizing it at run time via changing it's width and height But it did not helped me.
I tried this on windows mobile 6.0 and 6.01 versions
please help me to solve this problem
Thanks you lot in advance
Manoj Batra
|
|
|
|
|
Pocket PC is designed to only have full-screen forms. You cannot create a form that is not full screen.
Windows CE creates top-level (non-popup) windows full-screen. Popup windows can be any size you want. However, the standard for Pocket PC says that you should size your popup dialogs to the full size of the screen using SHInitDialog and calling SHHandleWMActivate and SHHandleWMSettingChange in response to the corresponding messages. Microsoft's development frameworks, first MFC and ATL and now .NET Compact Framework all do this for you. To the best of my recollection, .NET Compact Framework does not offer any way to override this.
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
Hi,
Mike Dimmick wrote: To the best of my recollection, .NET Compact Framework does not offer any way to override this.
It is possible. The "trick" is to set the FormBorderStyle property to None. For example see my blog entry titled "Creating non full screen forms and custom MessageBoxes" available at http://www.christec.co.nz/blog/archives/134[^].
However having said that it's best described as a hack, and there are some issues with my code sample on different versions of the Windows Mobile OS etc. Since I don't really want to encourage people to develop these kinds of user interfaces I'm not inclined to investigate/resolve these issues...
Hope this helps,
Christopher Fairbairn
Windows Mobile Development blog
http://www.christec.co.nz/blog/
|
|
|
|
|
Hi Guy
Yes this very easy man just pass your height and with when is for will be load time.but currentlly i dont have code. but i seee here ,download exe from the this link and install, after open the code see there a method called ReSizeForm()
http://msdn2.microsoft.com/en-gb/library/aa446486.aspx[^]
I think ur porbs solved.
Thanks
Cheers
RRave
MCTS,MCPD
|
|
|
|
|
Hey
I have created an application where I have added some controls in panels.
But my problem is that i have two very differnt PDA's. The resolution on number 1 is 320 x 280 and at number 2 it is 640 x 480.
I have found out that when i drag and drop controls with visual studio, it doesnt really matter which of my PDA's i use, The contents just fits the screen.
But at another window i have coded some controls into some panels instead of using the Visual Studio drag and drop things. And now at my PDA number 2, the labels and pictures are too small, because i coded in the sizes which fits to PDA number one.
How can i make sure that all my controls will look the same way at both PDA's just like it does when i use the Drag And Drop tools ind VS?
|
|
|
|
|
|
Currently I`m developing a mobile application and I have a following problem: every time I change the current form, the Windows-strip (the one with the Start button, etc) appears at the very top of my application. It disappears only when I click on my application.
How to get rid of it constantly?
|
|
|
|
|
Are you trying to do a full-screen application? If so, are you leveraging the SHFullScreen API?
http://msdn2.microsoft.com/en-us/library/aa453694.aspx[^]
http://www.pocketpcdn.com/articles/fullscreen.html[^]
This can get a bit tricky since SHFullScreen doesn't actually hide the start menu and command bar, it just sets them below your window in the Z-order. Therefore, if you show a new window you may have to adjust the z-order again. It's a bit tricky, but hopefully one of those articles above will help.
My posts may include factual data, educated guesses, personal opinion and dry humor. They should not be treated as an official Microsoft statement. Sites of Interest: MSDN Events | US ISV Team Blog
|
|
|
|
|
Hi experts,
I need to download a zip file from server to the PDA and decompress it using asp.net mobile programming. Could any one please tell me how can i do it. Is it possible to do it in :net?
Are there any tools which do this?
Thanking you very much,
Aruna.G
|
|
|
|
|
Hello Aruna,
You would need your application to perform the following two functions:
1. Transfer the zip file from the server to the PDA. You may establish an FTP connection to achieve the desired.
2. Perform unzipping for the transferred file.
Are you looking to use any third party components to develop the application for performing the above mentioned functions? Searching over the Google would give the list of vendors.
Regards,
Dave
Dave Traister
Software Engineer
ComponentOne LLC
www.ComponentOne.com
|
|
|
|
|
Hi All,
<big>Can anyone guide me how can i create a "Help File" for Pocket PC application. And how do i installing it (Help File) with (CAB file or installer) an application installer for Pocket PC device.</big>
Help File must be entered in Pocket PC's Help System (TOC).
Pavan Pareta
|
|
|
|
|
hi
i am also a mobile devloper
just check the link
http://msdn2.microsoft.com/en-us/library/ms889525.aspx
i think its helpful to u.........
|
|
|
|
|
greeting everybody,
does anybody have a tool that can convert a bitmap image to its corresponding Hex code?
For example given a specific image file, the tool returns 0x0,0x0,0x0,0x0,0x0,0x0,0xe0,0xff,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0 .......
thank you all
|
|
|
|
|
How do I detect the audio/video capabilities on windows mobile -
I just want to enumerate all the audio video devices installed on the windows mobile device(windows ce 5.1).
Any help would be highly appriciated. Thanks!!!
|
|
|
|
|
Hi ALL
i am working in windows mobile web application.i need javascript pop up calendar .please any body having idea in this ,please help me
Note: Please reply some thing related to this because no body can reply this forum
regards
Meenakshi sundaram
|
|
|
|
|
hi
i try to run my Program on PPC and i get this error:
Can't find PInvoke DLL sqlceme53.dll
what can it be ?
|
|
|
|
|
This generally indicates that you haven't installed the SQL Server Compact Edition runtime. Ensure that the appropriate CAB is installed on the device. You can find the CABs under C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Devices, then under the appropriate CE major version (wce400 or wce500), then the processor type.
Windows Mobile 2003 Pocket PCs are based on Windows CE 4.2, so you should use wce400\armv4\sqlce.ppc.wce4.armv4.CAB. For Windows Mobile 5.0 or 6 Pocket PCs, use wce500\armv4i\sqlce.ppc.wce5.armv4i.CAB.
See also http://blogs.msdn.com/sqlservercompact/archive/2007/10/26/can-t-find-p-invoke-dll-sqlcemenn-dll.aspx[^].
Generally when faced with an error message I normally just put the error message string into a search engine. It would also help you if you noted down the error message correctly - sqlceme53.dll would refer to the non-existent 5.3 version of SQL Server Compact Edition, the DLL name is sqlceme35.dll (for 3.5).
DoEvents : Generating unexpected recursion since 1991
|
|
|
|
|