all groups > c# > june 2004 > threads for sunday june 27
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
Multiple Object Serialization seperately in single file (something like olestorages)
Posted by ali.jan NO[at]SPAM gmail.com at 6/27/2004 11:30:26 PM
Hi,
We have a c++ application that accesses many different modules. Each
of these modules is responsible for it's own
serialization. We have seperate olestorages for each of the
module. The main application hands over these storage
pointers to each module which then do whatever-they-want to... more >>
arrays of a class
Posted by uthinkasumthin NO[at]SPAM hotmail-dot-com.no-spam.invalid at 6/27/2004 11:02:03 PM
Sorry if this is really basic, but I'm a c++ guy new to c#.
I'm trying to create a multidimensional array of a class, like so...
MyClass[,] theArray = new MyClass[4,4];
and calling a function in it like so...
theArray[0,0].aFunction();
yet I get a NullReferenceException whenever I run the... more >>
Sorted (IComparer) algo
Posted by peorro77 at 6/27/2004 9:54:04 PM
How can i use IComparer to sort a grid of rows and lines?
This is what i need:
Shuffle Arraylist
Field ROW Field LINE
5 2
5 3
4 2
6 2
6 3
3 2
6 ... more >>
Back to Threads
Posted by Michael C at 6/27/2004 8:25:02 PM
Hi all,
I'm now trying to update a status indicator via a Timer control on a worker
thread. The status indicator is just a label on the main form, but I'm
having trouble figuring out exactly how to implement a separate worker
thread or asynchronous delegate that changes the label contents bas... more >>
.xsl or .xslt?
Posted by Peter Gloor at 6/27/2004 7:25:29 PM
What's the difference between the file type extensions .xsl and .xslt? When
to use what?
So far I always created XSLT files thru the appropriate menues in VS.NET.
They automatically become .xslt files. But today I've got some externally
created XSL transformation stylesheets with filetype .xsl... more >>
Help overloading + and += simultaneously??
Posted by John Hardin at 6/27/2004 4:43:52 PM
All:
The syntax for overloading the "+" and other simple binary math operators
is pretty straightforward, but I can't seem to wrap my brain around the
idea that overloading the "+" operator simultaneously overloads the "+="
operator.
Here's the problem I'm having with it:
When you overlo... more >>
modem
Posted by Mohammed Abdel-Razzak at 6/27/2004 3:26:01 PM
Dear sirs
Is there any way enables me to send data to the modem using C#
ex: phone nmber??
How can I do that??
thanks
Mohammed... more >>
The SyncLock Statement
Posted by Ram at 6/27/2004 3:17:27 PM
Hey,
I have about 5 Shared variables, that I want to be locked for access when
they are written to.
I'v read in the MSDN about the SyncLock statement, and I'm prety sure that's
what I'm looking for,
But the SycLock statement requires a statement in it's decleration:
SyncLock <Statement>
M... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
MsComm32.ocx
Posted by Mohammed Abdel-Razzak at 6/27/2004 2:09:02 PM
Dear sirs
I`ve added the com component "Microsoft communications control" to my project toolbox (in C#) but when I double clicked it, I got the following error message
"You don`t have a license to use this ActiveX control"
what should I do to use this control???
or is there any replacement??
... more >>
Seeking Hierarchical Relational Data Model
Posted by clintonG at 6/27/2004 1:29:50 PM
I'm looking for documentation and would not turn my nose up to
any code from anybody who thinks they are good at the design
of an algorythm that can be used to generated a hierarchical relational
data model.
What?
A Yahoo-like drill-down menu that is a series of categories and nested
categ... more >>
Downloading WebSites using HttpWebRequest
Posted by thomas peter at 6/27/2004 1:17:41 PM
I am building a precache engine... one that request over 100 pages on an
remote server to cache them remotely...
can i use the HttpWebRequest and WebResponse classes for this? or must i use
the MSHTML objects to really load the HTML and request all of the images on
site?
string lcUrl = htt... more >>
Elegant way to convert Collection to Array[]
Posted by Tamir Khason at 6/27/2004 1:02:29 PM
How can I convert (elegant way) Collection to Array without looping and new
instances.
E.G:
I want to add elements of one menu to other, so
secondMenu.MenuItems.AddRange(firstMenu.MenuItems); //Error here: Argument
'1': cannot convert from 'System.Windows.Forms.Menu.MenuItemCollection' to
'Sys... more >>
Change an instance from another
Posted by pablo NO[at]SPAM killthepixel-dot-com.no-spam.invalid at 6/27/2004 11:02:05 AM
I created a class
public class testClass
{
public testClass()
{
}
public void changeForm(){
Form1.textBox1.Text = "hello";
}
}
And on Form1 I declared it and I called changeForm
[code:1:c279a06ed5]testClass myTest;
this.myTest = new testClass();
this.myTest.changeForm();... more >>
C# DLL marshal a struct with strings
Posted by marabo82 NO[at]SPAM hotmail.com at 6/27/2004 10:56:33 AM
I am having problem with marshaling struct in C#.
//the original C++ struct
typedef struct _tagHHP_DECODE_MSG
{
DWORD dwStructSize; // Size of decode
structure.
TCHAR pchMessage[ MAX_MESAGE_LENGTH ]; // decoded message data
TCHAR chCodeID; ... more >>
ImageList Images Disappearing
Posted by ariks NO[at]SPAM nice.com at 6/27/2004 8:18:11 AM
Hi,
I have a ImageList containing 4 bitmaps attached to a UserControl
which acts as a Open/Close panel.
This panel, upon click, switches the image in a PictureBox control to
indicate the current panel status (Open/Close).
Problem is that in certain complex scenarios the images disappear!
... more >>
handle not initialize
Posted by DarekB. at 6/27/2004 8:00:04 AM
Hello,
some times (so not periotic) I gets exception like this in sub. What
is wrong??
debe
PS.
Please on prv, solutions i'll put on group.
... more >>
Terminating a windows form
Posted by bernardpace NO[at]SPAM yahoo.com at 6/27/2004 5:20:31 AM
Hi,
I am creating a windows form, and when a specified event occurs
(button click), I am hiding the windows form and opening a new windows
form. When opening the new windows form and closing it, the main
windows form would still be running in the background and never
terminating. How can ... more >>
need ideas to setup a software company
Posted by sunnyz NO[at]SPAM lycos-dot-com.no-spam.invalid at 6/27/2004 3:02:09 AM
hi guys :) ..i wanna setup a software company...i'm looking for ppl
who have the same passion so that we cud build up more and more of
contacts, get new ideas and start the business right away...so any1
who wants to take over Microsoft join me :lol:
Posted Via Usenet.com Premium Usenet New... more >>
openFileDialog
Posted by e-mid at 6/27/2004 1:05:11 AM
why does not openFileDialog have closed event?
i want to do something; as soon as the dialog closes. is there a way to do
this?
... more >>
sample code
Posted by Casey at 6/27/2004 12:06:35 AM
Hi there - I need some help. I need to find some csharp sample code that
uses a stored procedure to return a single value.Any help is appreciated.
thanks
Casey
... more >>
Newbie confusion on assignment, references, pointers, arrays..
Posted by Russ at 6/27/2004 12:05:11 AM
If I do:
TextBox [] tb = new TextBox [10];
Does it actually create 10 textboxes? I would think so but that is
not what I want. I want to create an array of 10 pointers to
textboxes. So if:
TextBox [];
And then later:
TextBox box = new TextBox;
and then:
tb [0] = box... more >>
|