all groups > c# > august 2005 > threads for saturday august 6
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
Return string from C++
Posted by MRe at 8/6/2005 11:37:38 PM
Hi,
I have a C++ function that takes an allocated char* array in, which it
will copy into, and return. I need to be able to access what was copied into
this array in a csharp program. So far I have this...
C++
void test(char* pOut)
{ CopyMemory(pOut, "abc", 3);
}
C#
[DllImport("t... more >>
Active x
Posted by Dave at 8/6/2005 11:28:35 PM
Hi,
I have an active x control that been createted when i drop it on a win form
and sent event to the form event function(like button click event for button
control or so),
This active x send event every 1 sec to the event function.
Can i create active-x control dynamicly at run time with no ... more >>
ipc
Posted by Dave at 8/6/2005 11:21:19 PM
Hi,
What is the best way to communicate betwine c# application and unmanage c++
application (no sockets) and to pass data betwine them???
what are the all ways i can use??
Thaks
... more >>
ansi string
Posted by Dave at 8/6/2005 11:18:59 PM
Hi,
how can i create an ansi string in c#(not unicode)?
How can i convert a string member lets say string str="12345" to char*
s="12345" becuse the unicode "12345" is "1020304050" and i need to cinvert
it to char* in c# but i dont have pointers in c# so what can i do???
Thanks
... more >>
Form in thread
Posted by Dave at 8/6/2005 11:16:09 PM
Hi,
I am writing a C# win form application that show 3 different winform dialog
and i wanf that every form dialog will run in a differnt thread, how can i
do that?
How can i create or show a win form in differnt thread?, can you send me an
example?
Thanks.
... more >>
Dataset Schema from XSD
Posted by MR at 8/6/2005 10:42:41 PM
Is there a way to load an XML schema into a dataset from a resource or other
object? I am using ReadXmlSchema(filename) and that works fine.
However, I have many XSD files that I would rather not have to distribute
with the application.
I would like to be able to use a typed dataset since the ... more >>
Toolbox Bitmap doesn't show up
Posted by Wallace Pipp at 8/6/2005 7:16:02 PM
Hello all,
I created a bitmap with my control, but the bitmap(MyControl.bmp) doesn't
show up on the toolbar. Here's what I tried:
[ToolboxItem(true)]
[ToolboxBitmap(typeof(MyControl))]
public class MyControl : System.Windows.Forms.Control
{
...
}
Thanks for any help,
Wally
... more >>
Class across multiple files
Posted by Jay at 8/6/2005 3:38:03 PM
Is it possible to split a class up in multiple files? if so how?... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Storing WAVE FORMAT in an XML FILE
Posted by VenuGopal at 8/6/2005 1:06:03 PM
hi,
i want to store the WAVE FILE CONTENTS in an XML.
How do i do it?
thanks
Venugopal... more >>
Transmitting an XML File
Posted by VenuGopal at 8/6/2005 1:03:01 PM
Hi,
i have a XML File... it is generated by the client.
I have to send it to the SERVER prgrm... how do i do it?
I am familier with how to send a Sting "value" or some "value" to the Sever
using the tcpclient and the stream writer. This is fine.
But what if i need to send the Entire File?
... more >>
Using a string as a hastables key
Posted by thechaosengine at 8/6/2005 12:37:56 PM
Hi all,
Is it ok to use a string as the key for Hashtable entries? I want to use
the name of entity in question, which I know will always be unique.
Do I have to do anything fancy equality-wise or are there any caveats I should
be aware of?
Thanks to anyone who can advise.
Kindest Re... more >>
animated gif
Posted by Hrcko at 8/6/2005 11:26:33 AM
How to put an animated gif onto form ?
When I load it into picuterbox it's static.
Hrcko
... more >>
Mobile phone chat application
Posted by pras kumar at 8/6/2005 9:32:35 AM
Hi,
I am new to mobile application using .net framework.I am interested in
developing a chat application for a mobile device(chat between a pc to
mobile).Is it possible to do it using .net .Please tell me how should i
start doing it?
Also tell me how to go about doing it.Thanks in advance... more >>
GetDiskFreeSpaceEx()
Posted by Ed at 8/6/2005 7:48:09 AM
Hi,
I have tried using GetDiskFreeSpaceEx() to obtain the amount of free
space of a DVD RAM in C#. It returned an error and I used a
getlasterror showed that the error was "parameter is incorrect"
I have checked all 4 the parameters and found them to be correct.
Has someone faced similar pr... more >>
What is C# really used for?
Posted by Visually Seen # at 8/6/2005 3:55:22 AM
Hey everybody!
I just want to discuss: what do people really use C# for?
According to Microsoft, it was made for rapid software devolopment, and
now everybody is on about XML, chat groups etc. and so much on the
internet, why can't we just stick with Windows Forms?
P.S. The main reason I lo... more >>
c#.net detect media card insertion
Posted by sanjana at 8/6/2005 3:42:12 AM
hi
can anyone help me with this
i want to write a code in c#.net which detects usb storage and media
card insertion
can anyone help me with this??
thanx
... more >>
User Control Problem
Posted by Raed Sawalha at 8/6/2005 2:10:20 AM
I have UserControl named (AddressBookManagement.ascx)
HTML
<%@ Register TagPrefix="uc1" TagName="AddressBookManagement"
Src="AddressBookManagement.ascx" %>
protected ManagePersonalAddressBook oManagePersonalAddressBook;
on page_load i tried to call a setup function in oManagePersonalAddr... more >>
Number of CPUs
Posted by Urs Vogel at 8/6/2005 12:00:00 AM
Hi
When measuring the thread pool with ThreadPool.GetMaxThreads(..), it returns
25 threads per CPU. On a hyper threaded machine, though, it returns 50
threads, still only having one CPU. How do I accurately determine the
physical CPU count? Any idea?
Thanks, Urs
... more >>
|