all groups > dotnet compact framework > march 2004 > threads for monday march 1
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
simple textfile reader - doesnt support extended ASCII?
Posted by Jacco at 3/1/2004 11:50:34 PM
Hi,
I have this simple textfile I want to read from disk. It works fine, only
characters like ö ÿ and ü are skiped during the import.
I open a streamreader like this:
sr = System.IO.File.OpenText(QUESTIONS_FILENAME)
And read each line like this:
SingleLine = sr.readline()
Any hints,... more >>
why not support .ToString("##0.00")
Posted by neeme at 3/1/2004 10:34:00 PM
everyone:
double d = 1.23;
string s = d.toString("##0.00");
s is "1.23" !
why not is " 1.23" ?
Thank you!
... more >>
Modifying the Listbox Control
Posted by Thiago A. at 3/1/2004 7:06:02 PM
Hi,
I was wondering if I can modify the listbox control using all the =
properties and methos of the default listbox control, BUT,
placing an image on the right of the display text.
Any ideas?
thanks!... more >>
GSM+GPRS Modem
Posted by coke at 3/1/2004 6:43:34 PM
I'm creating an app using a Symbol PDT Scanner.
Why can I connect to GSM modem and make a GPRS link to Internet?
Anyone can help me?
Greetings,
Jorge M.
Stgo, Chile
PD: I don't know if this question was previously released, but I need a
light on this black way... =( and excuse me... ... more >>
convert string to integer (hex)
Posted by Panhuber Astrid at 3/1/2004 5:04:29 PM
hi!
can anyone please give me a hint, how to convert a hex-string to an integer?
I know how to convert a decimal string (such as "51", "27", ...):
n = System.Convert.ToInt32(str);
But how to convert a hex string (such as "4C" or "0x4C")? If I use the same
function, it throws me an excepti... more >>
Lone Emulator in desktop
Posted by Felipe T. at 3/1/2004 4:07:14 PM
Iv got a Compact Framework application, and i want to make a "sample" of it
for desktop computers.
So im thinking about using an emulator with my application, then use it on
desktop for training/ sampling purposes.
The problem is that i dont know if this is possible.
And if it is, what steps ... more >>
C# Table Component
Posted by Scott Brewer at 3/1/2004 3:01:10 PM
Hi guys
Is there a windows forms componet that you can use to display data in a tabular grid? I guess I'm looking for something similiar to the JTable object from Java. I just want to be able to add/remove rows to a table dynamically, (ie. I dont need to connect to a database or another remote dat... more >>
textBox alignment
Posted by Carlos at 3/1/2004 2:54:22 PM
Hi all,
when trying to get my text values aligned on the center,
the CF does not let me (the property is not exposed). I am only
able to align the text on left. Is this a bug, or an undocumented feature.
Thanks,
Carlos.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Bug With TabControl Object
Posted by Felipe T. at 3/1/2004 2:38:58 PM
Hi guys.
I had a tabcontrol object with 4 tabs, and it worked Correctly.
Now i must add an 5th tab...
And voilá! The control scrambles all my tabs....
Why the TabControl Object has this bug?
Any way to solve it?
Thx,
Felipe
... more >>
Http handler - need some help
Posted by Taryon at 3/1/2004 2:23:43 PM
Hi all!
I am using the code from the article:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/httpcomm.asp
well. i made some changes. first changes in the server program:
using System;
using System.Web;
using System.IO;
using System.Data.Odbc;
using Sy... more >>
How to create a Public Form property
Posted by Sarah Smith at 3/1/2004 1:21:09 PM
Hello,
I've been trying to create a public property on one form that is
"Setable" from another form.
I have a Sub Main() which creates 2 public instances of the two forms
that make up the project and then loads the first main form using
ShowDialog.
The menu on this form lets you display ... more >>
Any DateTimePicker in CF?
Posted by Atley at 3/1/2004 12:45:19 PM
I am looking for a control to make it easier to add dates in a PPC
application.
Either a DateTimePicker or a masked edit control would be great for this,
but I have not been able to find either.
Any suggestions?
Thanks
Atley
... more >>
[BUG?] TextBox.Text.Insert(...) -> TextBox.SelectionStart = 0
Posted by Peter B at 3/1/2004 12:19:07 PM
Below is a small project that shows how the SelectionStart value changes
when using Insert on a TextBox's Text property.
1. Why is SelectionStart set to 0 when performing the insert?
2. Does it have to do with the nature of strings and the fact that you set
the Text property with the return va... more >>
Creating JPEG using Bitmap()
Posted by darkvisor2003 NO[at]SPAM yahoo.co.uk at 3/1/2004 11:27:49 AM
Hi,
I'm trying to display a JPEG image which I have in a memory stream.
I'm using
Bitmap img = new Bitmap( imgStream );
This works fine when I target an XP box but fails to decode the JPEG
correctly when I target the Compact Framework and use the Pocket PC
2002 & 2003 emulator. The JPEG ... more >>
Turning on the phone on an XDA2
Posted by Jon Skeet [C# MVP] at 3/1/2004 11:21:58 AM
I've found that the OpenNetCF ConnectionManager can correctly initiate
a GPRS connection *if* I've already got the phone part of my XDA2
"switched on". I've had a look at the Pocket PC SDK documentation, and
I can't find any way of programmatically switching the phone on though,
which is som... more >>
How do I create a single CAB file for my application
Posted by Hafsteinn Gunnarsson at 3/1/2004 10:25:04 AM
I have written an application in .NET 2003 that I want to deploy on a Pocket
PC. How do I create a single CAB file that I can run on my PPC?
... more >>
Oracle or Sybase ADO.NET driver ?
Posted by Lloyd Dupont at 3/1/2004 10:11:38 AM
I wonder if there is any remote possibility of finding somewhere an ADO.NET
driver for either Oracle or Sybase which would work on the Compact Framework
.....
Anyone knows ?
... more >>
Printing questions
Posted by Don Strenczewilk at 3/1/2004 10:05:11 AM
I'm working on a fairly simple app for our shipping department. Basically, a
Symbol bar code scanner communicates with a webservice, allowing the
operator to scan skids onto packing slips, and then print the packing slip.
The printing will be done on the webservice server using Crystal Reports.
... more >>
SP2 (beginner)
Posted by Ricardo LP at 3/1/2004 9:51:59 AM
I´m visual studio 2003 user and I want to update my system to use the new
..net compact framework sp2.
What do I have to download and install to update my system?
I´ve download and Install the .NET Compact Framework 1.0 SP2 Redistributable
but in my project I can´t see for example the forec... more >>
PInvoke SysFreeString on Compact Framework
Posted by Brent Lang at 3/1/2004 9:31:04 AM
What DLL do I need to import SysFreeString on the Compact Framework? I need to link with OleAut32.lib to build my native DLL, but I don't see a OleAut32.dll file on my PocketPC. I just need to know what DLL SysFreeString is in so I can correctly PInvoke it from my Compact Framework application. T... more >>
Newbie graphic question
Posted by Mike_Deck at 3/1/2004 9:01:08 AM
I have a simple problem that I just cannot figure out. I have a picturebox on a form that displays an image. I would like a red dot to appear on the picture when the user clicks on a certain location. here is the code that is not working
dim gr as graphic
Private Sub global5_MouseMove(ByVal s... more >>
Programatically enbling Wireless
Posted by Trevor at 3/1/2004 7:16:08 AM
Hi
I have a Dell Axim X3 PDA and a ViewSonic V37 PDA, My app is talking to a desktop app wirelessly using UDP comms. If the PDA is powered off and then powered on the Wireless disconnects and then attempts to reconnect. This can take up to 10 seconds and causes problems in my application.
Is t... more >>
Debugger doesn't stop running when application exits
Posted by Brent Lang at 3/1/2004 6:41:09 AM
Hello.
I am writing a PocketPC 2002 app using C# and Visual Studio .NET 2003. I have disabled "Smart Minimize" by setting my MinimizeBox property to false.
When I click the "OK" button, I am trapping the Closed event for my form. When I step through, after the form closed event, my code return... more >>
|