Automate CF Functional Tests
Is there a tool out there that would allow me to automate functional
testing of a cf program. For example, I would like to simulate
activity by the user; say 15 possible paths that a user would take.
What might be the best practice in doing something like this?
Thanks,
Rob Tag: Difference between Form.Hide() and (X) Tag: 9619
CeRunAppAtTime does not work
I am developing an application that needs to uppdate it self every night, to
force it to wake up and do the uppdate I am using "CeRunAppAtTime" but since
I started to use PPC 2003 it does not work properly, the event is registerd
but does not start until I manualy start the handheld, it does not wake upp
at the set time.
Has anyone else runed acros this, is there a workaround?
/Erik Olofsson Tag: Difference between Form.Hide() and (X) Tag: 9617
Sorting treeview - not updating correctly using RemoveAt method
This is a multi-part message in MIME format.
------=_NextPart_000_00C3_01C38E5E.D5A8B7E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
When I sort a nodes collection in a treeview the tree is not updated =
with the changes. I use RemoveAt(indx) and Insert(indx, node) to swap =
the nodes and if I look at the treeview in the debugger it has the =
correct layout, but not on the display.=20
I have tried Invalidate(), Refresh() and Update() without sucess.
I have a small swap method that does the same thing as my sort method, =
but once instead of multiple times. You need a node with atleast 3 =
subnodes for this example (and a TreeView named tView).
private void btnSwap_Click(object sender, System.EventArgs e)
{
TreeNode tn =3D tView.SelectedNode;
TreeNode tn1, tn2;
int node1 =3D 0; //Convert.ToInt32(numUpDown1.Value - 1);
int node2 =3D 2; //Convert.ToInt32(numUpDown2.Value - 1);
if( tn !=3D null )
{
int minNumNodes =3D System.Math.Max( node1, node2 );
if( tn.Nodes.Count > minNumNodes )
{
tn1 =3D tn.Nodes[node1];
tn2 =3D tn.Nodes[node2];
tn.Nodes.RemoveAt( node1 );
//tView.Update();
tn.Nodes.Insert( node1, tn2 );
//tView.Update();
tn.Nodes.RemoveAt( node2 );
//tView.Update();
tn.Nodes.Insert( node2, tn1 );
//tView.Update();
}
else
{
MessageBox.Show("Too few nodes in collection...");
}
}
}
I tried this using a node structure of one BASE node and three subnodes =
named F, E, D (in that order)
Base
|--------- F
|
E =20
|
D
I wanted to swap F and D using the swap method above. Below are the =
results first is the actual results in the datastructure and then the =
results shown in the display
RemoveAt(0): TreeView: (E, D, null) Display: (E, D, null) ok
Insert(0, tn2): TreeView: (D, E, D) Display: (D, E, D) ok
RemoveAt(2): TreeView: (D, E, null) Display: (E, D, null) !!!!!!!!!!??
Insert(2, tn1): TreeView: (D, E, F) Display: (E, F, D) !!!!!!!!!!??
It seems that RemoveAt removes the first occurency of node D instead of =
node D at position 2. Is this a known bug, am I not thinking correctly =
or what's up? I just wanted to add some sorting functionality to my =
treeview...
Any better ideas on how to perform sorting on treeview?
/ Peter
------=_NextPart_000_00C3_01C38E5E.D5A8B7E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff background=3D"">
<DIV><FONT face=3DArial size=3D2>When I sort a nodes collection in a =
treeview the=20
tree is not updated with the changes. I use RemoveAt(indx) and =
Insert(indx,=20
node) to swap the nodes and if I look at the treeview in the debugger it =
has the=20
correct layout, but not on the display. <BR><BR>I have tried =
Invalidate(),=20
Refresh() and Update() without sucess.<BR><BR>I have a small swap method =
that=20
does the same thing as my sort method, but once instead of multiple =
times. You=20
need a node with atleast 3 subnodes for this example (and a TreeView =
named=20
tView).<BR><BR><FONT face=3D"Courier New">private void =
btnSwap_Click(object=20
sender, System.EventArgs e)<BR>{<BR> TreeNode tn =3D=20
tView.SelectedNode;<BR> TreeNode tn1,=20
tn2;<BR> int node1 =3D 0; =
//Convert.ToInt32(numUpDown1.Value -=20
1);<BR> int node2 =3D 2; =
//Convert.ToInt32(numUpDown2.Value -=20
1);<BR> if( tn !=3D null )<BR> =20
{<BR> int minNumNodes =3D =
System.Math.Max(=20
node1, node2 );<BR> if( =
tn.Nodes.Count >=20
minNumNodes )<BR> =
{<BR> =20
tn1 =3D=20
tn.Nodes[node1];<BR> =
tn2=20
=3D tn.Nodes[node2];<BR> =
=20
tn.Nodes.RemoveAt( node1 );</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Courier =
New"> =20
=20
//tView.Update();<BR> &nbs=
p; =20
tn.Nodes.Insert( node1, tn2 );</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT=20
face=3D"Courier =
New"> =20
//tView.Update();<BR> &nbs=
p; =20
tn.Nodes.RemoveAt( node2 );</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT=20
face=3D"Courier =
New"> =20
//tView.Update();<BR> &nbs=
p; =20
tn.Nodes.Insert( node2, tn1 );</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT=20
face=3D"Courier =
New"> =20
//tView.Update();<BR> =20
}<BR> else<BR> =20
{<BR> =20
MessageBox.Show("Too few nodes in collection...");<BR> =
}<BR> }<BR>}</FONT></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I tried this using a node structure =
of one=20
BASE node and three subnodes named F, E, D (in that order)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Base</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =
|--------- F</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2> =20
|</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2> &nbs=
p; =20
E </FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2> &nbs=
p; |</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2> &nbs=
p; D</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I wanted to swap F and D using the swap =
method=20
above. Below are the results first is the actual results in the =
datastructure=20
and then the results shown in the display</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>RemoveAt(0): TreeView: (E, D, null) =
Display: (E, D,=20
null) ok</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Insert(0, tn2): TreeView: (D, E, =
D) Display:=20
(D, E,=20
D) ok</F=
ONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>RemoveAt(2): TreeView: (D, E, null) =
Display: (E, D,=20
null) !!!!!!!!!!??</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Insert(2, tn1): TreeView: (D, E, F) =
Display: (E, F,=20
D) !!!!!!!!!!??</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>It seems that RemoveAt removes the =
first occurency=20
of node D instead of node D at position 2. Is this a known bug, am I not =
thinking correctly or what's up? I just wanted to add some sorting =
functionality=20
to my treeview...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Any better ideas on how to perform =
sorting on=20
treeview?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> / =
Peter</FONT></DIV></DIV></BODY></HTML>
------=_NextPart_000_00C3_01C38E5E.D5A8B7E0-- Tag: Difference between Form.Hide() and (X) Tag: 9612
Mimic Pocket Outlook Monthly and Weekly view
Hi,
Just wondering if anyone out there has created a contol that mimics the
look of the Outlook weekly or monthly view (preferrably both)? We will
have to do this for a .NET CF app shortly and it would save quite a bit
of time if we don't have to build custom controls.
Failing that any ideas as to how to approach this would be welcome.
Peter Foot has already kindly pointed me towards this article on
creating a monthview calendar control
http://smartdevices.microsoftdev.com/Learn/Articles/624.aspx
and creating owner drawn controls.
http://www.opennetcf.org/Articles/ownerdrawnlist.asp
Any other input would be most welcome.
Thanks. Tag: Difference between Form.Hide() and (X) Tag: 9611
Closing form & application
How can i close the application when user click on X icon on top form ?
Otherwise application is only hidden..... Tag: Difference between Form.Hide() and (X) Tag: 9609
file version
Hi!
I'm writing a C# application for PPC2003 and I want to get the file
information (especially Product Number) of some other files (.exe, .cpl and
.dll; some of them written in eVC, some use compact framework).
On the PC I use
FileVersionInfo verInfo = FileVersionInfo.GetVersionInfo(<filename>);
but FileVersionInfo is not available for CF. How can I read the file version
of a file in .net CF ?
thanks in advance,
astrid Tag: Difference between Form.Hide() and (X) Tag: 9608
Problems with combobox population
Hi !
There is a way to populate a combobox manually ?
I have a dataset wtih two table, "Services" and "language", the combobox
must have services ID as value and a record from table language as Text.
table Services: table language
[SRVC_ID] [LNG_ID]
[SRVC_ID]
[LNG_name]
in this way combobox serices is populated with service in english, or
italian, or french and so on...... Tag: Difference between Form.Hide() and (X) Tag: 9607
Work with SQLServer 2000 CE
Hi, I have to work with a SQLServer 2000 database. How I migrate the
database with all data to the iPAQ? I have installed sqlserver CE and i can
create a database with SQLCE Query but i don't know the way to use my
sqlserver database.
Help please!! Tag: Difference between Form.Hide() and (X) Tag: 9604
KeyDown ignored by several important controls
I have a recursive function that snakes throughout a form and all of it's
sub-controls to set a KeyDown event (to listen for the 'ESC' key). However,
several important controls, like the combobox and even buttons do not seem
to properly listen for keydown events. Is this by design? If I want to
enable a given hardware key throughout a form, is there a better way to
achieve this?
--
_________________________________
Jared Miniman, MS-MVP Mobile Devices
Mobile Computer Consultant
ActiveSync problems?
http://www.microsoft.com/mobile/pocketpc/support/help/activesync.asp
Connection Mngr Q's?
http://www.microsoft.com/mobile/pocketpc/tutorials/connectionmanager Tag: Difference between Form.Hide() and (X) Tag: 9590
Disable Power-On Notifications?
I have a full-screen application that locks the taskbar (kind of like a
kiosk app); however, upon a power off/on toggle, sometimes the taskbar
appears, and being that it's locked, it covers the top of the screen until
it is forced into the foreground. Is there any way to prevent the taskbar
from receiving notifications on power up or otherwise keep the taskbar
constantly hidden?
We even capture the IntPtr to the taskbar window handle, then re-enable the
taskbar, then kill focus on the taskbar, then set focus on the current
full-screen form, then re-disable the taskbar, but that doesn't work. Any
ideas?
--
_________________________________
Jared Miniman, MS-MVP Mobile Devices
Mobile Computer Consultant
ActiveSync problems?
http://www.microsoft.com/mobile/pocketpc/support/help/activesync.asp
Connection Mngr Q's?
http://www.microsoft.com/mobile/pocketpc/tutorials/connectionmanager Tag: Difference between Form.Hide() and (X) Tag: 9589
Webrequest.GetResponse error - no end of entity mark
Here is some Visual Basic code I'm using to submit a HTTP GET to an URL
that should be returning some plain text data (MIME type is "text/Plain").
When I run the code on the PocketPC emulator, I'm getting the error "The
response did not contain an end of entity mark" in the
Webrequest.Getresponse method.
Any idea what the error means? I can find zero documentation. I only get
the error in the Pocket PC version of my application (the same code works
fine in Windows!), and only when submitting to this particular URL (the URL
is for a built-in webserver for a piece of network-enabled audio hardware).
Dim sResponse, rspText
Dim req As HttpWebRequest
Dim rsp As WebResponse
Dim rspStream As Stream
Dim creds As New NetworkCredential(userID, password)
Dim sURL As New Uri("http://192.168.0.103/apicmd.asp?cmd=next")
req = WebRequest.Create(sURL)
req.Credentials = creds
req.Method = "GET"
rsp = req.GetResponse()
Thanks!! Tag: Difference between Form.Hide() and (X) Tag: 9584
Web Reference "URL Behavior"
I have a .NET application for PocketPC that uses a Web Reference. I need to
be able to dynamically change the URL of this web reference and have read
about the "URL Behavior" property of the Web Reference and changing it to
Dynamic, but I don't have this property for some reason. Is it because it
is a PocketPC application? How else can I change the URL dynamically? Tag: Difference between Form.Hide() and (X) Tag: 9583
Where has .Security.Cryptography gone?
I noticed that System.Security.Cryptography is completely stripped off in
the CF. Is there any chance
of doing some basic encryption / decreption in my CF application? Tag: Difference between Form.Hide() and (X) Tag: 9582
Put contents of combobox into a string
OK, I'm trying to read the contents of a combobox into a string called item
but I've got no idea how to loop through each item in it
Dim i As Integer
Dim item As String
For i = 0 To ComboBox1.Items.Count - 1
item = item & "|" & ComboBox1. 'What goes in here
Next i
Can any help me out please?
Thanks Tag: Difference between Form.Hide() and (X) Tag: 9573
Webrequest.GetResponse error - no end of entity mark
Anybody know what could cause the error "The response did not contain an
end of entity mark" in the Webrequest.Getresponse method?
Here's some background: I'm writing a Pocket PC app in Visual Basic
that communicates with the Turtle Beach Audiotron, a hardware digital
music server that can be controlled over the network via a built-in web
server. Turtle Beach published a programming API for the Audiotron;
commands are sent as HTTP GET requests. E.g., you tell the audiotron to
advance to the next track by sending the URL
"http://192.168.0.103/apicmd.asp?cmd=next", where 192.168.0.103 is the
network address of the audiotron. The Audiotron API also states that
replies from the GET are returned as plain text data (MIME type is
"text/Plain"). In the case of a successful "next track" command as
described above, the response would be "Error 0 - Success/n".
Ok, so here's my code that sends a "skip to the next track" command to
the audiotron. It works fine in my PC-based version of the app, but
the GetResponse method gives the aforementioned "The response did not
contain an end of entity mark" error when executed in the .NET compact
framework and deployed to the PocketPC emulator.
Dim sResponse, rspText
Dim req As HttpWebRequest
Dim rsp As WebResponse
Dim rspStream As Stream
Dim creds As New NetworkCredential(userID, password)
Dim sURL As New Uri("http://192.168.0.103/apicmd.asp?cmd=next")
req = WebRequest.Create(sURL)
req.Credentials = creds
req.Method = "GET"
rsp = req.GetResponse()
rspStream = rsp.GetResponseStream
Dim readStream As New StreamReader(rspStream, Encoding.UTF8)
rspText = readStream.ReadToEnd()
rsp.Close()
I can't find any documentation for the error (usenet searches, MSDN,
websearches, etc.). I have confirmed that it is not an emulator
communication problem, as the code works for external URLs (such as
www.google.com) and for another webserver inside my network (my
router's built-in webserver). Also, If I put in an invalid URL, I get
a completely different error. So the error is received only when
communicating with the Audiotron's built-in webserver, and even then
only in the .NET CF. I would love to hear any ideas!
Thanks :) Tag: Difference between Form.Hide() and (X) Tag: 9572
Is Control.Invoke supported?
Hi,
The Visual Studio .NET 2003 documentation says that .NET Compact Framework -
Windows CE .NET supports Control.Invoke (i.e. accessing windows forms
controls from a thread they were not created on).
I'm trying to use Control.Invoke on a Pocket PC 2002 device and I get an
"Argument Exception" managed error.
Has anyone been successful with Control.Invoke and if so do you have some
sample code? My code works on the desktop but not on the Pocket PC.
thanks...Ron Lemire Tag: Difference between Form.Hide() and (X) Tag: 9561
Help in API
We're trying to do a few things here without success and I would like to ask
for your help, please.
1) Disable and re-enable auto suspend
have found that we could P/Invoke
SystemParametersInfo(SPI_SETBATTERYIDLETIMEOUT, 0, NULL, TRUE) but haven't
found any working example and have no idea on how to start
2) Get free disk space
we could P/Invoke GetDiskFreeSpaceEx but no working example either
3) Get free memory
P/Invoke GlobalMemoryStatus, no working example either
4) Get remaining battery
- P/Invoke GetSystemPowerStatusEx - have found an example but couldn't get
it to work
- could use OpenNetCF.BatteryStatus but I still don't want to go that way...
I'd rather P/Invoke it myself...
Tks very much,
Arnaldo. Tag: Difference between Form.Hide() and (X) Tag: 9557
Where is Emulator state saved?
I'm trying to load Emulator from command line, after that
I deployed an application to Emulator, I'd like to save
the emulator state, so next time when I load Emulator
from command line, the application I deployed is
still there.
VS.NET 2003
ActiveSync 3.7
Windows 2K+SP4 Tag: Difference between Form.Hide() and (X) Tag: 9556
How to use resource files for multiple languages?
Hi!
I need to implement a functionality in my application for multiple
languages.
I imagine that I should use resource files, but I could not find any good
sample.
The user could choose in run time which language he desires.
Can anybody help me?
Thank you,
Anderson T. Kubota Tag: Difference between Form.Hide() and (X) Tag: 9555
TreeView CheckBox question
Can we have a check box to show up on only certain treeNodes? My
knowledge tells me that this can't be done with what VS provides. What
can we do to get around this?
What I want to do is provide a check box for all the child tree nodes
except the root node.
Any suggestions?
Thanks in advance. Tag: Difference between Form.Hide() and (X) Tag: 9552
Download the MSN Messenger Update for Windows Mobile-based Pocket PCs by Oct. 15
Dear Windows Mobile-based Pocket PC Customer:
As you may know, Microsoft recently announced an update to the .NET
Messenger Service, requiring that only updated clients access the
Service to help ensure that our customers have the latest security
and privacy protections. As part of this update, older .NET
Messenger Service clients, including all Windows Mobile-based
devices, are required to upgrade their MSN Messenger
Service clients.
We are writing to inform you that the MSN Messenger update for
Windows Mobile-based Pocket PCs is now available. Please
download and install this update prior to October 15, 2003 in
order to prevent any service interruptions.
After October 15, customers who have not installed the updated
client will no longer be able to access the .NET Messenger Service
from their Windows Mobile-based device. Customers will still be able
to download the update after October 15, but will not have access to
the Service until the download has been completed.
Please visit our web site for additional information and updates.
The Windows Mobile Team
www.microsoft.com/windowsmobile
Protect Your PC: 3 steps to help ensure your PC is protected
Microsoft wants to help ensure your PC is protected from the latest
Blaster virus, as well as from future threats. Please go to
www.microsoft.com/protect and follow these steps today.
1. Use an Internet Firewall
2. Update Your Computer
3. Use Up-to-Date Antivirus Software
To get more information and resources about how to help protect your
PC, go to www.microsoft.com/protect. Tag: Difference between Form.Hide() and (X) Tag: 9542
Problem creating Windows CE .Net project - Automation Server can't create object
I want to create a Compact Framework app for the Viewsonic V210.
Vis Studio .NET 2003, I pick New Project, C#, Smart Device Application.
The Smart Device App Wizard comes up and I pick Windows CE and project type
of Window App.
Error box comes up with Title bar: "Microsoft Development Environment" and
text "Automation Server can't create object".
Is this a know problem and how do I fix it?
Thanks
Jim Tag: Difference between Form.Hide() and (X) Tag: 9535
print from a pocket pc
Can anybody tell me which is the best solution to print something with a
program written in vb.net for a pocket pc?
I'm a bit confused on the whole process, so I'll try to explain what I need.
I'm going to write a Smart Device Application (using Visual Studio 2003 and
VB.NET code) for a pocket pc: one of the features to provide with this
application is the print of a final report (doesn't matter if html, word or
pdf) made of only text, connecting to a small mobile printer.
I've a pocket Pc supporting bluetooth (Compaq Ipaq 3900), but not yet a
mobile printer: the idea is to buy an hp printer (something else to
suggest?), connect the two via bluetooth, and add to application the code to
print he page, using hp mobile printing sdk.
I hope you'll suggest me examples, technical articles or useful links: any
help would be apreciated.
Francesca Tag: Difference between Form.Hide() and (X) Tag: 9531
delegates
what is the advantage in using delegates over calling the method directly. I
guess we get run time binding to method calls, but what do I gain with this
flexibility. Tag: Difference between Form.Hide() and (X) Tag: 9528
WebService and CF Performance - Again the issue
Hi, I've replied to a thread about this issue but it was rather old so i'm
posting a new one...
I'm having very poor performance acessing webservices!
I'm using both SQL CE Replication and WebServices to send data to my Pocket
PC from the cradle or GPRS.
Replication works fine, but webservices take several seconds to execute, up
to 20 or 30, which is unacceptable.Thing is I want to keep webservices...
I'd be very interested in earing from microsoft, or anyone else, about this
one.
bye,
André Tag: Difference between Form.Hide() and (X) Tag: 9521
Transparent image
Hello
I'd like to create transparent image for my application.
If I point to bmp or ico file in project properties,
shortcut created to this exe file has non-transparent icon
in start menu on PDA and this does not look good.
thanks for any tip
Jacek Tag: Difference between Form.Hide() and (X) Tag: 9514
Serial Communication
I am trying to implement serial communication on a CE
platform using .Net compact framework. Are there any
resources on this subject? Any help would be appreciated.
Thanks Tag: Difference between Form.Hide() and (X) Tag: 9513
REe Creating a setup File for CF Application
Maybe not technicly this group, but this was where the original posting
was...
I'm using EzSetup, but each time I run it using the commandline:
ezsetup -l english -i MyApp_PPC.ini -o MyAppSetup.exe
in a command window, all I get back is the syntax text, not even an
error. All cabs and the ini file are in the same directory as ezsetup.
I was wondering if all options have to be supplied (in my case, no eula
or readme).
Contents of my ini file is as follows:
[CEAppManager]
Version = 1.0
Component = MyApp
[MyApp]
Description = "My new App"
;Because there are multiple .cab files specific to a CPU type,
;these files are relative to the installation directory.
CabFiles= MyApp_PPC.ARM.CAB; MyApp_PPC.ARMV4.CAB; MyApp_PPC.MIPS.CAB;
MyApp_PPC.SH3.CAB; MyApp_PPC.WCE420X86.CAB; MyApp_PPC.X86.CAB
This format was pilfered off of another posting, but without the listing
of multiple cabs. I also tried using commas to separate the file names,
but with no luck.
Any help would be greatly apprieciated.
Paul Tag: Difference between Form.Hide() and (X) Tag: 9511
Numeric upDown Control decimal increment ??
If i set de Increment value to 0.5 the up/down does not work ?
Min, max, Value and increment seem all decimals , but the increment and
value properties seems to work only if you put a integer value in it
Is this a bug or am i missing something ?
Johan Tag: Difference between Form.Hide() and (X) Tag: 9509
using loadcursorfromfile in vb.net
I have written:
"Declare Function LoadCursorFromFile Lib "\Program
Files\Axilog_SavPad\user32.dll" Alias "LoadCursorFromFile" (ByVal
lpFileName As String) As Long
l = LoadCursorFromFile("\Program Files\Axilog_SavPad\Cursor1.cur")"
But it gives no result.
How can I do to solve this problem? Tag: Difference between Form.Hide() and (X) Tag: 9507
IrDA DiscoverDevices
Using VS NET 2003 C#
O2 XDA (Pocket PC 2002)
Nokia 6150 (6100)
The InfaRed Function of Pocket PC can find the Nokia 6150 Mobile Telefon.
When I run a program with :
IrDAClient irdaClient = new IrDAClient();
IrDADeviceInfo[] irdaDevices;
irdaDevices = irdaClient.DiscoverDevices(10);
irdaDevices.Length is allways 0. (No Exceptions)
If the PDA can find the Nokia then why can't IrDAClient find it?
Has any body tried this on a O2 XDA with different results?
For that matter has anybody had the same results, but has found it to be
Machine specific ?
I have tried a c++ Sample (IrdaMobil) that looks for a Nokia 5300 with a AT
Command. Connection to (IrDA Port) COM2 and COM3 works but the AT Commands
recieves a Timeout.
So the main questions are :
- is it the O2 XDA Maschine ?
- or am I doing something wrong ?
Mark Johnson, mj10777@mj10777.de Tag: Difference between Form.Hide() and (X) Tag: 9505
SQL CE Install Problem
Hi.~
I am trying to install SQL CE 2.0 edition on Windows
2000 Server where SQL Server 2000(with sp3) and IIS is
installed previously in.
but, I am puzzled.
When I am trying to install SQLCE 2.0, the windows2000
shows error message "SQL Server CE tool will be only
compatible with SQL Server 2000 and SP1 higher..."
but SQL Server 2000 in my pc is updated to SP3.
please help me.. Tag: Difference between Form.Hide() and (X) Tag: 9504
How to "free / dispose" objects?
Hi,
i'm really new to .NET and i know, that the garbage-collection should free
objects itself... but is there any way to force this?
for example: i have a loop in which i need to create a new object every
time, fill in some data, store it to a database and then... free it...
[pseudo-code]
while (readline(myLine) != eof)
{
TMyObj tempObject = new TMyObj;
tempObject.abc = "abc";
//...more data to fill
StoreObject(tempObject)
//in pascal i would do:
// tempObject.Free;
}
[/pseudo-code]
The loop will run thru about 100000 times - so 100000 objects are created
but only used for a very short time!
I need a new object to have a new reference - so a Clear-Function to clear
my data is not enough.
Question: WHEN will the garbage-collection free the instances of the loops
before?
Boris Tag: Difference between Form.Hide() and (X) Tag: 9499
direct access from Handheld(CASIO IT 500) to remote sqlserver2000
hello everyone;
I need help^^;
Is it possible direct data access through wireless
network(bluetooth or others) from PDA(CASIO IT 5000) to
remote SQL Server 2000 Database?
If it is possible, how can I do that?
Until now, I write data access logic, which works in PC
environment.(using System.Data.SqlClient). and install
this program in PDA. but it didn't works. The error
message is some kind of typeload exception.
please help me.^^; have a nice day. Tag: Difference between Form.Hide() and (X) Tag: 9494
Keydown Event losing focus
Hi,
I'm using the Keydown event on a form with a panel and scroll bar on
it, to trap the user pressing the hardware scroll buttons. It works
fine when the form is first loaded, however if the use selects a
control, then the scroll bar doesn't work on the form any more. Is
there a way of ensuring that the form always has focus so if the
scroll bars are pressed, the keydown event is fired as when the form
first loads?
Regards,
David. Tag: Difference between Form.Hide() and (X) Tag: 9493