|
Hi all,
I have a challenge:
I want to use the Form.Hide() method (triggered by an Deactivate event) since it really hides the form so the app can not be closed from the memory or task manager. You probably guessed its behaving like a service . I have some code that puts an icon in the task tray and when tapped, it brings back up the form (Form.Show()). The purpose of this is to show statusses and give the oportunity to change behaviour by changing settings. This all works fine.
However, I can't find/think of any code that Show()'s the form after relaunching it from the Start > Programs menu. Does anyone have any idea? Trying mutex detection didn't work, so I think that NetCF already has a mutex check done before I get to it in the Main() method in program.cs.
OS: Windows Mobile 6 (Professional and Standard)
NetCF 2.0
Language used: C#
Thanks
Arjen
|
|
|
|
|
I am trying to send some data using TCP via WiFi to a desktop PC.
I am using a TCP Listener and socket in the PD
I am using TCPClient in the windows mobile.
When the Mobile is connected to a PC ( not necessarily the server ), the winmo is able to send the data.
But when the mobile is connected to wifi, the same code fails.
I am getting a "SocketException"
But I am able to ping the server.
What may be the reason
|
|
|
|
|
probably some problem with handling the sockets.. i have created a device application which allows remote desktop control of a PC connected to PDA via WiFi... i too got a lot of socket exceptions
You need to set all the properties of sockets like timeout and port number right to make it working... Even then, it showed socket exception after working for a certain time period.. make sure all your threads are running the way it should..This code was posted by me...
|
|
|
|
|
Dear All,
I working for Windows Ce 6.0 application with .net 2005
I am trying to open .ppt file programatily but unable to do that.
My string is
"\Windows\wt6sppt.exe \Windows\wt6explr.exe#/d wt6ppt*.dfr \Hard Disk\hello.ppt"
if i execute above string from Run promt its working fine and open the file.
Please help or suggest some ideas to execute the string programatily.
Thaks & Regards
Yrishi
|
|
|
|
|
Is the code in C++? I suppose you have to use '\\' instead of '\' in code.
|
|
|
|
|
Thanks Rajesh, no I am using vb.net(.net 2005),
|
|
|
|
|
How can I create a shortcut for an EXE file in Windows CE?
It doesn't seem to have all that DCOM stuff available?
thanks
|
|
|
|
|
I think you can use SHCreateShortcutEx() function.
|
|
|
|
|
Hello
I am developing a mobile web application in which, I want that the application should first which phone it is asking request & then detecting the size of the screen & once it have all the thing detected it should display the web pages according to the size of the screen.
so here can anyone help me in developing this application as i am new to it or can guide me if anything wrong in this working of application ??
we want to use ASP & WML together. so is it possible ?? or can any one help with coding with this application??
even anyone can give suggestion on this post..
reply to this post asap..!!
regards
Aditya chavan
|
|
|
|
|
Please take a look at http://51degrees.codeplex.com. It is an ASP.NET open source module which detects mobile devices and provides auto redirection to mobile optimized pages when request is coming from mobile device. It makes use of WURFL mobile device database. For redirection there is no need to modify existing ASP.NET web application pages.
Sample web.config configuration for mobile device detection based on MobileDeviceManufacturer property.Both WURFL capabilities and ASP.NET Browser properties can be used with the property attribute.
<redirect firstRequestOnly="false"
mobileHomePageUrl="~/Mobile/Default.aspx"
timeout="20"
devicesFile="~/App_Data/Devices.dat"
mobilePagesRegex="/[Apple|RIM|Nokia|Mobile]/">
<locations>
<location url="~/Apple/Default.aspx">
<add property="MobileDeviceManufacturer" matchExpression="Apple"/>
</location>
<location url="~/RIM/Default.aspx">
<add property="MobileDeviceManufacturer" matchExpression="RIM"/>
</location>
<location url="~/Nokia/Default.aspx">
<add property="MobileDeviceManufacturer" matchExpression="Nokia"/>
</location>
</locations>
</redirect>
|
|
|
|
|
Hi folks!
I have a Motorola/Symbol MC70 running a Compact Framework 2.0-application.
The app receives commands from the network and displays custom-controls inside a panel.
My problem is, that the creation of the control takes a lot of time.
Are there any ideas how i could speed up this process?
|
|
|
|
|
Hi J.Holzer,
All things are depend on your Custom-Control. What approach you are using while developing, you can optimize the performance of control.
While developing custom control you can follow some tips.
1) Before rendering control load all images.
2) Choose appropriated data type.
3) Use off bitmap screen.
4) Try use less property
Pavan Pareta
|
|
|
|
|
Hello,
I have written code Win32 for the launch of the flash10d.ocx control. The code is compiling fine n working but when i try to use the same code for my WinCE programming, it doesnt work.
In case of Win32, i have included the following linein my code-
#import "c:\\windows\\system32\\macromed\\flash\\Flash10d.ocx" named_guids
using namespace ShockwaveFlashObjects;
However, when i use the same, for loading a control names "axPhoner.ocx" which was obtained from the brothersoft site, it doesnt compile and the 1st error given out is-
error C2440: 'return' : cannot convert from '__missing_type__ *' to '__missing_type__' d:\my project\my project\my project\windows mobile 6 professional sdk (armv4i)\debug\axphoner.tli
Can someone please help me with the code for launching an ActiveX control from WinCE or if anyone can please suggest me like where to look for it.
Thanks in advance
|
|
|
|
|
A new series of videos from MSDEV will help you develop your applications for Windows Mobile 6.5.
This series of Web seminars will lead you through common application development scenarios in Windows Mobile 6.5. Some of the topics that will be covered are embedded databases, SMS messaging, touch-screen-enabled Gesture APIs, and building GPA-aware applications.
The series includes these videos:
Getting Started with Application Development for Windows Mobile 6.5
Using SQL Server Compact Edition with Windows Mobile 6.5
Accessing Local Files with Windows Mobile 6.5
Building a GPS-aware Application with Windows Mobile 6.5
Building a Windows Mobile Application with Bing
Basic Messaging with Windows Mobile 6.5
Windows Mobile 6.5 Security Fundamentals
Introducing the Gesture APIs in Windows Mobile 6.5
These sessions will get you started developing custom applications for your Windows Mobile 6.5 device.
See Building Applications for Windows Mobile 6.5 On-Demand Webcast Series[^]
|
|
|
|
|
Hi,
I have flash10e.ocx file with IShochkwaveFlash interfaces which are used for playing flash content.(Play(),LoadMovie() etc)
I have tried playing a .swf using this flash activeX control in win32 environment. But could any one suggest a way to use this flash activex control(flash10e.ocx) on wince handset?How will I program to use the exposed interfaces on wince Platform?How will i port this activeX control on wince?
Waiting for your reply.
Thanks in advance.
snehal
|
|
|
|
|
|
Hi all, I'm currently using Windows Mobile 6 and I would like to ask some approaches on how to export content from the database either to text or xml. And the database version I'm using is the Microsoft SQL Server Compact Edition 3.5. Any help would be gratefully appreciated. Thanks in advance
codenoobie
|
|
|
|
|
This is my code in the login click button as Sir suggested:
<pre>
private void btnLogin_Click(object sender, EventArgs e)
{
AppDatabase1DataSet ds = new AppDatabase1DataSet ();
AppDatabase1DataSet .LoginDataTable dt = new AppDatabase1DataSet.LoginDataTable ();
AppDatabase1DataSet.LoginDataTable();
this.loginTableAdapter1 .Fill (dt) ;
foreach (DataRow dr in dt .Rows )
{
if(dr[0].ToString()==txtuname .Text && dr[1].ToString()== txtpassword.Text )
{
txtpassword.Text = "";
txtpassword.Text = dr[0].ToString();
MessageBox.Show("Login Succeeded");
</pre>
I've defined everythings accordingly but this error pops up on the LoginDataTable() line:
Error 1 'csharp_phonebk.AppDatabase1DataSet.LoginDataTable' is a 'type', which is not valid in the given context
I don't know why...Please answer me asap.
|
|
|
|
|
Hey Guys,
I'm wondering if anyone had run across a fairly good app generator that will take IL and generate applications for various devices such as IPhone, Droid, Windows Mobile, ect. I've come across a few others such as Rho Mobile, but was curious if someone had found a .NET based platform.
Thanks!
Ryan
|
|
|
|
|
I'm done with the creation of X-forms and the testing.May I be assisted on the way I can deploy them in Java enabled mobile phone.
|
|
|
|
|
tried greta,can not be compiled on windows mobile platform.
|
|
|
|
|
|
it's .NET, is there a native c/c++ version?
thanks anyway.
|
|
|
|
|
I have misgivings about boost:regex on Windows Mobile, have you seen PCRE ? - its pure c I think, which would be an easier bet to compile - with a class wrapper you'd be set ...
http://www.pcre.org/pcre.txt[^]
|
|
|
|
|