Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Publish CLR as an executable

0 views
Skip to first unread message

Dan Shepherd

unread,
Oct 10, 2008, 9:13:00 AM10/10/08
to
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?

Jeff Johnson

unread,
Oct 10, 2008, 9:20:01 AM10/10/08
to
"Dan Shepherd" <DanSh...@discussions.microsoft.com> wrote in message
news:8C33B407-BF1D-4E35...@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.)


Bill McCarthy

unread,
Oct 10, 2008, 9:29:06 AM10/10/08
to
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" <DanSh...@discussions.microsoft.com> wrote in message
news:8C33B407-BF1D-4E35...@microsoft.com...

0 new messages