all groups > dotnet compact framework > may 2004 > threads for tuesday may 11
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
help with datatable
Posted by rtermaat NO[at]SPAM neb.rr.com at 5/11/2004 7:51:40 PM
I am having trouble with getting at the last record in a datatable. I
need to find the id and increment it.
int x = logtbl.Rows.Count;
string x_id = logtbl.Rows[x]["fldid"].ToString();
//here it tells me that x_id has a null value because no row exists at
(x = 8)
int id = Convert.ToInt3... more >>
Closing a process(windows app) created with createprocess.
Posted by Richard at 5/11/2004 5:45:57 PM
Hi All,
I have an app that starts up an other windowed app using createprocess. Now
when it's time to close i want the other app to close too. How would i do
that?
I also would like to know if the other app got closed (basicly crashed
:-) ), Is there a way to monitor a process if it's still... more >>
GetTotalMemory, GlobalMemoryStatus
Posted by Daniel Moth at 5/11/2004 5:40:10 PM
Hi
Hopefully someone can help me clarify some memory issues and in particular
the difference between GetTotalMemory & GlobalMemoryStatus...
Apparently GetTotalMemory(false) retrieves the number of bytes currently
thought to be allocated. I assume the bytes returned reflect only the
managed ... more >>
OOM component, OutOfMemoryException
Posted by Daniel Moth at 5/11/2004 5:26:06 PM
Hi
I have been experiencing the OOM dialog that CE throws up so I am trying to
diagnose where the leak in my app is (assuming there is one)...
The dialog pops up with the caption "Program Memory is Low". Then there are
options to close a form down or "Convert some Storage Memory to Program
... more >>
program automatically starts after cab install
Posted by Jesse at 5/11/2004 5:19:58 PM
Can the cab file produced by a .net smart device solution be built in such a
way so that the program automatically starts after it has been installed to
the CE device?
thanks,
Jesse
... more >>
Marshal function leaking memory
Posted by PBS Productions at 5/11/2004 5:11:58 PM
Hi,
I hope someone can help with this one. I'm using below function but it
is leaking memory although an article on MSDN says it should not leak
memory.
Dim TopHandle As Integer
TopHandle = GetForegroundWindow()
Dim buffer() As Byte
Dim buffersize As Inte... more >>
General access to Windows Directories on PPC, C#
Posted by Neville Lang at 5/11/2004 5:09:17 PM
Hi all,
During installation of my PPC app (C#), I install a custom font file (TTF)
into the \Windows\Fonts directory on the PPC. This is achieved in the .INF
file by specifying its location as %CE15%, a macro string.
However, in my C# code, I hard-code this path in one of my global strings,
... more >>
No application config file??
Posted by Jesse at 5/11/2004 4:27:37 PM
Any suggestions for an alternative approach to application configurability?
Preferably some kind of utility assembly that is wrapped nicely.
I downloaded a utility from http://www.codeproject.com/netcf/SmartConfig.asp
but it proved to be very difficult to work with.
Thanks,
Jesse
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
CF.Net TCP client
Posted by Adam Goetz at 5/11/2004 3:30:49 PM
I hope that this is just a really easy question.
Why does this command work on the emulator, but causes a 'host not found'
exception on a device, when the device can ping the ip address listed and
the server program is running? Connection i via 802.11b network.
TcpClient client = new TcpCli... more >>
.net cf & webservices
Posted by Josh at 5/11/2004 3:29:31 PM
Hi,
Can anybody tell me does .net cf support sessions when using a soap web
service? If not, can you tell me where it says so in the documentation or
point me to some other info or work around??
Thanks
Josh
... more >>
No DNS server
Posted by Joe Bain at 5/11/2004 2:49:41 PM
Sorry if this is a repost, I don't think the first on sent.
I have made a program that runs on a .net PocketPC that talks over a
wireless network with a server running a program that is not written in
..net. The program works fine here, but gives an error message of "No
such host is known" at ... more >>
Networks with no DNS
Posted by Joe Bain at 5/11/2004 2:12:29 PM
I have written a .net program that runs on a pocketPC that talks
wirelessly to a non .net program on a sever though sockets. The program
works fine on our network here, but on the customers it gets an
exception "No such host is known". I do not think their network has a
DNS server. Here is code ... more >>
How to resize PictureBox image
Posted by Dan French at 5/11/2004 1:16:12 PM
Does anyone know how to resize an image in a PictureBox? I have been able to resize an image using Graphics.DrawImage in OnPaint, but CF does not support the CreateGraphics method for a PictureBox. I can select SizeMode in a PictureBox and that handles the different mode requirements that I have, bu... more >>
class to class
Posted by Jimmy at 5/11/2004 12:29:50 PM
Hey
I was under the impression that it was possible to return an object of a
class from a webservice, and then assign it to an instance of the same
object on the PDA program receiving the returned object.
Example webservice:
namespace WS
{
[WebService(Namespace=http://whatever)]
pu... more >>
Enable SIP without having a mainmenu or taskbar
Posted by Gogo at 5/11/2004 12:11:53 PM
Hi @ all,
after reading a lot of stuff, I couldn't find a solution.
I have an application, written in VB.NET, which needs to run in kiosk mode
without any tasbar, main menu or something else. As it is an application,
where data has to be entered, I really need a small keyboard, which could b... more >>
What to Use?
Posted by Kim D at 5/11/2004 10:33:17 AM
I have a large maintenance system running in paper mills. We are moving
towards Pocket PCs for the collection of lubrication and inspection
information of the equipment. I am a seasoned VB6 programmer and was wonder
what should I use to develop these apps. I know that eVB is free but have
heard ... more >>
Starting a process after the form is visible?
Posted by Richard at 5/11/2004 10:27:47 AM
Hi All,
I want to do the following, show the form and after the form is visible do
some processing, so i can show the process on the form. But the problem is
that i can't seem to find an event that get fired after the form is visible.
Am i missing something?
I'm using c# for this.
Please... more >>
Help needed with SQL CE
Posted by tiger79 at 5/11/2004 9:37:14 AM
Ok, first of all I'd like to know if this statement is true :
The basic integer data type can handle data values ranging
from -2,147,483,638 through 2,147,483,647
in SQL i mean...
And is there some limit in the number of rows in a CE database ???
Because i'm trying to read in a database... more >>
Printing Invoices
Posted by brycelindsey NO[at]SPAM hotmail.com at 5/11/2004 9:22:32 AM
I've gone through every post I could find and have found 3 solutions,
but none of them are working for me.
The situation:
My app will be used by field technicians to print service invoices out
in the field. They will be printing to HP printers via IrDA.
The problem is that I can't format a... more >>
COMPACT FRAMEWORK HELP!!!
Posted by Daimy at 5/11/2004 9:05:38 AM
I've made a compact framework program.
It will invoke some web service methods.
The program can be run perfectly in PocketPC.NET.
But it can NOT be run in PC.
When it invokes web service methods, error will occur.
Can you help me ?
Thanks!
The error message :
See the end of this message fo... more >>
how to create a VB/C# CF helper dll
Posted by Robert Regnell at 5/11/2004 8:20:46 AM
Hi,
I program in eVB 3.0 and Pocket PowerBuilder for WinCE devices. I started
looking into the CF using VB/C# recently in order to create some a DLL that
does some simple things like memory available, battery status, get handheld
name, uniques ID, ...
I have found many example of how to im... more >>
RAS.Dial + WebRequest -> Error?
Posted by trollpower NO[at]SPAM gmx.de at 5/11/2004 7:06:25 AM
Dear NG,
i need to make a RAS.Dial in my App. But due to some circumstances i
also need to make a WebRequest to a page. If i call Ras.Dial and then
make the WebRequest, the System tries to make another connection on
its own and gives me an Error, saying that it cant establish a
connection.
... more >>
can not delete excutable in Pocket PC
Posted by khanh NO[at]SPAM glassegg.com at 5/11/2004 3:37:32 AM
hi all,
We are developing an pocket pc application for months, and we often
see a weird bug: since deploying informs to be failed, we try to
delete the executable but we can not delete it in pocket pc sometimes,
then we have to reset device!!! This event often happen when we stop
debugging ... more >>
Unable to debug on the device :-(
Posted by Ofer B. at 5/11/2004 12:36:26 AM
Hi all
When I try to debug (F5) on the device I get this Error.
--------------------------------------------
Launching Application
Error while trying to run project: Unable to start debugging.
Unable to start program <programDir>><fullpath>
---------------------------------------------------... more >>
How to find out the Processor type prgramaticaly
Posted by joby_cg NO[at]SPAM yahoo.com at 5/11/2004 12:25:59 AM
Dear All,
How to find out the type of the proccessor of my Pocket PC like ARM
or SH3 or MIPS etc Programatically.. The thing is I want to install
the CAB file deppends upon the processor.So runtime i want to know
which is the processor.
One more thing how can i download the application fr... more >>
|