Hi All,
I have an application which is web based. I am hosting it on VB.Net
container, ie winform. Now i am facing a problem. If i make an exe of that,
then i require .net framework installed on that machine where i am going to
run this.
So I want to move this managed code to unmanaged side i,e to VC++ by
converting VB.Net code to VB 6.0 and then importing VB 6.0 dll in VC++.
My Question is, Do u people have any better approach to solve this problem?
My Goal is without having framework installed i want to run my app.
Thanks
Sachin 7 1505
So what is the problem with having the framework installed? Include the
framework on the installation CD or have the user download it and install it
themselves. In the future everyone will have the framework and this will
not be an issue. I don't understand the reluctance of developers to shy
away from managed code just because the app has to run under the framework.
Why would anyone want to go back to VB 6 from .NET. That's like saying I am
tried of my present day computer give me a computer with a 10 mb hard drive
running dos in 640 k of ram.
"sachin" <sa****@oopsyst ems.com> wrote in message
news:eE******** ******@TK2MSFTN GP12.phx.gbl... Hi All,
I have an application which is web based. I am hosting it on VB.Net container, ie winform. Now i am facing a problem. If i make an exe of
that, then i require .net framework installed on that machine where i am going
to run this.
So I want to move this managed code to unmanaged side i,e to VC++ by converting VB.Net code to VB 6.0 and then importing VB 6.0 dll in VC++.
My Question is, Do u people have any better approach to solve this
problem? My Goal is without having framework installed i want to run my app.
Thanks Sachin
Hi,
The reason is my cutomers doesn't want to install .net framework coz of
1.download size.
2.My App size is only 2Mb size. So i don't want to put .net framework into
my setup file
also currently framework doesn't come as part of OS.
Sachin
"William Gower" <w_*****@hotmai l.com> wrote in message
news:er******** ******@TK2MSFTN GP11.phx.gbl... So what is the problem with having the framework installed? Include the framework on the installation CD or have the user download it and install
it themselves. In the future everyone will have the framework and this will not be an issue. I don't understand the reluctance of developers to shy away from managed code just because the app has to run under the
framework. Why would anyone want to go back to VB 6 from .NET. That's like saying I
am tried of my present day computer give me a computer with a 10 mb hard
drive running dos in 640 k of ram.
"sachin" <sa****@oopsyst ems.com> wrote in message news:eE******** ******@TK2MSFTN GP12.phx.gbl... Hi All,
I have an application which is web based. I am hosting it on VB.Net container, ie winform. Now i am facing a problem. If i make an exe of that, then i require .net framework installed on that machine where i am going to run this.
So I want to move this managed code to unmanaged side i,e to VC++ by converting VB.Net code to VB 6.0 and then importing VB 6.0 dll in VC++.
My Question is, Do u people have any better approach to solve this problem? My Goal is without having framework installed i want to run my app.
Thanks Sachin
I must agree with William. It is foolish to do what you are doing.
Windows XP has the framework installed. Windows 2003 has the framework
installed. Over the past two years, millions of Windows 2000 and Windows 98
machines have had the framework installed for some other application.
You cannot run a Java app without the JVM. It is harder to install a JVM
than it is to install the .NET framework IMHO.
Why fret about this?
There is a company that makes a product that creates a smaller download of
the framework by creating a DLL that contains only the classes that your app
uses. It isn't the best technical solution but it will make for a smaller
download. I can't remember the name off the top of my head, but I've seen
it referenced on one of the NGs.
Hope this helps,
--- Nick
"sachin" <sa****@oopsyst ems.com> wrote in message
news:eE******** ******@TK2MSFTN GP12.phx.gbl... Hi All,
I have an application which is web based. I am hosting it on VB.Net container, ie winform. Now i am facing a problem. If i make an exe of
that, then i require .net framework installed on that machine where i am going
to run this.
So I want to move this managed code to unmanaged side i,e to VC++ by converting VB.Net code to VB 6.0 and then importing VB 6.0 dll in VC++.
My Question is, Do u people have any better approach to solve this
problem? My Goal is without having framework installed i want to run my app.
Thanks Sachin
I must agree with William. It is foolish to do what you are doing.
Windows XP has the framework installed. Windows 2003 has the framework
installed. Over the past two years, millions of Windows 2000 and Windows 98
machines have had the framework installed for some other application.
You cannot run a Java app without the JVM. It is harder to install a JVM
than it is to install the .NET framework IMHO.
Why fret about this?
There is a company that makes a product that creates a smaller download of
the framework by creating a DLL that contains only the classes that your app
uses. It isn't the best technical solution but it will make for a smaller
download. I can't remember the name off the top of my head, but I've seen
it referenced on one of the NGs.
Hope this helps,
--- Nick
"sachin" <sa****@oopsyst ems.com> wrote in message
news:eE******** ******@TK2MSFTN GP12.phx.gbl... Hi All,
I have an application which is web based. I am hosting it on VB.Net container, ie winform. Now i am facing a problem. If i make an exe of
that, then i require .net framework installed on that machine where i am going
to run this.
So I want to move this managed code to unmanaged side i,e to VC++ by converting VB.Net code to VB 6.0 and then importing VB 6.0 dll in VC++.
My Question is, Do u people have any better approach to solve this
problem? My Goal is without having framework installed i want to run my app.
Thanks Sachin
Hi All,
I understand the way Nick thinks. But I am in a design phase. I have my
engine ready to go. My main concern now is to choose the technology. I am
seeing my product going for 5 to 6 yrs.
I am designing a product people. Its not a project. I don't know whether
this dotnet will stand in future or not. I don't know whether dotnet
supports low level programming as platform SDK does. I am asking to the
experts which technology I can consider to stabilise my product. I know many
people who make hurry in choosing technology and believe me they are
suffering till now. I don't want to make that mistake. Hope you understand
this.
Sachin
"sachin" <sa****@oopsyst ems.com> wrote in message
news:eE******** ******@TK2MSFTN GP12.phx.gbl... Hi All,
I have an application which is web based. I am hosting it on VB.Net container, ie winform. Now i am facing a problem. If i make an exe of
that, then i require .net framework installed on that machine where i am going
to run this.
So I want to move this managed code to unmanaged side i,e to VC++ by converting VB.Net code to VB 6.0 and then importing VB 6.0 dll in VC++.
My Question is, Do u people have any better approach to solve this
problem? My Goal is without having framework installed i want to run my app.
Thanks Sachin
Hi All,
I understand the way Nick thinks. But I am in a design phase. I have my
engine ready to go. My main concern now is to choose the technology. I am
seeing my product going for 5 to 6 yrs.
I am designing a product people. Its not a project. I don't know whether
this dotnet will stand in future or not. I don't know whether dotnet
supports low level programming as platform SDK does. I am asking to the
experts which technology I can consider to stabilise my product. I know many
people who make hurry in choosing technology and believe me they are
suffering till now. I don't want to make that mistake. Hope you understand
this.
Sachin
"sachin" <sa****@oopsyst ems.com> wrote in message
news:eE******** ******@TK2MSFTN GP12.phx.gbl... Hi All,
I have an application which is web based. I am hosting it on VB.Net container, ie winform. Now i am facing a problem. If i make an exe of
that, then i require .net framework installed on that machine where i am going
to run this.
So I want to move this managed code to unmanaged side i,e to VC++ by converting VB.Net code to VB 6.0 and then importing VB 6.0 dll in VC++.
My Question is, Do u people have any better approach to solve this
problem? My Goal is without having framework installed i want to run my app.
Thanks Sachin
20MB isn't much nowadays, and it's also part of Windows Update. Going
backwards will cause you heartache and pain - unless you really expect your
users to rebel if you ask them to download the framework (or keep their OS's
up to date), stick with what you've got.
Steve
"sachin" <sa****@oopsyst ems.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. .. Hi,
The reason is my cutomers doesn't want to install .net framework coz of 1.download size. 2.My App size is only 2Mb size. So i don't want to put .net framework into my setup file
also currently framework doesn't come as part of OS.
Sachin
"William Gower" <w_*****@hotmai l.com> wrote in message news:er******** ******@TK2MSFTN GP11.phx.gbl... So what is the problem with having the framework installed? Include the framework on the installation CD or have the user download it and
install it themselves. In the future everyone will have the framework and this
will not be an issue. I don't understand the reluctance of developers to shy away from managed code just because the app has to run under the framework. Why would anyone want to go back to VB 6 from .NET. That's like saying
I am tried of my present day computer give me a computer with a 10 mb hard drive running dos in 640 k of ram.
"sachin" <sa****@oopsyst ems.com> wrote in message news:eE******** ******@TK2MSFTN GP12.phx.gbl... Hi All,
I have an application which is web based. I am hosting it on VB.Net container, ie winform. Now i am facing a problem. If i make an exe of that, then i require .net framework installed on that machine where i am
going to run this.
So I want to move this managed code to unmanaged side i,e to VC++ by converting VB.Net code to VB 6.0 and then importing VB 6.0 dll in
VC++. My Question is, Do u people have any better approach to solve this problem? My Goal is without having framework installed i want to run my app.
Thanks Sachin
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: lester |
last post by:
a pre-beginner's question:
what is the pros and cons of .net, compared to ++
I am wondering what can I get if I continue to learn C# after I have learned
C --> C++ --> C# ??
I think there must be many know the answer here.
thanks
|
by: Alper AKCAYOZ |
last post by:
Hello Esteemed Developers and Experts,
I have been using Microsoft Visual C++ .NET for 1 year. During this time,
I have searhed some topics over internets. Most of the topics about .NET is
related to C# and Visual Basic .NET. There are less documents about Visual
C++ .NET or Managed C++.
I wonder the reasons of below questions:
1) Is C# more powerful than Managed C++ and Visual C++ .NET?
2) Is Microsoft intending to support C# and...
|
by: VM |
last post by:
What's marshalling? I've had to use it extensively for a project but I don't
know what it means. I tried to look for a definition in the Internet but I
couldn't find anything that would explain what it is.
Is converting a C-style struct to a C# class (or struct) marshalling? And
what about the function exports? Are those Marshalling too?
Thanks for your help and thanks for helping me with the Dll exports (the
several messages I posted in...
|
by: Philippe Bertrand |
last post by:
Using C#, I want to send a byte array to an unmanaged function with the
minimum amount of copies. The array is input only and won't be modified
(its copied on the unmanaged side).
I'm currently using fixed byte *. My question is: Should I be using In
byte parameter instead? Ref parameter?
fixed( byte *b = byte_array ) {
MyUnmangedFunc2( b, byte_array.Length );
}
|
by: 0to60 |
last post by:
I'm trying to create a .dll with VS.NET 2003 Architect that contains a math
computational component. I need the guts of the thing to be in native code,
as performance is key for that part. But, I need a .net wrapper because
this "calculator" is actually a component used by an enterprise app written
entirely in .net.
What I want to do is have one project. I've created an MC++ .dll project.
Its got a __gc class (the wrapper) and a...
| |
by: Rachel Suddeth |
last post by:
What is the difference between a managed/unmanaged resource, and how do you
tell which is which? I'm trying to understand how to write some Dispose()
methods, and we are supposed to put code that deals with managed in one
place, and code that deals with unmanaged in another place, but I can't seem
to find anything that clearly explains what that means.
I think if I used a Windows API function to optain a handle, that handle
would be an...
|
by: Bae,Hyun-jik |
last post by:
Hi,
What is the best case for accessing managed code from unmanaged C++ code,
considering that the unmanaged code doesn't have managed extension?
Please reply.
Thanks in advance.
Regards,
Hyun-jik Bae
|
by: sachin |
last post by:
Hi All,
I have an application which is web based. I am hosting it on VB.Net
container, ie winform. Now i am facing a problem. If i make an exe of that,
then i require .net framework installed on that machine where i am going to
run this.
So I want to move this managed code to unmanaged side i,e to VC++ by
converting VB.Net code to VB 6.0 and then importing VB 6.0 dll in VC++.
|
by: Joe |
last post by:
Is any one charting packing considered to be the "best"? We've used ChartFX
but wasn't too happy about the way data had to be populated along with some
other issues which slip my mind right now and Dundas has bugs and doesn't do
a good enough job displaying axis labels and is very slow to paint large
numbers of series and data points.
We're currently evaluating ProEssentials which we are happy with but it's
not a native .NET package.
...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |