Visual Basic 6 tutorials for data access and CRUD - visual-studio

Do you know some tutorials (preferably a website or a blog) in Visual Basic 6 (not Visual Basic .NET) for data access or CRUD? The caliber and depth that I'm looking for is similar to this site:
Data Access Tutorials for ASP.NET
http://www.asp.net/learn/data-access/
Although the above site is for web applications, I am looking for a WinForm VB6 tutorial.
Thanks in advance for your time.

This page has quite a bit. It's nowhere near as nice as the ASP.NET video tutorials, but it's not bad.
Scroll down for data tutorials.
http://www.vbtutor.net/vbtutor.html

Related

Legacy Access application of 30-40 forms , asp.net web matrix or web forms?

I've been tasked with converting a legacy Access application over to a .net framework solution as quickly as possible.I'm unsure which approach approach to go for. I prefer asp.net web pages with web matrix as I'm comfortable in this environment but not sure if its the correct approach/best tool for the job. I know that web forms is good for grid based screens which this access application uses rather heavily.
I will be using SQL Server for the backend.
Has anyone moved an access application over to a .net framework solution before? If so what approach do you recommend? ASP.net Webpages Web matrix or Web forms? Something else?
Thanks
D
If you are more comfortable with Web Pages, then use that. I have been playing with Web Pages and Knockoutjs recently. That might be a good combination: http://www.mikesdotnetting.com/Article/190/Using-Knockout-With-Razor-Web-Pages-In-WebMatrix-2

Is webmatrix appropriate for a "private" web app?

I would like to build a web interface for an app I build for a client. The app itself is made with Access for the front-end, and SQL Server for the database.
The idea is to allow them to check the stock of an item, or see the orders of a client using a laptop or even a smartphone, while on the road.
I have a basic experience with html and CSS, since I made a few simple sites.
My question is: would webmatrix be a good choice for that job ?
Since I master VBA and SQL quite well, and the client is a MS environment anyway, I thought webmatrix could be an easy path for that project.
Any feedback appreciated. Other suggestions are welcome. Thanks.
We have a very similar environment. We have a legacy application developed in Microsoft Access running against SQL Server 2005. Initially we developed a single page website using WebMatrix that had some key data displayed on it. Over time, it's grown to having maybe 30 pages, with both employees and customers logging in to it. It's my plan to gradually replace the Access application completely with a WebMatrix application.
Generally, the WebMatrix development enviromnent is quite competent for simple pages and I like its lightweight quick-to-boot easy-to-use approach. On some of the more complicated pages that use c# classes, I will switch to Visual Studio.
Since you have some experience with HTML and CSS, then I think the razor syntax that WebMatrix uses is a natural progression. If your only language experience has been vba, you might have some challenge using c# or perhaps vb.net. I would recommend c# as being more of an standard.
Good luck!

MVC 3 Architecture?

I don't know whether this is right forum to ask about MVC3 Framework.
Actually my Project Manager asked me to do next project in MVC3 achitecture. I never worked even in MVC.
Can anyone help me to provide a tutorials link about MVC3?
Is it right to go with MVC3 without knowing about MVC?
Please help?
Well since you mention MVC 3 your manager probably means Microsoft ASP.NET MVC 3, and the perfect starting place to learn about ASP.NET MVC is www.asp.net/mvc
You will find a lot of helpful tutorials and video presentation that will help get you started.
It's actually quite easy ( = comfortable) to learn basics of ASP.NET MVC nowadays.
There are many great resources at www.asp.net/mvc.
I can also recommend videos from MIX events by Scott Hanselman. You can look for them in MIX archive (years 09-11) or at his site www.hanselman.com. He + guys like Scott Gu and Phil Haack did project called Nerddinner which was good starting point for beginners (during days of MVC1 and MVC2), because there are videos about it and also free ebook (you can get all at nerddinner.com - link is in footer), but its a bit aged now and there are already newer tutorials aiming newer versions of ASP.NET MVC3 directly at official ASP.NET MVC site.
So your best starting point for ASP.NET MVC3 really is the www.asp.net/mvc site and 1. Getting Started section ;) Read overview, start following the first tutorials (first ASP.NET MVC Applicaton and ASP.NET MVC Music Store). Then when you will get into troubles with something specific, you can come back here and ask again.
Steven Sanderson's book is actually the good one to start. Not only it explains MVC framework in depth, but provides comparison with other web frameworks and all the pros/cons it has got. After reading first chapters, you'll undestand why your project manager asked so :). The book is is mvc2 - so there're some points explained that are already old (WebForms view engine) but anyways, book gives good knowledge
i hope this one may be of help too.
http://kbochevski.blogspot.com/2011/06/architecting-loosely-coupled-mvcnet.html
You can follow some video tutorials on pluralsight. It's not that expensive and one month is quite enough.
There are also plenty of books that may help you during your learning process.
I would suggest this one
Pro ASP.NET MVC 3 Framework 3rd Edition
The official site for asp.net mvc has also some great tutorials
Lets start with what in my opinion is the best tutorial on ASP.NET MVC 3 and the Entity Framework 4.1. Go to
MVC Music Store
I have tried several tutorials and that one is the best. It comes with a PDF that leads you through the process. Next comes the razor view engine syntax, something you definitely need to learn. Here is a good book on Programming Razor
Programming Razor
You must learn the Razor syntax and the razor view engine to build ASP.NET MVC 3 websites.
Now that you have had an introduction, lets get down to it. First, a word of caution about one particular book on MVC 3
Pro ASP.NET MVC 3 Framework
This book has an excellent introduction to the MVC architecture and MVC design pattern, related design patterns and programming techniques. However, its tutorial is riddled with bugs and omissions. Basically, the CRUD code doesnt work. After you have ground through several chapters of code, you find that when you call SaveChanges(), nothing happens, not even an error. I downloaded the sample code and ran it and not even it works. Take that book with a grain of salt. It appears to have been released without proper editing and validation of the code. I am going to try to get my tokens back for downloading that book on safari.oreilly.com. The MvcMusicStore tutorial is a much better one and the code actually works.
Now we come to a book that pretty much nails programming ASP.NET MVC 3, Razor and the Entity Framework
Professional ASP.NET MVC 3
This book is based on the very good MVC Music Store tutorial and expands on it quite nicely. It will get you started much faster and has much better practical information for getting a well designed, complete MVC application up and running quickly. The Entity Framework code-first tutorial is excellent. It is also a short 450 or so pages but there is a lot packed in that book.
You may also want to spend some time learning the Entity Framework 4.1 and LINQ to Entities. The best book for that is Julie Lehrmans excellent book on LINQ and the Entity Framework
Programming Entity Framework, Second Edition
I am a n00b here so I cant post a link to that book. You can find it on safari.oreilly.com or go to programmingentityframework.com, Julie's website. I haven't had a chance to even look at ASP.NET MVC 4!

More examples of Prism (Composite Application Library) Applications?

The examples that Microsoft's Patterns and Practices provides are quite helpful:
about a half-dozen simpler QuickStarts which touch on specific issues
the StockTrader reference implementation, which is a fairly rounded application
but it lacks a more useful base application that reads and writes to a data source (XML or database), allowing users to login, edit data, logout, etc. (something like what ASP.NET MVC comes with).
Since Prism applications can get quite complex and lengthy (the StockTrader example is almost 300 files without tests), it would be helpful to have an application that takes care of the CRUD bulk that everyone needs to build for most apps anyway.
Does anyone know of any data-editing Prism example apps out there?
Here (http://petedoesstuff.net/Blog/?p=79) you'll find a bunch of links to the samples of using the Prism.
Particularly, LateNight (http://code.google.com/p/cwpfsamples/) may be what you need. It has login screen and data editing functions.
Its feedback I've seen a lot of. I'll pass this onto the Team and see if we can get some more examples put online around this space.
I'm currently writing my own demo app now, so i'll also try and put that online via my blog.
Scott Barnes - Rich Platforms Product Manager - Microsoft.
The reason data access was left out of the Prism RI is because it is largely irrelevant to Prism. I would think you're better off looking at something like DinnerNow for those kind of things.

Any designers or libraries for creating "Vista-style" web pages?

I'm looking for a way to create websites with the cool stylings of Windows Vista, like what is shown in this screenshot (taken from one of Microsoft's websites):
Any suggestions? I'd prefer an integrated designer / IDE, but libraries or templates might also help.
FYI, the answers before this were in response to a very poorly worded question. The OP did not make it clear that they were after a web page. Thanks to Shog9 for picking up the slack there.
This is NOTHING to do with WPF or VS 2008. Its a WEB application!
Lots of control vendors have produced some great looking controls, check out the ASP.NET controls gallery there is some cool stuff there. Another well-known vendor is Telerik who have created some real nice ASP.NET AJAX controls.
Note, this is not to promote their tools, I personally have not used them, they are popular, and it's just to give you the heads up.
In short, the look is pretty much fancy imagery. Unless Silverlight is used, which uses a subset of WPF and requires the plugin to be installed on the users browser, and requires VS2008 to create.
In terms of the screen shot, most of that is nice imagery, the buttons are probably rendered like that because you are running Vista, however, they could also be replicated without Vista. The page you show is not a Silverlight page, so it is not a requirement.
Have a Google for "ASP.NET vista style controls" there's tons of people after the same stuff :)
It's not a matter of what software to use - use whatever you normally use to design websites. If you want to make a web page that looks like one you see online, you can very easily obtain:
The HTML markup on the page
The CSS style sheets used by the page
The images used on the page
The Javascript used on the page (although this is less likely to be useful, as in most cases it will have been compacted and obfuscated).
Also Delphi 2009 ;-).
As mentioned Visual Studio 2008 has WPF (Windows Presentation Foundation) based development tools in it. Have a look in your Project templates for WPF Application along with WPF Browser Application and WPF User Control Library. All of these pertain to Vista WPF.
The "cool Vista stylings" are done using WPF, for which you'll need Visual Studio 2008. 90-day trial downloads are here. The "Express Products" (free, stripped-down versions) are here.

Resources