There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
bios black screen blue screen blue screen of death boot computer connection crash css dell display driver drivers email error firefox firefox 3 hard drive internet internet explorer itunes laptop lcd linux malware monitor network networking outlook outlook 2003 outlook express password printer problem problems ram router security slow software sound sprtcmd.exe trojan usb video virus vista windows windows xp wireless
Software Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
Solved: Save Function as DLL


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
urwethe's Avatar
Member with 84 posts.
 
Join Date: Jul 2004
Location: Hamilton, NJ
Experience: Intermediate
21-Dec-2005, 09:03 AM #1
Smile Solved: Save Function as DLL
I have what should be a simple question. I am working in VB .Net and simply want to do one thing: Save a function as a DLL so Crystal Reports can see it. Do I first create a form with no objects? When I "Build Solution", a EXE is created.

Thanks for your help!
urwethe's Avatar
Member with 84 posts.
 
Join Date: Jul 2004
Location: Hamilton, NJ
Experience: Intermediate
21-Dec-2005, 11:52 AM #2
Steps to create and register DLL
I have some additional questions.

I have developed a Class Library Project, with the following function:

Public Class CRUFLFEPJde
Public Function JDEConvDate(ByVal JulDate As Double) As String

'Return a date from a julian date
On Error Resume Next

Dim yr As String
Dim FrmJulDt As String
If Len(JulDate) < 6 Then
yr = Microsoft.VisualBasic.Left(CStr(JulDate), 2)
Else
yr = Microsoft.VisualBasic.Left(CStr(JulDate), 3)
End If

yr = CStr(CInt(yr) + 1900)

JDEConvDate = DateAdd("y", CInt(Microsoft.VisualBasic.Right(JulDate, 3)) - 1, "01/01/" + yr)

End Function
End Class

After this I build my solution for "release", and the DLL is created . Is this DLL registered now or is there more I need to do?
urwethe's Avatar
Member with 84 posts.
 
Join Date: Jul 2004
Location: Hamilton, NJ
Experience: Intermediate
21-Dec-2005, 04:40 PM #3
DLL Registration Problem
My DLL is not registering. I am getting the following message:

The xxxyyyzzz.dll was loaded, but the DLLRegisterServer Entry Point was not found.

I am using Visual Basic .net .

Thanks
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 08:59 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.