all groups > dotnet compact framework > april 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 30
Filling database with data from txt file
Posted by tiger79 at 4/30/2004 2:53:49 PM
Hi,
i'd like to read data out of a text file directly into an SqlCe database.
The textfile is something like this :
1;0;parent1;
2;0;parent2;
3;0;parent3;
4;1;child1parent1;
5;1;child2parent1;
6;2;child1parent2;
so first number would be like an ID, second would be a parent_ID, and the
... more >>
How to read/write registry values?
Posted by Richard Lewis Haggard at 4/30/2004 2:22:05 PM
I wanted to save some information in the registry but was stymied. The
C#.NET documentation says to use a number of Win32 functions like
RegistryKey, etc., none of which seem to be supported in the CF world. Is it
possible to read and write to the registry and, if so, what are the
assemblies tha... more >>
[OT] Html install file
Posted by Lloyd Dupont at 4/30/2004 11:29:38 AM
It's a tad out of topic but it related to my CF app.
I'm creating an autorun install CD.
My objective is to lauch an HTML file with a link to the setup.msi file.
The problem is the link don't work !
in my html file I have <a href="setup.msi">install</a>, the link is correct
if I copy paste ... more >>
Bitmap ?!
Posted by Lloyd Dupont at 4/30/2004 9:40:58 AM
in my program I could edit picture and import them from a file.
we test recently from a 143Kb jpg and I have weird problem.
in the program it's stored as a byte[] data;
when the user want to see it I create the picture with
Bitmap b = new Bitmap(new MemoryStream(data));
what's really weir... more >>
numeric Input panel (again ...)
Posted by Lloyd Dupont at 4/30/2004 8:46:23 AM
how do I show the numeric input panel ?
(I mean thge default numeric input panel which appear when you clic "123")
It's easy to show the input panel, but I can't find no way change the mode
....
--
ihookdb
Get your data mobile
http://www.ihookdb.com
... more >>
BMP to JPEG - Dont be scared!!
Posted by email NO[at]SPAM craighardcastle.com at 4/30/2004 7:12:30 AM
Hi,
im writing a program that sends a video stream to a remote pc. I've
managed to get the bitmap data from the piture box control, via Bob
Nicholls earlier post.
My problem now is that the data is too big.
The code that Bob Nicholl did seems to convert the image to a 24bit
bmp, which is... more >>
Quick ListView Dilemma
Posted by marcmc at 4/30/2004 2:56:02 AM
txtLineTotal.Text = lstOrderDtl.Items(lstOrderDtl.SelectedIndices(0)).SubItems(0).Text().ToStrin
Argument Out of range exception, the value being passed is "1
Any ideas?... more >>
How to develop managed C++ app in VS.net 2003
Posted by Sudesh Sawant at 4/30/2004 1:51:03 AM
How to develop managed C++ app in VS.net 2003
I am unable to figure out the steps to develop a managed C++ application using VS.net 2003. I donot get Smart device application menu in Visual C++. I have a code written fully in managed C++ and want to port it to wndows CE as a proof of concept. Any h... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Stored procedures
Posted by dys at 4/30/2004 1:26:02 AM
Hi, I've seen that stored procedures are not supported by SQL Server CE
But what about calling a stored procedure from a remote standard SQL SERVER
I've try this
SqlConnection PubsConn = new SqlConnection
("Data Source=server;integrated " +
"Security=sspi;initial catalog=pubs;")
SqlCommand... more >>
How to call a tooltip in compact framework C# ?
Posted by stef al via .NET 247 at 4/30/2004 12:14:25 AM
(Type your message here)
--------------------------------
From: stef al
I make a custom control and want to show a tooltip.
How to show a tooltip in Win Ce?
what a class and namespace is for it?
Or i must use a API function? what?
-----------------------
Posted by a user from .NET 247 (... more >>
numericUpDown problems
Posted by rtermaat NO[at]SPAM neb.rr.com at 4/29/2004 8:40:42 PM
Am I missing something. This control does not support a down or up
method. How can I use it to increase or decrease when the user clicks
this control?... more >>
Speed of C# and GDI+
Posted by Mateusz_£oskot at 4/29/2004 8:18:20 PM
Hello,
I'm going to go with my project one of two possible ways
and I have to make some decisions. First, I'd like
to know more details and others experiences.
I have an ActiveX component which draws a lot of geometries
(lines, points,polygons) and manages
large amount of objects of geomet... more >>
FindWindow Question !
Posted by fullisnull at 4/29/2004 6:22:26 PM
Dim hwnd As IntPtr = FindWindow(Nothing, "LinkMan")
why hwnd is always 0 when I open LinkMan_ window?
... more >>
Speech SDK
Posted by MalawiBwana at 4/29/2004 6:06:04 PM
Does any body know if there is any Microsoft based SDK for Speech Synthesis, for Pocket PC applications? I heard that SASDK works mainly with Web applications
Thanks
... more >>
Property/Methods Support in .NET CF
Posted by at 4/29/2004 5:48:47 PM
Hi
We have just started working on developing an enterprise application using
..NET CF.
We realized that there are certain properties that are not supported in .NET
CF. For instance, we need to use Hashtable but the "Item" property of that
is not supported in CF. How do we get the value corre... more >>
Printing an CF application Form
Posted by developer at 4/29/2004 4:51:02 PM
Hi ther
I have created a display page in my application which contains bitmaps and various other GUI controls. I intend to print this form thru IR or network printer. Is there a way to print the form itself or save the form image as a bmp/jpg file?
Thanks... more >>
ListView: Update FocusedItem
Posted by Marc Ambrosius at 4/29/2004 4:20:23 PM
Hello,
does anybody know when is the FocusedItem property of a ListView updated?
Using the code below I try to set the Focus to the next item. In the full
..NET Framework it works like this. In the .NET Compact Framework the
FocusedItem property does not change and the next time this code is r... more >>
Simple Form Question
Posted by Harry Simpson at 4/29/2004 12:45:05 PM
I've got a Spalsh screen that loads first and enables a timer. I want to
wait a second then go to the main form and dispose of the Splash screen to
save memory - also to avoid having to close two forms on exit.
Seems like it is very hard to refer to another form in CF apps.....
The code below... more >>
How Can I get All API Function Supported by Windows Ce
Posted by fullisnull at 4/29/2004 12:05:09 PM
How Can I get All API Function Supported by Windows Ce?
... more >>
IP address of the connected computer
Posted by Lloyd Dupont at 4/29/2004 11:58:00 AM
I have a PPC CF program which don't use ActiveSync but, instead connect
(preferably wirelessly :) to any computer it could reach via the IP address.
Now I get one problem, let's someone haveing a laptop, and a PPC with my
program and this person is outside any network and is network is disabled... more >>
Prevent/Log Time Change To PocketPC?
Posted by Scott Johnson at 4/29/2004 8:45:54 AM
Hi
I am developing an app in VB.NET for the PocketPC and the customer wants to
log every time the system clock is changed. (So delivery drivers can't roll
back the clock to cheat the system.)
Is there a way to either 1) prevent the system date/time from being changed
or 2) raise an event t... more >>
Display a "wait" graphic when switching between forms
Posted by REarly NO[at]SPAM jswcoinc.com at 4/29/2004 7:19:54 AM
What is the best way to display a "wait" graphic (say, an hourglass)
while switching between forms? My application has a form that
requires several seconds of processing before its paint routine
finishes, so I need to give the user some idea that he/she needs to
wait.
Notice that I didn't sa... more >>
Prevent user from moving a form
Posted by Pinkesh at 4/29/2004 6:51:03 AM
Hi all
I don't want to allow the user to move a form using the titlebar
How can I achieve this in .NET compact framework
(I know that the same is easily possible in .NET framework by trapping the corresponding message
Thanking you
... more >>
Presentation of complex information using C#
Posted by Martin Kunkel at 4/28/2004 10:45:51 PM
Hi Newsgroup,
I'm trying to show some complex information (which I receive from a
webservice) in a Smart Device Application.
The data is too complex to show it in a normal textbox. I would be happy if
I could use links, different font sizes and colors. I could write all
information formatted as... more >>
Can't deploy OpenNETCF Smart Device Framework
Posted by Terry Westley at 4/28/2004 7:46:10 PM
Summary: I successfully developed and ran a program that uses OpenNETCF
Smart Device Framework when deploying to emulator or a device from Visual
Studio .Net 2003 Pro, but it doesn't work when I attempt to install SDF
myself from a CAB file.
Details:
Developed a program (let's call it MyApp, ... more >>
Creating Pocket PC Today Screen Plugin with C# .Net
Posted by Matthias at 4/28/2004 7:27:16 PM
Hello,
I am trying to follow this article
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/TodayScrn.asp
to start developing a today screen application with .Net.
I try to compile the C++ code.
But I dont get an error message
Deleting intermediate files and o... more >>
Wierd ImageList behavior
Posted by Harry Simpson at 4/28/2004 3:37:54 PM
I've added five 41x41 pixel bitmaps to an ImageList. I then
programmatically add different pictures from the imagelist into picture
controls which too are 41x41.
Setting the image propertyy for the pictureboxes works great at design time
but during run time, the images are shrunken to 16x16 p... more >>
Determining whether sqlclient is installed, and installing it
Posted by REarly NO[at]SPAM jswcoinc.com at 4/28/2004 3:33:42 PM
In my Windows CE.NET 4.0 application (written in VB.NET), I have two
needs regarding sqlClient.
1. Determine whether sqlClient has been installed on the device.
2. If sqlClient has not been installed, then install it automatically.
2.a. From a startup batch file, can I have sqlClient.cab i... more >>
TreeView
Posted by MalawiBwana at 4/28/2004 3:31:03 PM
I am trying to build an interface that sort of looks like a drop-down menu in some webpages that is colorful and animated. I thought that a TreeView might be a starting point...
I was wondering if there is anyway I can change the TreeView appearance so that I can add labels, buttons or combo boxes... more >>
How to Play Video inside Application on PDA?
Posted by Anders Fredborg at 4/28/2004 3:13:57 PM
Hi all
In my current project I need to play a video file on the PDA, the format of
the file doesnt matter, i can just convert the video to the currently
supported format.I am using a PDA with PPC 2003.
Does anyone know how to do this?
Regards
Anders
... more >>
Please help !! ... (calling unmanaged code)
Posted by AlaSoft at 4/28/2004 3:01:18 PM
I have made this simple funcion running into a eVC++ .dll - just displaying Hi World
void Test(
{ HWND hWnd
HDC hDc
hWnd=GetActiveWindow()
hDc= GetDC(hWnd)
ExtTextOut (hDc, 10, 10, ETO_OPAQUE, NULL, _T("Hi World !"), 4, NULL)
ReleaseDC(hWnd,hDc);
If I... more >>
Deploying content files
Posted by dtaylor at 4/28/2004 2:44:56 PM
In my .NETCF application I have created an equivelent to
an INI file. It's file type is .txt. I'm using it to
read in application configuration settings as described
in "The definitive Guide to the .NET Compact Framework".
I just used VS2003.NET to deploy my application (which I
have se... more >>
More than one custom control in one dll
Posted by Pete at 4/28/2004 1:21:03 PM
I followed the "Walkthrough: Authoring a Custom Control for Smart Device Applications" to create a custom control with a design time counterpart
How do I get more than one custom control in a class library dll?
Right now I have a control that inherits from System.Windows.Forms.TextBox. I added... more >>
Pocket PC Appointment Database
Posted by Garrison Goodman at 4/28/2004 12:12:26 PM
Since I have seen Pocket PC applications that can view/add/edit/delete
appointments from the Appointments database on the Pocket PC, how can you
programmaticaly access that database using the Compact Framework?
Has anyone written a class that can handle that access?
... more >>
BitConvert.ToString(0 Bug
Posted by opamail1-1000 NO[at]SPAM yahoo.com at 4/28/2004 11:40:10 AM
using BitConverter.ToString() in Compact Framework has some bugs.
The resulting hex string does not have a consistent format for each
byte converted from the input byte array.
for example:
Byte array with values,
(9,0,0,0,115,105,103,110,97,116,117,114,101,224,0,0,0,51,0,0,0,1)
result in... more >>
Form Text property getting overwritten by Start menu
Posted by Tim at 4/28/2004 9:48:03 AM
When setting the Text property of a form in either InitializeComponent or load event, the value will
display upon first instantiation and showing of the form. If I hide the form and then show it again,
the Text property value will not show - it gets overwritten by the Start menu label and is not
... more >>
Unable to connect to device using smart device auth util.
Posted by Patrick Martineau (388254) at 4/28/2004 7:27:32 AM
I,
i'm not able to connect to my device using the smart auth util. The
utility is installed on my device it connect using the utility on my
computer but when I try to connect in the IDE, I got an error saying that
the device is not present !
Any idea ?
Patrick Martineau
BETAID:... more >>
sending data thru a network stream
Posted by gahowe NO[at]SPAM tmmna.com at 4/28/2004 6:22:05 AM
I'm trying to send data from a PDA to a listener using TcpClient and
NetworkStream.
The problem is that is seems to not being recieving all the data. It
looks like there is a up limit of 45000 or so bytes.
Anyone having any ideas on how to send an unlimited or unknown ammount
of data from a... more >>
Adapter.Update C# buffer size
Posted by kkulaoglu at 4/28/2004 4:56:02 AM
i read xml file with Dataset.ReadXml method after i inert data to SqlSERverCE with Adapter. Update Method but i take Error message about buffer size ... more >>
XML Designer and Datasets.
Posted by Amit Patankar at 4/28/2004 2:41:04 AM
Hi
I am creating a single XML file that shall have data as well as schema of my dataset. I am able to view the full XML source. But how can I use the XML Designer to modify the XML Schema? I can use the Designer to add rows to it. But in order to modify the schema I am requiring to create the .XSD... more >>
Handle of Bitmap for BitBlt functionality??
Posted by shubhs_here NO[at]SPAM yahoo.com at 4/28/2004 12:33:03 AM
Hello Everyone,
I wanted to know how to get bitmap handle for BitBlt functionality in
C# 'coz before bitblt functionality i need to use "SelectObject"
fuction which require handle to bitmap.
Thanx... more >>
Memory blocksize - Initializecomponent
Posted by xman at 4/28/2004 12:11:01 AM
I experience a problem with my initializecomponent, it has grown to large so it's exceeds the max size.
The solution for this is to split the function in several parts but then you loose the graphical design time ability
Is there an easy way to go around the block size (64K) and still see all com... more >>
Dataset to Sql Server Ce
Posted by cox at 4/27/2004 11:15:51 PM
How can I take a erived dataset and populate a sql server ce database table
that matches the dataset.
I understand the concept of taking a table (ex. via sql) from sql server ce
and using a data adapter to fill a dataset...now how can I reverse the
process.
... more >>
XML/user data...
Posted by Brian H at 4/27/2004 9:33:04 PM
Hi all,
I'd appreciate some feedback on persisting user-settings.
In my app, I have 3 different XML files that are used to persist data. I'm
going nuts to try and lower the load time in my app. Reading the XML files
are not TOO bad, but I've done a few very simple benchmarks to get an idea... more >>
Checkbox Word Wrap
Posted by darren at 4/27/2004 9:33:02 PM
I am using code to build a Checklist in a Panel and I would like a way
to wrap the text of the checkbox if it is wider than the panel.
Since I am building the checklist dynamically I can use a Label for the
text, which will wrap the text. But I would still need to figure out
the correct he... more >>
Symbol Pocket PC Barcode reader Sample App (VB.NET)
Posted by google NO[at]SPAM winbasic.com.au at 4/27/2004 8:45:40 PM
Hi,
Does anyone have a sample piece of code that enables the scanner? I
have downloaded the Symbol Mobility Kit but all of the samples throw
exceptions. All I want to do is just to scan something in - the rest
I'll work out myself. However, it doesn't matter how many different
instantiations ... more >>
Stored Procedure Via Sql.Data.SqlCilent in .NETCF
Posted by SVGeek at 4/27/2004 8:31:23 PM
Hi!
I was reading the book by Larry Roof "The Definitive Guide to the .NET
Compact Framework" and one more book "Sql Server CE Database Development in
..NET Framework" (duno about the author).
The thing is I try to search the example of using the SqlParameter and
calling the StoredProcedure... more >>
Debug from Visual Studio
Posted by Praveen at 4/27/2004 6:58:24 PM
Hi All,
Can anyone please tell me how can I build an OS image in platform builder
that will work with Visual Studio 2003? So I can debug from Visual Studio?
I'm creating SmartDevice .NET Compact Framework applications that I would
like to debug from Visual Studio. Is it possible to do line-... more >>
ColumnHeaderCollection - Listview with CF ?
Posted by HomeAutomation Freak at 4/27/2004 6:32:33 PM
Hi Folks,
I'm trying to access all columnheaders of a listview on a form.
I can't access the listview.ColumnHeaderCollection.Item(x).text ;-(
Any ideas/suggestions/help on this topic ?
I'm using VB .NET with CF
I need to get/set every columnheader text.
(actually, I need to retrieve it... more >>
Garbage Collection bug?
Posted by Anderas Broman at 4/27/2004 5:32:52 PM
Hi,
I am developing a C# application for Windows CE. I have about 88 MB free
memory on my device, but I got some strange out of memory exceptions so I
decided to write a simple memory testing app that allocates memory until
this is no longer possible. This application can however only allocate... more >>
|