How to create a dll file?

  • Thread starter Thread starter Guest
  • Start date Start date
Hi Roy,

You try can set it in the right source of VB.net (what is in a most of cases
very different and very restrictive) and than compile it.

You do not direct need Visual.Studio.Net or VB.Net standard although I
advise it to do with that.

Without that it can be a lot of work and probably you will not succeed,
because compiling with this compiler is very complex if you do not know what
is ment with everything, while that goes in Visual Studio Net almost
automaticly

However beneath a link to the instructions for the vb.net compiler.

http://msdn.microsoft.com/library/d...y/en-us/vblr7/html/vaconvbcompileroptions.asp

However you can try to find on this same website code samples and see if you
get it working.

I hope this helps?

Cor
 
* =?Utf-8?B?Um95?= said:
If i write a VB script, how can i create a dll file of that script?

You can't. You can try to put the code into a VB6 ActiveX DLL project
and compile it, but you can't do that with VB.NET.
 
You can't. You can try to put the code into a VB6 ActiveX DLL project
and compile it, but you can't do that with VB.NET.

????

I think that is totally wrong there are VB scripts which need not one change
to build with option strict and option explicit off in my opinion.

Cor
 
Cor Ligthert said:
????

I think that is totally wrong there are VB scripts which need not one
change to build with option strict and option explicit off in my
opinion.

There might be cases when this works, but in general, VB.NET is not VBscript
(even with option strict off).
 
Cor,

* "Cor Ligthert said:
I think that is totally wrong there are VB scripts which need not one change
to build with option strict and option explicit off in my opinion.

Mhm... Some will compile, but you will have to adapt syntax, put
everything in a module or a class, add references, ...

It's not as easy as it looks like...
 
Hi Herfried,

I took an old asp vb.script I had, there was not one error.
And it was using the ADO and redirection and sessions.

:-)

Cor
 
Cor,

* "Cor Ligthert said:
I took an old asp vb.script I had, there was not one error.
And it was using the ADO and redirection and sessions.

I didn't say that it's impossible, but I was thinking about VBScript
used to control the OS, do "batch" jobs and using the Windows Script
Host.

In general, I wanted to say that VBScript is more similar to VB Classic
than to VB.NET.
 
A Herfried,
I didn't say that it's impossible, but I was thinking about VBScript
used to control the OS, do "batch" jobs and using the Windows Script
Host.

Wrong wrong, still a lot to learn in the computer world, first investigate
and than take your conclussions, however you know I will help you with this.

:-))

(And I make myself that mistake still often)

Cor
 
* "Cor Ligthert said:
Wrong wrong, still a lot to learn in the computer world, first investigate
and than take your conclussions, however you know I will help you with this.

?!?
 
Wrong wrong, still a lot to learn in the computer world, first
investigate
this.

?!?
but I was thinking about VBScript

You should not think you should know

However as I said, I help you to remember that.

:-)

Cor
 
* "Cor Ligthert said:
but I was thinking about VBScript

I was thinking about VBScript too and VBScript is not only used in ASP
or as client-side scripting language in MSIE. It's used as a Batch
replacement too.
You should not think you should know
?!?

However as I said, I help you to remember that.

I don't understand again.
 
Back
Top