all groups > dotnet compact framework > may 2006 > threads for may 15 - 21, 2006
Filter by week: 1 2 3 4 5
close current form and show another form
Posted by ponnurajs NO[at]SPAM gmail.com at 5/21/2006 8:56:34 PM
In my application, i need to close the current form and want to show
the new form. But i can't achieve this. In my code, the form1 is
closed, and at the same time form2 is also closed.
any one can u give solution for this.
my code is like,
private sub btnClose_keydown(parameters) handles bt... more >>
How can I get the installation path during runtime?
Posted by Lars Vonderschmitt at 5/21/2006 7:09:05 PM
Hi,
maybe this is a stupid question, but how do I get the path where my apps
is installes into during runtime?
I contribute a txt file to this folder and I need the path to this file
during runtime but I have no clue how to do this.
Thanks for the help.
Lars... more >>
Can't install my programm, please help.
Posted by Lars Vonderschmitt at 5/21/2006 2:03:02 PM
Hi,
I have the problem that I am not able to install the programm I have
created.
I have changed something, but I don't know what, and now I always get an
error when trying to install it. It says that "privat AppName" could not
be installed.
Any ideas what went wrong?
I am using VS 2005... more >>
unmaximized form in cf 2.0
Posted by leibnizster at 5/21/2006 9:29:43 AM
hello,
is this possible? To have a form that doesn't take up the whole screen?
Can you set the size and location of it (if such a form exists)?
Thanks
... more >>
Hi there
Posted by chook.harel NO[at]SPAM gmail.com at 5/21/2006 2:14:37 AM
I have a pocketpc device and I've intalled a hebrew keyboard into it..
But they did a mess with the location of the fonts
(I have a numeric input keyboard for my handle so I am using it like a
cellphone SMS keyboard)
Now in my program I mapped the locations of the bad placed chars and
the new... more >>
Dynamic web service reference in mobile application
Posted by GOGA at 5/21/2006 1:31:37 AM
Hi all,
i'm developing a mobile application using a couple of web services...
but i have a problems, these web services connect the mobile with a
network computers by a wireless connection.
i wanted to ask if there is any way to change the web service address
in the applications (Just the machi... more >>
RAPI in the pocketpc itself
Posted by chook.harel NO[at]SPAM gmail.com at 5/21/2006 12:57:02 AM
I've used the RAPI dll to transfer files from the pc to the pocketpc
but now I need the pocketpc to start the transfer to the connected pc.
Is that doable ?
... more >>
How to share the unique SqlCeConnection object in App
Posted by Peter King at 5/20/2006 11:40:14 PM
Hello,
Why can't I declare the SqlCeConnection object as the following,
class Form1
{
public SqlCeConnection objConn;
...
public void Connect()
{
//open the objconn...
}
}
Thanks,
Peter
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to Create a Modeless chid Form?
Posted by Peter King at 5/20/2006 7:36:17 PM
Hello,
How to Create a Modeless child Form?
So I can operate the parent form at the same time.
Thanks,
Peter
... more >>
CF2.0, does it reaplce CF1.0 runtime?
Posted by farseer at 5/20/2006 1:15:41 PM
Hi,
doesCF2.0 runtime replace the CF1.0 runtime files? or are they
separate? I'm trying to determine how much space CF2.0 takes up as
compared to CF1.0. On some device, it seems that some are unwilling to
install the CF2.0 runtime because of the space requirement...
... more >>
audio out completed
Posted by drumred at 5/20/2006 4:34:02 AM
Hello. Can I get a notification that audio out has completed to my smart
device? I am using Text To Speech and the TTS engine informs my code when
systhesis of the speech has completed and been sent to audio out. However,
this is not an indication that the actual audio out to the speaker ha... more >>
fonction execution time from 0 to 1s!!!
Posted by JL at 5/19/2006 4:05:08 PM
Hi all!
I experiment a very strange behaviour with one of my CF2 function.
In my program a function is called 256 times in a "for" loop. This function
fills some arrays and compute binary paths.
I noticed that the whole loop was very slow, so I checked the execution time
of each function ca... more >>
Fast way to read from a line to another in a textfile?
Posted by Peter Hartlén at 5/19/2006 3:18:39 PM
Hi!
Which is the best (fast but faily simple) way to read a section of a
textfile if you know which lines to start and stop?
This is what I am thinking about using, is there a better way?
rowStart = 10;
iLineNum = 1;
while( iLineNum < rowStart )
{
if( sr.ReadLine() == null )
br... more >>
let screen on during work
Posted by nicolas.lelievre NO[at]SPAM gmail.com at 5/19/2006 2:10:08 PM
Hi,
I would like to let always the screen on so I was trying using the
fonction : SystemIdleTimerReset but it's seems to not work on my
device.
I have tried to put SystemIdleTimerReset() everywhere into my code but
the screen is turning off either.
It's C# code.
This is how I import the DLL... more >>
gzip,deflate: ignored.
Posted by Marcantonio at 5/19/2006 1:15:58 PM
Hi,
I am downloading a webpage from IIS and I want to take advantage of
compression to reduce GPRS costs and download time.
I am using the following code. However, it seems that the
"Accept-Encoding" header is not really sent to the webserver:
Dim mySB As StringBuilder = New StringB... more >>
Refresh main form
Posted by Ray at 5/19/2006 11:19:01 AM
How can i correctly refresh a form1 (running in background) from an active
form2?
Form1 have a thumbnail and it does not refresh, it becomes transparent or
invisible.
Thanks in advance,
Ray... more >>
Playing mp3 files on ce 4.2 devices
Posted by Sascha at 5/19/2006 9:56:02 AM
Hi there,
is it possible to use any version of mediaplayer
(wmp.dll) to give ce 4.2 devices the ability to not
only play .wav files (through p/invoke coredll.dll)
but also .mp3 files?
Are there third-party components/dll's which can
be used from within managed (c#) code?
Kind regards,
... more >>
Running .NET CF 2.0 applications on CE 4.2
Posted by Sascha at 5/19/2006 9:53:01 AM
Hi there,
waiting for a long time to be able to run CF 2.0 applications on
windows ce 4.2 devices, i was happy to see sp1 of cf 2.0 was
released a month ago.
After initial troubles installing it (need to change the default install path
from \windows\ to \program files\) the installation wen... more >>
SQLCE 2.0: Calling Engine.Dispose() after every query?
Posted by kmsuzuki NO[at]SPAM gmail.com at 5/19/2006 8:51:58 AM
After making several hundred queries against a SQL CE 2.0 database
(through NetCF/ADO.NET), I begin getting a SqlCeException: "Not enough
storage is available to complete this operation."
Microsoft speaks to this situation in the following hotfix:
http://support.microsoft.com/?kbid=827837
W... more >>
Create setup dll for cab
Posted by bhavinshah.com NO[at]SPAM gmail.com at 5/19/2006 3:03:57 AM
I want to create a setup dll for cab while installing the ppc
application using the cabwiz & its inf. file.
I have used the code in the .inf file.
[Version]
Signature = "$Windows NT$"
Provider = "Lu"
CESignature = "$Windows CE$"
[CEStrings]
AppName = "ce_setup"
InstallDir = %C... more >>
wi-fi is not working when connected via ActiveSync
Posted by knurgb at 5/19/2006 2:25:29 AM
Hi.
I am writing mobile application that is using wi-fi connection.
When I craddle it to the computer and connect via ActiveSync
the wi-fi connection is lost.
Therefore I cannot debug my application.
Please help,
Grzegorz
... more >>
CF2 and PPC
Posted by jason NO[at]SPAM dive-master.org at 5/19/2006 12:00:00 AM
Guys,
I have developed a number (small) of mobile
apps using VS2003 with little difficulty, however
I can't even connect my device to VS2005. I
simple get the message that I am using the
wrong version of ActiveSync. I am using the
latest version (downlaoded yesterday) although
I already ... more >>
How to program for saving a signature file
Posted by Rob at 5/18/2006 6:01:35 PM
Just starting out with Mobile apps....
Any guidence on how I might do the following...
Save a copy of the signature that the receiver of an order would provide (it
would be scribbled onto the Pocket PC) and saved to some kind of file (maybe
a .jpeg), then store the contents of that file in... more >>
xml web service proxy and serializable assembly generation
Posted by Larry at 5/18/2006 1:58:02 PM
The POS application we are developing is designed to call two web services.
The first web service has only one method and it returns a string with an Uri
where the second web service is located. The second web service has several
methods and objects. One of the methods is used to download ... more >>
Moving picture
Posted by Davis at 5/18/2006 1:04:43 PM
Hi, I have an app which displays a sequence of png images, these
are copied into PictureBox as shown below. This sequence is done
in its own thread, its just that the single line
'picImage.Image = New Bitmap(arrimg(cnt) & ".png")'
is killing performance, also generating InvalidCastException. How... more >>
Consuming webservices from a smart device project ... <Method>Async() web method calls missing in the reference.cs ...
Posted by Rodrigus Makon at 5/18/2006 11:51:21 AM
I thought of posting this to microsoft webservices NG but there is no activity
in those news groups.
I am consuming webservices API published by salesforce.com by adding a web
reference to a smart device project. Somehow the reference.cs does not contain
method calls such as MethodAsync()... more >>
Input Panel button under Windows Mobile 5
Posted by David D Webb at 5/18/2006 11:29:05 AM
Ok, I didn't get any response to my previous question about problems
enabling the SIP button under WM5, so I'll ask what other design strategies
I can take...
Does everyone use munu bars on every screen, so its a non-issue hiding and
showing the SIP button? I have no menus in my applicatio... more >>
CE .NET Direct Sql Server Connection
Posted by texaspete at 5/18/2006 11:02:54 AM
I have looked into a few messages about connecting directly from CE.Net
to MSSQL via SQLConnection object. However, when I try to import the
system.data.sqlclient namespace - it doesn't exist.
What else do I have to do to make a connection string directly to SQL
server (not SQL CE).
Thanks ... more >>
Windows Mobile 5.0, .NETCFv2.0, and many sockets
Posted by stu at 5/18/2006 9:51:04 AM
I am looking for a good way to handle numerous sockets (1 UDP and as
many as 20+ TCP child sockets) in WM 5.0 using C# and the .NETCFv2.
Currently, I'm using async class and it works fine for small numbers of
sockets; 1 UDP and up to 15 or so TCP child sockets. When I get to
more than 15 (or so... more >>
Using RunAppAtTime method
Posted by Tamer Hesham at 5/18/2006 1:59:02 AM
Dear All,
I am using RunAppAtTime() to run an application at a specified time, and it
works very good. but now what i want is when the program run, a specified
method in my code be called to run, is this possible and if yes how is that?
if no, what other solutions i could use?
Thanks in adva... more >>
Sliding Keyboard events
Posted by farseer at 5/17/2006 11:34:30 PM
Would anyone happen to know what events are fired when the keyboard is
slid open on devices with sliding keyboards?
thank you
... more >>
sqlMobile2005 - primary key is an index?
Posted by Marcantonio at 5/17/2006 3:41:44 PM
hi,
when defining a table in sqlServerMobile 2005, does defining a primary
key implicitly add an index for it?
Marcantonio... more >>
Updating form controls from a worker thread ?
Posted by Ole at 5/17/2006 3:05:52 PM
In VS2003 and CF1 it was not possible to update form controls from a worker
thread without having to create a delegate and so on - how is it in VS2005
and CF2 ?
Thanks
Ole
... more >>
SNAPI
Posted by mmobile at 5/17/2006 2:36:54 PM
Which dll do I reference in my managed code project in order to use the
SNAPI (State and Notification API)?
Thx.
... more >>
App doesn't start up after install of cab
Posted by Davis at 5/17/2006 12:13:41 PM
Hi, When i install my cab on PPC2003 device the app
doesn't run automatically, i need to manually start
what needs setting up to get it to autorun after cab
install
... more >>
web service error "The identifier id4 does not appear in the document."
Posted by gcao99 NO[at]SPAM gmail.com at 5/17/2006 12:00:47 PM
Hi,
I'm writing a Windows CE application in Visual Studio 2005 to consume a
web service from Tomcat+Axis and got this error:
Message: The identifier id4 does not appear in the document.
Stacktrace: at System.Xml.Serialization.ReferenceFixup.fixup()
at System.Xml.Serialization.XmlSerializa... more >>
IP address
Posted by TomHosmer at 5/17/2006 9:50:17 AM
This may have been addressed before but I'll ask anyway.
Is there an easy way in VB 05 to get either the computer name or ip address
(or both) of the ActiveSync connected desktop computer on the mobile device?
(I'm working with PPC and CE 5.0 devices)
Thanks
... more >>
Dynamic event binding
Posted by Gerard at 5/17/2006 3:34:15 AM
Hi,
I'm looking for any info on binding dynamic events in C# for CF. I need
to create a delegate at runtime that associates
an unknown runtime event with a handler. In the standard framework, I
used the following to bind the event to the
'ProcessEvent" operation,
EventInfo eventInfo = ... more >>
Bigger fonts in messagebox
Posted by chook.harel NO[at]SPAM gmail.com at 5/17/2006 2:58:07 AM
Is that doable without any hard programming ?
(PPC2003SE)
I've tried several ways which i've read here in the groups
but haven't quite succeeded :/
plz help.
... more >>
Trap red/green phone button..
Posted by Azzi Stefano at 5/17/2006 1:28:02 AM
Hi everyone, this is my problem:
I need to trap RED and GREEN phone button press and in C# i have solved whit
this:
public enum KeyModifiers : int
{
None = 0,
Alt = 1,
Control = 2,
Shift = 4,
Windows = 8,
ModKeyUp = 0x1000
}
public enum KeysHardware : int
{
Re... more >>
Not letting the user exit
Posted by chook.harel NO[at]SPAM gmail.com at 5/17/2006 1:13:44 AM
Hi, I'm trying to build a form on POCKET PC 2003 SE,
That I don't want my user to beable to get out from...
I've locked the form with the CLOSING event...
but he can still click the Start button at the top left corner of it...
what can I do ?
should i invoke lost focus or something?
... more >>
SQL Server CE and SELECT...
Posted by Jerome at 5/17/2006 1:08:01 AM
Hi,
I have in a DB, a table with 10000 rows.
I do a request : "SELECT MAX(idalt) AS id,reference FROM reffab WHERE
fab='myfab' GROUP BY fab,reference" and the time to obtain the result seems
to be long.
If i have 154 rows answer from this request, the time is 2.8 seconds for the
request a... more >>
rom dump
Posted by farseer at 5/16/2006 11:50:18 PM
does anyone know how to get extract rom dlls for a WM2005 device?
i'd like to see some of the exported functions in some of these dlls.
... more >>
Mooseworks Software User Entry Controls Suite
Posted by Keith Welch at 5/16/2006 9:59:56 PM
Mooseworks Software, LLC is pleased to announce the release of our new User
Entry Control Suite. The User Entry control suite provides extended
formatting options for great looking applications. The Enhanced Text Box,
Label, Numeric Text Box and Numeric Label controls add Borders, Autosizing, ... more >>
Cross network communication choices?
Posted by Tomppa at 5/16/2006 8:02:20 PM
I have a wince 5 compact framework 2.0 winforms app that needs to listen for
commands over the tcp/ip network then do some work from the command given.
I'm not sure what network communication architecture to use.
UPnP - no good documentation on using from CF 2.0
OpenNet P2PMes... more >>
How to add some HotKey command to my App
Posted by Peter King at 5/16/2006 5:59:18 PM
Hi,
How to add some HotKey command to my App?
And it's not some button command or menu command.
Thanks and Regards,
Peter
... more >>
Enable SIP with Windows Mobile 5.0
Posted by David D Webb at 5/16/2006 3:09:21 PM
I have an application that uses a SIP control on several forms without a
menu bar. Previously I have enable the SIP icon with the following code.
On the Axim X51 with WM5, it no longer works. Are there any work-arounds?
public static void ShowSipButton(Form curForm)
{
int SHFS_SHOWSIPBUT... more >>
Random App Crash
Posted by dantheman at 5/16/2006 10:21:01 AM
Hi All,
i've developed this Smart Device Application but i'm having all sorts
of random crashing i suspect to be caused by memory leaks or over all
performance issues, so i've ran the performance test to evaluate the
problems now i have these different reports and can't seem to see the
causin... more >>
How to check avaiulable memory on Pocket PC
Posted by Mathijs Beentjes at 5/16/2006 6:27:48 AM
Hi,
I am working on an hp iPAQ, Pocket PC 2003, VB.NET CF.
I want to query the available space on Storage Card and on iPAQ File
Store.
Question: How do I do that?
Thanks in advance!
Mathijs Beentjes.
*** Sent via Developersdex http://www.developersdex.com ***... more >>
using CeSetUserNotificationEx
Posted by Tamer Hesham at 5/16/2006 6:26:02 AM
dear all,
How could i use CeSetUserNotificationEx method with C# .net
thanks
Regards
Tamer Hesham... more >>
Include .NET CF 2.0 into my application
Posted by Ken at 5/16/2006 3:31:01 AM
Hi, I have built an application that requires .NET CF 2.0. How can include it
in the installer. I am able to create an installer for my application but do
not know how to add .NET CF 2.0 MSI into the setup. Any idea? If i need to
modify my setup.ini file, please show me how or what code i need... more >>
Cannot open web project 'A connection with the server could not be established'
Posted by Assimalyst at 5/16/2006 2:51:45 AM
Hi,
I have been developing a web project for some time now, and connection
to the server has been fine. This morning I tried opening the project
as usual but it returned the following error:
The web server reported the following error when attempting to create
or open the web project locate... more >>
quick word about opennetcf
Posted by paulus at 5/16/2006 2:12:26 AM
Hello I need a quick explanation from opennetcf for thesis.
It's something about MVP's (most valuable proffesionals) what is
function definition of MVP?
Opennetcf it function's as a beta for compact (because the new stuff is
experimented/implemented)
it's an addition to compact framewor... more >>
Unknown Publihser Message
Posted by Eric Renken at 5/16/2006 12:09:57 AM
I am trying to do some IR development on a Windows Mobile 5 device, and I
find it very anoying that it gives me the unknown publisher message for my
EXEs and DLLs. Is there any way to disable that checking so I stop having
to click Yes for each file it is loading?
Eric Renken
... more >>
forms created...!
Posted by Evan Camilleri at 5/16/2006 12:07:35 AM
What is the simplest way to know in a program a list of forms that are being
created?
I need to build some sort of class independent of each program that when
created, this class will monitor each form.
Evan Camilleri
... more >>
NetCF: How to remove checkboxes from some of the nodes of a TreeView control at run time ...
Posted by Rodrigus Makon at 5/15/2006 7:33:07 PM
Hello,
I have a piece of code that removes the check boxes from a treeview control
at run time for the .NET 2.0 of Desktop. I have changed the dll reference
from user32.dll to coredll.dll and compiled it and trying to use it in my
CF 2.0 application, but it does not work (does not remove th... more >>
USB Memory Stick Question
Posted by Simone M at 5/15/2006 6:25:43 PM
Has anybody had success writing applications that access files in a USB
memory stick on a PDA? What kind of access speed do you get, is it
comparable to a SD Card speed?
Thanks for any info.
... more >>
dbnetlib.dll
Posted by jose cantu at 5/15/2006 6:24:25 PM
Hi, Iam getting an error "Cann't find the file DLL PInvoke 'dbnetlib.dll'"
when my application tries to open a connection to a Local SqlServer. The
application is running on a device with windowsmobile 5 and Iam using
VisualStudio 2005 (compact framework 2). Iam deploying directly from Visual ... more >>
Compact Framework redistribuale and custom setup
Posted by Steve B. at 5/15/2006 4:59:41 PM
Hi,
I'm building a CF 2.0 application.
I've build a msi setup that can install and deploy the application (which
is quite easy with a custom installer class and ceappmgr from activesync).
Now I'd like to enable my setup to detect and install the CF if required.
I've red many articles on t... more >>
Gprs reconnection
Posted by Boris Stoicov at 5/15/2006 4:23:13 PM
Hi guys,
I have an application running on PocketPC 2003 and I use internet
connection for sending data.
The problem is that when I use GPRS connection averything is fine but just
for the first time the connection is made.
If the Gprs connection is lost because of ActiveSync connection fo... more >>
Does anyone know any useful graph frameworks
Posted by Anders Sahlin at 5/15/2006 4:09:36 PM
Hello!
I am looking for useful .NET CF 2.0 graphical framworks.
Does anyone have any tips ?
Yours sincerely Anders Sahlin
... more >>
Using System.Diagnostics
Posted by Will Chapman at 5/15/2006 2:35:08 PM
I found the following example on MSDN but
when I try to run it in CF I get a load of
errors:
using System;
using System.Diagnostics;
class Test
{
static void Main()
{
Trace.Listeners.Add(new TextWriterTraceListener(Console.Out));
Trace.AutoFlush = true;
... more >>
Problem with Marshal.SizeOf in CF 2.0
Posted by Per Rasmussen at 5/15/2006 2:14:43 PM
When I execute these two lines in CF 2.0:
Type t1 = typeof(LINECALLPARAMS);
int a1 = Marshal.SizeOf(t1);
I get a NotSupportedException on the second line. According to the docs it
should not even be able to throw this exception. Here is a stacktrace:
ved System.Runtime.InteropServices.Ma... more >>
GetType on complex structure
Posted by mobilemobile at 5/15/2006 2:14:02 PM
I doing P/Invoke on GetAdaptersInfo (the code follows, with the structures
for GetAdaptersInfo).
I'm getting a NonSupportedException on the code line:
Dim Entry As IP_ADAPTER_INFO = CType(Marshal.PtrToStructure(pEntry,
GetType(IP_ADAPTER_INFO)), IP_ADAPTER_INFO)
I took it piece by pie... more >>
CAB File creation
Posted by tim NO[at]SPAM groven.com at 5/15/2006 11:58:55 AM
I have a cab file that works just fine, but when installing on Windows
CE 4.2, the install prompts the user for the installation directory.
Is there any way to make this prompt to not show up?
Any help would be greatly appreciated.
Thanks,
Tim
... more >>
Handheld "Pocket PC" Arabic Printing
Posted by abdou333 NO[at]SPAM yahoo.fr at 5/15/2006 9:03:34 AM
I recently read in many google group's about problem to print arabic on
Extech, oneil or either dotmatrix printer. If anyone still need to
print arabic from handheld in any printer, i can provide him by the
solution. just contact me, my email is:
abdelouahedDOTsabriAROIBASKmughamratDOTcom
J... more >>
"Referenced package not found" error
Posted by Capital O at 5/15/2006 8:00:15 AM
I'm using VS2005, CF v2.0, in a Windows CE 5.0 project with several
references to other assemblies, including some that are CF v1.1.
Upon adding one reference and using it, I get a deployment error
(compiling works): it says "Referenced package not found."
What is a package? WHICH one wasn'... more >>
how to assign foreground and background color for datagrid
Posted by shanmugaraja at 5/15/2006 5:46:02 AM
I want to assign different foreground and background color for each row of
datagrid.How can i do this.Any direct or indirect way.
I am using compact framework2.0 ,with c# for Pocket pc 2003 device... more >>
Using Media player control in applications
Posted by Tamer Hesham at 5/15/2006 5:04:02 AM
WMPLib.dllDear All,
I asked before about playing WMA files in my application, i have been
answering to host the windows media player activex control
i downloaded the sample project that was in the link.
but when i try build the project and run it on my device, a run time error
occures says th... more >>
create shortcut for my app
Posted by cfyam at 5/15/2006 12:00:00 AM
How can I create the shortcut for my PDA app! I use VS.NET 2005 and build WM
5.0 ap!
... more >>
Thread Sleep RessourceS?
Posted by Boas Enkler at 5/15/2006 12:00:00 AM
Hi
sometimes I got the problem, that when I call Thread.Sleep(1000) it
seems like my application takes nearly 100% of the system performance.
I call it in the device wake, because my applikation has to wait if the
database is on the storage card.
Is there any known problem ? How may I p... more >>
Get MMS from my app
Posted by cfyam at 5/15/2006 12:00:00 AM
How can I get the MMS form my .NET CF app and save the content to storage
card?
... more >>
|