|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
parameter "any" VB 6 (what is your equivalent in vb 2005 ?)hi folks !
What is the equivalent parameter in vb 2005 for "any" from vb 6 ? Thanks, Daniel "Brahm" <daniel.br***@contronic.com.br> schrieb: This depends on the particular function declaration. There is no generic > What is the equivalent parameter in vb 2005 for "any" from vb 6 ? answer. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> For this piece of code:
Private Declare Function RegQueryValueEx Lib "advapi32.dll" Alias "RegQueryValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal lpReserved As Long, ByVal lpType As Long, ByVal lpData As Any, ByVal lpcbData As Long) As Long For Daniel "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> escreveu na mensagem This depends on the particular function declaration. There is no genericnews:eEYqbi8kGHA.5108@TK2MSFTNGP02.phx.gbl... "Brahm" <daniel.br***@contronic.com.br> schrieb: > What is the equivalent parameter in vb 2005 for "any" from vb 6 ? answer. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Overloads and double check that the Registry classes provided by .NET
doesn't provide what you are after... -- Patrice "Brahm" <daniel.br***@contronic.com.br> a écrit dans le message de news: OFlJok8kGHA.1***@TK2MSFTNGP03.phx.gbl...Show quoteHide quote > For this piece of code: > > Private Declare Function RegQueryValueEx Lib "advapi32.dll" Alias > "RegQueryValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal > lpReserved As Long, ByVal lpType As Long, ByVal lpData As Any, ByVal > lpcbData As Long) As Long > > For > > Daniel > > "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> escreveu na mensagem > news:eEYqbi8kGHA.5108@TK2MSFTNGP02.phx.gbl... > "Brahm" <daniel.br***@contronic.com.br> schrieb: >> What is the equivalent parameter in vb 2005 for "any" from vb 6 ? > > This depends on the particular function declaration. There is no generic > answer. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/> > > "Patrice" <scr***@chez.com> schrieb: => 'Microsoft.Win32.Registry'.> Overloads and double check that the Registry classes provided by .NET > doesn't provide what you are after... -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Brahm wrote:
> hi folks ! There isn't one. If you want to send multiple types to a declare> > What is the equivalent parameter in vb 2005 for "any" from vb 6 ? > > Thanks, > > Daniel statement, you do it by overloading the declare statement. Contrived example follows: Private Declare Function Foo Lib "MyLib.dll" (ByRef i As Integer) As Integer Private Declare Function Foo Lib "MyLib.dll" (ByRef i As SomeStructure) As Integer ..... HTH -- Tom Shelton [MVP]
Oracle read only transaction in VB .NET?
Compress a string "Array" of pictureboxes Concurrency question Security Exception when deploying a VB.NET 2003 solution. making a string var like "nr1 nr2 nr3" retrieve key from collection Help me, please view the strange problem!!! WinForms Designer Grid VB. NET, Question? |
|||||||||||||||||||||||