|
Hi -
I've been bangging my head trying to implement the auto-comple functionality for a combobox. The feat is easy in the fullblown .Net framework using selctionstart, selectionlength and findstring properties and methods, but neither is available in CF. I even believe .Net framework 2.0 has a autocomplete property.
Can anyone please help.
Thanks.
|
|
|
|
|
Hi all,
Have an application developed using evc++ 4.0 accessing flat files. Works fine in WM2003SE based handheld but performs sluggishly on WM5. I noticed that after using the app even when I exited all applications, the memory used does not go back to its original state. Example is before I use my app. My available memory is 40MB. While using it, it's 38.5MB. After leaving my app, its still 38.5. It only happens in WM5. Can anyone help me with this? Many thanks.
|
|
|
|
|
Currently, I am trying to implement a COM into CF 2.0
I've already implemented and registered the DLL successfully. But I always get a "NotSupportedException":
<br />
Type objType = Type.GetTypeFromProgID("MacroCOM.dll);<br />
object oAct = Activator.CreateInstance(oType);<br />
object[] parameter = new object[1];<br />
parameter[0] = 5; //long<br />
objType.InvokeMember("MCOMConnector",BindingFlags.SetProperty, null, oAct, parameter); //this lines executes the error<br />
Any solutions there? TIA.
|
|
|
|
|
Hi
I am writing an application for downloading the media files on the Pocket PC Device. I download a wmv media file on to Pocket PC using my application. Can you help me on how to do the predelivery of DRM licence on Pocket PC programatically. Is there any component or api's available which i can use for doing predelivery of licencecing for the DRM Protected media files on a pocket pc running windows media player10. There is one article on MSDN mention below , My understanding of using interfaces describe in the below link is not deep so if anyone can help me out it will be great.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcemultimedia5/html/wce50conlicenseacquisition.asp
It will be great if anyone could help me out.
Thanks
Razi
-- modified at 3:57 Tuesday 7th March, 2006
|
|
|
|
|
Greetings:
I have a pretty simple application running on a Fujitsu Siemens 720 using Windows CE.NET 2003. I am developing with Visual Studio C#.
The main form of this app has nothing but button controls. However, one button leads to a new form that requires the simulated keypad. So that form loads creates a menu for itself and this gives me the keypad. So I pop up the keypad, enter my stuff and click the "Accept" button which brings me back to the main window form. But the keypad has not folded up and gone away! It is still there and it is blocking buttons on the main form. Yes, you can close it by poking the keypad icon at the lower right of the display, the keypad closes then. But I would like it to go away automatically when it is not needed.
Question 1: Why did it not go away when I closed the form that created it.
Question 2: How do I get rid of it?
Thank you in advance!
Mark
|
|
|
|
|
1: I do not know how it works with the .Net dialog classes, but the MFC ones does not bring it down automatically then closed.
2: Use SHSipPreference(m_hWnd, SIP_FORCEDOWN) (or equiv) somewhere apropriate.
---
"Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot
|
|
|
|
|
If "sip" is your keyboard form --
private Microsoft.WindowsCE.Forms.InputPanel sip
then
sip.Enabled = false;
will remove it from the screen. Is that what you are looking for?
Jim
|
|
|
|
|
hi all,i'm creating a mobile appliction with ms vs2005 release edition, im using a webservice from www.webservicex.com and i get the exception with the details :
Status :System.Net.WebExceptionStatus.ConnectFailure
System.Net.WebException was unhandled
Message="Could not establish connection to network."
StackTrace:
at System.Net.HttpWebRequest.finishGetResponse()
at System.Net.HttpWebRequest.GetResponse()
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse()
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse()
at System.Web.Services.Protocols.SoapHttpClientProtocol.doInvoke()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke()
at DeviceApplication2.net.webservicex.www.lengthUnit.ChangeLengthUnit()
at DeviceApplication2.Form1.button1_Click()
at System.Windows.Forms.Control.OnClick()
at System.Windows.Forms.Button.OnClick()
at System.Windows.Forms.ButtonBase.WnProc()
at System.Windows.Forms.Control._InternalWnProc()
at Microsoft.AGL.Forms.EVL.EnterMainLoop()
at System.Windows.Forms.Application.Run()
at DeviceApplication2.Program.Main()
&here's my code:
private void button1_Click(object sender, EventArgs e)
{
net.webservicex.www.lengthUnit l = new
DeviceApplication2.net.webservicex.www.lengthUnit();
double x = l.ChangeLengthUnit(120, DeviceApplication2.net.webservicex.www.Lengths.Feet, DeviceApplication2.net.webservicex.www.Lengths.Meters);
MessageBox.Show(x.ToString());
}
please tell me where is the error (i'm deploying it using the device emulator and the active sync program)
|
|
|
|
|
|
hi all, im creating a pocket pc application that uses some web services,
using ms visual studio 2005 release edition(not the beta version). i have downloade active sync and i'm using the device emulator (pocket pc 2003 se) to deploy the application but i get the error "unable to connect to remote server" ,any help?
|
|
|
|
|
|
Hello all. I'm in a hurry, hope you can help me.
I had to change the color of the entire system (Intermec 730 with Windows CE.NET). That is, change the color of the buttons, background, highlighted text, etc. For that, I just had to open HKEY_LOCAL_MACHINE\System\GWE key in registry, and under such key, modify the SysColor field, which is a large binary object. Then I have to soft-reset my PPC so that the changes are available. I already did that. The thing goes well using a Symbol, HP and Compaq machines. But the thing is not working under Intermec's.
Any clues to this behaviour? I've been analysing it, and it seems that after a soft-reset (warm reset, warm boot) the registry key is resetted up with its original values, as if a hard-reset (cold reset) were performed.
Any clue, any idea will be really apreciated.
Thanks a lot,
Fernando.
A polar bear is a bear whose coordinates has been changed in terms of sine and cosine.
|
|
|
|
|
Did you try RegFlushKey?
---
"Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot
|
|
|
|
|
|
"Interesting" approach by Intermec...
Thanks for the info, I will save this incase I ever have to work with such a device.
Jonas
---
"Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot
|
|
|
|
|
Hi !
I have a problem to certify my Pocket PC App made with .NET Compact
Framework against the "Designed for Windows Mobile Logo". It requires
to delete all created registry keys after uninstall, which I can't
achieve. I found some informations about a Setup.dll at this address :
http://www.pocketpcdn.com/articles/setupdll.html. It seems to be what I
want but I don't know anything about C++
Furthermore, I noticed that even the .NET Compact Framework doesn't
delete its registry keys after uninstall (keys in
"\HKLM\SOFTWARE\Apps\Microsoft .NET Compact Framework" always stay
after uninstall). It seems that Microsoft wants us to do what they say
but not what they do (and it's the same for SQLCe 2.0 and every other
program I've tested) :p
Here is a list of the keys created during install :
- \HKLM\SOFTWARE\Apps\<mycompany> <appname>\CabFile
- \HKLM\SOFTWARE\Apps\<mycompany> <appname>\CmdFile
- \HKLM\SOFTWARE\Apps\<mycompany> <appname>\InstallDir
- \HKLM\SOFTWARE\Apps\<mycompany> <appname>\Instl
- \HKLM\SOFTWARE\Apps\<mycompany> <appname>\InstlDir
- \HKLM\SOFTWARE\Apps\<mycompany> <appname>\InstlDirCnt
- \HKLM\SOFTWARE\Apps\<mycompany> <appname>\IsvFile
And here is what remains on my Pocket PC after I uninstall my program
with Active Sync or the "Add/Remove program" :
- \HKLM\SOFTWARE\Apps\<mycompany> <appname>\CabFile
- \HKLM\SOFTWARE\Apps\<mycompany> <appname>\CmdFile
- \HKLM\SOFTWARE\Apps\<mycompany> <appname>\InstallDir
- \HKLM\SOFTWARE\Apps\<mycompany> <appname>\IsvFile
So my question is : is it really necessary to delete these keys to get
the Windows Mobile Logo ?
Thanks in advance.
Laurent
|
|
|
|
|
I have a RAS Client running on Windows CE device. When the RAS Client
authentication failes on the remote server the modem connection is still up
and I need to re-authenticate the Client to establish the communication with
Server.
The way I do that right now is that, I drop the modem connection and redial with
the new Client credentials which will re-authenticate the client and possible will establish connection.
I would like to know if I can re-authenticate the client without droping the
modem and redialing.
What are the mechanisms to do that?
|
|
|
|
|
Anyone know how to do a screen shot on a DELL AXIM x51 running Windows CE.Net? I need to write some documentation on a program i wrote, and a couple of screen shots of the app will help alot. Thanks for any help.
Pablo
|
|
|
|
|
There should be one in your IDE if you're using evc4 (and maybe somewhere on your filesystem if you're using vs200x) called CEZoomIn.
Otherwise there's lots of free ones out there, I use GetPDAScreen[^] (shameless plug) that I wrote when CEZoomIn stopped working for me. I haven't updated it for landscape mode or the new fancy high-res the kids run on their pda's today but maybe it will suffice...
HTH
---
"Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot
|
|
|
|
|
You can also try the remote display control for Pocket PC. I've been able to run it on 2003SE and WM5 handhelds without too much problem. The image is sort of grainy, but turning on Cleartype helped.
|
|
|
|
|
How i can get position of mouse when hold tap and the contextmenu show? Thanks
Nothing
|
|
|
|
|
please anyone tell me where can I find (perferably COM based) handwriting recognition API for CE applications.
thanks in advance
|
|
|
|
|
|
Here is my problem this script will not log me in all the time. Sometimes when the btnEnter is clicked it returns with no value. in this case redirect to login page. (I changed the redirect to something else internal but it doesnt redirect it just empties the field like a post back).
When i try the same exact script from a XP machine it will work. Anyone have any ideas??
This makes no sense to me I left from work thinking this was a bad script, because it didnt work on all envirements. then I VPN in and test from home on a XP os and it worked. I am not sure how to approach this issue.
private void btnEnter_Click(object sender, System.Web.UI.ImageClickEventArgs e)
{
try
{
string scm = "sp_Access_SEL @Login='" + this.txtLogin.Text + "', @Password='" + this.txtPassword.Text + "'";
InsertIdtoDB(scm);
}
catch(Exception ex)
{
this.lblAccess.Text = ex.Message;
}
if(this.lblPass.Text == "0")
{
StringBuilder url = new StringBuilder();
url.Append("Login.aspx");
Response.Redirect(url.ToString());
this.lblPass.Visible = true;
}
else
{
StringBuilder url = new StringBuilder();
url.Append("DataModification.aspx");
Session["name"]= this.txtLogin.Text;
Response.Redirect(url.ToString());
}
}
private void InsertIdtoDB(string scm)
{
try
{
string myConnectionString = (string)ConfigurationSettings.AppSettings["Connection_String"];
SqlConnection cn = new SqlConnection(myConnectionString);
SqlCommand cmd = new SqlCommand(scm);
cmd.Connection = cn;
cn.Open();
rdr = cmd.ExecuteReader(CommandBehavior.CloseConnection);
rdr.Read();
this.lblPass.Text = rdr["Access"].ToString();
rdr.Close();
cn.Close();
}
catch(Exception ex)
{
this.lblError.Text= ex.Message;
}
}
|
|
|
|
|
Hi,
I am using .NET Compact Framework 2.0, in this I need a control which will bind Text, Value && also multiple selection(like ASP.NET ListBox Control).
I searched all the controls But I didn't get.
any body plz tell me which control will have multiple and binds Text,Value(like dropdownlist).
it is urgent.
regards
GV Ramana
|
|
|
|