Re: [Mono-list] Keyword this or base expected(CS1018)

2004-08-22 Thread Gaurav Vaish
Rob,

  Can you give the details of:

  - The base class (namespace, name and preferably, also the constructors)
  - What you intend to do in your sub-class, if non-classified.

  We may be able to help you better...

  Having said that, Gennady's example would be the perfect starting
point for you to pickup.


Cheers,
Gaurav
http://gallery.mastergaurav.net
--



On Sun, 22 Aug 2004 16:56:55 +1200, Rob Brown-Bayliss [EMAIL PROTECTED] wrote:
 
 OK, so how do I pass args to the base class?
 
 I thought:
 
 MyClass my_class = new MyClass(gxml, database);
 
 would pass gxml and database to the base class of MyClass?
 
 
 
  This is wrong.
 
  While calling the contructor, the gxml and database are undefined. If
  you be appropriate to call as:
 
  public MyClass(): base(null, null)
  {
  ...
  }
 
  or better still:
 
  public MyClass(): base( (Glade.XML) null, (Database) null )
  {
  ...
  }
 
  Use the latter option if there are more than one overloaded
  consturctor in the base class that can make up for BaseClass(null,
  null).
 
  NB: I have assumed that Glade.XML is not enum.
 
 
 
  Cheers,
  Gaurav Vaish
  http://gallery.mastergaurav.net
  ---
 
 
  On Sun, 22 Aug 2004 16:19:03 +1200, Rob Brown-Bayliss [EMAIL PROTECTED] wrote:
  
   Why does this:
  
   public MyClass() : base (Glade.XML gxml, Database database)
  
   give me this error?
  
   Keyword this or base expected(CS1018)
 
 --
 Rob Brown-Bayliss
 
 

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Keyword this or base expected(CS1018)

2004-08-22 Thread Rob Brown-Bayliss
On Sun, 2004-08-22 at 19:54, Gaurav Vaish wrote:

Thanks People.  I have that working now :-)

--
Rob Brown-Bayliss


Some days you wake up with her complaining
Some sunny days you wish it was raining
Some days are sulky, some days have a grin
And some days have bouncers and won't let you in 

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Keyword this or base expected(CS1018)

2004-08-22 Thread Rob Brown-Bayliss
On Sun, 2004-08-22 at 19:54, Gaurav Vaish wrote:
 Rob,
 
   Can you give the details of:
 
   - The base class (namespace, name and preferably, also the constructors)
   - What you intend to do in your sub-class, if non-classified.
 
   We may be able to help you better...

namespace is just one of my own and not really important.  What I am
trying to do is my base class is basically common code surrounding a
treeview, I then generate 4 of these with a couple of extra methods for
differing purposes, but 90% of the code around the 4 treeviews will be
the same, hence the base calls and child classes...

--
Rob Brown-Bayliss


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mono Debugger on OS X

2004-08-22 Thread Shane Landrum
Has anyone been able to compile the Mono debugger on OS X recently?
In building it from CVS, I get an error:

--
rm -f .libs/trad-core.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_GNU_SOURCE -I. -I. -I./include -W -Wall 
-Wstrict-prototypes -Wmissing-prototypes -g -Wall -Wunused -Wmissing-prototypes 
-Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs 
-Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -MT trad-core.lo 
-MD -MP -MF .deps/trad-core.Tpo -c trad-core.c  -fno-common -DPIC -o .libs/trad-core.lo
trad-core.c: In function `trad_unix_core_file_p':
trad-core.c:100: error: structure has no member named `u_dsize'
trad-core.c:105: error: structure has no member named `u_ssize'
trad-core.c:122: error: structure has no member named `u_dsize'
trad-core.c:126: error: structure has no member named `u_ssize'
trad-core.c:133: error: structure has no member named `u_dsize'
trad-core.c:133: error: structure has no member named `u_ssize'
trad-core.c:178: error: structure has no member named `u_dsize'
trad-core.c:183: error: structure has no member named `u_ssize'
trad-core.c:191: error: `HOST_TEXT_START_ADDR' undeclared (first use in this function)
trad-core.c:191: error: (Each undeclared identifier is reported only once
trad-core.c:191: error: for each function it appears in.)
trad-core.c:191: error: structure has no member named `u_tsize'
trad-core.c:197: error: `HOST_STACK_END_ADDR' undeclared (first use in this function)
trad-core.c:197: error: structure has no member named `u_ssize'
trad-core.c:214: error: structure has no member named `u_ar0'
trad-core.c:217: error: structure has no member named `u_dsize'
trad-core.c: In function `trad_unix_core_file_failing_command':
trad-core.c:243: error: structure has no member named `u_comm'
trad-core.c: At top level:
trad-core.c:285: warning: initialization discards qualifiers from pointer target type
make[4]: *** [trad-core.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
--

srl
-- 
Shane Landrum --- [EMAIL PROTECTED] --- '90 CB-1, too many bicycles
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Monodoc update

2004-08-22 Thread Joshua Tauberer
Gearoid Donnellan wrote:
How do you update the contents of monodoc? I know there is a --update
switch and an update menu option which asks you for an url. What url
should I use or is there any other way of doing it?
Hi,
The --update switch and the Upload Contributions menu are for different 
things.  The first is to update the XML files you have on disk to 
reflect changes in the class libraries.  These are XML files you would 
have checked out from CVS.  The second is to take your contributions to 
the documentation which you entered from within Monodoc and upload them 
to... somewhere, for someone to review and integrate with the XML files 
in CVS.

Which are you trying to do?
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists **
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Data access delay using Npgsql

2004-08-22 Thread Francisco Figueiredo Jr.
Reilly, Andrew wrote:
Hi Francisco,
Hi Reilly.
Thanks for responding. I'm already passing the IP address directly so there
shouldn't be any name resolution issues.
Ok. I'm checking that.
Mikko Korkalo is helping me track that.
Regards,
Francisco Figueiredo Jr.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Beginner C# Book

2004-08-22 Thread Tom McLaughlin
Hi all,

I'm looking for a good beginner C# book.  Preferably one that does not
assume a certain amount of familiarity with C++, Java, or OOP in
general.  I picked up Mono: A Developers Notebook from O'Reilly
figuring that some of the C++ I saw in school would come back to me.
What I saw in school was nearly five years ago and it's definitely not
coming back.

I really need a book that will not only go over the syntax and structure
of the language but the underlying fundementals of the language.  (Like
not just how to create a vector but what each part of the declaraion
means and how it all works.)  Right now I maintain the FreeBSD port for
Muine and I am looking at creating ports of other applications.  I would
like to have enough familiarity with the language to fix bugs,
especially FreeBSD specific bugs in programs.

If someone could recommend a book they found to give a good
comprehensive understanding of the language to a beginner that would be
great.  Thanks.

Tom

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Beginner C# Book

2004-08-22 Thread Peter Dennis Bartok
O'Reilly : Learning C# it teaches from the ground up, and then O'Reilly's
Programming C#, which introduces you to things like ASP.Net and SWF.

Peter


-Original Message-
From: Tom McLaughlin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Sunday, 22 August, 2004 16:39
Subject: [Mono-list] Beginner C# Book


Hi all,

I'm looking for a good beginner C# book.  Preferably one that does not
assume a certain amount of familiarity with C++, Java, or OOP in
general.  I picked up Mono: A Developers Notebook from O'Reilly
figuring that some of the C++ I saw in school would come back to me.
What I saw in school was nearly five years ago and it's definitely not
coming back.

I really need a book that will not only go over the syntax and structure
of the language but the underlying fundementals of the language.  (Like
not just how to create a vector but what each part of the declaraion
means and how it all works.)  Right now I maintain the FreeBSD port for
Muine and I am looking at creating ports of other applications.  I would
like to have enough familiarity with the language to fix bugs,
especially FreeBSD specific bugs in programs.

If someone could recommend a book they found to give a good
comprehensive understanding of the language to a beginner that would be
great.  Thanks.

Tom

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Beginner C# Book

2004-08-22 Thread Tom McLaughlin
Hi Peter, one thing pointed out to me off list is that I need to be
aware that many C# books are geared towards the MS platform and will
spend a lot of time on Windows Forms and the Visual Studio .NET tools.
Is that the case with Learning C#?  Thanks.

Tom

On Sun, 2004-08-22 at 17:36 -0600, Peter Dennis Bartok wrote:
 O'Reilly : Learning C# it teaches from the ground up, and then O'Reilly's
 Programming C#, which introduces you to things like ASP.Net and SWF.
 
 Peter
 
 
 -Original Message-
 From: Tom McLaughlin [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Date: Sunday, 22 August, 2004 16:39
 Subject: [Mono-list] Beginner C# Book
 
 
 Hi all,
 
 I'm looking for a good beginner C# book.  Preferably one that does not
 assume a certain amount of familiarity with C++, Java, or OOP in
 general.  I picked up Mono: A Developers Notebook from O'Reilly
 figuring that some of the C++ I saw in school would come back to me.
 What I saw in school was nearly five years ago and it's definitely not
 coming back.
 
 I really need a book that will not only go over the syntax and structure
 of the language but the underlying fundementals of the language.  (Like
 not just how to create a vector but what each part of the declaraion
 means and how it all works.)  Right now I maintain the FreeBSD port for
 Muine and I am looking at creating ports of other applications.  I would
 like to have enough familiarity with the language to fix bugs,
 especially FreeBSD specific bugs in programs.
 
 If someone could recommend a book they found to give a good
 comprehensive understanding of the language to a beginner that would be
 great.  Thanks.
 
 Tom
 
 ___
 Mono-list maillist  -  [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/mono-list
 
 
 

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Staff Bulletin

2004-08-22 Thread Jonathan Gilbert
Attention All Staff Members:

You Must Respond By 5 P.M. Tuesday, August 24, 2004.

Through a special arrangement, Avtech Direct is offering a limited
allotment of BRAND NEW, top of-the-line, name-brand desktop computers
at more than 50% off MSRP to all Staff Members who respond to this
message before 5 P.M., Tuesday, August 24, 2004.

All desktop are brand-new, packed in their original boxes, and come
with a full manufacturer's warranty plus a 100% satisfaction guarantee.

These professional grade Desktops are fully equipped with 2004
next generation technology, making these the best performing
computers money can buy.

Avtech Direct is offering these feature rich, top performing
Desktop Computers with the latest Intel technology at an amazing price
to all who call:

1-800-884-9510 by 5 P.M. Tuesday, August 24, 2004

The fast and powerful AT-2400 series Desktop features:

  * Intel 2.0Ghz Processor for amazing speed and performance
  * 128MB DDR RAM,  --- Upgradeable to 1024
  * 20 GB UDMA Hard Drive, --- Upgradeable to 80 GB
  * 52X CD-Rom Drive, --- Upgradeable to DVD/CDRW
  * 1.44 Floppy disk drive
  * Next Generation Technology
  * ATI Premium video and sound
  * Full Connectivity with Fax modem/Lan/IEE 1394/USB 2.0
  * Soft Touch Keyboard and scroll mouse
  * Internet Ready
  * Network Ready
  * 1 Year parts and labor warranty
  * Priority customer service and tech support

MSRP $699  Your Cost $297

How to qualify:

  1. You must be a Member, Staff or Associate of a Nonprofit.
  2. All desktop computers will be available on a
 first come first serve basis.
  3. You must call 1-800-884-9510 by 5 P.M. Tuesday, August 24, 2004
 and we will hold the desktops you request on will call.
  4. You are not obligated in any way.
  5. 100% Satisfaction Guaranteed.


Call Avtech Direct
1-800-884-9510 before 5 P.M. Tuesday, August 24, 2004


Visit our website at http://www.avtechdirectcomputers.com




If you wish to unsubscribe from this list, please go to:
http://www.computeradvice.org/unsubscribe.asp



Avtech Direct
22647 Ventura Blvd., Suite 374
Woodland Hills, CA 91364

Re: [Mono-list] Keyword this or base expected(CS1018)

2004-08-22 Thread Gaurav Vaish
 Thanks People.  I have that working now :-)

  Great!


Happy Hacking,
Gaurav Vaish
http://gallery.mastergaurav.net
-
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Application for demo

2004-08-22 Thread Amish Munshi
Greetings,
 
 I am hunting for a medium sized (4-5 page application) ASP.NET
 application (with C#) which I can use to demo to customers who are
 willing to shift to Linux for .NET with mono. I searched for a few
 applications on the net but most of them require some modifications to
 get them working.
 Sample applications provided with xsp server are one page applications
 which are very small for the demonstrations to non technical crowd.
 I have setup mono with XSP (also with mod_mono) for the demo.
 Thanks for the help.
 
 Amish.
Amish K. Munshi.
Always Available, Everywhere.

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Beginner C# Book

2004-08-22 Thread Cory Nelson
I thought Inside C# was great.  It doesn't have any SWF or ASP.NET
stuff in it, after the book I understood what all the stuff on MSDN
was :)

On Sun, 22 Aug 2004 18:39:29 -0400, Tom McLaughlin
[EMAIL PROTECTED] wrote:
 Hi all,
 
 I'm looking for a good beginner C# book.  Preferably one that does not
 assume a certain amount of familiarity with C++, Java, or OOP in
 general.  I picked up Mono: A Developers Notebook from O'Reilly
 figuring that some of the C++ I saw in school would come back to me.
 What I saw in school was nearly five years ago and it's definitely not
 coming back.
 
 I really need a book that will not only go over the syntax and structure
 of the language but the underlying fundementals of the language.  (Like
 not just how to create a vector but what each part of the declaraion
 means and how it all works.)  Right now I maintain the FreeBSD port for
 Muine and I am looking at creating ports of other applications.  I would
 like to have enough familiarity with the language to fix bugs,
 especially FreeBSD specific bugs in programs.
 
 If someone could recommend a book they found to give a good
 comprehensive understanding of the language to a beginner that would be
 great.  Thanks.
 
 Tom
 
 ___
 Mono-list maillist  -  [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/mono-list
 


-- 
Cory Nelson
http://www.int64.org
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list