473,385 Members | 1,359 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.

VB.NET independent appliation

Hi,

In VC++, we are able to compile and build an application which will NOT
need any *.dll files as external link.

I use now VB.NET and i would like to do the same.
I don't want to see any error message because VB6runxx.dll is nissing,
or something like that.

How can i do that ?
thanks a lot,
Maileen
Nov 21 '05 #1
13 1155
Hi Maileen,

Can you ask your question differently. I did not understand what you are
trying to accomplish. VC++ relies heavily on DLL files but for the most
part they are distributed with Windows so you don't need to install them
along with your app. When you create an app in VB.Net all you need is for
the framework to be installed. Unless you are relying on outside DLLs.
Then, like with VC++, those DLLs will need to be installed. Good luck!
Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"Maileen" <no****@email.com> wrote in message
news:u5**************@TK2MSFTNGP12.phx.gbl...
Hi,

In VC++, we are able to compile and build an application which will NOT
need any *.dll files as external link.

I use now VB.NET and i would like to do the same.
I don't want to see any error message because VB6runxx.dll is nissing,
or something like that.

How can i do that ?
thanks a lot,
Maileen

Nov 21 '05 #2
Maileen wrote:
I use now VB.NET and i would like to do the same.
I don't want to see any error message because VB6runxx.dll is nissing,
or something like that.

How can i do that ?


Hi,

In order to run a .Net application, the .Net Framework must have been
installed on that system. So the only things that you need to install
are your own assemblies. If an assembly refers to another assembly that
is not part of the .Net Framework, you'll need to install it too.

--
Patrick Philippot - Microsoft MVP
MainSoft Consulting Services
www.mainsoft.fr
Nov 21 '05 #3
Nice written Ken

Cor
Nov 21 '05 #4
"Maileen" <no****@email.com> schrieb:
In VC++, we are able to compile and build an application which
will NOT need any *.dll files as external link.

I use now VB.NET and i would like to do the same.
I don't want to see any error message because VB6runxx.dll is nissing,
or something like that.


Are you referring to VB6 or VB.NET? VB.NET doesn't need a "VB6runxxx.dll"?

The answer is no, that's not supported.

There are some solutions, but most of them don't make much sense for
me in general. They are expensive and don't bring any benefit in most
cases.

<URL:http://www.remotesoft.com/>
-> "Salamander"

<URL:http://www.lesser-software.com/> is working on a tool to compile Win32
applications from .NET source.

Thinstall
<URL:http://thinstall.com/dotnet/>

I would include the .NET Framework in the setup package:

Deploying the .NET Framework in a setup package
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=deployframework>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #5
Hi,

If you are looking to distrbute an vb.net with out the framework
take a look at this.

(untested)
http://thinstall.com/help/index.html...tframework.htm

Ken
--------------------------
"Maileen" <no****@email.com> wrote in message
news:u5**************@TK2MSFTNGP12.phx.gbl...
Hi,

In VC++, we are able to compile and build an application which will NOT
need any *.dll files as external link.

I use now VB.NET and i would like to do the same.
I don't want to see any error message because VB6runxx.dll is nissing,
or something like that.

How can i do that ?
thanks a lot,
Maileen
Nov 21 '05 #6
Ken Tucker [MVP] wrote:
Hi,

If you are looking to distrbute an vb.net with out the framework
take a look at this.

(untested)
http://thinstall.com/help/index.html...tframework.htm

Ken
--------------------------


I use Thinstall for several projects and from my initial tests the
framework linking does work. I haven't written any full applications yet
but initial tests have been exciting! This does add several megs to your
executable file size, but not the 20+ megs for the entire framework..
--
- Mitchell Vincent
- kBilling - An easy and affordable billing solution
- http://www.k-billing.com
Nov 21 '05 #7
"Mitchell Vincent" <mi**************@gmail.com> schrieb:
If you are looking to distrbute an vb.net with out the framework
take a look at this.

(untested)
http://thinstall.com/help/index.html...tframework.htm


I use Thinstall for several projects and from my initial tests the
framework linking does work. I haven't written any full applications yet
but initial tests have been exciting! This does add several megs to your
executable file size, but not the 20+ megs for the entire framework..


Notice that there may be legal problems when linking to part of the .NET
Framework.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #8
Herfried K. Wagner [MVP] wrote:
"Mitchell Vincent" <mi**************@gmail.com> schrieb:
If you are looking to distrbute an vb.net with out the framework
take a look at this.

(untested)
http://thinstall.com/help/index.html...tframework.htm


I use Thinstall for several projects and from my initial tests the
framework linking does work. I haven't written any full applications yet
but initial tests have been exciting! This does add several megs to your
executable file size, but not the 20+ megs for the entire framework..

Notice that there may be legal problems when linking to part of the .NET
Framework.


What makes you say that?

--
- Mitchell Vincent
- kBilling - An easy and affordable billing solution
- http://www.k-billing.com
Nov 21 '05 #9
"Mitchell Vincent" <mi**************@gmail.com> schrieb:
http://thinstall.com/help/index.html...tframework.htm


Notice that there may be legal problems when linking to part
of the .NET Framework.


What makes you say that?


I doubt that Microsoft grants rights to decompose the libraries provided in
the .NET Framework package.

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

Nov 21 '05 #10
I believe, and I could be wrong, but if you put all your external DLL's in
the bin directory and set the references to that instance of the DLL, the
resulting compile assembly will contain all the DLL's and you won't need to
distribute the DLL's, just copy the assembly.exe. Someone, please correct me
if I'm wrong.

"Maileen" wrote:
Hi,

In VC++, we are able to compile and build an application which will NOT
need any *.dll files as external link.

I use now VB.NET and i would like to do the same.
I don't want to see any error message because VB6runxx.dll is nissing,
or something like that.

How can i do that ?
thanks a lot,
Maileen

Nov 21 '05 #11
Dennis wrote:
I believe, and I could be wrong, but if you put all your external
DLL's in the bin directory and set the references to that instance of
the DLL, the resulting compile assembly will contain all the DLL's
and you won't need to distribute the DLL's, just copy the
assembly.exe. Someone, please correct me if I'm wrong.


Hi,

This is wrong. Adding a reference to an external assembly doesn't mean
that this assembly will be statically linked to the calling assembly. In
..Net there's no idea of static linking. Everything is dynamic. If an
assembly references another assembly, the latter must be present on the
system, either locally or in the GAC.

--
Patrick Philippot - Microsoft MVP
MainSoft Consulting Services
www.mainsoft.fr
Nov 21 '05 #12
thanks for the info.
Maileen wrote:
Hi,

In VC++, we are able to compile and build an application which will NOT
need any *.dll files as external link.

I use now VB.NET and i would like to do the same.
I don't want to see any error message because VB6runxx.dll is nissing,
or something like that.

How can i do that ?
thanks a lot,
Maileen

Nov 21 '05 #13
You were able to but only if you didn't need anything from MSVCRTxx or MFC
;-)

Again, if the issue is that you want to detect if the VM/RT is installed
(that being the .Net Framework Runtime- which is the new VBRT/VM):
then this might help... it's a free utility with source code and the reasons
why:

http://www.smithvoice.com/d5loader.htm

If, however you want to code in .Net and release with fully linked
executables that do not require the Framework to already be installed then
you might take a look at Thinstall (www.thinstall.com is the home but the
url seems down while I write this but that happens to everyone now and
then... try it later and it should be back up)

Robert Smith
Kirkland, WA
www.smithvoice.com
"Maileen" <no****@email.com> wrote in message
news:e9**************@TK2MSFTNGP15.phx.gbl...
thanks for the info.
Maileen wrote:
Hi,

In VC++, we are able to compile and build an application which will NOT
need any *.dll files as external link.

I use now VB.NET and i would like to do the same.
I don't want to see any error message because VB6runxx.dll is nissing, or
something like that.

How can i do that ?
thanks a lot,
Maileen

Nov 21 '05 #14

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

Similar topics

0
by: Konrad Hinsen | last post by:
I am looking for a way to have several threads, each of which running an independent Python interpreter. Most of the work is done by the module "code", but I also need to provide each interpreter...
10
by: RA Scheltema | last post by:
hi all, A small question about serializing and deserializing a long in a platform independent manner. Can this be done with the following code ?: char buf; long val = 35456;
0
by: Independentsoft | last post by:
Independentsoft is pleased to announce the Independent DAV, client application that uses the WebDAV protocol to manage resources on remote WebDAV enabled server. The user interface for the...
4
by: BentleyInc | last post by:
I'm trying to find a way to add a whildcard application mapping to aspnet_isapi.dll in IIS programmatically.... been looking into IIS administrator reference but didn't find the right function to...
16
by: bobrik | last post by:
Hello, I am using the Python DB API for access to MySQL. But it is not platform-independent - I need a module not included in Python by default - python-mysql, and it uses a compiled binary...
2
by: -Lost | last post by:
Alright, am I missing something? I create a 2D array like so: var blah = ; blah = ; blah = ; Then I *attempt* to create an independent copy based on all of the pages I have read that said...
3
by: saneman | last post by:
I have read that Python is a platform independent language. But on this page: http://docs.python.org/tut/node4.html#SECTION004220000000000000000 it seems that making a python script...
26
by: bilgekhan | last post by:
What is the correct method for generating 2 independent random numbers? They will be compared whether they are equal. What about this method: srand(time(0)); int r1 = rand(); srand(rand());...
35
by: Stef Mientki | last post by:
hello, I (again) wonder what's the perfect way to store, OS-independent, filepaths ? I can think of something like: - use a relative path if drive is identical to the application (I'm still a...
114
by: Andy | last post by:
Dear Python dev community, I'm CTO at a small software company that makes music visualization software (you can check us out at www.soundspectrum.com). About two years ago we went with decision...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.