PC Review


Reply
Thread Tools Rate Thread

How to create a dll file?

 
 
=?Utf-8?B?Um95?=
Guest
Posts: n/a
 
      13th Apr 2004
If i write a VB script, how can i create a dll file of that script

Thanks
 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      13th Apr 2004
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/de...leroptions.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


 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      13th Apr 2004
* =?Utf-8?B?Um95?= <(E-Mail Removed)> scripsit:
> 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.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
 
Reply With Quote
 
Cor Ligthert
Guest
Posts: n/a
 
      13th Apr 2004
> 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


 
Reply With Quote
 
Armin Zingler
Guest
Posts: n/a
 
      13th Apr 2004
"Cor Ligthert" <(E-Mail Removed)> schrieb
> > 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.


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


--
Armin

 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      13th Apr 2004
Cor,

* "Cor Ligthert" <(E-Mail Removed)> scripsit:
> 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...

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
 
Reply With Quote
 
Cor Ligthert
Guest
Posts: n/a
 
      13th Apr 2004
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


 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      13th Apr 2004
Cor,

* "Cor Ligthert" <(E-Mail Removed)> scripsit:
> 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.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
 
Reply With Quote
 
Cor Ligthert
Guest
Posts: n/a
 
      14th Apr 2004
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



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      14th Apr 2004
* "Cor Ligthert" <(E-Mail Removed)> scripsit:
>> 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.


?!?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create a .bat file to create a shortcut on the desktop? Jenny Microsoft Excel Programming 0 19th Sep 2008 02:39 PM
Can not create a new file with File.Create -- throws exception:Access Denied thephatp Microsoft C# .NET 4 30th Mar 2008 03:48 PM
Solution to: Can't create file:.xls. Right click folder you want to create the file in and then click properties on the shortcut menu to check your permissions on this folder Ky_fanatic Microsoft Outlook Discussion 1 8th Dec 2006 06:15 PM
Drag and drop to create a link to a file in a cell of an Excel file paulaugust2003@yahoo.com Microsoft Excel Discussion 2 18th Sep 2005 03:44 PM
Which of your products can be used to create / burn a web to a cd or dvd and also create an autostart file / cd? Windows XP New Users 5 18th Jul 2005 06:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:45 AM.