Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2012 > BOOK: Visual Basic 2012 Programmer's Reference
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Visual Basic 2012 Programmer's Reference
This is the forum to discuss the Wrox book Visual Basic 2012 Programmer's Reference by Rod Stephens; ISBN: 978-1-1183-1407-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Visual Basic 2012 Programmer's Reference section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 3rd, 2013, 10:50 PM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Missing a concept somewhere

I go back a ways as an amateur programmer, and the data abstraction and object orientation of today's systems leaves me feeling a bit disoriented. What I used to do to pass information around, write some data to a file in one application, and open the file in another has become vastly complicated trying to decipher the names and functions of data objects, and finding that what books and sample codes do are never what I want to do. It leaves me wondering whether I'm wanting to do the wrong thing...that there's another approach to the problem, or whether my interests are obscure.

With that preamble....what I am doing is using Access to create and manage the user side of data organization. I'm managing collections of photographs. I'm using Access rather than coding the whole thing in VB because I can crib from Access stuff I've done for work. Most reuse of experience, code and form design. Now to actually do something with this information I need to work in a programming language, and most of what I want to do can't be done in VBA, but seems accessible VB2012 or VB.Net.

Fine...but what I want doesn't seem to be discussed. All I want to do is pass the data I have in my tables to VB. Simple, but for the life of me, I can't find an example that
1) dimensions something to be the receiver of that data
2) gives me a sample line of receiver(contents)= databasetable (contents)
so I can
3) do something with receiver(contents)
4) somewhere in there is also a description of how some wizard does most of this that I'm not following.

I suspect the example is in the book or the sample code.... but I'm just not OO lingo savvy enough to see it. I go back to Fortran punch cards folks and I don't program for a living. All I'm trying to do at the moment is get a working prototype going. A real programmer could probably do it all properly in a few days, but I need to having something to get to that point.

Dave
Reply With Quote
  #2 (permalink)  
Old May 20th, 2013, 11:32 AM
Rod Stephens's Avatar
Wrox Author
Points: 3,145, Level: 23
Points: 3,145, Level: 23 Points: 3,145, Level: 23 Points: 3,145, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2006
Location: , , .
Posts: 641
Thanks: 2
Thanked 96 Times in 95 Posts
Default

Sorry for the slow reply. I missed this post.

It sounds like you're stuck getting the Access data into a VB program.

You might want to look for a book on database programming in VB .NET. There are a lot of details that you might need to consider.

Here are also a couple examples you can look at:

Note that working with images inside an Access database (or any database) is fairly tricky and annoying. You might get better results if you only store the file names for the image files in the database. Then you're only working with plain text, which is a lot easier.

Sorry again for the later reply.
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)
Reply With Quote
  #3 (permalink)  
Old May 20th, 2013, 12:07 PM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've long ago solved all of this. Thanks anyhow. My project involves VB.net, a web side of things, the Access data base as common between the two.I even use the data base to pass information between the webside of things and the basic side of things. Pretty clunky....but eventually I'll have enough proof of concept that we can get someone who knows what they're doing working on this.
Reply With Quote
  #4 (permalink)  
Old May 20th, 2013, 12:58 PM
Rod Stephens's Avatar
Wrox Author
Points: 3,145, Level: 23
Points: 3,145, Level: 23 Points: 3,145, Level: 23 Points: 3,145, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2006
Location: , , .
Posts: 641
Thanks: 2
Thanked 96 Times in 95 Posts
Default

I was afraid of that. I never subscribed to that forum so didn't realize there were posts in it. I have subscribed now so it shouldn't happen again. (Thanks to my editor Bob for noticing that I wasn't subscribed.)

I don't know all of the details of your program but sometimes it's nice to have the separation provided by files or a database between two very different processes such as a web application and a program. It may seem clunky but the separation can make managing the two pieces a lot easier. (This is the idea behind multi-tier applications, although the separation might not be as wide.)

Anyway, I'm glad you figured it out and I promise to get back to you sooner in the future!
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Concept of NULL rseni BOOK: Beginning PHP 5.3 2 January 11th, 2011 07:49 PM
XMail Concept (Help) gmbalaa General .NET 1 August 26th, 2007 01:57 PM
shopping cart concept sarah lee ASP.NET 1.0 and 1.1 Basics 1 October 16th, 2006 12:29 PM
Design Concept shazza Biztalk 1 August 23rd, 2006 09:54 AM



All times are GMT -4. The time now is 10:04 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.