all groups > c# > april 2004 > threads for saturday april 3
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
Programming for the Palm OS?
Posted by John C Fiala at 4/3/2004 11:42:57 PM
Hi.
Does anyone know of any resources about programming for the Palm OS
using C#? There may very well not be any yet, but I'm curious, and my
attempts at googling the answer weren't successful.
Thank you very much!
-john
... more >>
calling C++ from C#
Posted by sagiv at 4/3/2004 11:11:02 PM
I'm looking for a simple example for calling a c++ code written in .NET from my C# application
any reference would be great
Thanks,
Sagiv
... more >>
Size of an instance in memory
Posted by Mariano Drago at 4/3/2004 11:02:50 PM
Hi there.
How can i know how much memory is an instance taking, devided by internal
instances. For examples lets say i have 2 classes, C1 and C2.
C1 have an internal instance of C2
How can i know the size of:
C1 class
C2 class
C1 instance
Another question. If C1 has an instance method (1MB... more >>
FolderOptions > FileTypes > Icons
Posted by Ron Vecchi at 4/3/2004 10:56:29 PM
I'm trying to get a list of all file icons registered to file extensions
located on the machine. I would like to beable to loop through all icons
and save the images in a seperate directory named after the extension they
are mapped to. Should be no problem but I can't seem to find any
informat... more >>
How to read the LAST record of datareader?
Posted by Tom at 4/3/2004 10:46:03 PM
Hi
How to read the LAST record of datareader? Here is my code
[code
StringBuilder objBuilder = new StringBuilder()
objBuilder.Append("SELECT startdate, enddate FROM records where userid = '")
objBuilder.Append(id)
objBuilder.Append("'")
SqlDataReader dr = null
int RecordCount = 0
tr... more >>
Threading & Exceptions
Posted by Ayende Rahien at 4/3/2004 10:23:39 PM
The following first throws the nasty exception dialog, and only then show me
the message.
Is there a way to avoid this?
This occur both inside & outside VS.
public class Test
{
private static void CurrentDomain_UnhandledException(object sender,
UnhandledExceptionEventArgs e)
{
Sys... more >>
DLLImports
Posted by Rein Petersen at 4/3/2004 10:14:52 PM
Hi Folks,
I want to import a Windows32 class library that utilizes callback
functions - but I want to do all my coding in C#. Is there any way to wire
up a dll import to callback to, I'd guess, a C# delegate ?
Rein
... more >>
paint handler problem
Posted by Joep at 4/3/2004 7:46:22 PM
L.S.,
I am using the picture box's paint event to load an image if not yet loaded.
The picture box is one of many that together occupy the area of a panel. Not
all boxes are visible so not all images have to be preloaded.
Problem is that some images do show while others do not.
My paint h... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Array push&pop
Posted by kuya789 NO[at]SPAM yahoo.com at 4/3/2004 6:45:58 PM
I would like to move the values of an array up one in the index.
This is what i tried but it didn't work.
int[] intArr = new int[5];
Array.Copy(intArr, 0, intArr 1, 4);
intArr[0] = userinput;
//this is how it should work
userinput: 5
intArr {5,null,null,null,null}
userinput: 4
intAr... more >>
Bugs
Posted by Ayende Rahien at 4/3/2004 6:37:42 PM
Recently I've encountered two highly annoying bugs in the framework,
anyone who knows how to solve them would be most appriciated.
1) I'm trying to do Process.Start(url); and get a Win32Exception, after
quite a bit of testing I found out that the reason for this is that I
didn't have STAThread... more >>
typeof keyword
Posted by ichor at 4/3/2004 5:20:19 PM
hi
what is the use of the typeof keyword , and how does it differ from the
GetType method. i found the GetType method useful but i fail to understand
the use of the typeof method.
i have tried out a very simple example which i made up myself.
Employee e = new Employee();
ContractEmp ec =ne... more >>
cursor keeps resetting ?
Posted by ilPostino at 4/3/2004 4:34:15 PM
I'm using this function to load a custom cursor from a .cur file;
public static extern IntPtr LoadCursorFromFile(String str);
It works great but if I popup a ContextMenu or Control like a ListView, the
cursor resets to the system arrow. Even if I set the cursor property of each
control to th... more >>
uml
Posted by juzan at 4/3/2004 3:40:10 PM
hi
i have a project in c-sharp made by a colleague and now i have to take it up
from here on. is there any way to generate uml diagrams from it. its a very
OO based project.
thanx
... more >>
Textbox goto
Posted by Aaron at 4/3/2004 2:00:45 PM
I have a multi-line text box and a button. the textbox displays a large text
file about 1000line
I want the textbox to goto say line 324 (line 324 is now the first line in
the textbox) when the button is clicked.
What's the command to do this?
THanks
... more >>
TopMost causing problems
Posted by Scatropolis at 4/3/2004 1:51:41 PM
I have a program that uses the topmost to stay on top. The problem I'm having
is that with some games (Half-Life mostly) it stays above the game, which can
get really annoying and in the way. Is there some way to detect when a
directX or game type window is taking screen control so I can dis... more >>
Programmatically setting Group Policy
Posted by RF at 4/3/2004 1:35:15 PM
Hi All Experts,
I trying to create an app/script to set local group policies on a machine.
How can I achieve setting group policies programmatically without using any
GUI.
For example, I want to set the User Configuration --> Windows Settings -->
Internet Explorer Maintenance --> Connection... more >>
Post and cookies
Posted by travis NO[at]SPAM phizy-dot-com.no-spam.invalid at 4/3/2004 8:01:32 AM
okay, I am trying to make a c# Gui for PHPbb
I have allready finished all the scripts for readong the posts and
such, but I set them all to run as guest. Now in order to reply to
these posts I have to log in. to do this I try to POST to login.php
but I am having trouble figuring out how to rea... more >>
Closing a messageBox with the ESCAPE key
Posted by Jax at 4/3/2004 7:41:05 AM
Is there any way to do this that doesn't involve creating a form to be a messagebox
I'm re-writing a program that designed in VB and the users want to keep that functionality within the program
Why could you do this with VB6 but not C#
Many thanks to those that hel
jax... more >>
I'm the best programmer
Posted by Sami Vaaraniemi at 4/3/2004 7:20:08 AM
With each post, more people will visit my site. I am the superior
programmer.
Sami
www.capehill.net
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
Removing Min/Max/Close buttons from MDI child
Posted by JSM at 4/3/2004 5:54:04 AM
Hi,
Is it possible to remove the minimise, maximise and close buttons on an MDI
child form? I know the documentation say all MDI child forms will have these
buttons regardless of whether you disable them or not but surely there must
be a way via an API call or something.
Cheers,
John
... more >>
weird kerning problem with DrawString
Posted by John Wood at 4/3/2004 4:24:13 AM
For some reason whenever I use StringFormat with a trimming set to
EllipsesCharacter, when it does clip the string, it seems to reduce the
kerning (it squishes the letters together). Has anyone else seen this? What
can I do to stop that?
Thanks,
John
... more >>
null and overloading == operator
Posted by Andrew Gniadek at 4/3/2004 2:58:00 AM
hey,
if i overload the == operator then i have problems with checking if a
reference to an object is null. just wondering how i can get away with
it. because as soon as I overload it then i can't check for a null
reference within that implementation cuz it gets recursively called
resulting ... more >>
Design issue( creation of objects)
Posted by seash at 4/3/2004 2:31:04 AM
H
My application consists of three layers, presentaion layer(PL), Business Logic layer(BLL) and Data Access layer(DAL)
my application is a single windows form application
now BLL consits of couple of classes, in one class of BLL, i need to access a function of PL
the function declaration is as... more >>
Dumb Question
Posted by DevBoy at 4/3/2004 2:13:58 AM
I forgot where to change the "main" form of a project? In VS.Net 2003 I
cannot seem to see imported forms into projects and I have made sure they
are public and have the correct namespace.
... more >>
reference to reference. possible?
Posted by CKR Rajesh at 4/3/2004 2:10:31 AM
Hi
Is there any way to simulate a pointer to pointer equivalent in C# using
references and without dwelling into unsafe code?
For ex, I have a class variable.
A var = new A();
which say, is equivalent to C++ code
A * m_p = new A();
I want to have a variable which is equivalent to... more >>
Imposter posting under my name
Posted by Sami Vaaraniemi at 4/3/2004 1:37:05 AM
An imposter is posting under my name on this newsgroup. You can tell fake
posts from my posts that I never insult anyone on newsgroups. Just ignore
the posts.
Sami
www.capehill.net
... more >>
|