all groups > dotnet compact framework > november 2007
Filter by week: 1 2 3 4 5
Re: Open the file with associated viewer application
Posted by Christian Resma Helle at 11/30/2007 2:45:41 PM
Try looking into System.Diagnostics.Process. There is a property in ProcessStart where you specify it to use ShellExecuteEx instead of CreateProcess.
--
Regards,
Christian Resma Helle
http://christian-helle.blogspot.com
----- ORIGINAL MESSAGE -----
ShellExecuteEx() will do that for you, ... more >>
Open the file with associated viewer application
Posted by Jayesh at 11/30/2007 1:58:32 PM
Hi All,
I am working on win CE 4.2 with .NET CF 2.0 application. I have a form
in which I have view button. View button is used view the any file.
The file is coming dynamically. It can be any type of file. I need to
find it's associated viewer application and open that file with that
viewer.... more >>
How to get the LastWriteTime of a remote file (IIS) ?
Posted by patrick.roy@tech-nter.com at 11/30/2007 11:49:54 AM
Hi,
I would like to "GetLastWriteTime" of a file that is located on my IIS
server without having to download it.
My goal is to download the file ONLY if the file is more recent on
IIS.
He're my code :
localFileName = string.Format(@"{0}{1}\{2}", localSyncPath,
ApplicationFolder.Help, ... more >>
Exception
Posted by Meels Lilbok at 11/30/2007 10:59:24 AM
Hi
On my ASUS P535, Win.Mob.6 i get "An error message cannot be displayed
because an optional resource assembly containing it cannot be found"
VS2008, CF2.0.
System_SR_ENU.CAB and System_SR_ENU_wm.cab are installed on device, still no
luck.
Strange is i get erro when i try to set label... more >>
Updating running program
Posted by joneigel@googlemail.com at 11/30/2007 3:48:29 AM
Hello group,
this is my auto update procedure:
start program files\prog.exe
check for updates
loading new prog.exe from a webserver in a download directory
start update.exe (command 'Diagnostics.Process.Start') and close
prog.exe (command 'dispose')
update.exe moves the new prog.exe from \d... more >>
use same files for CE and XP projects in Studio 2005
Posted by Werner at 11/30/2007 2:36:00 AM
Hello
Id like to use the same C#-source files for an Windows XP and
Windows CE project with studio 2005.
What is to your expireince the easiest way to do this?
Thanks
Werner... more >>
count COM Ports
Posted by Rainer Borchmann at 11/29/2007 9:34:13 PM
Hi,
how can i count how many COM ports avaible on a Device ?
I have here on may table a Dell who has COM 0 to COM9 =10 ports
and some ports are named GPD1 to GPD9 , i dont know whats that.
And a Toshiba e 800 who has also 8 COM Ports.
how can i count how many COM ports avaible on a Device ... more >>
WM_CLOSE
Posted by Brandon at 11/29/2007 8:49:01 PM
Sorry for the long post, but I need to provide background for questions that
I know will be asked.
I have been hunting for this information for some time, and I'm just not
sure the information is available publicly, so I thought I'd try my luck here.
We have a fairly sophisticated group of... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Row color for the datagrid
Posted by Ranjit at 11/29/2007 5:01:00 PM
Hi All,
I am working on .Net Compact Framework 2.0. I need to implement a
functionality where i need to set the row color for all the user selected
rows on the grid.
Please, Can anyone help me how i can implement this functionality.... more >>
GDIPlus on CF 1
Posted by Hilton at 11/29/2007 4:06:12 PM
Hi,
Alex Feinman wrote code to get GDI shading etc on a CF app. Unfortunately
(for me), it cannot be compiled for CF 1, no generics etc, (please correct
me if I'm wrong). I'd love to have this functionality without having to use
the latest Version 2 stuff since my app is written specifica... more >>
keybd_event wont fire KeyDown event for VK_Return keycode on textbox?
Posted by ink at 11/29/2007 12:54:50 PM
Hi all,
I am working with C# CF2 on windows mobile 5 phone edition on a Symbol MC70
device.
For some reason the KeyDown Event doesn't fire when you use the keybd_event
to send the VK_Return= 0x0D.
If I use the hard keyboard Return I get.
KeyDown
KeyPress
KeyUp
KeyUp
If I use ... more >>
Mobile 5 IE Issue
Posted by aolson@phoeintl.com at 11/29/2007 12:23:34 PM
Hello,
We have built a web application to run on a handheld Windows Mobile
2003 device. We recently purchased some new handhelds running
Windows
Mobile 5.
The issue we are having with Mobile 5 is, when a user is scanning
product and they have a single text box (or multiple objects) on t... more >>
How to Shutdown/Reboot a SP ?
Posted by binarylife9@gmail.com at 11/29/2007 9:34:02 AM
hello,
i am trying this code on WM5 Emulator and its not working, it throws a
notsupported exception. i tried on my WM5 Device and its not working.
can anybody tell how to Shutdown/Reboot a SP ?
Private Declare Function ExitWindowsEx Lib "Coredll.dll" Alias
"ExitWindowsEx" (ByVal uFlags... more >>
Multiple Symbol 8846 Hard Reset/Cold Boot Failures
Posted by paulheskestad@gmail.com at 11/29/2007 5:41:40 AM
I work in a small, family-run grocery store and have 5 Symbol 8846
pocket pcs. This is one of the units suggested by NCR, who supplied
the POS equipment. I purchased all 5 used, and all appear to function
normally upon booting. I have one unit that functions perfectly. The
other four lock up in ... more >>
How connect the Emulator with a serial interface
Posted by Rainer Borchmann at 11/28/2007 8:42:14 PM
Hello,
i am using VS2005 prof . And i am developing an app
that collect data from a COM -Port . The serial Device
works fin with a notebook , and i will substitute the
notebook by a PDA. the PDA has an Com-port.
So the question is:
How connect the Emulator with a serial port during
develo... more >>
picturebox-saving to file and cf 2.0
Posted by tony at 11/28/2007 12:35:53 PM
Hi.
I need to do this things with pictureBox control
1.load bmp to the pictureBox ( i know)
2.write some text on the pictureBox with the graphic object (i guess its on
the OnPaint event)
3.SAVE THE **NEW** BMP TO FILE. (the main difficult )
Is there somthing new in cf 2.0 that can h... more >>
WM5 - Dll memory limits
Posted by Empi at 11/28/2007 12:16:57 PM
Hi,
How can I check just how much furhter I can push the memory used for dll's?
I know that an application can be larger than 32Mb (stored on "slot 0").
I read somewhere that the dll's are stored on "slot" 1 (additional 32Mb).
Is it true?
Where can I read more about it?
How can I che... more >>
Problem with remote network connections
Posted by Andy Baker at 11/28/2007 9:19:37 AM
We have recently been supplied with some devices that have a different radio
card in them to the one we have been using all along and I have a problem
connecting to our LAN. From a cold reboot, it sets up the WiFi card (Summit)
and connects to the LAN successfully, and I can ping the WAP and e... more >>
Order of message posts through BeginInvoke preserved?
Posted by Jeff Newman at 11/28/2007 7:19:59 AM
Does anyone know if the order of delegate calls onto a thread through
BeginInvoke are guaranteed to come in the same order that they are
placed? For example, if the following calls happen in order:
control.BeginInvoke(new InvokeDelegate(functionOne));
control.BeginInvoke(new InvokeDelegate(fu... more >>
The type or namespace name 'Browsable' does not exist in the class or namespace 'System.ComponentModel'
Posted by Rich at 11/28/2007 6:35:38 AM
I am getting this error:
"The type or namespace name 'Browsable' does not exist in the class or
namespace 'System.ComponentModel' (are you missing an assembly
reference?)"
When I am trying to build my Pocket PC application. The class that is
throwing this error is the .cs class that is gen... more >>
Direct connection to SQL Server 2005 from a mobile device
Posted by Hezal at 11/27/2007 9:08:05 AM
Hi,
I've created an SQL Server database and I've created a smart device
application in visual studio 2005. I then added the SQL Server database as a
data source to this project. Then I used one table from the database to
display it on the mobile device's form. I also don't know if thats... more >>
Enumerating network resources
Posted by Kruchy at 11/27/2007 8:33:12 AM
Hello,
I have one little question. How can I enumerate resources in LAN where is my
mobile device connected? I'm using C#, compact framework and OPNETCF. I need
information about computers with shared printers or network printers.
Thanks in advance for any suggestion.
Lukasz
... more >>
A Project with an Output Type of Class Library can't b started dir
Posted by Harsha at 11/26/2007 9:40:05 PM
Hi,
I am trying to run an application on device using compact framework (Windows
ce).
When I hit F5 it shows error message "A Project with an Output Type of Class
Library can't b started direcly". But build is scucceded and I can deply
through Build --> Deploy solution. What needs to chan... more >>
A Project with an Output Type of Class Library can't b started dir
Posted by Harsha at 11/26/2007 9:28:01 PM
Hi,
I am trying to debug an application in device. When I hit F5 button to run I
get the message "A Project with an Output Type of Class Library cannot be
started direcly".
And it will stop. But I can deploy it through Build -> Deply solution.
... more >>
Whats the name of this control?
Posted by Rob Stevens at 11/26/2007 8:24:01 PM
http://www.pocketpcthoughts.com/images/web/2003/parekh-20071123-LogoPocketPC.jpg
When you look at the picture from that link, what is the name of the
toolbar on the bottom? I want to use that toolbar instead of the soft
button menu on the WM5 and WM6.
Thanks
Robb
... more >>
passing x509 client certificate to ssl web service
Posted by Matijaz at 11/26/2007 6:31:38 PM
Hi,
My company is planing to develop mobile application interacting with a
several web services. Application will be invoking from mobile device SSL
Web Service that requires a X509 client certificate. Compact Framework 2.0
does not implement System.Security.Cryptography.X509Certificates na... more >>
Array of buttons... identify button on click
Posted by Francesco Ranieri at 11/26/2007 6:16:09 PM
Hi to all,
I'm programming with CF 1.0 and VB.NET 2003.
I've created an array of button "btnPRVPagesButtons" on my form.
All buttons click are handled by one only function
"btnPRVPagesButtons_Click"
I'm trying to capture (identify) the button clicked reading its ".Text"
property.
Privat... more >>
Socket and ttl
Posted by Brandon at 11/26/2007 11:56:05 AM
I am trying to use a UDP broadcast in C# to basically publish a stream of
data to any number of processes running on the local machine that care to
listen in - and I do not want this broadcast getting off of the machine onto
the network. It should be noted that I test on the full framework fi... more >>
COM Port disappears
Posted by romain taillandier at 11/26/2007 7:03:01 AM
Hi group,
I have a Mobile Compia M3+ device. I have some peripheral on CF type
I. I open the port, and discuss quite good with the peripheral, and
when i am finish, i close the port (fully normal until there)
Now if i try to open he port i have an exception :
The port COM1 does not exist.... more >>
Testing checked atttribute in a Webbrowser document
Posted by Zeno Loco at 11/26/2007 5:08:46 AM
My app generate a HTML document in a Webbrowser.
In this component there is a <form> tah with some checkboxes in it.
How can I test if the single checkbox is checked or, better, manage
the Onclick event on it.
Thanks
Marcello... more >>
Implement SNTP Protocal in compact framework
Posted by Manish Bafna at 11/26/2007 4:20:01 AM
Hi All,
The Network Time Protocol (NTP) and its simplified form (SNTP) are widely
used to synchronize network resources, due to their simplicity and
effectiveness. We have done this in Windows application and it was easy to do
in windows application because there is in-built windows time serv... more >>
touch screen and windows hooks
Posted by Darren at 11/25/2007 10:01:38 AM
G'day,
My touch screen on my ETen Glofiish has partially died - it
increasingly distorts the click position radially from the center - ie
the further away from the center, the more accurate the click is and
there is a section in the center where it won't register a click at
all.
However - th... more >>
What's new?
Posted by Peter Morris at 11/24/2007 6:49:26 PM
Can anyone direct me to a webpage listing what is new in CF since V2.0?
I've searched with google but not been able to find a list.
Thanks
Pete
... more >>
How to launch Outlook with parameters
Posted by Star at 11/24/2007 2:29:31 PM
Hi all,
I have searching the newsgroups for a while but I couldn't find anything.
What I need is to launch outlook with some fields already filled out,
like the subject, 'to' and body fields.
Is there anyway of doing that?
I'm using C#
Thanks... more >>
System.Windows.Form - Unexpected Error
Posted by Steve at 11/24/2007 10:52:36 AM
Hi out there...
I downloaded an Mobile 5.0 App program but the the developer's website is
shut down... so can't get any help from him. Hopefully, someone here can
point me in the right direction. One guy said it works on his phone but
it's erroring out on my iPAQ hx2495b.
One of the progr... more >>
I need a OpenDirectoryDialog, just like OpenFileDialog
Posted by Yanni at 11/24/2007 1:47:00 AM
Hi,
just like the title, I want to provide a dialog for the user to select a
folder, but it's very strange that there isn't a OpenDirectoryDialog
component.
how can I do this ?
Thanks.... more >>
.NET Compact Framework System.Windows.Forms.UserControl is leaking memory
Posted by Armin Sczuka at 11/23/2007 12:15:38 PM
Hello,
I figured out that all objects based on System.Windows.Forms.UserControl are
never disposed by the Compact Framework GC. This problem occours only under
Windows CE not with Win32/ Win64.
Is this a known issue?
Is there any fix for it?
How about the .NET Compact Framework 3.5? Is... more >>
Creating shortcut from desktop
Posted by Rob S at 11/23/2007 7:11:00 AM
I'm trying to create an application shortcut from a desktop application using
Opennet.Desktop.Communication, however it keeps return an error
Dim rapi As New OpenNETCF.Desktop.Communication.RAPI
rapi.Connect()
rapi.CreateDeviceShortcut("\Windows\Start Menu\Programs\Myapp.lnk",
"\Program Fil... more >>
InputBox
Posted by davebythesea at 11/23/2007 4:32:02 AM
Hi folks,
I'm trying to create an input box which can be used to collect some text
data from a user. I'm looking for something like the MessageBox, with an OK
and Cancel button, and a multiline TextBox with a vertical scroll bar. I've
created new UserControl and inherited from the Form clas... more >>
SqlCeResultSet and DataGrid and TableStyles
Posted by Adam at 11/22/2007 7:12:42 PM
Hello,
is this possible to change TableStyles attached to DataGrid when datasource
is SqlCeResultSet?
Now I design (with designer) two differents TableStyles.
SqlCeResultSet don't have MappingName so i change TableStyles like this:
dataGrid1.TableStyles.Clear();
dataGrid1.TableStyles.Add... more >>
How to convert a 3.1 database to a 3.5 database ?
Posted by Rainer Borchmann at 11/22/2007 4:35:41 PM
Yes, this is my question,
How to convert a 3.1 database to a 3.5 database ?
In the Step to Convert a Projekt from 2005 to 2008,
the Conversion wizzard cant convert the database.
How can i do it per hand ?
there is only 1 table in the database
bye
Rainer Borchmann
... more >>
NTML authentication protocol
Posted by brambilla@elsyst.it at 11/22/2007 1:01:09 AM
Hi to all
I need to configure User/Password for access to device in LAN. The
device is
a board with ARM processor and NIC 10/100. On the board there's a DOM
(disk
on module). Some client need access to Hard Disk (the DOM) where my
application write some data. My application is write in VB.NE... more >>
some eror
Posted by sachin at 11/21/2007 11:00:48 PM
hi to all members,
while running throug the emulator.
When i am runing the emulator i have got one error general network
error .
check your network documentation.
i have to resolve this error as early as possible.
can u help me to resolved this problem.
... more >>
Problems reading fast enough from serial port
Posted by Florian Zierer at 11/21/2007 11:59:50 AM
Hi there,
I am developing an application for a mobile device and have to receive
data via bluetooth and the serial port profile.
I am currently programming in c#. The device is a Windows Mobile 6
device. (Moto Q 9h)
I can receive data but the problem is it is way too slow.
I get a data... more >>
QRCodeCF - Anybody have that library?
Posted by hafiz404@gmail.com at 11/21/2007 9:34:57 AM
Hi there,
I'm looking for simple and easy to use QRCode library for .NET CF.
Upon searching the internet, I found this library
http://blog.markarteaga.com/QRCodeForNETCompactFramework.aspx
but unfortunately the maintainer has withdrawn it because of GNU/GPL
licensing reason.
so i'm asking ... more >>
Cancelling a file download using HttpWebRequest
Posted by Jeff Robichaud at 11/20/2007 2:35:06 PM
Hi all,
I have some code running on the Pocket PC (w/CF v2.0) that grabs a file
(about 20 MB) from the server using HttpWebRequest. I want to give to user
the possibility to cancel the download (the download method is running in
another thread which is aborted when the user cancels).
Fro... more >>
Top Five OpenNETCF
Posted by Harry Simpson at 11/20/2007 11:07:58 AM
I've just now started to get into the Smart Device Framework and was
wondering what the top five or ten handiest features were from those that
have really gotten into using it.
I've got a chance to completely rewrite an app which scans, prints, needs to
transparently sync incrementally, wil... more >>
Can an Image can be placed in Mainmenu Control ?
Posted by Harsha at 11/20/2007 3:59:01 AM
Hi,
I have question. Please let me know Can an Image can be placed in Mainmenu
Control ?... more >>
quickstart tips for smartphone development
Posted by Jeroen at 11/20/2007 12:12:01 AM
Hi,
We'd like to create an app for a mobile phone using the .NET CF. Can
you please post a few quick tips or links on the following issues:
- How do you typically access (if at all) phone functionality such as
vibration-alarm or other phone-specific functionality? Do you need
DLLs from the ... more >>
Newbie: start external program like Shell() function
Posted by Francesco Ranieri at 11/19/2007 6:20:10 PM
Hi to all,
I've started programming vb.net last week and I'm a newbie...
I'm programming an application for my navigation system.
1) Development tool is: MS Visual Studio .Net 2003 - SP1
2) Navigation system is equipped with:
a) MS Windwows CE .net 5.00
b) MS .NET Compact Framework... more >>
|