9 messages in com.mysql.lists.win32Re: Offer to Help MySQL Win32 Port --...| From | Sent On | Attachments |
|---|---|---|
| Joseph D. Wagner | 15 Nov 2002 03:30 | |
| Joseph D. Wagner | 15 Nov 2002 08:20 | |
| MySQL | 15 Nov 2002 09:48 | |
| Joseph D. Wagner | 15 Nov 2002 10:29 | |
| Gelu Gogancea | 15 Nov 2002 10:56 | |
| Public Folder: MySQL | 15 Nov 2002 11:10 | |
| Joseph D. Wagner | 15 Nov 2002 15:20 | |
| Joseph D. Wagner | 15 Nov 2002 15:45 | |
| Peter Carter | 15 Nov 2002 23:30 |
| Subject: | Re: Offer to Help MySQL Win32 Port -- Passing Command Parameters![]() |
|---|---|
| From: | Gelu Gogancea (gge...@arctic.ro) |
| Date: | 11/15/2002 10:56:05 AM |
| List: | com.mysql.lists.win32 |
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 : gg...@gonetsoftware.com gelu...@yahoo.com
----- Original Message ----- From: "Joseph D. Wagner" <wagn...@prodigy.net> To: "'MySQL'" <ml.m...@in-genius.com>; <win...@lists.mysql.com> 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 win3...@lists.mysql.com
To unsubscribe, send a message to the address shown in the List-Unsubscribe header of this message. If you cannot see it, e-mail win3...@lists.mysql.com instead.




