?
Solved

when including .dll class ( listed below ) in VB6 project, like Dim objConfigFile As New CGoConfig

Posted on 2006-05-01
1
Medium Priority
?
187 Views
Last Modified: 2010-05-01
ide recognizes methods and properties ok, but for some readons does not show their list after "."

    objConfigFile.strConfigFileName
    objConfigFile.strGetTag,
   
not sure why ...



Option Explicit

Public strConfigFileName            As String
Public strConfigFileFieldDelimiter As String

Public Function strGetTag(strTagName As String) As String

    On Error GoTo Class_Initialize_Err
   
    Dim intPos        As String
    Dim strLine       As String
    Dim strTmpBuf As String
    Dim intFileNo    As Integer
   
    intFileNo = FreeFile
   
    Open strConfigFileName For Input As #intFileNo
    Do While Not EOF(intFileNo)   ' Loop until end of file.
          Line Input #1, strLine         ' Read line into variable.
          intPos = InStr(strLine, strTagName)
          If intPos > 0 Then
             strTmpBuf = Trim$(Mid(strLine, intPos + Len(strTagName)))
             If Left$(strTmpBuf, 1) = strConfigFileFieldDelimiter Then
                 strGetTag = Mid(strTmpBuf, 2)
                 Exit Function
             End If
         End If
    Loop
    Close #intFileNo   ' Close file.
   
    strGetTag = strTagName & " - not found"
    Exit Function
   
Class_Initialize_Err:
    MsgBox ("Error in strTagName: " & Err.Number & " - " & Err.Description)
    strGetTag = "~~~"
    Return
   
End Function


Public Function strSetTag(strTag As String, strValue As String) As String


End Function

0
Comment
Question by:AlexF777
1 Comment
 
LVL 3

Accepted Solution

by:
ddepastino earned 2000 total points
ID: 16578755
You have something that is not declared in your class or there is some other problem with your class.  Methods and Events for a class will not show if the entire class isn't working properly.  Try compiling the project and see what errors it gets inside the class, this should point you to the issue your looking for.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question