How to launch Outlook with parameters
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 Tag: Re: bmxgtmjucn Tag: 85258
What's new?
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 Tag: Re: bmxgtmjucn Tag: 85257
System.Windows.Form - Unexpected Error
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 programs errors out with an "... unexpected error ..."
MissingMethodException for "System.Windows.Forms", version 2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089.
I've downloaded a couple of .NET COMPACT FRAMEWORKs... v1.0 says "need newer
version", v2.0 w/WP2 gives above error and v3.0-3.5 does NOT sync to my
iPAQ. Am I on the right track? Isn't v3 supposed to sync over?
Thanks in advance for any/all help!!!
Steve (PPC newbie) Tag: Re: bmxgtmjucn Tag: 85256
System.Windows.Forms "... unexpected error..."
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 programs errors out with an "... unexpected error ..."
MissingMethodException for "System.Windows.Forms", version 2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089.
I've downloaded a couple of .NET COMPACT FRAMEWORKs... v1.0 says "need newer
version", v2.0 w/WP2 gives above error and v3.0-3.5 does NOT sync to my
iPAQ. Am I on the right track? Isn't v3 supposed to sync over?
Thanks in advance for any/all help!!!
Steve (PPC newbie) Tag: Re: bmxgtmjucn Tag: 85254
I need a OpenDirectoryDialog, just like OpenFileDialog
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. Tag: Re: bmxgtmjucn Tag: 85252
Compact Framework Ticker
I've just posted full source of a .Net CF ticker control over at
www.binaryrefinery.com please feel free to download or criticize.
--
Richard Jones
MVP - Device Application Development
www.binaryrefinery.com Tag: Re: bmxgtmjucn Tag: 85249
Creating shortcut from desktop
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 Files\Myapp\Myapp.exe")
rapi.Disconnect()
It creates a new file on the device, but when i click it i get an error of
bad file or must be signed. i check the properties of the new file and it is
different than a normal shortcut file. the target type is "file folder"
instead of application. it also does not show up as a shortcut file. am i
doing something incorrect in creating the shortcut or? i am using the latest
version of the opennetcf.desktop.communication dll.
Many thanks Tag: Re: bmxgtmjucn Tag: 85242
InputBox
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 class. In the design view
I then shrunk the Form size down and added the buttons and textbox.
However, when I go to create an instance of this control in my application,
and call the ShowDialog() method, the Form does indeed show but it is the
size of an ordinary form and fills the whole screen. I just want to display
the inputbox so it will hover over the parent form and not take up the whole
screen.
I tried setting the Width and Height properties once I create the instance
but it has no effect.
Any ideas if this is possible?
Thanks once again,
Dave
PS - here is a little code
// My UserControl class, not much changed
public partial class WMInputBox : Form
{
public WMInputBox()
{
InitializeComponent();
this.Width = 200;
this.Height = 100;
}
}
// Using the control
WMControls.WMInputBox i = new Mobile.WMControls.WMInputBox();
i.Width = 200;
i.Height = 100;
i.WindowState = FormWindowState.Normal;
i.ShowDialog(); Tag: Re: bmxgtmjucn Tag: 85238
.NET Compact Framework System.Windows.Forms.UserControl is leaking memory
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 it fixed there?
Thanks,
Armin Tag: Re: bmxgtmjucn Tag: 85236
Cookies?
Hi,
Is it possible to use cookies in a PDA app? We would like to use forms auth.
(and session state) on to of web services, and make use of these services
from a pda, and we need to handle cookies on the client for that. On a
winform app you could use a cookiecontainer - how is that possible runnig
compact framework?
Thanks Tag: Re: bmxgtmjucn Tag: 85234
SqlCeResultSet and DataGrid and TableStyles
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(firstdatagridtablestyle);
and change to second
dataGrid1.TableStyles.Clear();
dataGrid1.TableStyles.Add(seconddatagridtablestyle);
Is there any simplier way to achieve this? Tag: Re: bmxgtmjucn Tag: 85225
How to convert a 3.1 database to a 3.5 database ?
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 Tag: Re: bmxgtmjucn Tag: 85224
NTML authentication protocol
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.NET 2005
and the
O.S. is WinCE 6.0.
In order to setting the file server I would want to know as I can
manage
customers and password from my application (which libraries and/or
instructions allow me to read, to write, to cancel, to insert the
credentials
?). How can i permanently store the credentials into registry ? (how
must i
set up the OSDesign ? Hive-base registry, ecc... ?)
Thank you very much
Ale Tag: Re: bmxgtmjucn Tag: 85220
some eror
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. Tag: Re: bmxgtmjucn Tag: 85219
Disable vscrollbar in datagrid
Hello,
my application contains a datagrid. There is a vscrollbar visible on the
right side of the grid all the time.
Is it possible to hide this vscrollbar?
In the standard framework I used the BorderStyle Option. But this property
i not available in the compact framework.
Oli Tag: Re: bmxgtmjucn Tag: 85218
QRCodeCF - Anybody have that library?
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 if any of you still keep QRCodeCF library? because I
need it for my studies, and research.
Thanks in advance. Tag: Re: bmxgtmjucn Tag: 85215
Problems reading fast enough from serial port
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 package with 6 byte every 8ms but when reading it, the
ReadBuffer fills more and more.
Later I should receive twice as much data.
I wanted to use
serialPort.ReadLine() to get each packet each own. (5 byte data + 1 newline)
I tried it with the serialPort.DataReceived eventhandler but I get a lot
of messages like
The Thread ... has stopped with code 0.
Der Thread 0x9ed3e02 hat mit Code 0 (0x0) geendet.
Der Thread 0x9ed3e02 hat mit Code 0 (0x0) geendet.
Der Thread 0x9ed3e02 hat mit Code 0 (0x0) geendet.
Der Thread 0x9ed3e02 hat mit Code 0 (0x0) geendet.
Der Thread '<Kein Name>' (0x9ed3e02) hat mit Code 0 (0x0) geendet.
Der Thread 0x9ed3e02 hat mit Code 0 (0x0) geendet.
Der Thread 0x9ed3e02 hat mit Code 0 (0x0) geendet.
Der Thread 0x9ed3e02 hat mit Code 0 (0x0) geendet.
Der Thread 0x9ed3e02 hat mit Code 0 (0x0) geendet.
Der Thread 0x9ed3e02 hat mit Code 0 (0x0) geendet.
Der Thread 0x9ed3e02 hat mit Code 0 (0x0) geendet.
Der Thread 0x9ed3e02 hat mit Code 0 (0x0) geendet.
Der Thread 0x9ed3e02 hat mit Code 0 (0x0) geendet.
Der Thread 0x9ed3e02 hat mit Code 0 (0x0) geendet.
Der Thread 0x9ed3e02 hat mit Code 0 (0x0) geendet.
Der Thread 0x9ed3e02 hat mit Code 0 (0x0) geendet.
where are all these messages from? The gui does no more respond.. I even
can't stop the application via the debugging controls from VS2005. I
have to restart the device to make it run once again.
I also tried to handle all the data aquisition with a worker thread wich
polls the comport and handles incoming data but it is also way to slow
and the gui does not respond anymore.
Any hints on how to improve my program?
The serial port is running with
private SerialPort serialPort;
private int baudRate = 57600;
private Parity parity = Parity.None;
private int dataBits = 8;
private StopBits stopBits = StopBits.One;
Thanks in advance
Flo Tag: Re: bmxgtmjucn Tag: 85208
Strange ComboBox behavior
Hi all,
I'm using a ComboBox control in a DropDown mode (one with both TextBox
for free-text-entry and a drop-down-list) and is trapping the
TextChanged event to process the value being entered. As far as I can
tell, when the Text property is accessed from the TextChanged event,
it should return the post-change value. Well, it does for the most
part, but occasionally, the old value (before the change) is
returned. This seems to happen only when the text is highlighted
(which is the default behavior when the control gets the focus).
I don't have a real mobile device handy, so I could not verify if this
behavior is happening only on the emulator.
Is anyone aware of this quirk? Any information on it?
Thanks.
- Jin Tag: Re: bmxgtmjucn Tag: 85205
Cancelling a file download using HttpWebRequest
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).
From what I understand, to close everything gracefully requires calling
Abort() on the HttpWebRequest object and/or Close() on the WebResponse
object. Failure to do so will interfere in the subsequent attempts to
download the file.
But here goes, calling either of the methods seems to hang the device, but
in fact I think there is some cleanup going on in the backgroup. BUT, from a
user point of view, it changes nothing. Is there a bug in the CF because the
same code works A1 on the desktop.
Has anybody been able to work around this, or am I simply missing something?
Thanks.
Here's a lean version of the code:
private void DownloadFile()
{
HttpWebRequest request = null;
WebResponse response = null;
Stream stream = null;
FileStream fs = null;
try
{
request = (HttpWebRequest)WebRequest.Create(_remoteFileUrl);
request.KeepAlive = false;
response = request.GetResponse();
stream = response.GetResponseStream();
string localFilePath = Path.GetTempPath() +
Path.GetFileName(_remoteFileUrl);
fs = new FileStream(localFilePath, FileMode.Create);
int total = 0;
byte[] buffer = new byte[0x1000];
while (true)
{
int currentRead = stream.Read(buffer, 0, buffer.Length);
total += currentRead;
fs.Write(buffer, 0, currentRead);
if (currentRead == 0) { break; }
}
}
finally
{
fs.Close();
response.Close();
request.Abort();
}
} Tag: Re: bmxgtmjucn Tag: 85203
ANN: New Article: Getting a Millisecond-Resolution DateTime under Windows CE
We've published a new article on the OpenNETCF Community Site.
http://community.opennetcf.com/articles/cf/archive/2007/11/20/getting-a-millisecond-resolution-datetime-under-windows-ce.aspx
Chris Tacke covers how to get a valid millisecond field in your DateTime.Now
calls.
In case you missed them, our other recently published articles include:
- Using GDI+ on Windows Mobile
- Sharing Windows Mobile Ink with the Desktop
- OpenNETCF Mobile Ink Library for Windows Mobile 6
- Improving Data Access Performance with Data Caching
- Developing Connected Smart Device Applications with sqlClient
- Debugging Without ActiveSync
- Image Manipulation in Windows Mobile 5.0
- Don't Fear the Garbage Collector
All of our articles are available online at:
http://community.OpenNETCF.com/articles
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com Tag: Re: bmxgtmjucn Tag: 85197
Top Five OpenNETCF
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, will use a web service and also RDA Pull .
Are there features that have made life a lot easier that are your favorites?
TIA
Harry Tag: Re: bmxgtmjucn Tag: 85194
quickstart tips for smartphone development
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 phone-manufacturer, and do they typically provide them
freely?
- We have experience with C# and Visual Studio, are there good
starting points that point out typical traps?
If I need to provide more/other/specific info please let me know.
Thanks.
-Jeroen Tag: Re: bmxgtmjucn Tag: 85173
Cannot use "Tab" button in textbox to foucs on other control
Hi! All.
I got some problem in developing .net CF program.
My situation is that. I have two Textboxes in a form, my boss need me
to well define the tab index although it is a smart device program.
However, in some cases, after I inputted some characters in the a
textbox and then I press "Tab" button either my keyboard or emulator
input keyboard, the program is still focused on the original textbox
but not focused on the next textbox or control.
I found that if I input one alphabet or some 2 and 3 alphabet
combination, the problem occurred. If I input more than 3 alphabets,
the "Tab" button work normally.
Is this the bug of .net CF? Can it be solved?
Thanks for help. Tag: Re: bmxgtmjucn Tag: 85172
Timer Tick in compact framework
I am experimenting with some graphics using vb.net/compact framework. I
have a Timer which is supposed to fire every 100 milliseconds to update a
graphic. When the application runs (in either the runtime as a emulator or
on the actual PDA) the graphics only update once per second. Is there some
limitation to the timer? The timer shows the interval as being 100 yet the
graphics do not update that fast. They do update exactly once each second.
There is little actually going on for this animation (drawing a couple of
lines) Is there some way to get the event to fire more rapidly? Tag: Re: bmxgtmjucn Tag: 85166
activesync passthrough in merge replication
Hello
I have been seeing some conflicting information on this subject in
various forums. I have a WIndows Mobile 5 app that uses SQL Server CE
2005 and user merge replication to sync with SQL Server 2005. Most of
our users right now are connecting wirelessly via http and IIS to
sync.
Does activesync 4 and above still support passthrough connections for
http or does it not?
If it does, what ports need to be open?
Ryan Tag: Re: bmxgtmjucn Tag: 85164
Newbie: start external program like Shell() function
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 1.0.4292.00
I've a question for you:
I wish to "start external program" programmatically, on button click event.
I'm Visual Basic v. 6.0 expert and Shell(), ShellExecute() and
ShellExecuteEx() were very useful, but into vb.net language they are not!???
I wish the vb.net equivalent of vb60 instruction:
retVal=Shell("\MySubDir\Notepad.exe", vbShow)
I've tried "ShellExecute API" but gives me a NotSupportedException
I've tried to use "Process class" but I've not found it into CF.
I explain better... following a summary of my code into form
"frmNavSystem.vb"
----------------------------------------------------------------------------
------------------------
Imports System.Windows.Forms
Imports System.Runtime.InteropServices
Imports Microsoft.VisualBasic
Public Class frmNavSystem
Inherits System.Windows.Forms.Form
.......................... blà blà blà .....................
Private Sub pcxButton_TopLeft_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles pcxButton_TopLeft.Click
Call ExecuteExternalProgram("\MySubDir\MyApp.exe", "\MySubDir\")
End Sub
.......................... blà blà blà .....................
Private Function ExecuteExternalProgram(ByVal strPRMPath As String, ByVal
strPRMDirectory As String) As Boolean
'********************************* HERE IS THE QUESTION
*****************************
'***************** Here I wish "Process class" option into drop-down
list, but it isn't there!!!!!
'Dim objProcess As System.Diagnostics.{}
'************ This is inexistent
'Call Shell(strPRMPath , AppWinStyle.NormalFocus)
'********************************* HERE IS THE QUESTION
*****************************
End Function
.......................... blà blà blà .....................
End Class
----------------------------------------------------------------------------
------------------------
Besides, Project => MyProject property => Common Properties => Imported
reference => List of name spaces includes only "System".
The Shell() function doesn't exist into .net (? I think ?), because
generation gives me an error.
The drop-down list of System.Diagnostic.{--} doesn't give me the .Process
class option... so, I can't select it!!
Please, can you help me? Can you give me an example?
Thanks in advance
Francesco Tag: Re: bmxgtmjucn Tag: 85163
Native Error w/ CF2 SP2
I've got an app that I deploy to a symbol MC70 device running Windows Mobile
5.
The device actually comes with CF1 SP3 RTM on it. I have installed the CF2
RTM cab file NETFv2.wm.armv4i.cab 2/2/2005 and it installs the CF2 RTM
2.0.5238.0 just fine and the applications works great.
The problem is when I substitute the CF2 SP2 cab and install 2.0.7045.0 - I
then try to start up my application and the program errs out before it can
even stop with a natve error in the application exe message.
How does VS2005 get updated to compile and run against CF2 SP2 environment?
Why can't I run my app after CF2 SP2 is installed??
TIA
Harry Tag: Re: bmxgtmjucn Tag: 85133
Sharing folders in WinCE 6.0 with authentication.
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.NET 2005 and the O.S. is WinCE 6.0.
I follow the instruction at: http://msdn2.microsoft.com/en-us/library/aa450272.aspx
but when i type "http://localhost/remoteadmin" in internet explorer
the "Windows CE Remote Management Tool" not appears! (step 7 "Using
the Remote Configuration Tool to Configure the File Server" of the
instruction at the previous url).
I think the problem is that i dont have a CEPC!
How can i do ?
There are a libraries or instructions that can i use in my VB.net
application for menage the user/password ?
Thanks in advance.
Ale Tag: Re: bmxgtmjucn Tag: 85126
Touch screen driver in Win CE 6.0
Hi
I am creating the Win CE OS in VS 2005. I am adding the touch screen drivers
supplied by the vendor by referncing them in subprojects (pbpxml) and
building the OS.
Once deployed, when I boot the OS, the touch screen LCD is not working. The
LCD shows the picture and stuff but the touch is not working.
There is a alignment exe which came with the monitor. When I build that in
the OS and double click on that in Windows CE, nothing happens.
Please help!! Am stuck on this big time..
Thanks
Rama Tag: Re: bmxgtmjucn Tag: 85124
DOM serial number
Hi to all,
i develop in vb 2005 and my application run on device with ARM
processor and
one DOM (Disk On Module) mounted on 40 pin (IDE) connector. The O.S.
is WinCE
6.0.
Is possible recognize the serial number of the DOM from VB ?
Can i have a little example or link ?
Thank you very much.
Ale Tag: Re: bmxgtmjucn Tag: 85123
Clone datatable rows
Hi,
I want to copy datatable rows in other datatable without using loops. Clone
method in datatable object copy table structure but not data and there is no
clone method in datarow object.
The only way i have found is import each row of the old datatable, in new
datatable. But i don't like this way very much because i think it isn't so
much optimal
Can anybody help me?
thanks a lot Tag: Re: bmxgtmjucn Tag: 85117
Hide columns in datagrid
Hi,
I want to hide a column of a datagrid in a pocketpc application. do anybody
knows how i can do it?
Thanks Tag: Re: bmxgtmjucn Tag: 85114
Add KeyDown (KeyUp) event to LinkedLabel
I need KeyDown event in LinkedLabel, is there any possibility to extend
this control? I have try create LinkedLabelEx in UserControl but it
doesn't work. The events doesn't fired from UserControl when focus is on
LinkedLabel.
Any suggestions?
Thanks, George. Tag: Re: bmxgtmjucn Tag: 85112
DirectShow Image Quality and Resolution
Has anyone tried to set a resolution or image size using DirectShow? I need
to know how to change the image resolution and the image size that DirectShow
is giving me. Is it a registry setting in the PPC? Is it a property in code?
Is it something that needs to be added to the Filter Graph?
Help !!!!
--
Noble D. Bell
www.noblesoftware.com Tag: Re: bmxgtmjucn Tag: 85104
BUY and SELL lotro gold mmo,wow| wowmmocom.com
http://www.wowmmocom.com
http://www.wowmmocom.com
you can buy the cheapest lotro gold
in our website http://www.wowmmocom.com,we'll
provid you the reliable and instant delivery
our msn: julieook@hotmail.com
website: http://www.wowmmocom.com Tag: Re: bmxgtmjucn Tag: 85096
Question on SyncML.
Hi,
Q1. Is there any namespace in .net framework for SyncML ?
Q2.
Can anyone spare a small basic samplecode on SyncML
(Sending phone contacts details using SyncML). Currently i have no idea and
want a sample code to begin with. Sample can be either in C# or VB.NET.
Regards
JIGNESH. Tag: Re: bmxgtmjucn Tag: 85095
Debugging C# on Windows CE 5 Core
I have VS2005 Standard. I can debug a C# CF2 program on an full Windows 5 CE
Device but when I plug in an Windows CE Core Device all breakspoints a
grayed. Everything is the same , I just change both devices ( they have the
same CPU ).
I can debug an native C++ project on the Windows CE Core device, but not C#
programs. Any idea what's missing ?
Thomas Tag: Re: bmxgtmjucn Tag: 85088
Problem with datagrid - ObjectDisposedException when second time dispose
Hello,
I am still learning C#, so please bear with me.
I have a two Form, from first I open second form with datagrid. When I
Dispose datagrid second time I get a ObjectDisposedException.
In first (main) form I have a button with code under onclick event:
temp_n = this.Text;
this.Text = string.Empty;
Form1 frm1 = new Form1;
frm1.ShowDialog();
frm1.Dispose();
this.Text = temp_n;
and in second form:
private void Form1_Load(object sender, EventArgs e)
{
ceCmd = Global.DatabaseConnection.CreateCommand();
ceCmd.CommandText = "select col1,col2 from table";
ceCmd.CommandType = CommandType.Text;
ceResSet = ceCmd.ExecuteResultSet(ResultSetOptions.Scrollable);
dataGrid1.DataSource = ceResSet;
}
and
private void Form1_Closed(object sender, EventArgs e)
{
if (ceResSet != null)
{
ceResSet.Close();
ceResSet.Dispose();
}
if (dataGrid1 != null) dataGrid1.Dispose();
}
and when I twice opened and closed second Form i get a
ObjectDisposedException on
"if (dataGrid1 != null) dataGrid1.Dispose();"
it's strange to me because when i put button on second form and add event:
private void Button_Click(object sender, EventArgs e)
{
if (ceResSet != null)
{
ceResSet.Close();
ceResSet.Dispose();
}
if (dataGrid1 != null) dataGrid1.Dispose();
this.Close();
}
everything is OK. So i tried put datagrid1.Dispose() on override OnClosing
and override OnClosed but with no change - DisposedException still occurs.
So, what I'm doing wrong? Tag: Re: bmxgtmjucn Tag: 85085
Installation Question .NET 2005
Hi, All
I just installed MS .NET 2005,
i am developing applications for two different handhelds TekLogix (Mobil
5.0) and Intermec CN3 (Mobile 6.0), each comes with their custom SDK's,
Question; Is it ok to install all SDK's from both handhelds on one PC for
development?
What if it is create some conflict or they are not compatible?
TekLogix comes with 1 SDK
Intermec has 8 SDK's for different purposes.
Please, advice Tag: Re: bmxgtmjucn Tag: 85071
Controls.Clear() CF 2.0
Hello all, I am currently converting my application to CF 2.0 and ran into a
problem with the TabControl.Controls.Clear() call. When the form and tab
page is first loaded it works fine but doesn't work if it is called a second
time? This works find in CF 1.1? To give you an idea, I have a tab page
that has language specific information in it, if the user selects a new
language from a drop down box (an NO it is not within the tab control), I
call the TabControl.Controls.Clear() call and then reload it. Also there is
no error message? Here is what the stack trace looks like:
at Microsoft.AGL.Common.MISC.HandleAr()\r\n
at System.Windows.Forms.Control.ResumeLayout()\r\n
at System.Windows.Forms.Control.ResumeLayout()\r\n
at ControlCollection.Clear()\r\n
at myApp.frmDisclaimer.LoadDisclaimers()\r\n
at myApp.frmDisclaimer.cbLanguage_SelectedIndexChanged()\r\n
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged()\r\n
at System.Windows.Forms.ComboBox.WnProc()\r\n
at System.Windows.Forms.Control._InternalWnProc()\r\n
at OpenNETCF.Windows.Forms.ApplicationEx.DispatchMessage()\r\n
at OpenNETCF.Windows.Forms.ApplicationEx.Pump()\r\n
at OpenNETCF.Windows.Forms.ApplicationEx.RunMessageLoop()\r\n
at OpenNETCF.Windows.Forms.ApplicationEx.Run()\r\n
at myApp.Classes.StartUp.Main()
HResult -2146232798 int
Any Ideas?
TIA Tag: Re: bmxgtmjucn Tag: 85070
Remote connection to the Device
Hi, All
I am using .NET 2005 two different handhelds:
1) Intermec CN3 Mobile 5.0
2) TekLogix Psion Mobile 6.0
On Intermec i can run app in debug mode with no problem.
On TekLogix when i trying to run app in debug mode display warning message
on the PC "The remote connection to the device has been lost. Please verify
the device connection and restart debugging", at the same time handheld
display message " We are sorry..." on the task bar and "Problem has occurred
with app.
Please tell Microsoft about this problem, at no cost to you"
Is anybody have experience with such issue, How to fix it?
Please, help Tag: Re: bmxgtmjucn Tag: 85069
How do I compile unmanaged c++ code in VS 2005?
Hello,
I am going to have to use some unmanaged c++ code in an application that we
are working on. My question is this. Do I have to use the eVC++ 4.00 IDE to
compile this code or can I do it all right from VS2005? I have never done any
work in VS that required unmanaged c++ code.
Thanks in advance,
--
Noble D. Bell
www.noblesoftware.com Tag: Re: bmxgtmjucn Tag: 85063
OpenNETCF Advanced Debugging Toolkit
Hi all,
I have come across this toolkit.
http://www.codeplex.com/adt/SourceControl/ListDownloadableCommits.aspx
But there seems to be no instructions on how to use it?
has any one used it before and what is it used for.
Thanks
ink Tag: Re: bmxgtmjucn Tag: 85062
Function key stuck on in Windows Mobile 6 device in Textboxes
I have a very strange problem with a new Sprint 6800 Windows Mobile 6
device.
When I use the popout keyboard, it always acts like the function key is
stuck on. This happens in a single line or multi-line textbox. The SIP
works fine. The Fn light goes on and off when I press the Fn (blue dot)
key, but the keystrokes always show up as if the function key was on. This
same app works fine on at least 10 other mobile device models that we have
deployed.
The keyboard works fine in all other apps (Word, notes, contacts, etc.), so
it seems to be a .NET related issue. I have Googled the problem and came up
with nothing.
Any idea what to try?? Tag: Re: bmxgtmjucn Tag: 85048
HttpWebRequest in .NET CF 2.0 - Sent XML File over 34K Corrupted
I have a .NET CF 2.0 Mobile Application that sends "collected data" to a
HTTPS Server (running Apache under Windows 2000) and the XML file (SOAP)
containing the collected data "occasionally" appears corrupted on the server
side, but only when the XML file is greater than 34K in size, and cannot be
properly parsed as an XML Document due to missing / corrupt XML Tags. I say
"occasionally" because I cannot reproduce this error myself and only a few
of our customers (2-3 out of 70) using the mobile application have
experienced this situation. The XML file is never corrupt as long as it is
under 34K in size.
In an attempt to reproduce this error I have sent "collected data" files as
large as 125K without any XML errors and did so using various Internet
Connections, i.e. using our corporate intranet, the Internet via ADSL from
my home and using ActiveSync running on a Desktop Machine connected to our
intranet and the Internet. I have NEVER been able to reproduce this error
which led me to believe that the problem was due to hardware failures of the
mobile device itself or the customers network, but after extensive research
and testing this does not appear to be the problem either. Also, the
"collected data" itself does not contain any characters that would violate
the XML standard and I went so far as to add some code to the mobile
application that validates the XML Structure prior to sending the data to
the host server and the structure is always validated before sending but
arrives at the host server corrupted!! I am assuming that the HTTPS / TCP/IP
protocols will handle corrupt packets via the packet checksum and request
the packet again, so I don't think data is being corrupted during its trip
to the host server but instead is actually corrupt when being transmitted
from the mobile device itself, hence the packet checksums are always
correct. The mobile device is a Symbol MC3090 running WinCE 5.0 and Symbol
(now Motorola) has no mention of any "data corruption" within their
knowledgebase regarding these devices.
I have read the Microsoft Article (ID 831578) regarding "Memory Leak When
SSL and Client Certificates are Used With the HttpWebRequest Object" but am
unsure if this applies to the .NET CF 2.0. We are using HTTPS / SSL and I am
using the standard example given for the
LocalCertificatePolicy.CheckValidationResult to eliminate certificate
problems such as mismatched certificate and machine names but I do not
ignore an invalid certificate.
Originally I was using .NET CF 1.1 when I created this application and ran
into a .NET CF bug regarding the use the HttpWebRequest class over HTTPS
whereby the workaround was to set AllowWriteStreamBuffering = True and to
not specify the ContentLength property. Even though the project has been
upgraded to .NET CF 2.0 I am still abiding by the workaround for the .NET CF
1.1 bug. Is this still an issue in .NET CF 2.0?
An example of the corrupted xml data: (closing tag of </ItemEnterpriseName>
is corrupt and opening <ItemName> tag is missing along with the data itself)
<Name>DEFAULT</Name>
<ItemEnterpriseName>Comtech Data</ItemEnterpriseNa4A</ItemName>
<SiteEnterpriseName>Comtech Data</SiteEnterpriseName>
... data continues ...
The data should have appeared as:
<Name>DEFAULT</Name>
<ItemEnterpriseName>Comtech Data</ItemEnterpriseName>
<ItemName>IC/SO-NC7SBU3157</ItemName>
<SiteEnterpriseName>Comtech Data</SiteEnterpriseName>
... data continues ...
Any assistance in the matter would be tremendously appreciated!!!
Thank you,
Greg Hellem Tag: Re: bmxgtmjucn Tag: 85046
HTC S710
I have an app running WM6 Standard on HTC S710. I open a form to enter text
in landscape mode. If I enter info using slide out QWERTY, then slide back
in and click 'Cancel' to close form (me.close) I get what seems to be a HTC
Task screen. If I use the 'Back' button the Task screen closes and I get my
parent form. Is anyone else experiencing something similar? Thanks. Tag: Re: bmxgtmjucn Tag: 85044
love spam...
----- ORIGINAL MESSAGE -----
Hello! Good Site! Thanks you! bxdyzdfpzh