on 02-08-2011 10:41 AM
Hello,
I created an UFL in Visual Basic, built .dll, registered it successfuly with RegAsm and added to GAC. Yet I still can't see the functions in Additional Functions.
DLL source code:
<Runtime.InteropServices.ComVisible(True)>
Public Class Class1
Public Function UFLTest1() As String
UFLTest1 = "Hello"
End Function
Public Function UFLTest2(ByVal sVal As String) As String
UFLTest2 = "Hello, " & sVal
End Function
End Class
In VB project properties, Make assembly COM-visible is checked. .NET framework 3.5 has been used. I copied the .dll to directory c:\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ and registered by RegAsm from there (and added to GAC).
Any idea what can be wrong ?
Thanks,
Jakub
Ok seems the problem is the whole Visual Basic .NET custom function library (u2lcom.dll) is missing in the list of custom functions, which is being discussed in many threads with no helpful result. Any hint on that would be helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, solved it.
If anyone fights with writing UFL, check [Microsoft MSDN|http://msdn.microsoft.com/en-us/library/ms227603%28v=VS.90%29.aspx] and follow it step by step (and I mean STEP BY STEP, any single checkbox missed and it's not gonna work).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.