Oct 20th, 2009, 03:16 PM
#1
Thread Starter
Hyperactive Member
User-defined type not defined
Hello, I get an error in the following code when I compile the project.
I know that it is a reference missing problem but no clue.
Code:
Private Function PrintEvent(ByVal objTrans As Transaction, ByVal sMessage As String, ByVal objMessageID As MessageID) As Integer
I haven't found "missing...." under project==>reference.
How to reslove this issue?
Thanks.
Oct 20th, 2009, 03:20 PM
#2
Re: User-defined type not defined
Can you post a snapshot of your references screen? Also when you take a snapshot, ensure the missing reference is selected...
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear :
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
Oct 20th, 2009, 03:35 PM
#3
Re: User-defined type not defined
You are passing 2 objects, user-defined types, or something else to that function.
What are Transaction and MessageID? Where are they defined, provide their definitions.
Oct 20th, 2009, 03:36 PM
#4
Thread Starter
Hyperactive Member
Re: User-defined type not defined
Okay, please see MessageID.
Attached Files
Oct 20th, 2009, 03:42 PM
#5
Thread Starter
Hyperactive Member
Re: User-defined type not defined
Compare the vbp file on the sourcesafe, only one line is different.
Code:
Reference=*\G{....}#e.1#0#..
On my local machine.
Code:
Reference=*\G{....}#14.0#0#..
Oct 20th, 2009, 03:55 PM
#6
Re: User-defined type not defined
You missed LaVolpe's questions...
Also Put
on top of your code and then run it... Now what is the error message that you get?
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear :
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width