all groups > dotnet compact framework > february 2004
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
GetDiskFreeSpaceEx API call
Posted by Pinkesh at 2/29/2004 9:01:14 PM
Hi all
I want to use the GetDiskFreeSpaceEx API call in my VB.NET code
I use the declaration as follows
<DllImport("coredll.dll")>
Public Shared Function GetDiskFreeSpaceEx(ByVal directory As String,
ByRef lpFreeBytesAvailableToCaller As UInt64,
ByRef lpTotalNumberOfBytes As... more >>
XML problem
Posted by Balint Toth at 2/29/2004 8:47:08 PM
Hi,
I read an XML document with the following code:
const String filename = "probe.xml";
XmlTextReader reader = new XmlTextReader(filename);
bool masodik = false;
while (reader.Read()==true)
{
switch (reader.Name)
{
case "Title":
reader.Read();
... more >>
Problem with references
Posted by Zanna at 2/29/2004 7:54:41 PM
Hi again :)
I would like to know how you manage the references in your projects and
solutions.
When I'm in debug I can have a solution with more projects, i.e: one exe and
two dll referenced by the exe.
Ok, when the dll are Ok I reopen the exe-project, but the references still
point to the... more >>
Sending files to PocketPc
Posted by Zanna at 2/29/2004 7:49:23 PM
Hi.
My question is: can I send a file from my PC to a specified folder into the
PocketPC without passing by the ActiveSync explorer window?
I want to do a little app for the costumers that do an automatic upload, but
you know... I don't want to stay 1 hour at the phone with the *l*user to do... more >>
pocket pc emulator problems
Posted by jg at 2/29/2004 6:50:55 PM
Hi,
Im having some problems with pocket pc 2003 emulator in visual studio .net
2003. When I deploy an aplication to the emulator my program doesnt pop up
in the emulator, the information in visual studio status bar is "finishing
application" and then "ready", and I noticed that VS doesnt jump in... more >>
Textbox readonly -> but not with readonly property
Posted by Milosz - [playseven.com] at 2/29/2004 6:43:29 PM
How to make TextBox readonly without using the Readonly or enabled property.
Setting these properties to true change the colors of the textbox, and i
want to avoid this.
thx
--
-> Milosz Weckowski
www.playseven.com
... more >>
Control Color
Posted by David Bacon at 2/29/2004 6:11:29 PM
I have a button on a form that I need to change the Background Color, or
make it transparent. This is what it looks like-
this.button1.Location = new System.Drawing.Point(48, 88);
this.button1.Size = new System.Drawing.Size(48, 24);
this.button1.Text = "button1";
this.button1.BackColor=C... more >>
unsopported SizeF in .net compact? (determine label text size)
Posted by Jacco at 2/29/2004 4:15:14 PM
I wanted to see if a texts fits into a label and I created this code:
With lblOptionC1
Dim gfx As Graphics = picMainScreen.CreateGraphics
Dim FontSize As New System.Drawing.SizeF
FontSize = gfx.MeasureString(.Text, .Font)
But the line "Dim FontSize..." results in an error which sa... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Q : How To P/Invoke SHChangeNotifyRegister?
Posted by Marauderz at 2/29/2004 10:55:50 AM
The fun never ends with P/Invoke does it? :) Anyway I'm trying to call the
function SHChangeNotifyRegister which is defined as :-
BOOL WINAPI SHChangeNotifyRegister (
HWND hwnd,
SHCHANGENOTIFYENTRY * pshcne );
-----
It needs a pointer to a SHCHANGENOTIFYENTRY structure which looks like this
... more >>
Exception setting SocketOption
Posted by Milosz - [playseven.com] at 2/29/2004 5:59:40 AM
Dim EP As System.Net.IPEndPoint = New System.Net.IPEndPoint(mIP, mPort)
Dim S As Socket = New Socket(EP.AddressFamily, SocketType.Dgram,
ProtocolType.Udp)
S.SetSocketOption(Sockets.SocketOptionLevel.Socket,
Sockets.SocketOptionName.SendTimeout, Me.mTimeOUT)
.......
it crashes with Ex... more >>
datagrid with numericupdown
Posted by Philip Gray at 2/28/2004 10:11:08 PM
Hello!
Is it possible to create a column in a datagrid that displays as a
numericupdown control?
If anyone has any samples of this, I'd be most grateful. I've tried ripping
off the datetimepicker example on MSDN with no success and I've found a lot
of ugly workarounds in various forums, bu... more >>
How to export data to an excel file?
Posted by mic at 2/28/2004 9:31:06 PM
hello
I wanna export some data to an excel file, create and save it. Is that possible
my platform is wince 4.2, c#
thanks for your suggestions
-mic... more >>
Showing Bitmap Byte Array in a picture Box
Posted by Y. Sivaram at 2/28/2004 2:22:04 PM
I am getting a bit map byte array from a digital camera and I would like to
show it on a picture box control. Is it possible to do this?
... more >>
TypeLoadException : Typ System.Windows.Forms.Control
Posted by Mark Johnson at 2/28/2004 12:08:08 PM
..NET Framework.Compact SP2 : Pocket PC 2002
I have created a Designer support DateTimePicker with CultureInfo support.
Following the instructions explained at :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/customctrlscompactfx.asp
I got this to work in the... more >>
P/Invoke
Posted by Y. Sivaram at 2/28/2004 11:31:41 AM
I want to P/Invoke the following API
extern "C" __declspec(dllexport) BOOL SDIOCamData(HANDLE hCom, Imagecolor
&imgclr,UCHAR *ScreenBufShow,DWORD &ll) ;
typedef struct imgcolor_struct {
UCHAR avRed;
UCHAR avGreen;
UCHAR avBlue;
UCHAR avY;
}Imagecolor;
Is the following VB.NET e... more >>
Smartphone 2002 options
Posted by chris-s at 2/28/2004 10:55:56 AM
Hi folks,
What language options do I have for developing apps to run on 'Smartphone
2002' devices and which database options?
Chris
... more >>
Magstripe reader on Symbol PPT2800
Posted by Mike at 2/28/2004 10:15:40 AM
I am trying to use the 3006-00 magstripe reader attached
to a Symbol PPT2800 using Pocket PC 2002 with VB.NET. I
can successfully get the examples to work -- but the
sample uses a 'simulated' device that runs simulated data
over and over again. I expect I need to programatically
create a... more >>
Keyboad Buffer
Posted by aliarifpk NO[at]SPAM hotmail.com at 2/28/2004 3:08:09 AM
Dear All,
I want to capture the keycode from keyboard buffer in VB.Net.
Actually, I want to make a TSR(Terminate And Stay Resident) utility
which continuously look at the key strocks of keyboard and as soon as
a special key combination is pressed, it will invoke a function to
perform a series ... more >>
P/Invoke Translation tables
Posted by Y. Sivaram at 2/27/2004 10:36:52 PM
Hi,
I am a new CF programmer from a VB background.
Now I am trying to get in terms with P/Invoke to get a HP camera working.
One of the major problems I have is that I couldn't find a single source
which says if the C/C++ data type is this, then use this VB.NET data
type/structure. Even t... more >>
Marshaling Structure
Posted by Kevin Hutchison at 2/27/2004 9:17:10 PM
Is my understanding here correct?
When an extern function prototype requires a structure to be passed by
reference, the marshaler creates a copy of structure in unmanaged memory and
pushes a pointer to the memory location on the call stack. Upon return from
the call, the marshaller frees the ... more >>
Strange problem
Posted by Floyd Burger at 2/27/2004 8:32:08 PM
OK, I can create a PocketPC program, basically a "Hello World", and deploy
it to my PocketPC (ver 4.20). When I try to run the program on the
PocketPC, it shows the little wait cursor for a split second, then
nothing...my program isn't running...no error message...nothing.
The cgacutil file o... more >>
HP IPAQ Photosmart Camera
Posted by Y. Sivaram at 2/27/2004 7:34:27 PM
Hi,
Does anybody had any success in accessing this camera programmatically?
I am trying to use the SDK provided by SDK and god stuck in displaying the
Preview image. Anypointers in this regard will be much appreciated.
Best Regards,
Y. Sivaram
... more >>
DisplayMember / ValueMember Question
Posted by james_stutz NO[at]SPAM hotmail.com at 2/27/2004 7:27:21 PM
HERE'S THE SHORT VERSION OF MY QUESTION:
When using the DisplayMemeber property of a combobox, is it possible
to concatenate multiple fields from a dataview for use as the value to
display, or do you have to handle the concatenation in the dataset?
HERE'S THE IN-DEPTH DESC OF WHAT I'M TRYING ... more >>
Unload forms in .Net Compact Framework
Posted by snarala NO[at]SPAM subsystem.com at 2/27/2004 7:05:52 PM
Hi
I want to know can we Unload forms in .Net Compact Framework.I am
working with eVB at present, where I cann't Unload forms in eVB.
Thanks
NS... more >>
zlibce.dll
Posted by Eduardo Pavinato Klein at 2/27/2004 5:58:07 PM
Does anyone has PInvoked zlib.dll?
I think I have a mistake. For example, is it correct to use:
[DllImport("zlibce.dll")]
public static extern IntPtr gzopen (string path, string mode);
for the evc++ function
gzFile gzopen (const char *path, const char *mode);
Thanks,
Eduardo Pavinato ... more >>
OpenNETCF problem
Posted by Balint Toth at 2/27/2004 5:50:21 PM
When I try to deploy my app from .NET VS 2003 to the device, the following
error message come:
Copying OpenNETCF.SDF.smp.armv4.CAB
Failed copying C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows
CE\Smartphone\wce400\ARMV4\OpenNETCF.SDF.smp.armv4.CAB t... more >>
DataBind
Posted by Rafael Metring at 2/27/2004 3:44:53 PM
Hi
How can I vinculate my data to datagrid?
In vb.net + asp.net I use this
......
dim dr as SqlDatareader = myCommand.ExecuteReader()
DatagridModel.Datasource = dr
DatagridModel.DataBind()
I am trying use this in VB.net pocket
....
dim dr as sqlCeDataReader = mycommand.executere... more >>
event not firing
Posted by jayderk at 2/27/2004 3:16:04 PM
Hello all,
I am working on a form trying to get a eventhandler to fire when I tap on a
label box..
I used the VS UI (not a custom label box) to create the label box.... then
added the mouseUp event
like so
public frmMain()
{
//
// Required for Windows Form Designer support
//
Initia... more >>
MenuItem.Popup
Posted by Lloyd Dupont at 2/27/2004 2:21:48 PM
is tere anyway of being aware when a menu popup ?
any idea ?
... more >>
Adding a New record to SQLCE
Posted by jeffg22 NO[at]SPAM mindspring.com at 2/27/2004 2:09:25 PM
I have a SQLCE table with a GUID for a primary key. I understand (I
think) that, when adding a new record, I don't specify the primary key
value. But how do I then retrieve the primary key value for the
just-added record? (I'm using vb.net)
Thanks for your help.
- Jeff... more >>
NetCF Dlls
Posted by Felipe T. at 2/27/2004 1:40:33 PM
Hi, in my 2 projects i have some shared DLLs,
i want these DLLs to be used only by these projects.
I could use a password and things like that, but well, the DLLs will ONLY be
used by these projects.
Im wondering if i put all the project Stuff in the same namespace and use
Friend classes, the... more >>
Cloning project from CF to regular .NET
Posted by Garrick at 2/27/2004 1:36:05 PM
Is there an easy way to dup a project via changing switches in a project/solution file? I have an app that runs under CF .NET, but, in case the Pocket PC is broken, users will need to enter data via PC. I'd like to use the CF app code, and just rebuild it for PC settings, so I do not have to clone a... more >>
Using DateTimePicker in a Listview
Posted by Zac Maclean at 2/27/2004 1:04:35 PM
I have read up on the MSDN site about the uses of the DateTimePicker, and
have gotten the code to work successfully using a label as placeholder. I
want to place the picker in a Listview, set it to "today" then allow the
user to pick a new day for scheduling. I can handle the events after that.... more >>
IBuySpy Delivery Deployment Error
Posted by Terry at 2/27/2004 12:46:08 PM
Hi All
New to .NET Compact Frame work and am trying to run the IBuySpy Deliver Sample Application, but get the following error
Read timed out
Here is the build and deployment output
------ Build started: Project: IBuySpyDevice, Configuration: Debug Pocket PC -----
Preparing resources..
Up... more >>
Using Shell Execute to open IE
Posted by Stefan Mähr at 2/27/2004 11:31:29 AM
Hello NG
I use the following code (taken from opennnetcf.org) to shell the Pocket-IE.
If i do so, my programm shuts down. IE is started but not activated.
Any idea why?
Thanks for your help in advance
Imports System.Runtime.InteropServices
Imports System.Text
Class SHELLEXECUTEEX
P... more >>
DataGrid & ScrollBars
Posted by Angel Montesinos at 2/27/2004 11:09:27 AM
I want to know when the scrollbars are moving.
I intend to use the protected propoerties VertScrollBar and HorizScrollBar
but these is not present in .NET CF.
Any sugerence?
... more >>
Why i dont have this dll?
Posted by Taryon at 2/27/2004 11:01:36 AM
Hi guys!
My pocketpc is a Siemens SX45 (phone) or a Cassiopeia E-125 (same thing!). I
think the model is 2000. I know is MIPS4122 the processor with WCE300.
This is the reason because i dont have a coredll.dll? what is the
substitute?
thx in advance!
... more >>
CAB-Files: ARM, ARMv4, MIPS.... Why needed?
Posted by Boris Nienke at 2/27/2004 10:57:32 AM
Hi,
thinking about the differnt CAB-Files that are created i wonder why there
are different CABs needed for the processortypes...
i thought, that the software is .NET now! So if you build an application
(without bundling it with the CF-Installation) shouldn't the EXE run on
EVERY computer w... more >>
Sharing Violation
Posted by Rafael Metring at 2/27/2004 10:22:53 AM
I'm trying exec insert command in Sql Database but receive this message
"here is a file sharing violation. A different process might be using the
file."
before this , i only exec database in LOGON , but after this connection is
close..
What was blocking my the file ?
Tanks
... more >>
BT and NET CF
Posted by John Doe at 2/27/2004 8:49:46 AM
Is there a way to execute BT API (from bt_api.h) in managed code (.NET CF) ?
Any working examples?
Cheers
... more >>
MultiThread problem
Posted by Stefano at 2/27/2004 6:51:07 AM
Hi everybody
I'm going crazy with this..
I'm developing an application for WM2003 with VS.NET 2003 and C#
In my application, in a form that is not the beginning form (where the "Main" function is), I start a secondary thread that should periodically update the GUI. To do this I use "Invoke" to ... more >>
Treeview font and image
Posted by Markus Rytterkull at 2/27/2004 3:31:12 AM
Hi!
I wonder if it is possible to change the font size of the
displayed text in treeview, the default size is a bit
small in my opionen. Treeview.font isn't supported in CF.
Also I changed the size of the imagelist I use for
treeview nodes and after this the +/- signs in the
treeview w... more >>
Trying to get a Date Breakdown
Posted by Atley at 2/26/2004 10:30:10 PM
I am trying to get a overall difference on two dates,
I can get the difference in Years, Months, Weeks, Days, Hours, Minutes,
Seconds, no problems...
What I cannot seem to figure out is how to get:
2 Years, 3 Months, 1 Week, 3 Days, 14 Hours, 21 Minutes, 33 Seconds.
The hardest part of ... more >>
Emulator Pocket PC 2002 - this.ClientSize and StatusBar.Location cannot be changed?
Posted by Mark Johnson at 2/26/2004 9:03:38 PM
After testing my program on a Compact-Maschine, I tried it on the Emulator
and ran into problems.
I tried to place the ProgressBar on top of the StatusBar and.
the Statusbar over the Bottom of the Form (here MainForm) :
sbStatusBar.Location = new
System.Drawing.Point(0,MainForm.ClientS... more >>
CF is installed?
Posted by Taryon at 2/26/2004 8:36:29 PM
Hi!
How can i know if the CF is installed in my device?
... more >>
PostMessage
Posted by Thore Berntsen at 2/26/2004 8:29:54 PM
Can anyone tell me how I can use the PostMessage API function in CF. I want
to send a Enter og Return keystroke to a textBox control.
Thore Berntsen
... more >>
How to change target web service at runtime
Posted by Lina at 2/26/2004 7:31:05 PM
Hi there
I know in ASP.net, I can use value retrieve from <appSettings> in web.config to get runtime web service url. But how can I do so in SmartDeviceApplication? Please advice, Thank you so much
Lina... more >>
TextBox question
Posted by Balint Toth at 2/26/2004 6:56:45 PM
Hi,
I made a full screen multiline textbox. When I press right at the end of the
text, a new textBox field appears ("Edit") with a Done and a Cancle button.
How can I turn off this funciton?
Regards,
Bálint Tóth
... more >>
png transparency
Posted by jg at 2/26/2004 4:21:21 PM
I have 2 png images each with one drawn black rectangle.
I I display tem on classic compact framework they intersect with each other.
If I display them on compact framework they cover each other.
Why?
... more >>
.NET CF
Posted by John at 2/26/2004 2:05:56 PM
This may sound dumb, but from the microsoft website I have seen the
following:
Windows CE .NET
Windows CE .NET 4.2
Windows Mobile 2003
I know that CE .NET 4.2 is an upgrade from CE .NET, but is Windows Mobile
2003 an upgrade from .NET 4.2, or is it the same thing with a different
name?
T... more >>
|