I have a CLR project that I want to publish as an executable. When I try to
use the VBC /target:exe command I get an error indicating that there is no
sub-form. All I have in the project is a stored procedure and sql script
that has an embedded cursor. Is there a way to do this?

Re: Publish CLR as an executable by Jeff

Jeff
Fri Oct 10 08:20:01 CDT 2008

"Dan Shepherd" <DanShepherd@discussions.microsoft.com> wrote in message
news:8C33B407-BF1D-4E35-9B54-93E390570F8A@microsoft.com...

>I have a CLR project

[Canned response]
This is a VB "classic" newsgroup. Questions about VB.NET (including VB
2005/2008 and VB Express, which have dropped .NET from their names) are
off-topic here.

Please ask .NET questions in newsgroups with "dotnet" in their names. The
*.vb.* groups are for VB6 and earlier. If you don't see the *.dotnet.*
groups on your news server, connect directly to the Microsoft server:
msnews.microsoft.com.

For questions specific to the VB.NET language, use this group:
microsoft.public.dotnet.languages.vb

Please note that things like controls and data access, which have their own
subgroups in the Classic VB hierarchy, are not language-specific in .NET, so
you should look for groups like these:
microsoft.public.dotnet.framework.windowsforms.controls
microsoft.public.dotnet.framework.adonet
(Note that "vb" is not present in the group name.)



Re: Publish CLR as an executable by Bill

Bill
Fri Oct 10 08:29:06 CDT 2008

Hi Dan,

For VB on dotnet questions, best to post to the dotnet newsgroup:
microsoft.public.dotnet.languages.vb

AS to your question, when you post over there, I'd suggest be clear in what
you are targeting. It sounds to me like you are wanting to have a SQL
Managed function but compiled as an Exe. An exe must have a Sub Main entry
point, or a default form (when you select a default form, the Sub Main entry
point is created for you when compiled)



"Dan Shepherd" <DanShepherd@discussions.microsoft.com> wrote in message
news:8C33B407-BF1D-4E35-9B54-93E390570F8A@microsoft.com...
>I have a CLR project that I want to publish as an executable. When I try
>to
> use the VBC /target:exe command I get an error indicating that there is no
> sub-form. All I have in the project is a stored procedure and sql script
> that has an embedded cursor. Is there a way to do this?