473,443 Members | 2,017 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

vbc : error BC30420: 'Sub Main' was not found in 'Product

I am Building a database and I Received this error but I don't know how to fix this problem. I try yo find where the build is looking for this Sub Main. so I Can Delete it would this Fix the error?
Jul 24 '19 #1
1 4564
SioSio
272 256MB
Try to change the startup from Project-> Properties-> Debug Section.
Dec 18 '19 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Paul Bruneau | last post by:
Hi Folks, I wonder what I need to do. I make a REAL simple design, One losuy form that has an allocated 'Name' property - Form1 I build solution without an issue.
20
by: andre | last post by:
HI, I’m learning C# and already know VB .Net. I noticed that C# you have a Static Void Main () (entry point of the app). Well that got me thinking, I was told that VB.net removed “The...
8
by: Rody Reulen | last post by:
I made an console application with Visual Basic .net. Visual Basic will automatically create the sub procedure main for you. I try to convert the main procedure to a function. During the...
3
by: Pavel | last post by:
Hi I'm new with vb.net I've got application of single form 2 buttons and text field When I try to run my progra I get the following messag 'Sub Main' was not found in 'LoanCalculator.Form1' ...
17
by: Fred Nelson | last post by:
Hi: I'm trying to implement an overall error handler in my VB.NET windows application. I need to place an "On Error Goto" in "Sub Main". I have tried to create a Sub Main and have had no...
12
by: Brian Shafer | last post by:
Hi, In VB Classic I used a sub main() in all my programs. How do I do that in VB.net without setting the application type to Console application? Looks like when I set it to console it disable...
2
by: Bill nguyen | last post by:
I converted a VB.NET 2003 app to 2005. I got error "SUB MAIN" not found. Why 05 requires a Sub Main to run? I never used Sub Main in my apps. Thanks Bill
1
by: Earl | last post by:
Originally posted this in the upgrade forum without an answer: I had an old VB program that I pulled into VS2005 to see if I could get anything useful out of the upgrade wizard. Well the program...
4
by: Learner | last post by:
Hello, I just wanted to jump on try creating a small calss in VB.NET in a note pad. And my class takes below lines of code Public Class Product Public Name as string
1
by: kkgour | last post by:
i have designed a simple console application to display a line of text, after debug i got error "sub main missing" . how to remove
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...
0
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...
0
Oralloy
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,...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.