Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the 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
Showing results 1 to 25 of 31
Search took 0.03 seconds.
Search: Posts Made By: Gary108
Forum: BOOK: Visual Basic 2012 Programmer's Reference December 6th, 2012, 05:41 PM
Replies: 1
Views: 8,759
Posted By Gary108
Question Adding Sub Items to List View

Hi Rod,

I am working with the ListView Control and I have three columns. In my first column I have placed an image. In the second column I have placed some text as a sub item. So far so good. ...
Forum: BOOK: Visual Basic 2012 Programmer's Reference November 9th, 2012, 06:21 PM
Replies: 1
Views: 884
Posted By Gary108
Question Properly closing a file

Hi Rod,

It's been a long time since I checked in with you. When I was writing to you before one of my questions was how to save the contents in a TreeView box so that it could be reloaded later on....
Forum: BOOK: Visual Basic 2010 Programmer's Reference June 10th, 2012, 08:55 AM
Replies: 1
Views: 640
Posted By Gary108
Question Data Bases

Hi Rod,

I am now trying to learn database programming. From what I have read so far, it seems that it is common to write code to manage an existing database file. I am fairly familiar with making...
Forum: BOOK: Visual Basic 2010 Programmer's Reference March 31st, 2012, 05:37 PM
Replies: 1
Views: 817
Posted By Gary108
Wink Found the answer

Hi Rod,

I just found the answer to my question. All I have to do is to set the focus on the Tree View control when I add the first node to it. In that way it will automatically select that node. ...
Forum: BOOK: Visual Basic 2010 Programmer's Reference March 31st, 2012, 05:17 PM
Replies: 1
Views: 817
Posted By Gary108
Question Determining If A Node is Selected

Hi Rod,

Can you tell me how to write the code to automatically check if Any node in Tree View is selected? This is critical in my application because if a certain procedure is run and a node has...
Forum: BOOK: Visual Basic 2010 Programmer's Reference March 15th, 2012, 12:45 AM
Replies: 1
Views: 721
Posted By Gary108
Question FullPath Property

Hi Rod,

Can you tell me how to use the FullPath property of a TreeNode object? I would like to automatically send a string representing each Root Node and its children to a separate line of either...
Forum: BOOK: Visual Basic 2010 Programmer's Reference March 9th, 2012, 10:45 PM
Replies: 3
Views: 981
Posted By Gary108
Question Text Files

Hi Rod,

Yes, Thank you. Changing the button to an Accept button solved the problem.

I have another question though. I need to write certain words to a text file so that they are inserted in place...
Forum: BOOK: Visual Basic 2010 Programmer's Reference March 9th, 2012, 10:48 AM
Replies: 3
Views: 981
Posted By Gary108
Question Using the "Enter" Event

Hi Rod,

I have another question. In my application, I have a button, a text box and TreeView Control where I will create a tree view list. With the button control I can successfully add a node to...
Forum: BOOK: Visual Basic 2010 Programmer's Reference March 5th, 2012, 12:42 PM
Replies: 1
Views: 830
Posted By Gary108
Question Three Level TreeNodes

Hi Rod,

I haven't received a reply the last few times I've posted. If it is not too much trouble, am stumped again and would appreciate your valuable help. I am working with an application that...
Forum: BOOK: Visual Basic 2010 Programmer's Reference February 24th, 2012, 11:53 AM
Replies: 1
Views: 794
Posted By Gary108
Question TreeNodes

Hi Rod,

I am making an application which will allow the end user to generate a list in Tree view. The code I included is for each of the two click events. One Click Event creates the first level...
Forum: BOOK: Visual Basic 2010 Programmer's Reference February 16th, 2012, 07:06 PM
Replies: 11
Views: 6,741
Posted By Gary108
Question Hi Rod, Here is my entire code below. ...

Hi Rod,

Here is my entire code below. Everything is associated with a single form. It appears to be working perfectly through section #4. I think the problem is in #5 or #6. I do not know how...
Forum: BOOK: Visual Basic 2010 Programmer's Reference February 15th, 2012, 07:31 PM
Replies: 11
Views: 6,741
Posted By Gary108
Still having trouble

Hi Rod,

Thank you for replying. I added the handle at the end but it still does not work. Also, what I am trying to do is to initiate the whole process only by clicking the "Start" button. It...
Forum: BOOK: Visual Basic 2010 Programmer's Reference February 15th, 2012, 01:10 AM
Replies: 11
Views: 6,741
Posted By Gary108
Still having trouble

Hi Rod,

I am still having trouble with the sequence as a whole. In the code below, what is supposed to be happening is:

1) Open an image file and load it into a picture box called...
Forum: BOOK: Visual Basic 2010 Programmer's Reference February 12th, 2012, 05:13 PM
Replies: 11
Views: 6,741
Posted By Gary108
Question Arithmetic Overflow

Hi Rod,

I tried this. I am getting an error message that says, "Arithmetic operation resulted in overflow." It seems to be having trouble with the (clr.R + clr.G + clr.B) > 384.

Also, at least...
Forum: BOOK: Visual Basic 2010 Programmer's Reference February 12th, 2012, 12:27 PM
Replies: 11
Views: 6,741
Posted By Gary108
Question Another approach

Hi Rod,

Thank you for your reply. After further consideration, I think I should approach this application in another way. In this particular application I will have a simple scanned image that is...
Forum: BOOK: Visual Basic 2010 Programmer's Reference February 10th, 2012, 08:01 PM
Replies: 11
Views: 6,741
Posted By Gary108
Question Changing Pixel Color

Hi Rod,


I tried what you previously suggested in order to change the pixel color of my image. This is the code that I use. It is working to some extent but I am still having trouble with it. ...
Forum: BOOK: Visual Basic 2010 Programmer's Reference February 4th, 2012, 05:22 PM
Replies: 1
Views: 834
Posted By Gary108
Question Changing selected pixels to a specific color

Hi Rod,

I've continued working on a project that you have helped me with before. I was wondering if you could give me some advice on a particular problem I'm having using pixels. I am working with...
Forum: BOOK: Visual Basic 2010 Programmer's Reference January 10th, 2012, 07:38 PM
Replies: 7
Views: 11,595
Posted By Gary108
Question Hi Rob, In the following code, what does...

Hi Rob,

In the following code, what does variable bm_source refer to? I assume that it is the name of the image that we are trying to resize to a 640 pixels by 900 pixels. If that is true, does it...
Forum: BOOK: Visual Basic 2010 Programmer's Reference January 8th, 2012, 01:15 PM
Replies: 7
Views: 11,595
Posted By Gary108
Question Pixel Resize

Hi Rod,

Yes. Thank you for your explanation. Once you explained that CInt converts a number into an integer I understood my mistake. I had actually entered Clnt. With that correction it works...
Forum: BOOK: Visual Basic 2010 Programmer's Reference January 7th, 2012, 11:29 AM
Replies: 7
Views: 11,595
Posted By Gary108
Question Private Sub btnScale_Click(ByVal sender As...

Private Sub btnScale_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles btnScale.Click
' Get the scale factor.
Dim scale_factor As Single =...
Forum: BOOK: Visual Basic 2010 Programmer's Reference January 3rd, 2012, 07:41 PM
Replies: 7
Views: 11,595
Posted By Gary108
Question Resizing a Bitmap Image

Hi Rod,

Is there an easy way change the size of a Bitmap image? For example, I may have an image that is 800 pixels wide and 1200 pixels high and I want to change it to 640 pixels wide and 900...
Forum: BOOK: Visual Basic 2010 Programmer's Reference December 31st, 2011, 03:21 PM
Replies: 5
Views: 1,383
Posted By Gary108
Question Dear Rob, Thank you for your patience with me...

Dear Rob,

Thank you for your patience with me and your ongoing help. With your last explanation I was able to successfully make my application do what it was supposed to do. There is just one...
Forum: BOOK: Visual Basic 2010 Programmer's Reference December 29th, 2011, 07:13 PM
Replies: 5
Views: 1,383
Posted By Gary108
Question Dear Rob, Thank you for your prompt reply. I...

Dear Rob,

Thank you for your prompt reply. I tried setting up an application in Visual Studio exactly like the example you referred me to. It is giving me two errors. One is for the Function...
Forum: BOOK: Visual Basic 2010 Programmer's Reference December 27th, 2011, 06:45 PM
Replies: 5
Views: 1,383
Posted By Gary108
Writing to Text File

Dear Rod,

Thank you for all of the help that you have given me so far. I really appreciate it. I do have another question. I am still working on another aspect of the application that you helped...
Forum: BOOK: Visual Basic 2010 Programmer's Reference December 21st, 2011, 04:23 AM
Replies: 1
Views: 2,099
Posted By Gary108
Question Making a node in tree view Clickable

Hello Rod,

Thank you again for your previous help. I have several projects going as I am trying to learn Visual Basic. You have given me immeasurable help in tying up many loose ends in those...
Showing results 1 to 25 of 31

 


All times are GMT -4. The time now is 08:42 AM.


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