Re: 438 - Object doesn't support this property or method

Tech-Archive recommends: Speed Up your PC by fixing your registry



"Revtim" <revtim@xxxxxxxxx> wrote in message
news:1126617513.001725.56940@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
<cut>
> Dim Query_Input As New struct_AniDnis
> Dim Query_Output As New struct_QueryResult
<cut>
> ' Execute query
> Query_Output = CustQuery.wsm_getDnis(Query_Input)

Since you are dealing with an object you need
SET Query_Output = CustQuery.wsm_getDnis(Query_Input)

Without SET VB is trying to identify a default property for the Query_Output
object and getting very confused

--
Reply to the group so all can participate
VB.Net: "Fool me once..."

.



Relevant Pages

  • Re: How to efficiently chunk long string
    ... Actually its not a real "language.vb" question but a .NET framework ... The line gets blurred when dealing with a multi-language ... > dim sb as System.text.Stringbuilder ... >> I'm trying to chunk a long string SourceString into lines of LineLength ...
    (microsoft.public.dotnet.languages.vb)
  • Re: How to efficiently chunk long string
    ... Actually its not a real "language.vb" question but a .NET framework ... The line gets blurred when dealing with a multi-language ... > dim sb as System.text.Stringbuilder ... >> I'm trying to chunk a long string SourceString into lines of LineLength ...
    (microsoft.public.dotnet.general)
  • Looping at Blank Lines
    ... I am trying to write a macro that will loop at blank lines. ... I am dealing with 100+ addresses that may have 3-6 rows. ... Dim d As Integer ... ' Copy data columns, transpose and paste ...
    (microsoft.public.excel.programming)
  • Re: Can the read() function in VB.NET start reading from somewhere else than 0
    ... function, I get an error message, I'm dealing here with a file, that ... Private Sub MenuItem2_Click(ByVal sender As System.Object, ... Dim line As String ... You can't arbitrarily move the file pointer on a StreamReader. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Using the Open Dialog
    ... > I would like to retrieve a list of files that a user selects in a directory. ... Everyone has their own way of dealing with the issue... ... Private Sub cmdSelectFiles_Click ... Dim v As Variant ...
    (microsoft.public.vb.controls)