HighTechTalks DotNet Forums  

Rephrase Question - What is needed besides dotnetfx.exe?

Dotnet Academic General Discussions microsoft.public.dotnet.academic


Discuss Rephrase Question - What is needed besides dotnetfx.exe? in the Dotnet Academic General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Giacomo
 
Posts: n/a

Default Rephrase Question - What is needed besides dotnetfx.exe? - 02-25-2004 , 09:16 PM






I'm going under the assumption that the distribution of VB .NET programs does not require COM objects to be installed. And if for some reason it does, if those COM objects have been previously installed under VB6 on the target machine, there should be no further modification. This particular application upgrades a VB6 app which uses the scripting runtime and the SQL OLE installed by MSDE. Both of these objects should be available. Additionally I use a bunch of API calls
Private Declare Function OSfCreateShellLink Lib "vb6stkit.dll" Alias "fCreateShellLink(...
Private Declare Function GetDesktopWindow Lib "user32" () As Intege
Private Declare Function RegDeleteKey Lib "advapi32.dll" Alias "RegDeleteKeyA"(...
Private Declare Function RegDeleteValue Lib "advapi32.dll" Alias "RegDeleteValueA"(...
I'm hoping someone has run into an error using API calls which looks like
"Application has generated an exception that could not be handled
I'm guessing COM, but as I have described above, there should be no problem there. I don't know if the API calls don't work properly or if they require an additional addin for dotnet to function - something other than dotnetfx.exe
The program asks that I distribute these dll's (do they need to be registered?
Interop.ComctlLib.dl
Interop.IWshRuntimeLibrary.dl
AxInterop.ComctlLib.dl
Interop.Scripting.dl
Help
Giacomo

Reply With Quote
  #2  
Old   
Giacomo
 
Posts: n/a

Default How can I distribute a compiled .NET assembly object? - 02-29-2004 , 05:25 AM






Maybe I am asking the wrong question.

Is it necessary to create a setup project for a program? I have everything
referenced as late bound and I pre-install objects like SQL Server and IE
Browser so that the SQL DMO and Scripting Runtime are already on the
machine. I don't use any other objects. But I did use the VB6 upgrade.

Compiled object works on a machine with .NET installed. It doesn't on any
other machine.

Is is a wrong assumption to think that a compiled .NET program works on any
machine that has the Framework installed?


"Giacomo" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
I'm going under the assumption that the distribution of VB .NET programs
does not require COM objects to be installed. And if for some reason it
does, if those COM objects have been previously installed under VB6 on the
target machine, there should be no further modification. This particular
application upgrades a VB6 app which uses the scripting runtime and the SQL
OLE installed by MSDE. Both of these objects should be available.
Additionally I use a bunch of API calls:
Quote:
Private Declare Function OSfCreateShellLink Lib "vb6stkit.dll" Alias
"fCreateShellLink(...
Private Declare Function GetDesktopWindow Lib "user32" () As Integer
Private Declare Function RegDeleteKey Lib "advapi32.dll" Alias
"RegDeleteKeyA"(...
Private Declare Function RegDeleteValue Lib "advapi32.dll"
Alias "RegDeleteValueA"(...
I'm hoping someone has run into an error using API calls which looks like:
"Application has generated an exception that could not be handled"
I'm guessing COM, but as I have described above, there should be no
problem there. I don't know if the API calls don't work properly or if they
require an additional addin for dotnet to function - something other than
dotnetfx.exe?
Quote:
The program asks that I distribute these dll's (do they need to be
registered?)
Interop.ComctlLib.dll
Interop.IWshRuntimeLibrary.dll
AxInterop.ComctlLib.dll
Interop.Scripting.dll
Help,
Giacomo



Reply With Quote
  #3  
Old   
Peter van der Goes
 
Posts: n/a

Default Re: How can I distribute a compiled .NET assembly object? - 03-02-2004 , 09:54 AM




"Giacomo" <anonymous (AT) msnewsgroups (DOT) com> wrote

Quote:
Maybe I am asking the wrong question.

Is it necessary to create a setup project for a program? I have
everything
referenced as late bound and I pre-install objects like SQL Server and IE
Browser so that the SQL DMO and Scripting Runtime are already on the
machine. I don't use any other objects. But I did use the VB6 upgrade.

Compiled object works on a machine with .NET installed. It doesn't on any
other machine.

Is is a wrong assumption to think that a compiled .NET program works on
any
machine that has the Framework installed?


"Giacomo" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:93FA11E6-88AA-4FA0-9C8D-48FB00423026 (AT) microsoft (DOT) com...
I'm going under the assumption that the distribution of VB .NET programs
does not require COM objects to be installed. And if for some reason it
does, if those COM objects have been previously installed under VB6 on the
target machine, there should be no further modification. This particular
application upgrades a VB6 app which uses the scripting runtime and the
SQL
OLE installed by MSDE. Both of these objects should be available.
Additionally I use a bunch of API calls:
Private Declare Function OSfCreateShellLink Lib "vb6stkit.dll" Alias
"fCreateShellLink(...
Private Declare Function GetDesktopWindow Lib "user32" () As Integer
Private Declare Function RegDeleteKey Lib "advapi32.dll" Alias
"RegDeleteKeyA"(...
Private Declare Function RegDeleteValue Lib
"advapi32.dll"
Alias "RegDeleteValueA"(...
I'm hoping someone has run into an error using API calls which looks
like:
"Application has generated an exception that could not be handled"
I'm guessing COM, but as I have described above, there should be no
problem there. I don't know if the API calls don't work properly or if
they
require an additional addin for dotnet to function - something other than
dotnetfx.exe?
The program asks that I distribute these dll's (do they need to be
registered?)
Interop.ComctlLib.dll
Interop.IWshRuntimeLibrary.dll
AxInterop.ComctlLib.dll
Interop.Scripting.dll
Help,
Giacomo


Yes, you must use a setup project to deploy your finished .NET program to
PC's that do not have Visual Studio .NET installed.

--
Peter [MVP Academic]




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.