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??????
Printable View
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??????
What exactly are you needing to do?
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
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
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
yes, all classes are compiled into dll files in .NET
do i have to just create them in another project file? sorry i know this is probably basic stuff.
thanx
not sure what you mean?
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
Create a Class Library, that will compile into a DLL
sorry but how do i go about doing that with vb.net? PLEASE forgive me!!!!!!!!
thanx
File->New->Project
Select Class Library.