all groups > dotnet compact framework > december 2003
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
How to speed up filtering
Posted by Gec at 12/31/2003 2:28:15 PM
I have database with 10.000 records. I would like to filter them by one
field and show them in the DataGrid.
As far as I know the fastest way is using DataView.RowFilter.
Filtering with DataView.RowFilter takes me about 14 seconds in the test
application
and 24 seconds in the more complex app... more >>
Why should I use compactframework + VB+ pocketPC 2003 ?
Posted by cab0san NO[at]SPAM hotmail.com at 12/31/2003 9:47:54 AM
My company is in the process of making an enterprise decision about
which (if any) mobile devices to support. We hav a mixed bag of
datasources to work with, including Lotus Notes, SQL Server, Microsoft
Access, Sybase, Oracle... etc....
A big part of the workforce is constantly mobile, and it ... more >>
MissingMethodException
Posted by Malleier Alfred at 12/31/2003 9:10:49 AM
Hello,
when deploying (F5) my Pocket PC Project in VB.Net a MissingMethodException
raises. If I set a breakpoint in that line, no exception occurs and it works
fine.
Wath to do?
Alfred Malleier
... more >>
development tools
Posted by Fred Vanner at 12/31/2003 8:47:59 AM
I have used eVB to program a long line of PocketPC
devices. My latest device is an xda II (PPC2003). Since It
was stated that eVB would not offer support for this
platform, I (reluctantly) blew several months software
budget on VB .NET (Standard). On installation, this does
not seem to sup... more >>
Moving through a DataGrid in VB.Net 2003
Posted by Atley at 12/31/2003 8:34:54 AM
I am trying to move through a DataGrid to compare the first letter in the
first column to enable a quick scroll-down method to the correct record in a
large dataset using the input panel. In eVB, VB, etc this was fairly
straight-forward... Now it is not.
Has anyone here come up with an effec... more >>
Double-Click On A Grid in VB .NET 2003
Posted by Atley at 12/31/2003 8:31:15 AM
THere is no event handler in .Net 2003 for Double-Click... I need to make a
difference between selecting the grid and wanting to move to another for for
details...
Any thoughts, suggestions? I tried using the Timer to check if the clicks
were within an acceptable amount of time, but it seems... more >>
button with image?
Posted by Alberto at 12/31/2003 12:01:40 AM
How I can create a button with image in the menu bar next to menu?
tx
... more >>
Synchronization of collections
Posted by Mahesh at 12/30/2003 11:19:29 PM
Hello All,
Can some one tell me the basic difference between these
three lock statements?
ArrayList arrayList = new ArrayList(10);
.
.
.
1. lock(arrayList){
}
2. lock(arrayList.SyncRoot){
}
3. lock(ArrayList.Synchronized(arrayList)){
}
In which of all the... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Treeview question
Posted by Brian at 12/30/2003 10:57:28 PM
Hi gurus,
I'm working with a treeview control to show a directory structure. Upon
loading, I want to preselect one of the nodes in the treeview. My code
sort-of works, the branch opens to the right node, but the node itself is
not highlighted. I'm wondering if there's something I can do to ... more >>
Thread.Sleep()
Posted by Drew at 12/30/2003 9:23:29 PM
I have a running thread and inside the Run() Method
I have a little timer which uses Thread.Sleep like so:
for (int i=interval; i>0; i--)
{
timerLbl.Text=i.ToString();
Thread.Sleep(1000);
}
Now this works fine with the full .NET framework but
on the Compact Framework it just freezes my p... more >>
OpenNetCF.Serial
Posted by Armon at 12/30/2003 8:52:33 PM
Does OpenNetCF.Serial support only binary data transfer? I've gotten some
code from the OpenNetCF Forum and it only seems to support byte transfers.
Even in a PC to PC, Hypertext transfer. I need it to do all types including
Bluetooth and Compact Framework transfers.
... more >>
www.intelliprog.com
Posted by Bruce Vander Werf at 12/30/2003 5:46:28 PM
I've been trying to reach this site all day with no success.
Are they down?
--Bruce
... more >>
system.writeline
Posted by aj at 12/30/2003 12:35:04 PM
Hi Guys,
I have a random question,
i've been developing on CF quite a while an the first
thing i notice was the disabling of printlines
what do you guys do for debugging,
I don't debug much so i've been using MessageBoxes
which is kinda dumb
I know some guys who write debugging files whi... more >>
My Documents Folder
Posted by Drew at 12/30/2003 12:29:25 PM
I am planning on putting a user configurable file in \My Documents\Personal
on the Pocket PC. I envision that the user would transfer the file to their
desktop, edit it, and return it to the Pocket PC.
Is this folder guaranteed to be there on every Pocket PC?
Would there be a better place t... more >>
trigger scrollbar event
Posted by cfyam at 12/30/2003 11:32:54 AM
How can I trigger the datagrid scrollerbar event in my .NET CF app?
... more >>
Help! Webexception after first successful web service call
Posted by Mike Helstrom at 12/30/2003 11:26:03 AM
I created a CF application that consumes web services over the Internet.
When the device is in the cradle using ActiveSync, the application functions
properly. All web services are called and return the correct values (no
exceptions are thrown).
When the device uses its' internal modem via C... more >>
UrlEncode UrlDecode?!
Posted by Kevin Z Grey at 12/30/2003 11:05:53 AM
Heya,
There does not seem to be a way to Url Encode and
Decode a string in C# on the CF. The closest thing I have
is an Encode function from the .NET Compact Framework MS
Core Reference book:
public static string UrlEncode(string instring)
{
StringReader strRdr = new StringReader... more >>
How to load a Bitmap/Gif at runtime?
Posted by Boris Nienke at 12/30/2003 9:44:58 AM
Hi,
i had the plan to load a black/white bitmap (or a gif) at runtime into a
picturebox-control. Then i like to draw on it (i can draw on it with
mouse-down/-move/-up events - works OK)
but there's no "Loadbitmap" or "LoadFromFile" or something for picturebox
or bitmap object...
So, how ... more >>
Determining ActiveSync version Programaticly
Posted by Kevin Z Grey at 12/30/2003 9:35:45 AM
Heya,
Is there a way to determine the Client and Provider
side ActiveSync versions from either the Desktop or the
PocketPC? I'm attempting to automate system information
for multiple PocketPC's and Desktops and it would save me
time.
~~K... more >>
ActiveSync and Conflict Resolution
Posted by bic NO[at]SPAM qis.ca at 12/30/2003 9:24:55 AM
ActiveSync has a conflict resolution when data is changed on both
platform (Ie.. desktop and device). The options are
1. To leave unresolved.
2. Always replace to device.
3. Always replace desktop.
How does ActiveSync know when changes has taken place (on the desktop
and the device).. I... more >>
DataGrid scroll bar size
Posted by gianfranco.giugliano NO[at]SPAM infinito.it at 12/30/2003 8:50:16 AM
Hello
I enlarged the size of scroll bars to semplify the use of the touch
screen for my application increasing the value of the following
registry voices:
cyHScr : Horizontal Scrollbars Height in pixels
cxHScr : Horizontal Scrollbars Width in pixels
cyVScr : Vertical Scrollbars Height in p... more >>
Focus not working the way I would expect it.
Posted by fhunter at 12/30/2003 8:49:03 AM
Hi,
I have a custom control which contains another custom
control.
I am writting something like this:
public LonLatDialog(int aWidth,int aHeight)
{
...
Controls.Add(mDropDownList);
mDropDownList.Hide();
Focus();
}
When I do this and I call Focus(). I would have expecte... more >>
VB .NET getting bitmap from a graphics object
Posted by saima ashraf at 12/30/2003 6:05:46 AM
Hi,
One of my controls returns a graphics object.I need to get a bitmap
object from this graphics object so that i can send it for printing to
my printing api.
Now does anyone know how to get an image/bmp from a graphics object? i
am working in VB.NET CF.
I will be thankful for any kind of... more >>
VB .NET Bitmap to byte array
Posted by saima ashraf at 12/30/2003 4:04:27 AM
Hi,
I have a bmp and i need to print it. Now the printing api that is
provided by my client takes a one dimensional byte array. If i convert a
bmp into a byte array using streams, it prints wierd caracters instead
of the pic.
How can i convert bmp into one dim array and get it printed?
btw ... more >>
.NET Visual Basic CF - Can't "view designer"
Posted by Terje at 12/30/2003 12:44:26 AM
Have been working with a form for a long time.
Suddenly I cant get into the "designer mode" but only the
code view.
The forms icon in "Solution explorer" has changed to a
different look.
Have I "messed up" something in the code, or is there a
bug in the development environment?
Someo... more >>
Crypto API problems
Posted by Morten at 12/29/2003 8:01:54 PM
Hi,
I'm using the Crypto API on my Pocket PC 2003 device, but when I try to run
the same application in the Pocket PC 2003 emulator the Crypto API methods
fails (returns an exception).
Both are using the .NET CF SP1.
Can someone please tell how to solve this problem ?
Best regards,
Mort... more >>
ComboBox with MaxDropDownItems property
Posted by Paul Stork at 12/29/2003 6:41:51 PM
Does anyone know of a 3rd party combobox control that implements the
MaxDropDownItems property from regular Visual Studio in the Compact
Framework version of a combo box? I've got a working copy that I build
myself based on the User Drawn List code available from opennetcf.org. But
I've still ... more >>
[QUESTION] connecting from smartphone to PC
Posted by Drazen Dotlic at 12/29/2003 4:53:44 PM
Hi,
first of all, thanks in advance for any help. Then, my assumptions (correct
me if I'm wrong):
- once I establish Blootooth connection, I can connect to PC using TCP/IP
(and should also be able to use serial port, but let's ignore that)
- on PC side, I can see that (Bluetooth software prov... more >>
SP2: Keypress event changes
Posted by Chris Theorin at 12/29/2003 1:29:55 PM
Yeah, what the heck is up with tabbing through controls in SP2.
We implemented tabbing between TextBoxes via their OnKeyPress events and
this gets all confused with SP2, so I just tried using the "built in"
tabbing functionality and it tabs amongst ALL controls... how can we stop
the tabbing t... more >>
WMP Native Exception
Posted by Brian at 12/29/2003 11:53:47 AM
Hi all,
This is a follow up from my previous problem: when trying to use Windows
Media Player (via CFCOM) in a thread, I get a native exception
(ExceptionCode 0000005). This is done on simply instantiating WMP. This
only happens if I try this in a worker thread, if I do it within the main
t... more >>
MDB to SDF???
Posted by david_baldauff NO[at]SPAM starkey.com at 12/29/2003 11:36:55 AM
Does anyone know how to convert an Access database to a SQL Server for CE
....SDF? Otherwise if you know if there is a way to create the .SDF from XML
that would help too.
Thanks in advance!... more >>
Bitmap won't display on Arm4 device
Posted by Eric Ratliff ICPDAS-USA at 12/29/2003 10:38:24 AM
We are having trouble getting bitmaps to display from
managed code on our Windows CE.NET 4.1 controller. In
the test application we use the PictureBox class
with .bmp and .jpg files assigned at design time. The
images do display fine in the emulator. On our
controller we get an exceptio... more >>
CF SP2 installation
Posted by Zanna at 12/29/2003 9:52:41 AM
Hi all
I read in this group that to install the CF sp2 to a PPC I have to copy
via ActiveSync the cabs files and then install it by a tap on the cab.
I wonder if there is an automatic way to do it.
I mean, when I run the VS2003 project VS automatically copies the CF
files and install it t... more >>
URL Links to CAB files not downloading
Posted by Dave Nasralla at 12/29/2003 8:23:12 AM
Hi,
I am writing an application for PPC that will need to be
distributed remotely. My users have wireless Symbol
scanners running Pocket PC 2003.
I create the CAB files in .NET and have placed them on a
web site. The problem is that when surfing to them with
Internet Explorer from the p... more >>
[HELP] ASYNC SOCKET and FREEZE
Posted by brandon kim at 12/29/2003 2:33:36 AM
i have implemented socket(async) program with pocketpc 2003
and vb.net.
After PDA received a message from server, program show
this message on MenuItem in Form. but when message is
written on MenuItem, program freeze without any error msg
i really don't know why.
i spent almost a week ... more >>
UDP Revisited...
Posted by Zahid at 12/29/2003 2:13:06 AM
Hi,
Im in need of urgent clarifications regarding UDP comms,
Ive a client requirement to ensure my app works to a UDP
specification. Ive just read in MSDN that the "receive"
method "blocks execution until it receives a message"
What does it block? the application execution? the port?
... more >>
How can I deal with an XML that has a reference to a schema?
Posted by Me at 12/29/2003 12:17:30 AM
I need to access an XML that has a schema reference in it.
It looks something like this:
<ProductInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=http://xml.mydomain.com/schemas3/dev.xsd
The problem is that the .NET CF does not support schemas, but I... more >>
Mouse-Events not fired.
Posted by JS at 12/28/2003 9:11:28 PM
Hi NG,
why mouse-related events (like mousekeydown etc.) of a listbox
seems not to be fired?
Juergen
... more >>
Printing a windows form, PInvoke Example
Posted by Chris S. at 12/28/2003 3:42:22 PM
Hello,
I have an application that is written but must now be able
to print a windows form. I tried the Fieldsoft
PrinterCENet, but my device memory structure will not
accomodate it. Does anyone have a VB PInvoke example. I'm
afraid I've never used the PInvoke before and am having
little s... more >>
Popup menu (Tab-and-hold)
Posted by Morten at 12/28/2003 3:33:08 PM
Does anyone have an example (in C#) of how to generate a popup menu, when
executing a tab-and-hold method?
Best regards
Morten
... more >>
OpenNETCF.Windows.Forms.HTMLViewer - links/images
Posted by www.msmobiles.com at 12/28/2003 1:39:12 PM
I wanted to use OpenNETCF.Windows.Forms.HTMLViewer
from
http://www.opennetcf.org
in my code but it only shows text and no images and there
is no way to select links.
question: anybody knows how to do images showing and
links selection (I need with keypad in MS Smartphone, not
w... more >>
CF SP2
Posted by Bogdan Sima at 12/28/2003 10:47:42 AM
Hello,
I downloaded and installed the CF SP2, hoping that now I will get the KeyUp,
KeyDown and KeyPressed events for ComboBoxes. But it appears to me that the
installation program tries to update the CF just on the device and not also
on my computer, as I still cannot see those events in the ... more >>
How can I Programatically download image via .NET CF ?
Posted by Me at 12/28/2003 4:02:58 AM
Hello,
I am currently undertaking development for a Pocket PC 2003 PDA using VB.NET
2003.
I have developed a VB.NET application under the .Net Framework that allows
me to programatically download an image from a website and store it on my
local computer.
My problem is that I have not bee... more >>
How do I get xml file from webpage to dataset via .NET CF?
Posted by Me at 12/28/2003 4:01:40 AM
Hello,
I am currently undertaking development for a Pocket PC 2003 PDA using VB.NET
2003.
I have developed a VB.NET application under the .Net Framework that allows
me to programatically access an xml file from a webpage and load it into my
dataset.
My problem is that I have not been abl... more >>
Shutdown and restart ActiveSync?
Posted by Patrick Dugan at 12/27/2003 3:48:22 PM
Is there a way to shutdown and restart ActiveSync? I somehow lose the
connection to activesync and I either have to unseat and reseat the PDA or
kill (using task manager) and restart activesync. Is there a way to tell
ActiveSync to try to reconnect? Does anyone have any code (VB) that would... more >>
Specifying Help Shortcut In CAB INF File
Posted by Bruce Vander Werf at 12/27/2003 12:19:03 PM
The following entries from my INF file create the proper entries in
the Start Menu and in the Programs folder of the Start Menu, but the
shortcut in Windows\Help does not get created.
[Shortcuts]
Program Name,0,WA.exe,%CE11%
Program Name,0,WA.exe,%CE17%
Program Name,0,WA.htm,%CE2%\Help
An... more >>
Ordering a treeview
Posted by Jon at 12/27/2003 10:36:29 AM
The CF treeview doesn't have a "sorted" property like the full .Net version
does. What is the best method to sort a treeview in the CF? Thanks for any
suggestions.
--
*********************
Jon Rosenberg
www.DeanForAmerica.com
... more >>
rda.pull error
Posted by kevinclary NO[at]SPAM yahoo.com at 12/27/2003 10:18:22 AM
I am using rda to pull data from my PC's SQL Server database. My code
works fine with an HP Ipaq 2210, but with a Dell X5, I am
inconsistently getting an SqlCeException after some of the tables
have been pulled. Some of the time, one or two tables are pulled
successfully before the error occu... more >>
application halt if receiving data from serial port and openning other form simultaneously
Posted by wwbbx at 12/27/2003 12:36:00 AM
My application, written by c#, even system would be halt if I received data
from serial port and open other form simultaneously
... more >>
MissingMedthodException
Posted by Alfred Malleier at 12/26/2003 11:31:05 PM
Hello,
I am developing a Pocket PC project on WinXP and Pocket PC 2002/2003 Emulator and a real Compaq PPC. After some days the project does not start any more. A MissingMethodException draws at the first line of form1. I made a copy of may source files and began to remove all the controls and Su... more >>
|