473,770 Members | 4,355 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to build VB.NET Forms/Controls as easily as Access 2007 does?

Is there a way in VB.NET to build a Form/Control as easily as Access
2007 does?
I built a small name and address application in Access 2007 and I was
surprised at what I was able to do without any code. Access Forms
allow a Datasheet (GridView) to show by setting a property (I have
mine set to Datasheet on Top). Pretty sweet and easy.
I am a seasoned programmer (over 20 years) but I am a newbie to VB.NET
2005. Our company brought in some VB.NET programmers and they split
the Forms and the Gridview into their own controls with each having
hundreds of lines of code to implement. Looking at it from the outside
I think how can Access do this with no code and we have to use
hundreds of line of code.
Is there also a spot were code could be posted that can be critiqued?
I would think this newsgroup would be a good spot except the
formatting of the code would get lost along with it being hundreds of
line of code.
Or does someone well structured code that can be reviewed that does
CRUD?
A whole application would be nice.
Aug 9 '08 #1
1 1718

"gman" <ge*****@gmail. comwrote in message
news:7c******** *************** ***********@m73 g2000hsh.google groups.com...
Is there a way in VB.NET to build a Form/Control as easily as Access
2007 does?
I built a small name and address application in Access 2007 and I was
surprised at what I was able to do without any code. Access Forms
allow a Datasheet (GridView) to show by setting a property (I have
mine set to Datasheet on Top). Pretty sweet and easy.
I am a seasoned programmer (over 20 years) but I am a newbie to VB.NET
2005. Our company brought in some VB.NET programmers and they split
the Forms and the Gridview into their own controls with each having
hundreds of lines of code to implement. Looking at it from the outside
I think how can Access do this with no code and we have to use
hundreds of line of code.
Is there also a spot were code could be posted that can be critiqued?
I would think this newsgroup would be a good spot except the
formatting of the code would get lost along with it being hundreds of
line of code.
Or does someone well structured code that can be reviewed that does
CRUD?
A whole application would be nice.
I have two comments, neither of which is meant as a personal affront.
1. Have you looked at any beginners tutorials where you simply drag a table
from a data source onto your form and a fully functional datagrid appears?
2. When you mention "I built a small name and address application in Access
2007 and I was surprised at what I was able to do without any code." The
operative word is small. Access is designed for single user/ small workgroup
applications. I'll guess that the work you refer to as requiring "hundreds
of lines of code" is part of a large scale application?

Here's a book that targets VS 2005 and VB that takes you from the basics and
explains the why's of adding code to gain full control to database
applications:

http://catalogs.mhhe.com/mhhe/viewPr...sbn=0073304441

Aug 9 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
2350
by: Douglas Buchanan | last post by:
I am using the following code instead of a very lengthly select case statement. (I have a lot of lookup tables in a settings form that are selected from a ListBox. The data adapters are given a similar name to the table. Rather than making a long Select Case that could become obsolete if lookup tables are added and the source table of the ListBox is edited I came up with this code.) This code works but of course it gives me build...
19
4108
by: James Fortune | last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't understand why people who know how to write code to completely replace a front end do not write something that will automate the code that implements managing unbound controls on forms given the superior performance of unbound controls in a client/server environment. I can easily understand a newbie using bound controls or someone with a tight deadline. I guess I need...
4
2984
by: waltborders | last post by:
Hi, Because the blind are unable to use a mouse, keyboard navigation is key. A major difficulty is that not all windows forms controls are keyboard 'tab-able' or 'arrow-able' or have "tab order". The application is built and the next step is to create the custom JAWS (Freedom Scientific)screen reader script to read the application. The application uses the accessibility properties for controls provided by C#. JAWS reads properties...
22
6287
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one client (MS Access vs ..NET Windows Forms) would be preferred over the other. While I have some good arguments on both sides, I would appreciate your points of view on the topic.
1
10922
by: blueheelers | last post by:
I have been researching for several hours on the best way to display images in continous forms in Access 2003. For example, I want to display employee name, email, phone, and picture for each record in the recordset. I can have the pictures converted to any usable format, use OLE or linking, whatever needs to be done. So far, the 3 possible solutions I have found are: 1) OLE objects - if you don't have bitmaps associated just...
8
36137
by: hoofbeats95 | last post by:
I don't think this should be this complicated, but I can't figure it out. I've worked with C# for several years now, but in a web environment, not with windows form. I have a form with a query button on it. If the query returns multiple results, a new window is opened with a grid containing the results. When the user double clicks on the desired row in the grid, I want the first form to populate with the correct data. I don't know how...
12
11110
by: raylopez99 | last post by:
Keywords: scope resolution, passing classes between parent and child forms, parameter constructor method, normal constructor, default constructor, forward reference, sharing classes between forms. Here is a newbie mistake that I found myself doing (as a newbie), and that even a master programmer, the guru of this forum, Jon Skeet, missed! (He knows this I'm sure, but just didn't think this was my problem; LOL, I am needling him) If...
21
3384
by: Dan Tallent | last post by:
In my application I have a form (Customer) that I want to be able to open multiple copies at once. Within this form I have other forms that can be opened. Example: ZipCode. When the user enters a zipcode that is unknown this form will open. I don't want users to modify any of this customers data until they close the zipcode form. Normally this can accomplished using a modal form, however this prevents me from opening a new copy of...
14
11801
by: yxq | last post by:
Hello, I want to build the multi-language application with the xml file, how to do? could anyone tell a sample? Thank you
0
10071
jinu1996
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...
0
9882
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8905
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7431
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6690
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();...
0
5326
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...
0
5467
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3589
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2832
bsmnconsultancy
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...

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.