Windows.Forms Issue (compact framework)
I have a form (form1) that I call another form (form2) from, using
.ShowDialog (modul). I disable form1 (.Enabled = False), once the user is
finished with form2 (checked a few check boxes, and clicked a button) the
Disposing event of Form2 is fired (on form1) and I re-enable(.Enabled =
True) Form1.
This all work fine. However! Form1 is minimized in the Taskbar, and will
only show if I click on it.
Anybody anay ideas?
Tried These.....
.ShowDialog()
.Show()
.Focus
.BringToFront
.SetWindowState
--
Regards
Brett Miller Tag: thread Tag: 30783
Display both English and Chinese in textbox
regarding to the question I posted at 6/7, here is the code I wrote. I fthe encoding is correct, then it should give me squares for the chinese characters that the device can't encode. But it gives me something like "B2#$ke" instead. I think the problem exists in StreamReader. Any suggestions?
private String searchChapter(string book, string chap, string filePath)
{
String Chapter = "";
try
{
// Create an instance of StreamReader to read from a file.
// The using statement also closes the StreamReader.
using (StreamReader sr = new StreamReader(filePath))
{
// Read and display lines from the file until the end of
// the file is reached.
int colonIdx;
String line;
bool isFound = false;
while ((line = sr.ReadLine()) != null)
{
colonIdx = line.IndexOf(":");
if (line.Substring(0,3) == book && line.Substring(4,colonIdx - 4) == chap)
{
isFound = true;
Chapter = Chapter + line + "\r\n\r\n";
}
else if (isFound == true) break;
}
}
return Chapter;
}
catch (Exception e)
{
Console.WriteLine("The file could not be read:");
Console.WriteLine(e.Message);
return Chapter;
}
private void buttonGo_Click(object sender, System.EventArgs e)
{
if (cboBooks.SelectedIndex > -1 && cboChapters.SelectedIndex > -1)
textScriptures.Text = searchChapter(books[cboBooks.SelectedIndex], cboChapters.SelectedItem.ToString(), (curDir + "/" + fileName));
} Tag: thread Tag: 30782
Cannot deploy to Pocket PC emulator with VS 2005 Beta 1
Hi, all
I've just installed VS 2005 Beta 1 on a Windows XP Pro machine. I chose to
install only C# and VB, as well as Smart Device options.
When I create a default Pocket PC App for C# or VB, I can deploy and debug
it on 'My Computer', but it does not deploy to any of the emulator choices.
This doesn't appear to be mentioned in the readme. Any idea what might be
going wrong?
Thanks
- rick Tag: thread Tag: 30774
Button - No border
I would like to create my own custom button control. I
want the button to be able to change color - and/or - make
the border transparent.
I know the OpenNETCF ButtonEx has these properties, but I
was hoping to create my own control. Could someone steer
me in the right direction with some advice. Perhaps you
could refer me to some web links or MSDN articles that
refer to custom controls.
I'm hoping this is somthing relatively easy - but maybe
I'm wrong.
thank you. Tag: thread Tag: 30772
.NET Compact Framework 2.0 Preview
http://www.ftponline.com/reports/vslivesf/2004/yuan1/
"A key crucial feature for all mobile development platforms is the
need for tight device integration. The software platform needs to
leverage all functionalities provided by the underlying device and
network. In the .NET Compact Framework 1.0, access to telephony and a
native Personal Information Management (PIM) database is available
only through native method call wrappers using Platform Invoke
(P/Invoke). Version 2.0 will support standard managed APIs for all
Pocket Outlook clients, including e-mail/SMS, contacts, calendar, and
to-do lists. You can also make phone calls and access call logs
directly from the managed code. Plus, Microsoft has planned a new
location API for both GPS and operator-based location retrieval."
Is this true, anyone test it? Does this mean we have native support
for POOM? Have anyone test it? Tag: thread Tag: 30769
NotSupportException caused by DrawString
I create a custom control which inherits Picturebox. the e.Graphics.DrawString in the OnPaint method causes a NotSupportedException.
Could anyone help? Tag: thread Tag: 30768
TabControl Validation
How would I go about validating a tabpage when the user clicks on the next tab page? And stop the user if the validation fails.
Is this possible? Tag: thread Tag: 30766
how to display data in textboxes ?
i'm trying to display the data into the textboxes when the user enters the appropriate id in the search textfield, however, it keeps on displaying an error message such as the following on my pocket pc
An unhandled exception of type 'System.ArgumentNullException' occurred in System.Windows.Forms.dll
Additional information: ArgumentNullException...
My codes are such as below.My web services was ok..when i enter the number, it works fine..
Private Sub Search2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Search2.Click
Dim sID As Integer
sID = Convert.ToInt32(TextBox1.Text)
Dim ws As New servername.Service1
Dim ds As DataSet = ws.GetJobID(sID)
Dim dt As DataTable = ds.Tables("Jobs")
TextBox2.DataBindings.Add("Text", dt, "JobID")
TextBox3.DataBindings.Add("Text", dt, "JobNumber")
TextBox4.DataBindings.Add("Text", dt, "JobName")
End Sub Tag: thread Tag: 30760
ANN: NetCF/VSD Online Chat tomorrow!
Hello!
Just a note that we'll be hosting an online chat tomorrow concerning Smart
Device Programming with Visual Studio .NET 2003. Members of the development
team will be on hand ready to answer your questions, so bring 'em on!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Title: Smart Device Programming with Visual Studio .NET 2003
Chat Date: July 8th
10:00 - 11:00 A.M. Pacific time
1:00 - 2:00 P.M. Eastern time
17:00 - 18:00 GMT
Description: Please join the members of the .NET Compact Framework and
Visual Studio product groups in this live chat regarding the .NET Compact
Framework and the Smart Device Programming features of VS.NET. The .NET
Compact Framework brings the world of managed code and XML Web services to
smart devices, and it enables the execution of secure, downloadable
applications on devices such as personal digital assistants (PDAs), mobile
phones, and set-top boxes. Please come prepared to ask the tough questions!
To join this chat, please log on via the main MSDN chat page at:
http://msdn.microsoft.com/chats
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--
--
Thanks!
Michael Fosmire
MVP Lead, Windows Embedded/.NET Compact Framework
This posting is provided AS IS with no warranties, and confers no rights. Tag: thread Tag: 30748
How to shutdown emulator programmatically?
Is it possible to shutdown the Pocket PC emulator programmatcially? I can
use
Microsoft.VisualStudio.DeviceConnectivity.ConnectionManagerServer::Establish
Connection() to start up the emulator but I don't find any way to turn it
off. Any ideas?
Thanks a lot,
Sorpor Tag: thread Tag: 30739
Changing web service endpoint.
We are developing in-house .NET CF applications that use web services. Our
development environment includes development, testing, training, and
production servers. Consequently the developers create applications that
point to the appropriate development server. This would not be a problem on
non-.NET CF development because the .NET Framework supports the URLBehavior
property that will cause the web service proxy class to look for its web
service URL in the app.config file. However, since .NET CF development does
not support he System.Configuration namespace that option is not open to us.
Does anyone have any suggestions on how we can accomplish this server
switch? Currently we have to change the TargetURL of the web service
reference; recompile the code; and deploy it to the proper mobile device.
Steve Miller
Secure Pharmacy Plus Tag: thread Tag: 30733
Load modify OpenNETCF.Net classes to PDA
Hi,
I have modified the source code of the OpenNETCF.Net in order to read
the Signal Strength of an AccessPoint. But when I execute the
application on the PDA the following error is generated:
" Could not load type OpenNETCF.Net.AdpaterCollection (which is the
first class of invoked in my program) from assembly OpenNETCF.Net,
Version=1.0.29004.0, Culture=neutral, PublicKey Tken=null."
I build my application and set the Copy Local to true, and add the
reference to the modifyed OpenNETCF.Net.dll.
How do I load this OpenNETCF.Net.dll to the Pocket PC?
Regards,
Marcela
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it! Tag: thread Tag: 30730
Access Assembly Info
Hi,
I was wondering if it is possible to access at runtime the data (e.g.
AssemblyTitle) that is entered in the AssermblyInfo file? I know it in
possible with the full framework, but I have been unable to find any info
regarding the cf.
Any help would be greatly appreciated.
Mark Tag: thread Tag: 30728
URGENT:VS.Net Doesn't deploy to Device
Hi,
I am having a problem with VS.Net 2003 and deploying to an actual 2003
Device. But everytime i try to deploy i get an error the it can't deploy
and it doesn't give informative message.
The device is connected via activesync and when i click on connect to device
and choose "PocketPC Device" it connects
What might the problem be?
thanks
mustafa Tag: thread Tag: 30722
Pocket PC 2003 Emulator
If I install "Windows Mobile 2003 Second Edition Emulator Images for =
Pocket PC - WWE.msi", will the .NET 2003 IDE use it instead of the =
default "Pocket PC 2002 Emulator"? Will I have a choice of either? I =
hate to screw up what's working!
Rick Tag: thread Tag: 30717
Demo'ing Pocket PC app, using InFocus Projector
Now that I have a new Product developed for the PocketPC
using the CompactFramework/MSSqlCE...the sales staff need
a way to Demo this infront of a conference type setting.
What products are available today specifically for the
iPAQ hp devices that are currently on the market. Search
results so far led me to links of businesses that are
potentially out of business.
Thanks! Tag: thread Tag: 30716
ANN: 9Rays.Net releases Spices.VSIP.Net (Spices.Net Visual Studio Integration pack)
ANN: 9Rays.Net releases Spices.VSIP.Net (Spices.Net Visual Studio
Integration pack).
9Rays.Net releases new product in the Spices.Net family - Spices.Net Visual
Studio Integration pack (Spices.VSIP.Net).
Spices.VSIP.Net integrates and delivers full feature set of Spices.Net
(obfuscator, decompiler, modeling and analysis tools) into
Visual Studio.
Expand your development cycle - analyze, build, obfuscate, debug, verify and
deploy your apps in the Microsoft Visual Studio with Spices.VSIP.Net!
For more detailed info please visit http://9rays.net/products/spices
--
Best regards,
Al Ponomarev
9Rays.Net Tag: thread Tag: 30710
DataAdapter.Update and transaction
A simple question: the DataAdapter.Update implements some transaction
internally?
If no how can I do it?
If a put a transaction on the connection used by the DA the
CommandBuilder give me an exception :(
Thanks!
--
Math Parser : http://www.neodatatype.net
Sito Comune : http://www.it-lang-vb.net Tag: thread Tag: 30699
OpenNETCF connection manager.... again -_-
I can't understand why, today my little connection manager component
works no more.
This component uses OpenNETCF connection manager to establish a GPRS
connection. One of the "features" of that library (the opennetcf
one)(and of the underlying microsoft APIs) is that you can't
disconnect if the gprs connection is used by some other application
(as says Neil Cowburn in a previous post). Even with this "feature",
my component did disconnect if the connection was just dialled, and
not used. Tihs was true until yesterday...
This morning I came to work, and, ta-dan! the disconnect method works
no more, no way to disconnect even connections just dialled. I can't
understand why!
Can anyone suggest me some parameters i should check about this
problem? thanks
(I dial a GPRS, exclusive connection and then try to disconnect it
using always openNETCF connection manager)
Francesco Tag: thread Tag: 30696
byte array to image
Dear All
I got a byte array that return from ccd of my device.
It contain a capture image data.
I have to convert it to image type and show it on picturebox.
But, when I try to do this.
picturebox1.image = new bitmap(new memorystream(picByte))
I got a ArgumentException.
Please give me a hand and thanks a lot !!
Joey Tag: thread Tag: 30678
importing Database
i want to import my database in sql server 2000 into sql server ce, in the
Pocket Pc 2002 emulator.
as far as i read, we need a pocket pc to use activeSync, but i am working
with emulator.
what should i do then?
and is there any restrictions when importing from sql server 2000 to sql
server ce.. Tag: thread Tag: 30676
OSGI.NET???
ORIGINALLY POSTED TO microsoft.public.dotnet.framework.compactframework
NEWSGROUP
my letter is about industrial application of .NET Framework and .NET CF.
Particularly, I want to talk about creating something like the OSGi
Framework (www.osgi.org, based on Java) for .NET platform. Are there any
developers/sw-architects who would like to join me? My current focus is a
life cycle management module. I need to install assemblies dynamically to
Global Assemblies Cache (GAC), execute their Start method (if exists) and on
demand stop them (execute Stop method before) and uninstall.
The project is going to be open source. I'm thinking about opening a
SourceForge account and CVS. So, please, let me know if you are interested
or have any questions/ideas, here or by email.
Brief description of OSGi Framework follows...
---8<---
The OSGi service platform delivers an open, common architecture for service
providers, developers, software vendors, gateway operators and equipment
vendors to develop, deploy and manage services in a coordinated fashion. It
enables an entirely new category of smart devices due to its flexible and
managed deployment of services. The primary targets for the OSGi service
platform are devices such as set top boxes, service gateways, cable modems,
consumer electronics, PCs, industrial computers, cars, smart handhelds and
more. These devices that implement the OSGi specifications will enable
service providers like telcos, cable operators, utilities, and others to
deliver differentiated and valuable services over their networks.
The OSGi framework and specification facilitates the installation and
operation of multiple services on a single services platform device (again.
examples being, set-top box, cable or DSL modem, PC, Web phone, automotive,
multimedia platform device or dedicated residential gateway). The
specifications delineate Application Programming Interface (API) standards
for a platform execution environment. Services platforms must support these
APIs in order to conform to the OSGi specification. The APIs address service
cradle-to-grave life cycle management, inter-service dependencies, data
management, device management, client access, resource management and
security. Using these APIs, end-users can load network-based services on
command from the service provider while the platform manages the
installation, versioning and configuration of these services.
The OSGi Alliance is committed to evolving its specifications to meet
emerging market needs. Based on identified requirements, OSGi Expert
Groups -- which address architecture, core platform, and vehicle services --
develop extensions, new service APIs, and new features to simplify
programming, and enhance user administration and configuration management.
OSGi specifications are publicly available. Additionally, the OSGi Alliance
fosters development tools and resources through its website and other means
and enables service providers and device manufacturers to leverage content
and services from a multitude of developers and content developers.
I started my research on this subject almost 1 year ago. It looks like .NET
have virtually everything what OSGi uses from Java, even some things (e.g.
assemblies) are there out of the box, so you don't need to reinvent them.
Release 1 (May 2000)
-----------------------
. Framework
. Log Service
. Http Service
. Device Access
New in release 2 (October 2001)
----------------------------------
. Package Administration service
. Permission Administration service
. Configuration Administration service
. Preferences service
. User Administration service
. Metatyping
. Service Tracker utility (a version for Framework 1.0 is created as well)
New in release 3 (March 2003)
--------------------------------
. Wire Admin service
. Measurement utility
. Start Level service
. Execution Environments
. URL Stream and Content Handling
. Dynamic Import
. Position utility
. IO service
. XML service
. Jini service
. UPnP service
. OSGi Name-space
. Initial Provisioning service
---8<---
With best regards,
sect
sect0r527[At>gmx[Dot>net Tag: thread Tag: 30667
Question about SqlCe Parameters usage
Hello,
I've been using paramters to fill tables in a SqlCe database. This was not
that difficult because I found a couple of examples in Rob Tiffany's book
(Sql CE Database Development with the CF) and on the net.
But now I was wondering if its possible to use paramters to retrieve info
fron the database ? I havent found any exapmles on the net so far :(
Do u have a little code-snappet to show me or maybe a link or just an
explanation ? Tag: thread Tag: 30651
custom combobox
I have build a custom combobox because i needed a slightly different
style.
It works fine, except that when the form is clicked outside the dropdown list when it is open, the list doesnt hide.
Which event should I access to get this? OnlostFocus is not good because, being a combo it never has the focus in the way a textbox does. And mouseup/down etc are outside the control so not fired on it.
What is the recognized way of doing this?
Adam Tag: thread Tag: 30650
Installing NETCF on an embedded board with win CE 4.1
Hi,
I am working on a embedded system with Win CE 4.1 and
try to run an VB Smart Device app on it. The allready installed
CF is not working and so I installed the net cf cab file from
the Visual Studio.NET 2003. The problem is now that after
shuting down the embedded system and boot it again the
CF is gone again. Is there a way to install it permanently.
Hint: I don't have a platform builder so this is now way.
Thanks for all help.
Alex Tag: thread Tag: 30649
Timer and Suspend mode
Hi,
I have a timer going, but I still want it to fire when the device is
suspended (off) and is traveling, say in someone's pocket. Like how the
pocket pc Inbox app checks mail every x many minutes - even if the
device is in your pocket. Is this possible with the stock CF.NET timer?
If not, is there another way?
Thanks,
Dan Diephouse Tag: thread Tag: 30647
How to display both Chinese and English in the same textbox?
I wrote a program with C# in which I need to read lines from a file, which contains both English and Chinese characters, and then display the lines in a textbox. But the Chinese characters are not displayed properly. But if I set Encoding.UTF8 for my streamReader, the textbox display nothing!
Should I read the file as byte or is there any work around?
p.s. I have Chinese Character supported in my testing PDA, th eproblem should during to the encoding process.
Kempton Tag: thread Tag: 30641
RF system
Our company is introducing new RF system. RF handset has CE4.2 and I have to devlope application for that. I am new (just few days) to .net and CE. I have to make list of required software. All I know is, I'll need vs.net. But I am not sure weather I'll need anything else to develope simple application using vb.net.
plz and thx Tag: thread Tag: 30635
Fastest way to build 10000 record dataset on device?
The host currently has Access database. Some day it hopes to grow up into SQL Server. I need to quickly build a dataset on the CE.NET device in order to search and update inventory records. files are transmitted via tcpClient connection.
ANY suggestions????? Tag: thread Tag: 30627
running app from storage cards recommendation
Hello,
I'm having problem running an application from a SD card on a iPaq 2210 ,
searching the archives it seems this is a known problem and AFAIK there is
no solution for it yet :(
So I"m looking for alternatives, is anybody running an application from a
storage card? if so what kind of card you are using on what PPC model.
The reason I need to run it from a storage card is to be able to run the
application, even if the battery gets discharged.
Cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation Tag: thread Tag: 30623
Does WinCE 5.0 support ASP.NET?
HI,all
I know the Windows CE 4.2 .net doesn't support asp.net, but how about
the future version CE 5.0?, Does it support asp.net?
thanks, EMVP Tag: thread Tag: 30612
no edit-and-continue for cf 2.0?
I installed vs.net 2005 and tried edit and continue on cf 2.0 based
projects. VS.Net popped up a message saying that this is not supported.
Wonder why?! Tag: thread Tag: 30600
Thanks to all of you!
This is the last day of my one-year placement. I have already said thank you
to many people at my office but I also owe a big thank you to the online
developer's community! At the beginning of this year I had no idea of the
what's and how's of programming on a mobile device and thanks to all the
help that I have received on this newsgroup I managed to find my way around.
I would like to especially say thank you to Jon Skeet, Ignacio Machin, Paul
Tobey, William Ryan, Ilya Tumanov, Chris Tacke, Alex Feinman, Llyod Dupont,
Peter Foot, Ginny Caughey, Neil Cowburn, Maarten Struys and Alex Yakhnin (in
no particular order!). All of you have been an amazing support throughout
this year!
I am now going away until mid-september.. so no more posts for a while. I am
however planning to develop an application in the CF for my final-year
project at university, so you will probably hear from me then :) (if not
before..).
Thanks again!
jez Tag: thread Tag: 30593
BlueTooth Show Stopper No 2
I have had some success with serial communications between an iPAQ and
a PC using BlueTooth virtual COM ports, but only if I establish the
connection from the PC end (see earlier post)
If I establish the connection from the iPAQ end (using the standard
GUI), my program fails to open the COM port (COM8: on the iPAQ 2210).
Specifically, CreateFile(?) returns error 55. I get the same result
irrespective of whether or not the BT connection has been established.
The same thing happens on an iPAQ 3970 (COM5). Also the third party
mToken terminal emulator program seems to suffer the same problem,
which makes me think that it is not a simple bug in my program.
I believe that the correct behaviour is that if the BT connection is
not established then attempting to open the COM port should cause the
BT GUI to pop up and prompt the user to select a device to connect to.
If the BT connection is already established then the port should just
open.
Has anyone else seen this behaviour? Does anyone know how to work
around it? Tag: thread Tag: 30592
BlueTooth Show Stopper No 1
I am programming serial comm's between an iPAQ and a PC using the
BlueTooth virtual COM ports.
If I establish the BlueTooth connection from the PC end (using the
standard GUI), I can communicate successfully in both directions using
COM5: on the iPAQ. However, if the BlueTooth connection drops out
(e.g. out of range) or if I try to communicate without first
establishing the BT connection, then as soon as I try to send data
from the iPAQ [i.e. WriteFile(hPort,...);], the iPAQ locks up and can
only be recovered with a soft reset.
Has anyone else seen this behaviour? Does anyone know how to work
around it?
I get the same behaviour on an iPAQ 2210 and 3970. Also the third
party mToken terminal emulator program seems to suffer the same
problem, which makes me think that it is not a simple bug in my s/w. Tag: thread Tag: 30591
name property???
where is the name property!?
i create controls dynamically in a loop, but i cant give them name!,
how can seperate them then? Tag: thread Tag: 30590
MouseUp Event in Windows CE 4.2 ??
Does anybody know how to intercept the MouseDown and MouseUp Event on a button in a Form under Windows CE ?
I can only get the MouseDown Event from the Form but not when I click on a button - but I would need the events down and up ?
Please urgent help - best with a little example ?!
Thanks very much
Max
email: mayr@net2000.ch Tag: thread Tag: 30582
Disabling the SIP option menu but not the whole thing...
Hi,
I'm trying to lock the device in my application, i.e. make sure it's impossible to get out of it.
I'm being midly successful so far. It works fine as long as the SIP is disabled, however if I enable it (which I need to), the SIP comes with an option menu (right, bottom of the screen), which has several options: Options, Keyboard, etc...
The problem is that by choosing this Option menu, the 'Start' menu is enabled (I disable it programatically at start-up), so the user can do everything.
Is it possible to enable the SIP but disable this option menu?
Thanks. Tag: thread Tag: 30578
PDA (WinCE 4.1) <---data---> WebService = low speed of data transf
I'm transferring DataSet (for example) over 100 Mb LAN from WebService to PDA (WinCE 4.1 + Compact Framework SP2), and i see that it takes about 2-3 seconds to transfer 4K of DataSet data. DataSet is small - it's contains schema and 1 datarow. This is not problems of LAN, and this is not problems of WebService - i called WS functions from PC and it takes less then a second
How i can improve perfomance of PDA? and that is the reason of delay?
P.S. - sorry for my english :) Tag: thread Tag: 30576
datagrid edit
Hi all
I am having a problem saving the contents of an edited datagrid back to the underlying SQL CE Database. I'm fairly new to .Net so I'm not even sure if this is possible.
I have a datagrid on my form which I have populated using a datatable
fstrTableName = strTableName
strSQL = "Select * From " & fstrTableName
Dim cmd As New SqlCeCommand(strSQL, ssceconn)
da = New SqlCeDataAdapter(cmd)
fsqlCB = New SqlCeCommandBuilder(da)
da.UpdateCommand = fsqlCB.GetUpdateCommand
table.TableName = fstrTableName
da.Fill(table)
DataGrid1.DataSource = table
This bit seems to work fine.
I then have a text box on my form which gets populated with the contents of each cell on the grid as you navigate around (copied from an example somewhere). If the user then updates the value in the text box, it is then updated automatically in the grid.
currentCell = DataGrid1.CurrentCell
table.Rows(currentCell.RowNumber).BeginEdit()
table.Rows(currentCell.RowNumber).Item(currentCell.ColumnNumber) = currentCellData
table.Rows(currentCell.RowNumber).EndEdit()
table.AcceptChanges()
Me.DataGrid1.Update()
This also seems to work fine.
However, when I close the form the changes are not being saved to the underlying database. I am doing a da.Update(table) in the closing form procedure, but this does not seem to make any difference.
Does anyone know whether what I am doing is possible, and if so, where I am going wrong.
Thanks Tag: thread Tag: 30571
Inputpanel Exception
Greetings,
I am trying to implement an InputPanel (SIP) using Visual C# .NET. and the
PPC 2002 emulator.
From what I have read its seems straightforward, I have a mainMenu and I
just dropped an inputPanel on my main form, but when I set
inputPanel1.enabled = true; it throws the exception:
"An unhandled exception of type 'System.Exception' occurred in
Microsoft.WindowsCE.Forms.dll"
I have read of others having this trouble but no solution appears to work
for me.
I am new to C#, Visual Studio and the CF and am sure the answer is simple.
Any help would be very welcome.
Thanks,
John.
. Tag: thread Tag: 30570
how to send FAX via VB.net?
hi, does anybody know how to send FAX via VB.net?
is it possible with TAPI? any code samples?
thanks in advance
MG Tag: thread Tag: 30568
Javascript????
I want to develop an application to access an IP cam from a PPC. I have a javascript code to access the streaming video of the cam through internet. Can I use the Javascrit in VB.net for smart device application or there is a better way....??? Tag: thread Tag: 30553
Modify source code of OpenNETCF.Net
Hi,
I appreciate if you could help me. I need to modify the source code of
the AccessPoint class of the OpenNETCF.Net library, in order to
deactivate the method that returns the Signal Strength. I have already
done this, but when
public int SignalStrengthInDecibels
{
get
{
return rssi;
}
}
I build the solution, the following error is generating:
Cryptographic failure while signing assembly
'C:\OpenNETCF.Net\obj\Debug\OpenNETCF.Net.dll' -- 'Error reading key
file 'C:\OpenNETCF\OpenNETCF.SDF.snk' -- The system cannot find the file
specified. '
Regards,
Marcela
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it! Tag: thread Tag: 30550
Listbox and Horizontal Scrollbar
This is a multi-part message in MIME format.
------=_NextPart_000_001E_01C4629D.F651A5B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
How do you add a Horizontal Scroll bar to a Listbox.
=20
I am displaying information inside of a listbox that is too long to read =
so I need a horizontal scroll bar. If this can not be done what other =
method would be useful for displaying this type of information.
=20
Thanks,
Page
------=_NextPart_000_001E_01C4629D.F651A5B0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT face=3D"Times =
New Roman"=20
size=3D3>How do you add a Horizontal Scroll bar to a Listbox.</FONT></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><?xml:namespace =
prefix =3D o ns =3D=20
"urn:schemas-microsoft-com:office:office" /><o:p><FONT face=3D"Times New =
Roman"=20
size=3D3> </FONT></o:p></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT face=3D"Times =
New Roman"=20
size=3D3>I am displaying information inside of a listbox that is too =
long to read=20
so I need a horizontal scroll bar. If this can not be done what other =
method=20
would be useful for displaying this type of information.</FONT></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><o:p><FONT =
face=3D"Times New Roman"=20
size=3D3> </FONT></o:p></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT face=3D"Times =
New Roman"=20
size=3D3>Thanks,</FONT></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT face=3D"Times =
New Roman"=20
size=3D3>Page</FONT></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT face=3D"Times =
New Roman"=20
size=3D3></FONT> </P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT face=3D"Times =
New Roman"=20
size=3D3></FONT> </P></FONT></DIV></BODY></HTML>
------=_NextPart_000_001E_01C4629D.F651A5B0-- Tag: thread Tag: 30546
LAN/GPRS connection Identification
Dear All,
I have a program in PPC 2003, which connects to remote server. When PDA is connected to a desktop which is on the LAN, my application uses LAN to connect to remote server. When the PDA is not connected to any PC it connects to the remote server thru GPRS.
Now the problem is this switching between LAN and GPRS is done manually. I want to do it programmatically.
Is it possible to know thru API calls, whether the PPC is connected to a LAN. I have tried to use Connection manager; if I provide connection type "ISP" it connects to GPRS. I don't know which connection type will work with LAN. Any suggestion?
Thanks and regards
Arindrajit Tag: thread Tag: 30540
SQL Query problem
Hi,
I've implemented the following code :
public int Count()
{
int count=0;
SqlCeConnection con = new SqlCeConnection(@"Data Source=\My
Documents\DICT.sdf");
con.Open();
string tSQL = "SELECT COUNT(*) FROM Entity";
SqlCeCommand cmdSelect = new SqlCeCommand(tSQL, con);
cmdSelect.CommandType = CommandType.Text;
SqlCeDataReader dtr = cmdSelect.ExecuteReader(CommandBehavior.Default);
count = dtr.GetInt32(0);
con.Close();
return count;
}
Ok, the code seems quite straight-forward to me. I got a Table (Entity) in a
database (DICT.sdf). Now I'd like to know how many rows are in this table.
So I use the COUNT aggregate function of SQL. The returned value I want to
place in the int variable count. I do so by making a datareader and reading
the value from there....
But i get the following error :
No data exist for the Row/Column
I dont really understand what's meant with that and how to get it to work...
Any ideas ??? Tag: thread Tag: 30537
is it possible to create a background thread and from this launch the form
every N hours????
If it is, how I can do this???