all groups > dotnet compact framework > march 2004 > threads for wednesday march 3
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
wierd cast problem: An unhandled exception of type 'System.InvalidCastException' occurred in...
Posted by Jeroen Ceuppens at 3/3/2004 9:16:40 PM
Hi, i get this error:
An unhandled exception of type 'System.InvalidCastException' occurred in
AviewerV1.exe
But, I use the same code also in another programma, and there it
works!?!?!?!?!?!?!?
There error is given on:
colormapdata[z]=(byte[])myEnumerator.Current; (changing it in
col... more >>
Call Native Dll Function
Posted by Charles Wang at 3/3/2004 7:09:28 PM
Hello Everyone!
I want to get data from a A/D card.
All functions that control this A/D card are included in ADCard.dll, native
code;
I import functions using DllImport. Other functions, such as Initial() and
StarIntr() etc, work fine except ADResult();
ADResult() is defined as int __s... more >>
Help - RDAPull problem
Posted by chris-s at 3/3/2004 6:30:20 PM
Hi folks,
Our app uses RDA pull's to retreive it's data from several tables and this
all works fine when devices are either connected on a LAN or on a dial-up
connection, EXCEPT at a new site where they have been using LAN connections
fine, but have now started to implement remote dial-up conn... more >>
Prevent keydown event to continue in list control
Posted by Peter B at 3/3/2004 4:45:44 PM
Hi!
I am using the keydown event on my form controls to execute certain
operations (the handheld device I am using has a full alphanumeric
keyboard). For instance Ctrl + S saves the current object. This happens
whatever control is focused on the form, so I have added keydown
eventhandler on a... more >>
ce emulator missing controls
Posted by PCH at 3/3/2004 4:11:36 PM
When I try to debug/deploy my C# .netCF project to the virtual emulator I
get a debug break error saying that my controls aren't available.
Specifically the windows media player control.
How can I get the com control into the emulator?
I believe the emulator already has wm9 on it, but not ... more >>
REPOST: Anybody got localisation working by updating exe only?
Posted by Daniel Moth at 3/3/2004 3:35:46 PM
----- Original Message -----
> Hi
>
> I have an exe with a bunch of resources.dlls... The localisation mechanism
> works fine as long as the satellite assemblies and the main one
> have the same version number. If, however, I update the EXE only then
> localisation fails (i.e. even though t... more >>
About asynchronous event triggering form popups .
Posted by cyril at 3/3/2004 3:11:08 PM
I am trying to pop a dialog box from a thread but I run into problems so far. At the beginning My MainForm pops up a ActiveDlg during the MainForm_OnLoad, and stay as is. Then later a thread listening a socket triggers an event that must pop up a EventDlg form, no matter which form is active on the ... more >>
MultiSelect TreeView
Posted by Andrej Kampo¹ at 3/3/2004 2:56:20 PM
Hi everyone ,
please help my how make multiselect treeview.
Compactframework not supported TreeView.GetNodeAt(,x,y).
How selected TreeNode over mouse position ?
Thank you,
Andrej
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
bitmaps & listview & sp1
Posted by Panhuber Astrid at 3/3/2004 2:53:48 PM
hi!
I have an application with an listview. every item in this listview has one
of three possible bitmaps (16x16, 32bpp).
The application works ok. But if I install SP1 on my device, the bitmaps
have a wrong back color (black instead of white).
Is this a known problem? how to work around ... more >>
SYSTEM_SR_ENU.cab
Posted by Thore Berntsen at 3/3/2004 1:49:48 PM
Every time i deploy my app from VSS2003 the System_SR_enu.cab is deployed
with it. And I have to answer if I want to have it reinnstalled on the
device. How can I avoid this?
Thore Berntsen
... more >>
Buttons & multiline text
Posted by Brian H at 3/3/2004 12:43:17 PM
Using VB.NET, is there a way to make the button text wrap multiple lines?
The form designer seems to work with something like:
button1.text = "Line 1" & VisualBasic.ChrW(10) & VisualBasic.ChrW(13) &
"Line 2"
.... but nothing seems to work (using VbCrLf, et.al.) when deployed.... any
ideas?
... more >>
Datagrid currencellchanged event
Posted by jeremymartinson NO[at]SPAM hotmail.com at 3/3/2004 11:24:39 AM
I have a datagrid that I'm populating using a datasource.
I have code that needs to run on the currentcellchanged event.
After populating the grid, the currentcell is Row 0, Column 0.
When I tap on the first row of my grid, the currentcellchanged event
isn't firing--because the current cel... more >>
problems with intelliprog RAS assembly
Posted by Andreas Möller at 3/3/2004 11:19:21 AM
Hello NG,
I still have problems to generate automatically phonebook entries with
intelliprog assembly. P.e. the checkbox to get server-assigned IP adress
isn't checked. I have made tests with different devices (HP jornada, skeye
mobile, captura integral). First device runs on Pocket PC, second... more >>
Execute
Posted by John at 3/3/2004 10:59:40 AM
Hello,
I have developed a program for my pocket pc. I also have developed a
program for my desktop. Is there a way that I can transfer a program from
my pocket pc to the desktop and run it on the desktop using the .NET CF? I
know how to do it going the other way around, but I don't think th... more >>
[][] value [][] in dropDownlist
Posted by Rafael Metring at 3/3/2004 10:56:59 AM
What's this two box [][] after and before of the text in DropDownlist..
in sql this box display too.
All register have that ([][]) and dont's blank space..
Any Suggestions?
... more >>
Form always on Top
Posted by Dante at 3/3/2004 10:56:06 AM
How do i keep a form always on top, like the TopMost Property of a form does, which is not included in the compact framework?... more >>
RGB Color Combinations
Posted by Richard Kucia at 3/3/2004 10:04:42 AM
I have a simple question about RGB color coding under the CF. My Axim
supports 4096 colors, which is equivalent to 16 reds * 16 greens * 16 blues.
I assume this means that the lowest and highest valid RGB codes are (0,0,0)
and (15 * 16, 15 * 16, 15 * 16) or (0xF0, 0xF0, 0xF0). Does this mean that... more >>
Marshalling Structures
Posted by Kevin Hutchison at 3/3/2004 9:06:05 AM
Every example I have seen marshals structures containing "blittable" types
by reference. Is it possible to marshal it by value? I am getting the
System.NotSupportedException and every type supported by the marshaller
appears to be sized to 4 bytes (long can only be passed by ref).
Second que... more >>
Linking objects...
Posted by Doogman at 3/3/2004 5:49:37 AM
I have some questions about performance efficiency in C# on compact
framework in relation to Object design.
Lets say I am creating two classes, Car and Wheel.
Now, is it better performance to create a variable of WheelID in both
classes and use that ID as an index to wheel when needed? Or ... more >>
compact framework tabcontrol problem
Posted by jmrieman at 3/3/2004 5:46:13 AM
Call me a newbie... hopefully this will be an easy answer for you experienced coders. I have a simple tabcontrol with 3 tab pages. my problem is that I use the "selected_Index_changed" event, when I select a tab at runtime the panel that I associate with each tab page will not be visible. The only p... more >>
how to change CultureInfo.CurrentCulture in CF
Posted by Lina at 3/3/2004 12:51:05 AM
Hi there
I would like to know how to change CultureInfo.CurrentCulture to specific culture like ("zh-TW"), in .NET I use Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("zh-TW") to let it work. Pls advise
Lina... more >>
S.O.S vsd_config.txt
Posted by Evagelos Papadopoulos at 3/3/2004 12:38:29 AM
The .inf file generated by VS 2003 when the build cab option
is selected includes entries for a vsd_config.txt.(cpu). It seems
that it works together with the vsd_setup.dll.
Has anyone any idea of what exactly this file is and is it really
necessary to be included in the .inf file as in all th... more >>
openFileDialog and saveFileDialog InitialDirectory
Posted by JB at 3/3/2004 12:33:19 AM
Is there a simple workaround for the limitation in open/save FileDialog
that doesn't allow to use a directory NOT under \\MyDocuments? I want my
users to be able to read/write to, say, \\Program Files\\MyApp by
navigating with a dialog like open/saveFileDialog (and don't want to pay to
a thi... more >>
|