VS 2008 Looking For A VB2008 Book Explaining Controls?
Jul 8, 2009
I've recently decided to switch from VB6 to VB2008 and am looking for some advice for a certain type of book I seek.Already I've aquired several VB2008 books, but the type of reference book I'm seeking I can't find.For VB6 I have a book called "The visual guide to visual basic". It's a very very very very old book but its gold, platinum and diamonds in one.This book basically takes ALL controls, commands, etc, and in alphabetical order as a sort of encyclopedia, explains its purposes, possibilities, properties together with many examples.
If I was uncertain about a control or command I could simply look it up in this book and almost always find what I was looking for.My question, does anybody know of an equivalent for VB2008?
View 13 Replies
ADVERTISEMENT
May 29, 2010
I am writing a simple Address Book Application using Typed Dataset & Bound Controls. 1<sup>st</sup> Form for Entering Addresses 2<sup>nd</sup> Form for Adding New 'CITY'. To select a city for address I am using a data bound combo box which shows a list of Cities.
While entering with a address if user found the required City Name is not found in the Combo list, he opens a 2<sup>nd</sup> Form to Add a City name to database & returns to Form1.
Here the expected newly added city doesn't appear in the combo list, so I tried to Refill the underlying table with following code
[Code]...
View 2 Replies
Oct 28, 2009
how to load data (Book) to text box when user just enter the book code?how to load data (student) to text box when user just enter the student id?how to write the code when user click the save button , the book quantity(Book) will reduce 1 and the all the data in textbox will save in database(Issue)the interface is like
[URL]
the database is show at
[URL]
the code is
Public Class frmIssue
Dim dt As New DataTable()
Dim rowIndex As Integer = 0
Dim rowIndex1 As Integer = 0
[code]....
View 2 Replies
Nov 25, 2010
What is happening is after dropping a few controls onto a new windows form. I have found that for no apparent reason some of the controls just go missing. As of this post i just dragged a group box with a half dozen labels buttons and textboxes off to the bottom of the designer. I went to move them back up and found that i had lost 2 labels and 2 textboxes! Doing a clean build gives no errors. Windows still thinks they are on the form.
View 4 Replies
Dec 29, 2010
if I use Spy++ and pass it Finder over the controls of every desktop window I can see the Handle of each of these controls.
what Api / procedure is used to make this job?
View 3 Replies
Jul 8, 2011
I have been looking for a good beginner tutorial on polymorphism, inhertance,and related terms.Something where I can start at and go through and get most of the common programming terms and techniques explained with examples
View 1 Replies
Oct 9, 2010
I'm trying to find an updated version explaining mouse events. All I want is to move a picture box to a place i clicked on the screen.
View 1 Replies
Feb 10, 2010
For example if application crashes can i get a report or a email explaining the crash from the client's computer.
View 3 Replies
Jul 28, 2010
May I expose my "small" problem?Here, i'm following a course in my University, called Introduction to Programming, there are only beginners in our class. i'm also a newbie, to say so.And some stupid students were not paying attention so he gave us a crazy assignment for Friday 30th.This is what his assignment consists in. I have created a PDF file from his requirements and some samples of Code.[url]
View 6 Replies
Dec 7, 2009
of the projects in VB 2008 Fourth Edition text book for my college class. I have to build a calculator, a hotel occupancy form.
View 2 Replies
Jan 21, 2011
I am rather irritated at this. I have no clue why looping through controls on a form and in groupboxes leaves out 75% of the controls.
Here's the code I have:
Dim settings As String = ""
Dim gbControl As Control
Dim gbbox As Control
[Code]....
I want to have setting save all settings to an ini file, and not have to reprogram the saving routine when I add a group box or control. At random times, any number of controls can be disabled, checkboxes can be checked and unchecked, radiobuttons can be checked and unchecked. Regardless of the state of the control, I want the control to show up in the loop. But they don't. Only controls that are enabled and only checkboxes that are checked, every other control state is ignored. That's crap, and is definitely not what is needed by any programmer of any type. We're capable of determining if a control is enabled, hidden, checked, visible, and otherwise.
How do I get the controls to be included in the loop regardless of their state?
View 8 Replies
Mar 9, 2010
I'm trying to create a combobox with lists of radio stations in it so when user selects lets say "rap" it will play rap radio station which I have put in the code ( I did something liek this for VB6 long time a go just wanted to knwo if any one can make this code work for VB2008 ) .
[code....]
View 6 Replies
Nov 18, 2010
I install (vb 2008 professional edition -90days trial)but I ONLY NEED part of Visual Basic,
when setup installed:
microsoft .net framework 3.5
microsoft .net framework 3.5LP
[code].....
View 1 Replies
Jun 15, 2009
I am coding a program and I want to add an option of moving 2D map (using the mouse to move the map left, right, up and down). when I say to move a map is not moving a window. I want actually to move the map itself, for example "google maps".
View 6 Replies
Mar 18, 2010
I'm using VB2008 Express and trying to read the serial number from a HID device. I'm trying to use the HidD_GetSerialNumberString API. For some unexplained reason, I'm not getting any errors or warnings but it's also not working. Here is how I'm declaring the API:
<DllImport("hid.dll", SetLastError:=True)> _
Shared Function HidD_GetSerialNumberString _
(ByVal HidDeviceObject As SafeFileHandle, _
[code].....
View 1 Replies
Apr 10, 2010
Okay so I have decided to upgrade my game from vb5 to vb2008 express edition. When I opened it I was told it needed to be converted so I said ok. However, there are some things in the language syntax that have changed.Obviously. Well here is one of them:
[Code]...
Setting controls to objects allowed me to cut down on typing but it seems you are not allowed to reference things without the "full path". I understand that you now have to set the full path of the object but doesn't setting something to an object already do that? Do I have to just delete the object references on the top and instead of using objCmbGraveU2 I now need to replace it with frmMain.cmbGraveU2?
View 6 Replies
Nov 25, 2009
How do I deploy application using vb2008 express? I tried to find on in its package but couldn't.now i use cyber installer suite and works fine, except for one thing:
when I use visual basic powerpacks conponent, such as rectangleshape or ovalshape, I still cannot make my program works in other computer without vb2008 installed.. (deploy using cyber installer suite 2009)
View 4 Replies
Apr 26, 2011
i need to dial a dun connect in vb 2008. But am not able to find a working code for it.
View 2 Replies
Sep 26, 2011
Anyone knows how to backup mysql db?I got this code by searching, but nothing happens here
Process.Start("C:xampp/mysql/bin/mysqldump.exe", "-u root -p --database=goodhand > -r ""C:ack.sql""")
View 5 Replies
Jul 1, 2010
I am currently attempting to devise an algorithm that will take a list of part numbers with their corresponding levels and create a Tree View. Here is a sample of the data I am using.
[Code]...
I just can't seem to get the "Do Something" code right.
View 4 Replies
Dec 2, 2009
How many controls can I have before I should start looking at user defind controls because of too many controls making my program go slow?
View 4 Replies
Nov 18, 2010
I am trying to cycle throught the lables on my form but it would appear that I am missing quite a few labels... I have a total of 69 lables on my form and I only get 5 hits on the msgbox.
Dim ctl As Control
For Each ctl In Me.Controls
If TypeOf ctl Is Label Then
[Code].....
View 5 Replies
Jan 6, 2010
I can't connect to the "Service-Based Data Base" or to the "Linq To Sql classes". I tried all that I've read in the Forums for days : ( I removed the VB 2008 and SQL 2205-2208, then upload VB 2008 from my CD only. I'm starting a Web Technology class in 2 weeks, and the complition of the book is my entry requirement.
View 4 Replies
Mar 23, 2011
How can you add music/sound to vb2008.net and be able to stop and start it with buttons?
Also how do I make it so that i can play an mp3 file not just a wma or whatever it is?
View 5 Replies
Nov 11, 2009
Is there any way to merge cells in datagridview in vb2008 like we could do it in excel?
View 6 Replies
Jan 14, 2010
In Vb6.0 i used to use package and deployment wizard for creating installation packages for my projects. Now I'm not getting to do the same in VB2008.
View 2 Replies
Dec 4, 2010
Not sure this is the most efficient way but i am trying to set a connection sting via the openfile dialogue. Is this possible? Im trying to enable a user to specify the excel file they want and to access the excel data using data adapter and fill table etc. Im use to working with access db files but not excel.
View 5 Replies
Aug 8, 2009
do this??& can I make a Main server like this?
View 1 Replies
Jun 10, 2009
This timer code is for VB6 and worked fine, It's to change the timer seconds into minutes, I'm not sure how to make this work for 2008 though.
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Timer1.Interval = 1000 ' set timer to 1 sec intervals.
Timer1.Enabled = False ' timer is off
End Sub
[code]....
the errors are...
Error1Name 'StartTime' is not declared.
Error2Name 'MinutesToWait' is not declared.
Error3Name 'StartTime' is not declared.
View 4 Replies
Oct 15, 2010
I am new to SQLSever, Visual Studio and Visual Basic. I have read through Microsoft Visual Basic 2008 by Michael Halvorson and Microsoft Visual Studio 2008 by Lars Powers and Mike Snell. These books mention the ability to use SQLServer as the DB but I am not clear on the process. I am not knew to programming an have had training in OO programming but have never done any OO programing professionally. So, you can assume I am new to OO programing.
I have created an SQL DB using the Server Explorer in VS, and created a Windows form with Labels, TextBoxes, and ComboBoxes for the application's user to add the demographic information about a new employee. I created a new query with the Query builder that is in the Employee table of the DB which contains all the field for the record for inserting. I have a few questions to understand the process for inserting into the DB.
The DB fields are defined as numeric(6, 0), nurmeric(5, 2), and char(30) for some examples.
The maxlength on the form windows are in sync with the maxlength of the DB for the various fields.
1. What is the process to update the DB with the fields from the form?
2. Do I need to declare and set the results from the form first? If so, how do I call the function (query) that I created in the Employee table.
3. The emp_num I would like to be a dynamically incrementing number starting from 1000. How do I make this a dynamic? The emp_num is also the key on the Employee table.
4. I have a decimal field on the Employee table to hold emp_rate (pay rate). Does the user enter the decimal on the Form or is this resolved by SQL to take the 7 numbers and insert the decimal beause of the table's field definition?
View 2 Replies