473,385 Members | 1,472 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Embed VB Script in COM DLL

Hello ALl:

I have one COM DLL and I need to execute a VB Script from a function
of this COM DLL.

How can I embed the VB Script within the DLL and execute it whenever
required?

Thanks,
Keerthana

Feb 21 '07 #1
5 1767
>I have one COM DLL and I need to execute a VB Script from a function
>of this COM DLL.
Why does the code have to be VBScript? Can't you rewrite it in
whatever langauge the COM DLL is implemented in?
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Feb 21 '07 #2
I have a huge VB script which I cant rewrite in C++ (COM DLL language
in my case)

Thanks,
Keerthana

On Feb 21, 11:22 am, Mattias Sjögren <mattias.dont.want.s...@mvps.org>
wrote:
I have one COM DLL and I need to execute a VB Script from a function
of this COM DLL.

Why does the code have to be VBScript? Can't you rewrite it in
whatever langauge the COM DLL is implemented in?

Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.orghttp://www.msjogren.net/dotnet/|http://www.dotnetinterop.com
Please reply only to the newsgroup.

Feb 21 '07 #3
OK ....

So you have a some VBScript code that you need to execute from a COM DLL
written in C++.

I'm at a bit of a loss as to why you would be asking about this in a VB.NET
newsgroup.
<ke**************@yahoo.comwrote in message
news:11**********************@a75g2000cwd.googlegr oups.com...
I have a huge VB script which I cant rewrite in C++ (COM DLL language
in my case)

Thanks,
Keerthana

On Feb 21, 11:22 am, Mattias Sjögren <mattias.dont.want.s...@mvps.org>
wrote:
I have one COM DLL and I need to execute a VB Script from a function
of this COM DLL.

Why does the code have to be VBScript? Can't you rewrite it in
whatever langauge the COM DLL is implemented in?

Mattias

--
Mattias Sjögren [C# MVP] mattias @
mvps.orghttp://www.msjogren.net/dotnet/|http://www.dotnetinterop.com
Please reply only to the newsgroup.

Feb 21 '07 #4


so sorry babe

vbScript does not support VB.net and VB.net does not support vbScript.

I would reccomend keeping your code in VB6; VB.net is a complete and
utter failure.
I had heard that they're bringing back VbSCript in the next version


On Feb 20, 9:31 pm, keerthana_m_2...@yahoo.com wrote:
Hello ALl:

I have one COM DLL and I need to execute a VB Script from a function
of this COM DLL.

How can I embed the VB Script within the DLL and execute it whenever
required?

Thanks,
Keerthana

Feb 21 '07 #5
STEPHANY

fuck you bitch there is only ONE vb newsgroup.

MS renamed it from Microsoft.public.vb to this stupid
microsoft.public.dotnet.languages.vb

Microsoft should NOT have done this; the goddamn language is called
VISUAL BASIC not VB.net


On Feb 20, 11:35 pm, "Stephany Young" <noone@localhostwrote:
OK ....

So you have a some VBScript code that you need to execute from a COM DLL
written in C++.

I'm at a bit of a loss as to why you would be asking about this in a VB.NET
newsgroup.

<keerthana_m_2...@yahoo.comwrote in message

news:11**********************@a75g2000cwd.googlegr oups.com...
I have a huge VB script which I cant rewrite in C++ (COM DLL language
in my case)

Thanks,
Keerthana

On Feb 21, 11:22 am, Mattias Sjögren <mattias.dont.want.s...@mvps.org>
wrote:
>I have one COM DLL and I need to execute a VB Script from a function
>of this COM DLL.
Why does the code have to be VBScript? Can't you rewrite it in
whatever langauge the COM DLL is implemented in?
Mattias
--
Mattias Sjögren [C# MVP] mattias @
mvps.orghttp://www.msjogren.net/dotnet/|http://www.dotnetinterop.com
Please reply only to the newsgroup.- Hide quoted text -

- Show quoted text -

Feb 21 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Stefan van Roosmalen | last post by:
Hi there, The first page of my Internet website must be INDEX.HTM. But, if I want to embed some PHP code in this page, I must rename it to INDEX.PHP. Easy, but not simple, because INDEX.PHP...
11
by: Robert Ferber | last post by:
Hi, I'm a PHP-programmer who evaluates Python for a new project. I really like a lot of concepts of Python, especially the shell, but there is one great feature of PHP which I don't know how to...
1
by: Werner Godfroid | last post by:
Hello is it possible to add a list of mp3's in the following script instead of one? <EMBED SRC="voorbeeld.mp3" LOOP=TRUE AUTOSTART=TRUE WIDTH=145 HEIGHT=44> thanks Werner Godfroid
1
by: Raj | last post by:
Hi, I have the following problem. I am displaying and printing a PDF file that is generated by my Application server. The print dialogs comes up correctly for the small PDF for the larger PDFs...
2
by: Raj | last post by:
Hi, I have the following problem. I am displaying and printing a PDF file that is generated by my Application server. The print dialogs comes up correctly for the small PDF for the larger PDFs...
5
by: elbin | last post by:
Hello, first to say that I am a total beginner in Javascript but I know some programming (python in particular) and am able to understand methods/parameters and so on. Here's my problem: I am...
1
by: ShahzadMahmood | last post by:
I want to embed the following code in javascript function javascript function is written just after the object code, I want to replace the popup window code with this object code while the file name...
1
by: MoroccoIT | last post by:
Greetings - I have a CF Form that uploads news articles, at times, I like to paste Youtube Videos with my articles. I noticed that on one server, it works fine, but on a different hosting company,...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.