RE: Offer to Help MySQL Win32 Port -- Passing Command Parameters

2002-11-15 Thread Aaron Clausen
On Fri, 15 Nov 2002, Joseph D. Wagner wrote:

> OK OK! You've proved me wrong IN THIS PARTICULAR EXAMPLE.  The fact
> remains that plenty other examples exist where MySQL could benefit from
> the .NET Framework.
>
> WILL MYSQL BE USING THE MICROSOFT .NET FRAMEWORK IN FUTURE DEVELOPMENT
> OF THE WIN32 PORT?

I think that anyone developing portable software should stay as far away
from Microsoft-specific tools as possible.  I see no reason to further cloud
a difficulty area by popping in the latest MS fad, which, no doubt, in four
to five years, will be replaced by some other marketing-driven fad.

In other words, the rule of thumb should be "Keep it simple, stupid".

-- 
Aaron Clausen


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




RE: Offer to Help MySQL Win32 Port -- Passing Command Parameters

2002-11-15 Thread Joseph D. Wagner
OK OK! You've proved me wrong IN THIS PARTICULAR EXAMPLE.  The fact
remains that plenty other examples exist where MySQL could benefit from
the .NET Framework.

WILL MYSQL BE USING THE MICROSOFT .NET FRAMEWORK IN FUTURE DEVELOPMENT
OF THE WIN32 PORT?

Joseph Wagner

-Original Message-
From: Gelu Gogancea [mailto:ggelu@;arctic.ro] 
Sent: Friday, November 15, 2002 12:56 PM
To: Joseph D. Wagner; 'MySQL'; [EMAIL PROTECTED]
Subject: Re: Offer to Help MySQL Win32 Port -- Passing Command
Parameters

Hi,
Apropos by VB or VB.NET
If you use WIN32 API(RegOpenKey,RegCreateKey,RegDeleteKey...etc)
functions
you can read and write in the registry wherever you wish.

Regards,

Gelu
_
G.NET SOFTWARE COMPANY

Permanent e-mail address : [EMAIL PROTECTED]
  [EMAIL PROTECTED]
- Original Message -
From: "Joseph D. Wagner" <[EMAIL PROTECTED]>
To: "'MySQL'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, November 15, 2002 8:29 PM
Subject: RE: Offer to Help MySQL Win32 Port -- Passing Command
Parameters


> >> TECHNICAL EXPLAINATION: Because prior to .NET, no method
> >> existed for accessing the registry from a non-interactive
> >> process.  In other words, you had to be logged in, an even
> >> then you could only access certain portions of the Registry.
>
> > I disagree.  Non-interactive "Services" can access the HKLM
> > sections of the registry.  I have even used VB6 programs as
> > services and they are able to read and write to the registry.
>
> From :
>
http://msdn.microsoft.com/library/en-us/dv_vstechart/html/vbtchAccessing
> RegistryWithVisualBasicNET.asp
>
> * BEGIN QUOTE *
>
> There is a limitation to using the built-in registry access functions:
> You can access only the registry keys under
> HKEY_CURRENT_USER\Software\VB and VBA Program Settings. To do so, you
> must be logged onto the system because the HKEY_CURRENT_USER registry
> key is not active until you log on to the system.
>
> Registry settings that are to be accessed from a noninteractive
process
> (such as mtx.exe) should be stored under either the
> HKEY_LOCAL_MACHINE\Software\ or the HKEY_USER\DEFAULT\Software
registry
> keys.
>
> Because you can use the GetSetting and SaveSetting functions to access
> keys only under HKEY_CURRENT_USER\Software\VB and VBA Program
Settings,
> you may find them limiting. When that happens, you can use the
Registry
> and RegistryKey classes in the Microsoft.Win32 namespace of the .NET
> Framework.
>
> * BEGIN QUOTE *
>
> You can't blame me if the documentation is wrong.
>
> Other aspects of the Win32 port could still benefit from the Microsoft
> .NET Framework, and since all future development using Visual Studio
> .NET 2002 must occur along these lines, I home the MySQL development
> team decides to take my help.
>
> I still haven't received a proverbial "green light" from any leader.
>
> Will the MySQL team use the Microsoft .NET Framework in the Win32 port
> for future development?  I don't want to throw hours of work into
> something if my work is going to be turned down due to prejudice
against
> .NET.
>
> Joseph Wagner
>
>
> -
> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html";
before
> posting. To request this thread, e-mail
[EMAIL PROTECTED]
>
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail [EMAIL PROTECTED] instead.
>
>


-
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html";
before
posting. To request this thread, e-mail
[EMAIL PROTECTED]

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail [EMAIL PROTECTED] instead.


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php