Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Compile Error: User-defined Type Not Definded


When I try to run my program, I get that error. It then highlights

VB Code:
Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, _ Dim img As MSHTML.HTMLImg


How do I fix this from happening?

The rest of the code is

VB Code:
Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, _        URL As Variant)    Dim img As MSHTML.HTMLImg    On Error Resume Next    For Each img In WebBrowser1.Document.images        If InStr(1, img.src, "http") Then            List2.AddItem img.src        End If    Next img    Label2.Caption = List2.ListCount & " Files found"    On Error GoTo 0End Sub




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
User Definded Type Not Defined
Hi,

I'm trying to connect to an access database, and this portion of my code is producing a Compile Error:
Dim rs As New ADODB.Recordset

Compile error:
User-defined type not defined

I'm guessing that I need to include a file somehow, but I'm not sure how to include a file in Visual Basic.

Thank you very much for your help.

User Defined Type Not Defined - Compile Error
Hi All,
I am trying to Compile a VB program, I am getting this Error "Compile error - User defined type not defined"
I know it should be one of the Project references i need to set, but i am not sure which one it is.. Appreciate your help.
Thanks

Compile Error User Defined Type Not Defined
Hi! I need help with a project that I am developing using VB6 and SQL Server. I am setting up a connection that will allow my program to find a file on the network and delete it. I have the following declartions at the top of my form:
Public oConn A Nw ADODB.connection (in my code module where I build the connection)
Public rs As Recordset (in my main form, to find the pathname I need for the delete)
When I try to run, I get the error:
Compile error: User-defined type not defined
I do not understand what is happening as these shouldn't be considered user-defined types. If you have any ideas, please help!
Thanks!

Compile Error: User-defined Type Not Defined
OK this same code was working for me before but not I have created a New project and inserted the code in MDI form I get this error

Compile error: User-defined Type Not Defined

and it highlights this section of the code

New ADODB.Connection

code is:

Set cnn = New ADODB.Connection
cnn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "data.mdb" & ";Persist Security Info=False"
cnn.Open

'This will set rs as Access recordset(Table)
Dim rs As ADODB.Recordset
Set rs = New ADODB.Recordset

Compile Error: User-defined Type Not Defined??
Private Declare Function Netbios Lib "netapi32" _
(pncb As NET_CONTROL_BLOCK) As Byte

This is the String of Code that gives me the following Error Message

Compile Error: User - Definded type not Defined

Thxs in Advance...

User Defined Type Not Defined - Compile Error
Hi All,
I am trying to Compile a VB program, I am getting this Error "Compile error - User defined type not defined"
I know it should be one of the Project references i need to set, but i am not sure which one it is.. Appreciate your help.
Thanks

User Defined Type Not Defined - Compile Error
Hi All,
I am trying to Compile a VB program, I am getting this Error "Compile error - User defined type not defined"
I know it should be one of the Project references i need to set, but i am not sure which one it is.. Appreciate your help.
Thanks

Compile Error: User-defined Type Not Defined
I'm running Windows 2000 and I cannot compile dll's that are able to be compiled on NT machines. The compile error: user-defined type not defined is raised when referencing an MTS object. Does anybody know if there are issues with this in Windows 2000? I've tried adding project references as suggested in other posts, but it doesn't seem to make a difference. Thanks.

Compile Error - User Defined Type
Hello,

I have a database application I created in VB6. It worked just fine an a Windows XP machine. I installed VB6 on a Win98 PC to work on the project. Now when I try to run the project I get a compile erorr- user-defined type not defined.

I guess it has to be somethng with Windows 98. The same code works fine on a Windows 2000 or XP machine with VB6 installed.

My code is here and the error is highlighted .

Private Sub AddPerson()
'DECLARE VARIABLE RS AS RECORDSET, SQL AS STRING
Dim rs As New ADODB.Recordset, sql As String
'SQL Statement that provides the fields and table to update
sql = "SELECT ID, Date, Location, DiveSite, AirTemp, WaterTemp, Visibility, DiveBuddy, SPG, Depth, BottomTime, EPG, comments " _
& " FROM tblPeople;"
'OPEN THE DATABASE RECORDSET
rs.Open sql, sConn, adOpenKeyset, adLockOptimistic, adCmdText
'ADD A NEW RECORD TO THE DATABASE - USE THE ADDNEW METHOD
rs.AddNew
'ASSIGN VALUES TO THE RECORDSET FIELDS
rs!Date = txtDate.Text
rs!Location = txtLocation.Text
rs!DiveSite = txtDiveSite.Text
rs!AirTemp = txtAirTemp.Text
rs!WaterTemp = txtWaterTemp.Text
rs!Visibility = txtVisibility.Text
rs!DiveBuddy = txtDiveBuddy.Text
rs!SPG = txtSPG.Text
rs!Depth = txtDepth.Text
rs!BottomTime = txtBottomTime.Text
rs!EPG = txtEPG.Text
rs!Comments = txtComments.Text
'UPDATE THE DATABASE RECORDSET
rs.Update
'CLOSE THE DATABASE RECORDSET AND SET IT TO NOTHING TO RECLAIM ANY RESOURCES USED
rs.Close
Set rs = Nothing
End Sub


THANKS! I'm anxous to see the answer to why this works with WIN 2K and XP but not 98SE.

Compile Error: "User-defined Type Not Defined"
I split my database (Access2k) and then went into the front end to test my forms, now I'm getting the compile error, the form has a multi list select box (which I got from this wonderful site) and then you press a button to preview a report, when I press the button the Visual basic debugger window appears and with the compile error:
On Error GoTo Err_cmdOpenQuery_Click
Dim MyDB As DAO.Database
Dim qdef As DAO.QueryDef
Dim I As Integer
Dim strSQL As String
Dim strWhere As String
Dim strIN As String
Dim flgSelectAll As Boolean
Dim varItem As Variant

Set MyDB = CurrentDb()
I read some of the previous threads regarding compile errors, but I'm still stuck. Hope someone can shad some light on this...

...event Property Setting Produced The Following Error: User-defined Type Not Defined
Help!!

I copied the class module, form, and table objects from a working database (A) to another database (B) already containing class modules, forms, and tables.

When I run my form, I get the error "the expression On Click you entered as the event property setting produced the following error: User-defined type not defined."

I tried removing the problem event and got the same error with each event in the form.

Any thoughts?

Help Keep Gettin Error Message User Defined Type Not Defined
This is the code i have atm,i am getting vb to look into a db to find a username and password and then log a user in but i keep getting an error message.

Code:
Public conConnection As New ADODB.Connection
Public cmdCommand As New ADODB.Command
Public rstRecordSet As New ADODB.Recordset

Private Sub Form_Load()

conConnection.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _
App.Path & "" & "ivadb.mdb;Mode=Read|Write"

End Sub

Private Sub cmdlogin_Click()

conConnection.CursorLocation = adUseClient
conConnection.Open

With cmdCommand
.ActiveConnection = conConnection
.CommandText = "SELECT * FROM Member WHERE Username = '" & txtusername.Text & "' AND Password = '" & txtpassword.Text & "';"
.CommandType = adCmdText
End With

With rstRecordSet
.CursorType = adOpenStatic
.CursorLocation = adUseClient
.LockType = adLockOptimistic
.Open cmdCommand
End With

If rstRecordSet.EOF = False Then
rstRecordSet.MoveFirst
MsgBox "Logged in, thanks."
frmmemberhome.Show
Else
MsgBox "Not logged in, sorry."

End If

conConnection.Close

End Sub

[RESOLVED ] Compiler ERROR: User-defined Type Not-defined
I used this declaration and got an error. How do i declare it?

Private Declare Function GetOpenFileName Lib "comdlg32.dll" Alias "GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long

when i used it in a new form it didn't complain?

thanks,

stash



Edited by - stash on 1/20/2007 8:07:37 AM

Dim P As Printer -> User-defined Type Not Defined Error :-|
Hi, I need this code to work in my Visual basic for applications project:

Dim p As Printer
For Each p In Printers
If p.DeviceName = crxRpt.PrinterName Then
crxRpt.SelectPrinter p.DriverName, p.DeviceName, p.Port
Exit For
End If
Next p

but the first line raises the User-defined type not defined error... plase have someone something that could help me?

Thanks, B. Riha.

Excel VBA Error: User Defined Type Not Defined
I'm getting an error and I can't find the source of it. I have an excel spreadsheet with several VBA modules, all work fine. Occasionally, ususally soon after I open the file for the first time, when I calculate (F9), I get an error message " User Defined Type Not Defined ". However, the source of the error is not highlighted in the VBA editor. If I hit F9 again immediately, I do not get the error, and usually don't get the error ever again that day. I'm declaring probably close to 100 variables, most of them Public, but can't find the one that is causing the problem (if indeed the error is in declaring a variable incorrectly). Any ideas??

Eric

User Defined Type Not Defined Error Due To StdPicture
Please help. I am using the clipboard to paste an image into a richtextbox. I have found some documentation on how to achieve this but I am unable to compile.

Here is the code I have:
Public Sub InsertPictureInRichTextBox(RTB As RichTextBox, Picture As StdPicture) 'Here is where I receive the error due to Picture as StdPicture
Clipboard.Clear
Clipboard.SetData Picture

SendMessage RTB.hwnd, WM_PASTE, 0, 0
End Sub


Private Sub Form_Load()


Open AnalFileName$ For Output As #1
Print #1, "This is a test of Text above a graphic"

InsertPictureInRichTextBox AnalOutput.Out, "C:Documents and SettingsOwnerDesktopstrakeInWindTunnel.bmp"


Print #1, "This is TEXT BELOW the graphic"


Close #1
AnalOutput.Out.LoadFile AnalFileName$, 1

End Sub

Thanks in advance for your help.

User Defined Type - Error Variable Not Defined
VB Code:
Private Type userinfo    id As Integer    uname As StringEnd Type Private userinfo As userinfo Private Sub Command1_Click() Label1.Caption = userinfo.idLabel2.Caption = userinfo.unameEnd Sub Private Sub Form_Load()     userinfo.id = 1    userinfo.uname = "stephen"    Form1.Caption = userinfo.unameEnd Sub


This is related to scope. In Form Load, you declared an instance of userinfo (called userinfo). This variable is only 'visible' within Form Load. In the click event you've declared another (new) instance of the data type, also called userinfo. But since both these variables have been declared in separate procedures they are private. As a result Form Load cannot 'see' the instance declared in the click event and vice versa. In effect in the click event you referred to an instance of userinfo that is brand new with no data in it

'user Defined Type Not Defined ' Error Message????
Hi

I am attempting to write values into excel and this error message comes along pointing to the line of code:-

Dim xlApp As New Excel.Application

Please help!

VisData Error: :user-defined Type NOT Defined?
Well as u may have guessed i'm new to VB. Not new to Pascal though.  Anyway, I've used VisData to create a new DB and a new table. Along with a "dandy" lookin' Data-Aware form.

Problem:
- After setting the created Data-Aware form as the "StrtUp" form in project properties. I ran the form.

- I then added a "dummy" record via the fields in the form.
  (or @ least i tried to...)

-Upon hitting the "ADD" button which the VisData Man.      created (amongst others, i get an error msg as follows:

"USER DEFINED-TYPE NOT DEFINED."

-Upon pressing "DEBUG", the code-window reveals a highlited sub:  PRIVATE SUB datPrimaryRS_...(...) ?

In other words, nothing is being "ADDED", "UPDATED" etc.
Q: What stupid thing am i Not doing? Seeing i am a novice @  VB?    

P.S:  I thought that VB was much simplier to use w/ DB's.
      Aren't the event procedures that's generated fully functional & equipped to handle FUNDAMENTAL operations???


-

Getting A Compile Error, User Defined Types
Hi there!

I'm getting a compile error saying:
"Only public user defined types defined in public object modules can be used as parameters or return types for public procedures of class modules or as fields of public user defined types"

I get this inside a class named clsMass. The line of code being highlighted is:

Code:
Public Property Get vecPosition() As Vector
...

Vector is a user defined type declared in a public object module called modMain. This is the code declaring it:

Code:
Public Type Vector
X As Single
Y As Single
End Type

As far as I know, I shouldn't be getting this error... Anyone has a suggestion?

thx in advance
Mathijs

Compile Error Using User Defined InStrRev
As many of you know, inStrRev does not work in VB5 or Office 97. I did some looking around and found some customized versions of inStrRev that people created. These versions look like they should run fine, but I keep getting the following error:

Compile error: Automation type not supported in visual basic


Here is the code I found:


VB Code:
Public Function InStrRev(ByVal sIn As String, sFind As String, _       Optional nStart As Long = 1, Optional bCompare As _            VbCompareMethod = vbBinaryCompare) As Long          Dim nPos As Long          sIn = StrReverse(sIn)          sFind = StrReverse(sFind)          nPos = InStr(nStart, sIn, sFind, bCompare)          If nPos = 0 Then              InStrRev = 0          Else              InStrRev = Len(sIn) - nPos - Len(sFind) + 2          End If      End Function


Am I missing something here?

Thanks in advance.

Strick

VB Compile Error With The User Defined Function.
I get this pop-up error message "Compile Error, = expected".. This point to this one..


Code:


EmptyValidator( Text1, "blah blah" )



where the source code is ...


Code:


Private Function EmptyValidator(txtBoxObject As TextBox, ByVal strVal As String)
Dim strValueLength As String

strValueLength = Len(Trim(strVal))

If strValueLength <> 0 Then
txtBoxObject.Text = Trim(strVal)
End If

EmptyValidator = True
Exit Function

End Function



Why and what's the workaround to it. It's been a while I last used VB 6 or 8 months ago.

Compile Error: User Defined Datatype For MSComctlLib
Rebuild the Project file and it worked. this one was strange for all the referances was still there but not working. Well hope this will help someone....

Hi I have worked on a system for about 4 months now and are using the list view of mscomctl.ocx and other components from mscomct2.

Now all of a sudden I get a compile error: User defined datatype not defined on Private Sub lvSelect_ColumnClick(ByVal ColumnHeader As MSComctlLib.ColumnHeader)
Can annyone please help?

Thanks

Error: User- Defined Type Not Defined
It is my first trail using Direct Sound….
I have been trying all the last night to get rid of this Error Message:
Compile error:
User- defined type not defined
After responding to this message this line of my code is highlighted:
Dim DSBuffer(1) As DirectSoundBuffer

I am attaching my project file. So please tell me what's wrong and how to solve it.
Thanks,

Mamoun

User Defined Type Not Defined Error
Hi guys,

I am attempting to add some code to a program to send email with smtp using ostrosoft.com's smtp component, everthing works find when I run the code on its own but when I add it into by existing script I get the error,

"Complie error

User defined type not defined"

with the line the I have added in the general declarations section,

"Public WithEvents oSMTP As OSSMTP.SMTPSession"

any ideas what I need to add or have done wrong?

thx

User Defined Type Not Defined Error
I have the same problem as this post. Here is my code:

Code:
Option Explicit
Dim WithEvents oSMTP As OSSMTP.SMTPSession

Private Sub btnAddAttachment_Click()
frmAddAttachment.Show vbModal, Me
If frmAddAttachment.txtFile.Text <> "" Then lstAttachments.AddItem frmAddAttachment.txtFile.Text
Unload frmAddAttachment
End Sub

Private Sub btnDelAttachment_Click()
If lstAttachments.ListIndex > -1 Then lstAttachments.RemoveItem lstAttachments.ListIndex
End Sub

Private Sub btnSendEmail_Click()
txtStatus.Text = ""
With oSMTP
'connection
.Server = txtServer.Text
'authentication
.AuthenticationType = ddlAuthenticationType.ListIndex
If txtUsername.Text <> "" Then .Username = txtUsername.Text
If txtPassword.Text <> "" Then .Password = txtPassword.Text
If txtPOPServer.Text <> "" Then .POPServer = txtPOPServer.Text
'message
.MailFrom = txtMailFrom.Text
.SendTo = txtSendTo.Text
.MessageSubject = txtMessageSubject.Text
.MessageText = txtMessageText.Text
'attachments
Dim i As Integer
For i = 0 To lstAttachments.ListCount - 1
.Attachments.Add (CStr(lstAttachments.List(i)))
Next
'send email
.SendEmail
End With
End Sub

Private Sub ddlAuthenticationType_Click()
Select Case ddlAuthenticationType.ListIndex
Case OSSMTP.authentication_type.AuthNone
txtUsername.Enabled = False
txtUsername.Text = ""
txtPassword.Enabled = False
txtPassword.Text = ""
txtPOPServer.Enabled = False
txtPOPServer.Text = ""
Case OSSMTP.authentication_type.AuthPOP
txtUsername.Enabled = True
txtPassword.Enabled = True
txtPOPServer.Enabled = True
Case OSSMTP.authentication_type.AuthLogin, OSSMTP.authentication_type.AuthNone
txtUsername.Enabled = True
txtPassword.Enabled = True
txtPOPServer.Enabled = False
txtPOPServer.Text = ""
End Select
End Sub

Private Sub Form_Load()
Set oSMTP = New OSSMTP.SMTPSession
With ddlAuthenticationType
.AddItem ("None")
.AddItem ("POP3")
.AddItem ("AUTH LOGIN")
.AddItem ("AUTH PLAIN")
End With
ddlAuthenticationType.ListIndex = 0
End Sub

Private Sub Form_Unload(Cancel As Integer)
Set oSMTP = Nothing
End Sub

Private Sub oSMTP_ErrorSMTP(ByVal Number As Integer, Description As String)
txtStatus.Text = txtStatus.Text & "Error " & Number & ": " & Description & vbCrLf
End Sub

Private Sub oSMTP_StatusChanged(ByVal Status As String)
txtStatus.Text = txtStatus.Text & oSMTP.Status & vbCrLf
End Sub
But I get the same error User defined type not definedand but in form I did Set oSMTP = New OSSMTP.SMTPSession so what did I do wrong here?

'User Defined Type Not Defined' Error Using ADO
I am trying to establish a connection to an Access database using ADO in VB5. When I run the code, I get a compile error saying 'User Defined Type Not Defined.' Below is the code:

Private Sub Form_Load()

Dim MyConn As ADODB.Connection
Dim MyRecSet As ADODB.Recordset

Set MyConn = New ADODB.Connection
MyConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:cw2004utilscw_97.mdb;"
MyConn.Open

Set MyRecSet = MyConn.Execute("SELECT r_name FROM roster")

Do Until MyRecSet.EOF
lst_moves.AddItem = MyRecSet.Fields.Item("r_name").Value

MyRecSet.MoveNext
Loop

MyConn.Close

End Sub





-----------------------

The first line,

Dim MyConn As ADODB.Connection

is the line that gets highlighted by VB when I try to debug.

Any ideas?

User-defined Type Not Defined Error
I've used the app. wizard to do a quick app for viewing & editing an Access97 DB file. When I run the app in design view, I get an error 'User-Defined type not defined".

and it highlights


Code:
Private Sub datPrimaryRS_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)

I've searched MSDN and it says I must include microsoft DAO 3.51. I've done this and it doesn't work. Any suggestions?

My provider string is: "PROVIDER=Microsoft.Jet.OLEDB.3.51"

Error User Defined Type Not Defined
This is extremely odd...

I have the module for DirectShow for playing music, and it will not work. It gives me the error: User defined type not defined.

I added DirectX7 to my references I don't know whats wrong.

Here is the module code:

VB Code:
Option Explicit Private Const MAX_VOLUME As Long = 100Private Const MAX_BALANCE As Long = 100Private Const MAX_SPEED As Long = 226 Public DirectShow_Event As IMediaEventPublic DirectShow_Control As IMediaControlPublic DirectShow_Position As IMediaPositionPublic DirectShow_Audio As IBasicAudioPublic DirectShow_Video As IBasicVideoPublic DirectShow_Video_Window As IVideoWindow Public Video_Media As BooleanPublic Video_Running As BooleanPublic Fullscreen_Enabled As BooleanPublic Fullscreen_Width As LongPublic Fullscreen_Height As Long  Public Function DirectShow_Load_Media(File_Name As String) As Boolean     On Error GoTo Error_Handler                        If Right(File_Name, 4) = ".mp3" Then                    Video_Media = False                            Set DirectShow_Control = New FilgraphManager            DirectShow_Control.RenderFile (File_Name)                    Set DirectShow_Audio = DirectShow_Control                        DirectShow_Audio.Volume = 0            DirectShow_Audio.Balance = 0                    Set DirectShow_Event = DirectShow_Control            Set DirectShow_Position = DirectShow_Control                        DirectShow_Position.Rate = 1                        DirectShow_Position.CurrentPosition = 0                    ElseIf Right(File_Name, 4) = ".mpeg" Or _               Right(File_Name, 4) = ".mpg" Or _               Right(File_Name, 4) = ".avi" Or _               Right(File_Name, 4) = ".mov" Then                           Video_Media = True                           Set DirectShow_Control = New FilgraphManager            DirectShow_Control.RenderFile (File_Name)             Set DirectShow_Audio = DirectShow_Control                DirectShow_Audio.Volume = 0            DirectShow_Audio.Balance = 0             If Fullscreen_Enabled = True Then                                Set DirectShow_Video_Window = DirectShow_Control                DirectShow_Video_Window.WindowStyle = CLng(&H6000000)                DirectShow_Video_Window.Top = 0                DirectShow_Video_Window.Left = 0                DirectShow_Video_Window.Width = Fullscreen_Width                DirectShow_Video_Window.Height = Fullscreen_Height                DirectShow_Video_Window.Owner = frmMain.hwnd                            Else                Set DirectShow_Video_Window = DirectShow_Control                DirectShow_Video_Window.WindowStyle = CLng(&H6000000)                DirectShow_Video_Window.Top = 0                DirectShow_Video_Window.Left = 0                DirectShow_Video_Window.Width = frmMain.ScaleWidth                DirectShow_Video_Window.Height = frmMain.ScaleHeight                DirectShow_Video_Window.Owner = frmMain.hwnd                        End If                    Set DirectShow_Event = DirectShow_Control            Set DirectShow_Position = DirectShow_Control                        DirectShow_Position.Rate = 1                        DirectShow_Position.CurrentPosition = 0                       Else                    GoTo Error_Handler                End If     DirectShow_Load_Media = True        Exit FunctionError_Handler:     DirectShow_Load_Media = False End Function  Public Function DirectShow_Play() As Boolean        On Error GoTo Error_Handler        If Video_Media = True Then Video_Running = True        DirectShow_Control.Run     DirectShow_Play = True        Exit Function Error_Handler:        DirectShow_Play = False End Function Public Function DirectShow_Stop() As Boolean     On Error GoTo Error_Handler        If Video_Media = True Then            Video_Running = False            Video_Media = False        End If        DirectShow_Control.Stop        DirectShow_Position.CurrentPosition = 0     DirectShow_Stop = True        Exit Function Error_Handler:     DirectShow_Stop = False End Function Public Function DirectShow_Pause() As Boolean     On Error GoTo Error_Handler        DirectShow_Control.Stop     DirectShow_Pause = True        Exit FunctionError_Handler:        DirectShow_Pause = False End Function Public Function DirectShow_Volume(ByVal Volume As Long) As Boolean     On Error GoTo Error_Handler        If Volume >= MAX_VOLUME Then Volume = MAX_VOLUME        If Volume <= 0 Then Volume = 0        DirectShow_Audio.Volume = (Volume * MAX_VOLUME) - 10000     DirectShow_Volume = True        Exit FunctionError_Handler:     DirectShow_Volume = False End Function Public Function DirectShow_Balance(ByVal Balance As Long) As Boolean     On Error GoTo Error_Handler        If Balance >= MAX_BALANCE Then Balance = MAX_BALANCE        If Balance <= -MAX_BALANCE Then Balance = -MAX_BALANCE        DirectShow_Audio.Balance = Balance * MAX_BALANCE        DirectShow_Balance = True        Exit FunctionError_Handler:     DirectShow_Balance = False End Function Public Function DirectShow_Speed(ByVal Speed As Single) As Boolean     On Error GoTo Error_Handler     If Speed >= MAX_SPEED Then Speed = MAX_SPEED        If Speed <= 0 Then Speed = 0     DirectShow_Position.Rate = Speed / 100     DirectShow_Speed = True        Exit Function Error_Handler:     DirectShow_Speed = False End Function Public Function DirectShow_Set_Position(ByVal Hours As Long, ByVal Minutes As Long, ByVal Seconds As Long, Milliseconds As Single) As Boolean        On Error GoTo Error_Handler        Dim Max_Position As Single        Dim Position As Double        Dim Decimal_Milliseconds As Single        'Keep minutes within range            Minutes = Minutes Mod 60            'Keep seconds within range            Seconds = Seconds Mod 60            'Keep milliseconds within range and keep decimal            Decimal_Milliseconds = Milliseconds - Int(Milliseconds)                Milliseconds = Milliseconds Mod 1000                Milliseconds = Milliseconds + Decimal_Milliseconds        'Convert Minutes & Seconds to Position time            Position = (Hours * 3600) + (Minutes * 60) + Seconds + (Milliseconds * 0.001)        Max_Position = DirectShow_Position.StopTime     If Position >= Max_Position Then            Position = 0                GoTo Error_Handler        End If        If Position <= 0 Then            Position = 0                GoTo Error_Handler        End If        DirectShow_Position.CurrentPosition = Position        DirectShow_Set_Position = True        Exit FunctionError_Handler:     DirectShow_Set_Position = False End Function Public Function DirectShow_End() As Boolean     On Error GoTo Error_Handler        If DirectShow_Loop = False Then            If DirectShow_Position.CurrentPosition >= DirectShow_Position.StopTime Then DirectShow_Stop        End If        DirectShow_End = True        Exit FunctionError_Handler:     DirectShow_End = False End Function Public Function DirectShow_Loop() As Boolean     On Error GoTo Error_Handler     If DirectShow_Position.CurrentPosition >= DirectShow_Position.StopTime Then            DirectShow_Position.CurrentPosition = 0        End If        DirectShow_Loop = True        Exit FunctionError_Handler:     DirectShow_Loop = False End Function Public Sub DirectShow_Shutdown()     Set DirectShow_Video_Window = Nothing    Set DirectShow_Position = Nothing    Set DirectShow_Event = Nothing    Set DirectShow_Audio = Nothing    Set DirectShow_Control = Nothing End Sub


Here is the error message screen shot:

User-defined Type Not Defined Error
Hello, I was wondering if you guys could help me.

Whenever I try and compile my code I'm receiving the User-defined type not defined error for the following line:


Code:

Dim style As MsgBoxStyle



Im trying to create a Yes/No prompt box and I believe I haven't got the right reference included in my project. Does anyone know which reference I need to include for prompt boxes or this style?

Thanks very much

Code below:


Code:


Dim MSG As String
Dim title As String
Dim style As MsgBoxStyle
Dim response As MsgBoxResult

MSG = "Do you wish to print off debtor notes?" ' Define message.

style = MsgBoxStyle.DefaultButton1 Or _
MsgBoxStyle.Question Or MsgBoxStyle.YesNo

title = "Print notes?" ' Define title.

'Display message.
response = MsgBox(MSG, style, title)

Error :User-defined Type Not Defined
Hi,

Below is the source code I write in module:

Type typeAuthor
AU_ID As Long
Author As String * 255
End Type

Declare Sub hmemcpy Lib "KERNEL" (dest As Any, src As Any, ByVal Size As Long)

Function GetCurrRec(ds As Dynaset) As String

Dim i As Integer
Static FieldStr As String
Static recStr As String

recStr = ""

For i = 0 To ds.Fields.Count - 1

FieldStr = Space(ds.Fields(i).Size)

Select Case ds.Fields(i).Type


Case 1, 2 'Bytes
hmemcpy ByVal FieldStr, CInt(ds.Fields(i).Value), ds.Fields(i).Size


Case 3 'Integers
hmemcpy ByVal FieldStr, CInt(ds.Fields(i).Value), ds.Fields(i).Size


Case 4 'Long integers
hmemcpy ByVal FieldStr, CLng(ds.Fields(i).Value), ds.Fields(i).Size


Case 5 'Currency
hmemcpy ByVal FieldStr, CCur(ds.Fields(i).Value), ds.Fields(i).Size

Case 6 'Singles
hmemcpy ByVal FieldStr, CSng(ds.Fields(i).Value), ds.Fields(i).Size


Case 7, 8 'Doubles
hmemcpy ByVal FieldStr, CDbl(ds.Fields(i).Value), ds.Fields(i).Size


Case 9, 10 'String types
hmemcpy ByVal FieldStr, ByVal CStr(ds.Fields(i).Value), Len(ds.Fields(i).Value)


Case 11, 12 'Memo and long binary
FieldStr = ds.Fields(i).GetChunk(0, ds.Fields(i).FieldSize())

End Select


recStr = recStr & FieldStr

Next

GetCurrRec = recStr

End Function

When I try to compile, the error occur user-defined type not defined which show to the line code (Function GetCurrRec(ds As Dynaset) As String). What is happening??Pls help me

Thanks

User-defined Type Error
Public Type textLine
text As String 'Text = the actual string of data
x As Single 'X = the X position on the page in inches
y As Single 'Y = the Y position on the page in lines (6 lines / in.)
End Type

'prints textline at specified x and y coordinates
Public Sub printText(text As textLine)
Printer.CurrentX = 1440 * text.x
Printer.CurrentY = 1440 * text.y
Printer.Print textLine.text
End Sub

is what i have. it gives me a user-defined type error and highlights the line: Public Sub printText(text As textLine). textLine does not cause any other problems in the program. did i do it right?

thanks
gary

User-defined Type Error
I am getting a "User-defined type not defined" error with this code...

Code:
Dim oConn As ADODB.Connection 'error has oConn As ADODB highlighted
Dim sInsert As String

Set oConn = New ADODB.Connection
oConn.Open "Driver={Microsoft Access Driver (*.mdb)};DBQ=" & App.Path & "MCaldb.mdb"
sInsert = "INSERT INTO MCdata (Employee, Date, Hours, ShiftStart, ShiftEnd VALUES( '" & ETtxt.Text & "', _
'" & DTPicker1.Value & "', '" & Hrstxt.Text & "', '" & SSTVar & "', '" & SETVAr & "')"
oConn.Execute sInsert
oConn.Close
I'm not sure why. Could someone tell me why I am getting this error? Thanks

User Defined Type Error
I am getting a user defined type error on the following line when I try to run my program:

Public g_ConADO As adodb.connection

Thing is that I ran it a few minutes previous and it worked fine. Now it is bringing up this error as soon as I hit the run command.
Thanks in advance,
P.

User Defined Type Error
Hi,

I would like to send a user defined type between two udp winsock peers. I have the type defined in a module which is in the same project as the form which the udp is set up on.

However, when I try to compile the project to an executable I get the error: "Only user defined types in public object modules can be coerced to or from a variant or passed to late bound functions"

The MSDN extended deffinition for this error is no more descriptive, and I'm at a loss of what to do (im quite new to this winsock stuff) So any suggestions on how I could possibly send my user defined type through the udp connection would be greatly appreciated.

thanks

User Defined Type Error On My Code
Hello everyone. I would like to ask for a help regarding some errors on my code. I'm new to vb and I will really appreciate every help I can get from you guys. Below is the code of my billing system program that uses mdb. Thank you very much in advance.


Code:
Option Explicit
Dim cmbdb As Database <--user defined type error
Dim cmbrec As Recordset
Dim selrec As Recordset
Dim typerec As Recordset
Dim chargerec As Recordset
Dim codevar As String
Dim rowsw As Boolean
Dim found As Boolean
Dim fnd As Boolean
Dim compamt As Currency
Dim compval As String
Dim wrkstat As String
Dim rownum As Integer
Dim datevar As Date
Dim newnum As Boolean
Dim tscnt As Integer
Dim srvar As String

Private Sub Form_Load()
newnum = True
Grid2.Rows = 2
Grid2.Cols = 8
Grid1.Cols = 8
Grid3.Cols = 4
Grid2.Visible = False
Grid3.Visible = False

Combo3.Text = 10
Text6.Text = ""
With Grid1
.Row = 0
.col = 0
.Text = ""
.col = 1
.Text = Space(45) + "I t e m"
.col = 2
.Text = "Meas.Weight / Head / bdft / Unit "
.col = 3
.Text = "Converted / Weight / bdft / Unit "
.col = 4
.Text = "Basis"
.col = 5
.Text = "Service"
.col = 6
.Text = "Service Code"
.col = 7
.Text = "Rate"

End With
Grid1.RowHeight(0) = 700
Grid1.ColWidth(0) = 300
Grid1.ColWidth(1) = 1500
Grid1.ColWidth(2) = 1000
Grid1.ColWidth(3) = 800
Grid1.ColWidth(4) = 900
Grid1.ColWidth(5) = 1800
Grid1.ColWidth(6) = 900
Grid1.ColWidth(7) = 700
With Grid2
.RowHeight(0) = 600
.ColWidth(0) = 100
.ColWidth(1) = 1500
.ColWidth(2) = 1000
.ColWidth(3) = 800
.ColWidth(4) = 1000
.ColWidth(5) = 1000
.ColWidth(6) = 1200
.ColWidth(7) = 1200
.Row = 0
.col = 1
.Text = "Cargo"
.col = 2
.Text = "Service Code"
.col = 3
.Text = "Rate"
.col = 4
.Text = "Total Unit /Rev. Ton /Kilo"
.col = 5
.Text = "Total Amt."
.col = 6
.Text = "PPA 12%"
.col = 7
.Text = "ILIASCO"

End With
With Grid3
.RowHeight(0) = 300
.ColWidth(0) = 100
.ColWidth(1) = 5285
.ColWidth(2) = 1200
.ColWidth(3) = 1200
.Row = 0
.col = 2
.Text = "PPA"
.col = 3
.Text = "ILIASCO"
End With
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text5.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text4.Text = ""
Set cmbdb = OpenDatabase("C:illingcargo.mdb")
Set selrec = cmbdb.OpenRecordset("type")
Set cmbrec = cmbdb.OpenRecordset("cargo")
Set typerec = cmbdb.OpenRecordset("type")
Set chargerec = cmbdb.OpenRecordset("charge")
loadcmb1
Combo1.Text = ""
Command2.Enabled = False
Command3.Enabled = False
Command6.Enabled = False

End Sub
Private Sub Check3_Click()
'If Check3.Value = vbChecked Then
' Check4.Value = vbUnchecked
'End If
End Sub

Private Sub Check4_Click()
'If Check4.Value = vbChecked Then
'Check3.Value = vbUnchecked
'End If
End Sub

Private Sub Check6_Click()
loadcmb1
Label11.Caption = ""
End Sub



Private Sub Combo1_Click()
Dim pos As Integer
Dim strname As String
If Combo1.Text = "" Then
Exit Sub
End If
strname = Combo1.Text
cmbrec.Index = "cargoidx"
cmbrec.Seek "=", strname
Label11 = cmbrec(1)
typerec.Index = "ccodeidx"
typerec.Seek "=", cmbrec(2)
Label11 = Label11 + " / " + typerec(0) + " / " + typerec(1)

End Sub

Private Sub Command1_Click()

Command3.Enabled = False
If newnum = True Then
If IsNull(Text5.Text) Then
MsgBox ("Invalid CR/TS No.")
Exit Sub
End If
If rowsw = False Then
Grid1.Row = (Grid1.Row) + 1
End If
Grid1.col = 0
Grid1.Text = "*"
Grid1.col = 1
Grid1.Text = Text5.Text
tscnt = tscnt + 1
Else
If IsNumeric(Text11.Text) = False Then
MsgBox ("Invalid Weight Measurement")
Exit Sub
End If
If Combo2.Text = "" Then
MsgBox ("Select Type of Service")
Exit Sub
End If
If Command2.Enabled = False Then
Command2.Enabled = True
End If
If rowsw = False Then
Grid1.Row = (Grid1.Row) + 1
End If


Grid1.col = 0
Grid1.Text = (Grid1.Row) - tscnt
Grid1.col = 1
Grid1.Text = Combo1.Text
Grid1.col = 2
Grid1.Text = Text11.Text
weightchk
Grid1.col = 3
Grid1.Text = compval
Grid1.col = 4
Grid1.Text = typerec(4)
Grid1.col = 5
Grid1.Text = Combo2.Text

fndcode
fndrate
End If
newnum = False
rowsw = False
Grid1.Rows = (Grid1.Rows) + 1
Text11.SetFocus
End Sub

Private Sub Command10_Click()

End Sub

Private Sub Command3_Click()
Dim rownum As Integer

If IsNumeric(Text11.Text) = False Then
MsgBox ("Invalid Weight Measurement")
Exit Sub
End If

If IsNull(Combo2.Text) Then
MsgBox ("Select Type of Service")
Exit Sub
End If
'Grid1.col = 0
'Grid1.Text = (Grid1.Row)
Grid1.col = 1
Grid1.Text = Combo1.Text
Grid1.col = 2
Grid1.Text = Text11.Text
weightchk
Grid1.col = 3
Grid1.Text = compval
Grid1.col = 4
Grid1.Text = typerec(4)
Grid1.col = 5
Grid1.Text = Combo2.Text
fndcode
fndrate
rownum = Grid1.Rows - 1
Grid1.Row = rownum
Text11.Text = ""
Text11.SetFocus
rowsw = True
Command1.Enabled = True
End Sub


Private Sub Command2_Click()
Dim i As Integer

With Grid1
For i = 1 To .Cols - 1
.col = i
.Text = ""
Next i
End With
If Command3.Enabled = False Then
Command3.Enabled = True
End If
Command1.Enabled = False
End Sub

User Defined Type Error In Collection
I am trying to get this udt to add to my collection and I get the
error "Only user defined types defined in public object modules
can be coerced to or from a variant or passed to late-bound
functions". I am trying to learn about collections, so forgive me if
this is something stupid.

This is what I have in a module. Does it need to be in a class?

VB Code:
Option Explicit Public Type goCalItems    Name As String    EntryID As String    FolderPath As String    Type As String    Display As BooleanEnd Type Public gcolCalItems As CollectionPublic udtProps As goCalItems Public Function ReLoad()     With udtProps        .Name = CStr(arInfo(0))        .EntryID = CStr(arInfo(2))        .FolderPath = ""        .Type = CStr(arInfo(1))    End With    gcolCalItems.Add udtProps, udtProps.EntryID End Function

User Defined Type (UDT) Compilation Error
halo pple,

a few months since my last visit to devshed forum, and just realised it has a new cool look...

anyway heres my problem tat baffled me for a long time. Its a simple and stupid problem, in fact i do feel abit ashamed asking pple to help me on this but i just couldnt fix it.

lets say i define a UDT in a std module,
in main.bas:

Code:


public type myRecordType
myName as String
end type



and in would like to use it in a public function in a form module,
in form1.frm:


Code:

public function myFun() as myRecordType
...
end function



That's it. Simple and yet i got a weird compilation error on the function. Heres the compilation error mesg:

"Only public user-defined types defined in public object modules can be used as parameters or return types for public procedures of class modules or as fields of public user defined types"

I need myFun to be public. Can anyone spot anything wrong with it....

Thanks alot in advance....

User Defined Type Not Found Error
Hi there,

When I borrow other people code, and when it runs to

Dim objfile As File

It shows above error. I get I should add "reference" or component to
the project. Which one should I add?

Thanks a lot.

Bao

Adding Ctl, Getting User Defined Type Error
hello

i'm adding a text scroller ctl to my project, when i click on it in the tool box i get the error,
user-defined type not defined
and points to this code in ctl file:


Code:

'WARNING! DO NOT REMOVE OR MODIFY THE FOLLOWING COMMENTED LINES!
'MappingInfo=UserControl,UserControl,-1,BackColor
Public Property Get BackColor() As OLE_COLOR
BackColor = UserControl.BackColor
End Property


do i need to reference it to something ??



Thanks
GATMAN

Complied Error: User-defined Type Not Define
Private Sub datPrimaryRS_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset) "THIS LINE HAS AN ERROR"

'This will display the current record position for this recordset
datPrimaryRS.Caption = "Record: " & CStr(datPrimaryRS.Recordset.AbsolutePosition)
End Sub

The above code was generated by VB Wizard. I am a newbie on VB.

Could you please check what are the things I need to look closer or defined in the code.

Error: Array Or User-defined Type Expected
Sub FourierTransform(NumSamples As Long, RealIn() As Double, ImageIn() As Double, RealOut() As Double, ImagOut() As Double)

^ That's the arguments to the Sub I'm calling on. I've declared my arguments as doubles, cept for the first, which i've declared as long:

Blah = Array(1, 0, 2, 3, 5)
Blah2 = Array(1, 0, 2, 3, 5)
Blah3 = Array(1, 0, 2, 3, 5)
Blah4 = Array(1, 0, 2, 3, 5)
FourierTransform 44100, Blah, Blah2, Blah3, Blah4

For some reason it doesn't treat the variables as arrays...I've tried typing them as Blah(), Blah2(), etc. but still not luck. Can anyone help?

"User Defined Type Not Defined" Error
Hi,
I am gettin the "User defined type not defined" error at this point in the code

Private Function AppendFields(CurMap As MapObjects2.Map, CurLegend As MO2legend.legend, NewRecordset As ADODB.Recordset, colParameters As Collection)

I thought its cos i am not providing reference for adodb, even after addin the reference ,error still persists. does collection object need any reference? Could you please tell me what might be going wrong?

Thanks

Karunya

User Defined Type Not Defined : StdPicture. Works In The Demo, What Am I Missing?
Public Function CreateFromPicture(ByRef picThis As StdPicture)

I'm trying to save a file picture as a jpg, but get the error : "User
defined type not defined" on the first line in this post. When I
type "picThis As Std" I don't get the choice StdPicture. Why not?

Here's where I got the code for saving to jpg:
http://www.vbaccelerator.com/codelib/gfx/vbjpeg.htm

Omg, this should be simple, what am I missing here? It works in the demo file so what the heck am I doing wrong?

Class Property That Is An Array And Is Defined As A User Defined Type
How is this done in VB?

I can not figure out how to get this to work and then assign values to it.

Here is what I have so far:


Code:
Private Type ScriptParameter
Variable As String
Value As String
End Type

Private mvarCMS_Script_Number_Of_Parameters As Long 'local copy
Private mvarCMS_Script_Parameters() As ScriptParameter 'local copy

Friend Property Let CMS_Script_Number_Of_Parameters(ByVal vData As Long)
'used when assigning a value to the property, on the left side of an assignment.
'Syntax: X.CMS_Script_Name = 5
mvarCMS_Script_Number_Of_Parameters = vData

ReDim Preserve mvarCMS_Script_Parameters(mvarCMS_Script_Number_Of_Parameters)
End Property

Friend Property Get CMS_Script_Number_Of_Parameters() As Long
'used when retrieving value of a property, on the right side of an assignment.
'Syntax: Debug.Print X.CMS_Script_Name
CMS_Script_Number_Of_Parameters = mvarCMS_Script_Number_Of_Parameters
End Property


Friend Property Let CMS_Script_Parameters(Index As Long, VData as ScriptParameter)
'used when assigning a value to the property, on the left side of an assignment.
'Syntax: X.CMS_Script_Parameters = 5

If (Index + 1) > mvarCMS_Script_Number_Of_Parameters Then
Err.Description = "The CMS_Script_Parameters(" & Index & ") does not exist. Only " & _
mvarCMS_Script_Number_Of_Parameters & " have been defined."
GoTo HandleError
End If

mvarCMS_Script_Parameters(Index) = vData

Exit Property
HandleError:
ERROR_DESCRIPTION = "There was a problem setting a CMS_Script_Parameters property: " _
& Err.Description
End Property

Friend Property Get CMS_Script_Parameters(Index As Long) As ScriptParameter
'used when retrieving value of a property, on the right side of an assignment.
'Syntax: Debug.Print X.CMS_Script_Parameters

If (Index + 1) > mvarCMS_Script_Number_Of_Parameters Then
Err.Description = "The CMS_Script_Parameters(" & Index & ") does not exist. Only " & _
mvarCMS_Script_Number_Of_Parameters & " have been defined."
GoTo HandleError
End If

CMS_Script_Parameters = mvarCMS_Script_Parameters(Index)

Exit Property
HandleError:
Err.Description = "There was a problem retrieving a CMS_Script_Parameters property: " _
& Err.Description
Err.Raise 9999
End Property

Then i have the following to assign values:


Code:
Dim test As clsCMSScripting

Set test = New clsCMSScripting

With test
.CMS_Script_Number_Of_Parameters = 1
.CMS_Script_Parameters(0).Variable = "&&DATES&&"
.CMS_Script_Parameters(0).Value = "9/2/03"
End With

But of course, it is not working.....I have tried 4 or 5 variations...andI am starting to get frustrated : )

Help please!! : )

Forward Reference To User-defined Type :S (type In A Type)
i get this error with this code :

---------------------------
Microsoft Visual Basic
---------------------------
Compile error:

Forward reference to user-defined type
---------------------------
OK Help
---------------------------


VB Code:
Private Type smodel animation As KeyFrame Mesh As D3DXMesh MeshMaterials(100) As D3DMATERIAL8   ' Mesh Material data MeshTextures(100) As Direct3DTexture8 ' Mesh Textures nMaterials As Long 'How may materials/textures we have.... used As Boolean matpos As D3DMATRIX kfAnimLength As Long '//How long this animation will run for, before looping/Terminating nKeyFrames As Integer '//How many keyframe make up our animation... AnimLastStartAt As Long '//When we last started the animation playing... kfAnim() As KeyFrame '//An open ended array of keyframes - that make up our animation kfCurrent As KeyFrame '//Storage for the current frame.End Type  Private Type KeyFrame    Mesh As D3DXMesh '//This is the object loaded from a file    MatList() As D3DMATERIAL8 '//This is an array of the materials for each object    TexList() As Direct3DTexture8 '//This is an array of each texture used    nMaterials As Long '//How many materials and textures we're going to be using    VertexList() As D3DVERTEX '//The raw vertex data for this keyframe    TimeIndex As Long '//Where this keyframe is in the animationEnd Type  Public objectmodel(0 To 800) As smodel


i put a type in a type very often why doesnt it allow me to do it now? :S

Dim Fs As New FileSystemObject User Defined - Type Not Defined
Hi

Can you please tell me how can I resolve this problem
when i try to run the program appears asn error like this

Dim fs As New FileSystemObject
User defined - type not defined

I pasted de code into my form so I'm not able to know what is wrong with this code.
I really apreciate if you could help me

Teixeira

Problem: User-defined Type Not Defined
Hi
here is the sample code that performs user login function. when i press Run it shows a message "User-defined type not defined" and it highlights the cnContacts As ADODB.connection. Please guide me what to do since i'm a beginner in VB


Code:
Private Sub Login_Click()

Dim dbFile As String
Dim cnContacts As ADODB.connection
Dim psd As String

'------- Set the database Application Path ------

dbFile = App.Path & "DATABASE.mdb"

'----------- Establish the connection -----------

Set cnContacts = New ADODB.connection
cnContacts.CursorLocation = adUseClient
cnContacts.ConnectionString = "Provider=Microsoft.jet.OLEDB.4.0;" & "Data Source=" & dbFile & ";" & "Persist Security Info=False"

'-------------- Open the connection -------------

cnContacts.Open

'---------- Get The Record For Administrator-------

psd = "SELECT PASSWORD FROM Administrator WHERE ADMIN_ID = '&AdminID.text'"

'----------testing login-------------
If (AdminID.Text = psd) Then
MsgBox "Access Granted", vbOKOnly
Else
MsgBox "Access Denied", vbOKOnly
End If

cnContacts.Close
Set cnContacts = Nothing
End Sub

ADOX ... User-defined Type Not Defined
i was trying to see what the following does:


Code:


Option Explicit
Dim cat As ADOX.Catalog
Dim tbl As ADOX.Table

Private Sub Command1_Click()
Set cat = New ADOX.Catalog
Set tbl = New ADOX.Table
cat.Create "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:
ewDB.mdb"
With tbl
.Name = "TestTable"

With .Columns
.Append "ID COLUMN"
.Append "SetName", adVarWChar, 255
.Append "SetVal", adVarWChar, 255
.Append "Description", adVarWChar, 255
End With
End With

cat.Tables.Append tbl

Set cat = Nothing

Set tbl = Nothing

End Sub



but it bugs out on line 1


ADOX ... user-defined type not defined

cant seem to find the right reference in the component list. anybody know the name of the dll that makes adox work?

Copyright © 2005-08 www.BigResource.com, All rights reserved