Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 9 of 9
Search took 0.01 seconds.
Search: Posts Made By: ChrisP
Forum: VB.NET 2002/2003 Basics August 11th, 2006, 09:13 AM
Replies: 2
Views: 1,662
Posted By ChrisP
Hi, I think that if you start your bottom bit...

Hi,
I think that if you start your bottom bit at "e.MarginBounds.Bottom" minus however high the bottom bit is it will always print in the same place.
You will have to protect this area by...
Forum: VB.NET 2002/2003 Basics July 11th, 2006, 11:17 AM
Replies: 3
Views: 1,721
Posted By ChrisP
Hi, You need something like this: - Dim...

Hi,
You need something like this: -


Dim ctl As Control
Dim frm As Form = Me

For Each ctl In frm.Controls
If TypeOf ctl Is TextBox Then
ctl.Text = ""
Forum: VB.NET 2002/2003 Basics May 23rd, 2006, 09:48 AM
Replies: 2
Views: 1,716
Posted By ChrisP
I copied this from the help page. Line...

I copied this from the help page.

Line numbering Display line numbers in code by clicking that option in Tools, Options, Text Editor. You can do this on a per-language basis or for all...
Forum: VB.NET 2002/2003 Basics April 28th, 2006, 08:22 AM
Replies: 1
Views: 1,164
Posted By ChrisP
Dim ctl As Control Dim frm As Form = Me ...

Dim ctl As Control
Dim frm As Form = Me

For Each ctl In frm.Controls
If TypeOf ctl Is TextBox Then
ctl.Text = ""
End If
Next ctl

This should fit the bill.
Forum: VB.NET 2002/2003 Basics April 25th, 2006, 11:53 AM
Replies: 2
Views: 919
Posted By ChrisP
Dim ChosenForm As New frmSomething ...

Dim ChosenForm As New frmSomething
ChosenForm.ShowDialog()
Me.Close()

This should open the new form and close the current one.
There has to be an IF, select case or something if there are...
Forum: VB.NET 2002/2003 Basics April 14th, 2006, 08:40 AM
Replies: 1
Views: 1,468
Posted By ChrisP
Hi, If you do nothing with the catch statement...

Hi,
If you do nothing with the catch statement or just put a MessageBox without directing the flow to another routine the flow will continue as if resume/next had been selected.
It's almost a...
Forum: VB.NET 2002/2003 Basics March 9th, 2006, 11:22 AM
Replies: 2
Views: 2,307
Posted By ChrisP
What you need is something like:- ...

What you need is something like:-
DateTimePicker1.Value = DateAdd(DateInterval.Day, 7, Date.Now)

Good luck
Chris
Forum: VB.NET 2002/2003 Basics February 11th, 2006, 10:56 AM
Replies: 3
Views: 12,064
Posted By ChrisP
Hi, As another beginner I have found datagrid...

Hi,
As another beginner I have found datagrid difficult to use.
However I assume you have bound the data grid to some data of some sort? If so just extract what you need from the array, or whatever...
Forum: VB.NET 2002/2003 Basics January 15th, 2006, 12:47 PM
Replies: 0
Views: 1,517
Posted By ChrisP
DataGrid Sort

I have a problem getting the sort to work in datagrids.
In the properties window I have selected "Allow sort" to true.
I have also tried writing .Allow Sort = True into the code.

Help says Allow...
Showing results 1 to 9 of 9

 




Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.