all groups > c# > november 2004 > threads for saturday november 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
Scope issue
Posted by ORC at 11/6/2004 11:17:39 PM
Hi,
I have a class A defined in class B. Class A is private because I don't want
object that makes an instance of class B to be able to see the class A
definition. Instead I want to declare an instance of class A in Class B that
is public so that the object that creates the instance of class B... more >>
OT: Pronunciation of GUID
Posted by Paul Sullivan at 11/6/2004 11:04:35 PM
English majors!!
I have been saying "Goo-id" using two syllables , but I heard it
pronounced "Qwid" using one syllable. The Q has the sound of the Q in
"Quill".
How do you say it?
... more >>
Links to the .net books
Posted by mails2bilal NO[at]SPAM yahoo.com at 11/6/2004 7:45:43 PM
>If you like, you can download some of this books
>
>http://jztele.com/~coldice/book/net/MS%20Press%20-%20Applied%20Microsoft%>20.Net%20Framework%20Programming.pdf
>http://jztele.com/~coldice/book/net/MS%20Press%20-%20Programming%20Microsoft%>20Windows%20with%20Csharp.pdf
Somebody mentioned t... more >>
Get a reference to an object's base type
Posted by Santi at 11/6/2004 6:25:15 PM
I have two classes: Product and Fruit which inherits from Product.
If I try to narrow the reference to the base type by a cast, I always get a
reference to the inherited type.
For example:
Fruit lemon = new Fruit();
Product prod = (Product)lemon; // Now prod is a Fruit Type!!
I want to g... more >>
Threadsafe value types
Posted by John at 11/6/2004 4:42:14 PM
If a value type is immutable, I guess it's threadsafe to read it? But not
threadsafe to assign a new value to it (can any value type be truely
immutable? Isn't assigning a totally new value to it, like doing an
modification, when no references are involved? I don't know enough about
CLR)
... more >>
remoting a dbase call and getting intermittent progress back...
Posted by Jack Addington at 11/6/2004 3:49:53 PM
I am working on app that currently all resides on the same machine but plan
to pull the database off and try to move all the datafunctionality to a
remote machine. I have a data function that is processing a loop of rows
and calling a stored proc for each row. All is encapsulated within a si... more >>
C# and scanners
Posted by Robert at 11/6/2004 3:14:25 PM
I am developing an application that will need to take scanned images,
name them, sort them, place them in specific folders, etc as they're
scanned. Does anyone know what I need to do in C# to access and work
with a TWAIN compliant scanner, or how I can find this information?
Any help would... more >>
Custom compile-time errors and warnings
Posted by Glen at 11/6/2004 1:02:57 PM
I'm working on a custom assembly and I'm trying to figure out the best
approach to handling known constraints within the assembly, once
compiled, to alert the developer at compile time of a potential issue.
For example, in the assembly I would like to add a constraint that
states a particula... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Performs macro substitution in Csharp
Posted by L.Peter at 11/6/2004 12:28:01 PM
Dear Group,
How can I do this?
****
int i;
string cmacro = "i =3";
// How to tell c# to show 3
MessageBox.Show(cmacro);
****
how can I tell c# to treat my string as code?
TIA
L.peter
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.... more >>
Parent property in class hierarchy (Newbie)
Posted by Steve at 11/6/2004 12:10:56 PM
Hi, I'm just crossing over from VB6 to C# - so still quite new to it all.
My question is how is it possible to reference a parent class of a class for
example.
Books.cs
Book.cs
Pages.cs
Page.cs
Sentences.cs
Sentence.cs
And for... more >>
how do you overload methods...
Posted by Benny Raymond at 11/6/2004 11:24:49 AM
I'm trying to change the way a treeview works just a bit, i'm pretty new
to C# and now i'm running into overloading. I tried the following code
and it's yelling at me saying that no overload method takes 0 arguments.
#region tViewNodeCollection
public class tViewNodeCollection : TreeNo... more >>
Problem with arrays
Posted by bernardpace NO[at]SPAM yahoo.com at 11/6/2004 11:11:00 AM
Hi,
I have a two dimensional array as follows:
double[,] myArray = new double[14, 41];
Now I have a method which is returning double[], which is of size 41.
I need to put the data of the array returned into myArray.
myArray[0, ???] = myMethod1(); // return double[41]
myArray[1, ???... more >>
Printing PDF from Process.Start( , ) without user prompt
Posted by mg at 11/6/2004 10:07:03 AM
The following .exe and its parameters work correctly from the command prompt
(it prints x.pdf without prompting the user.
acrord32.exe /t "c:\exportfiles\x.pdf" "HP LaserJet 3300 Series PCL 6" "HP
LaserJet 3300 Series PCL" "DOT4_001"
But, I have not been able to use the exe and its paramet... more >>
uff, questo C#....
Posted by Parret at 11/6/2004 9:55:49 AM
Ciao a tutto l'NG, proseguo col mio scontro con il C#....
Ieri mi sono trovato con l'esigenza di selezionare dalla rubrica di windows
il nominativo e il numero di telefono di una persona, per poi mostrare ogni
persona selezionata riga per riga sulla form principale; memore del
"vecchio" Visua... more >>
Objected Oriented Programming books
Posted by Srinivas at 11/6/2004 8:10:55 AM
Hi,
Can anyone please suggest me some good books with lots of examples for,
1. Object Oriented Programming
2. Object Oriented Designing
3. Object Oriented Analysis
Thanks in advance.
Regards,
Srinivas
... more >>
|