|
-
Jun 9th, 2004, 02:25 PM
#1
Thread Starter
Frenzied Member
newbie question 2
Ok in VB6 i was able to create ActiveX DLLs....can I no longer do this in VB.Net or is it just because i have Standard??????
-
Jun 9th, 2004, 02:28 PM
#2
Frenzied Member
What exactly are you needing to do?
Being educated does not make you intelligent.
Need a weekend getaway??? Come Visit
-
Jun 9th, 2004, 02:39 PM
#3
Thread Starter
Frenzied Member
sorry guess i should have told you a little more...I am created a program that reads files that place where i work gets...we get files from all different kinds of other companies and each one is in a different file format and they can change without notice...i started to write it in VB6 and now i'm converting it to VB.net...anyway each process for a specific file format is in it's own DLL and the EXE calls another specfic DLL that then calls the specific file processing DLL's. this way if i have to make changes to any of the file processing dlls it's only them not the whole project and that way i would only have to re-compile and make that/those DLLs... hope this makes sense
thanx
-
Jun 9th, 2004, 02:47 PM
#4
Frenzied Member
just create a standard vb class that accepts the file extension as a parameter, then based on the extension call the appropriate methods.
Example
VB Code:
Public Class ReadFiles
Public Sub DoSomething(strExtension As String)
Select Case strExtension
Case "txt"
Call DoTxtFiles()
Case "xls"
Call DoXlsFiles()
End Select
End Sub
End Class
Being educated does not make you intelligent.
Need a weekend getaway??? Come Visit
-
Jun 9th, 2004, 02:55 PM
#5
Thread Starter
Frenzied Member
ok that's cool...but lets just say i wanted to create a dll with vb.net standard....can i or can't i? just want to know
thanx
-
Jun 9th, 2004, 02:56 PM
#6
Frenzied Member
yes, all classes are compiled into dll files in .NET
Being educated does not make you intelligent.
Need a weekend getaway??? Come Visit
-
Jun 9th, 2004, 02:57 PM
#7
Thread Starter
Frenzied Member
do i have to just create them in another project file? sorry i know this is probably basic stuff.
thanx
-
Jun 9th, 2004, 03:07 PM
#8
Frenzied Member
Being educated does not make you intelligent.
Need a weekend getaway??? Come Visit
-
Jun 9th, 2004, 03:11 PM
#9
Thread Starter
Frenzied Member
sorry about this....ok for instance in VB6 you created group projects...ie you added the ActiveX DLL project to let say your main project EXE. then you made references to the other projects (DLLS) and in the code you would call the specific functions or routines in that project that would be later compiled and built into a DLL. hope this makes sense
sorry, but thanx for all the help
-
Jun 9th, 2004, 03:21 PM
#10
Create a Class Library, that will compile into a DLL
-
Jun 9th, 2004, 03:25 PM
#11
Thread Starter
Frenzied Member
sorry but how do i go about doing that with vb.net? PLEASE forgive me!!!!!!!!
thanx
-
Jun 9th, 2004, 04:02 PM
#12
File->New->Project
Select Class Library.
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
|