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 25 of 87
Search took 0.01 seconds.
Search: Posts Made By: ef1196
Forum: C# 2005 December 13th, 2007, 10:42 AM
Replies: 4
Views: 1,024
Posted By ef1196
Thank You Sam, As stated in the first post I...

Thank You Sam,

As stated in the first post I thought the resolve would be easy. InitializeComponent() was not called in this constructor.

[^]

Best Regards,
Earl
Forum: C# 2005 December 12th, 2007, 05:43 PM
Replies: 4
Views: 1,024
Posted By ef1196
Doug, Thanks up front for assisting me with...

Doug,

Thanks up front for assisting me with this one.

The changes made per FxCop would be lengthy to list as I am using it as a best practice guide. I did make changes regarding security and...
Forum: C# 2005 December 12th, 2007, 04:52 PM
Replies: 4
Views: 1,024
Posted By ef1196
User Control Instantiation Issue

I have a UserControl Class that when loaded presents a NullReferenceException.

The control is instantiated twice in my main form as follows:

private CtrlPlayer Player1 = new CtrlPlayer(1);...
Forum: ASP.NET 2.0 Basics July 12th, 2007, 08:53 AM
Replies: 6
Views: 1,086
Posted By ef1196
Thanks Peter. For my own...

Thanks Peter.



For my own clarification, does your quote above refer to a SQL Server session state?

[^]

Best Regards,
Earl Francis
Forum: ASP.NET 2.0 Basics July 12th, 2007, 07:07 AM
Replies: 6
Views: 1,086
Posted By ef1196
Updating A Website While In Use

Over the years my experience has been exclusively VB (All flavors) and SQL Server client based corporate application development. I am now considering a web interface for future development and one...
Forum: Visual Basic 2005 Basics July 12th, 2007, 06:35 AM
Replies: 3
Views: 1,066
Posted By ef1196
If you create 8 sets of the event below for each...

If you create 8 sets of the event below for each group of buttons you only have to change the color eight times. For the example below I only added two buttons to the "Handles" info.

Private Sub...
Forum: ASP.NET 2.0 Basics July 10th, 2007, 06:36 AM
Replies: 2
Views: 4,503
Posted By ef1196
Please excuse the VB code, but you should be able...

Please excuse the VB code, but you should be able to translate quite easily.

Dim mc As ManagementClass
Dim moc As ManagementObjectCollection
Dim mo As ManagementObject
mc = New...
Forum: Pro Visual Basic 2005 July 6th, 2007, 02:58 PM
Replies: 5
Views: 1,276
Posted By ef1196
Peter, [s] Point taken. It does clean up...

Peter,
[s]

Point taken. It does clean up the code.

[^]

Best Regards,
Earl Francis
Forum: Visual Basic 2005 Basics July 6th, 2007, 07:08 AM
Replies: 1
Views: 675
Posted By ef1196
A couple of questions (and comments) to clarify: ...

A couple of questions (and comments) to clarify:

1.) What is the scope of the dataset (was it created PUBLIC at the module level)? If so then you can reference it from any portion of your...
Forum: Pro Visual Basic 2005 July 6th, 2007, 06:51 AM
Replies: 5
Views: 1,276
Posted By ef1196
As with everything in this forum there are always...

As with everything in this forum there are always multiple options available. Here is mine:

1.) Create a module for your application.
2.) Create a public function that passes a combo box
from...
Forum: Pro Visual Basic 2005 July 3rd, 2007, 07:11 AM
Replies: 2
Views: 3,023
Posted By ef1196
If I have interpreted your problem correctly then...

If I have interpreted your problem correctly then this should be simple. Otherwise you will need to clarify a little more.

1.) The input for TextBox1 is "Johnny"
2.) You read in your text file...
Forum: Visual Basic 2005 Basics July 3rd, 2007, 06:55 AM
Replies: 1
Views: 852
Posted By ef1196
A Google search on the subject returns many...

A Google search on the subject returns many examples. Here is one:

http://www.freevbcode.com/ShowCode.asp?ID=4462



[^]

Best Regards,
Earl Francis
Forum: Visual Basic 2005 Basics June 25th, 2007, 06:43 AM
Replies: 8
Views: 752
Posted By ef1196
Here is an Egghead article that should help. ...

Here is an Egghead article that should help.

http://www.eggheadcafe.com/articles/20060719.asp



[^]

Best Regards,
Earl Francis
Forum: Visual Basic 2005 Basics June 22nd, 2007, 06:52 AM
Replies: 8
Views: 2,412
Posted By ef1196
You should probably start with a new project and...

You should probably start with a new project and try the code below. Something in your current code is not allowing all of the radio buttons to function as a group.


Public Class Form1

'*...
Forum: Visual Basic 2005 Basics June 19th, 2007, 11:51 AM
Replies: 8
Views: 2,412
Posted By ef1196
Is it possible that some of the RadioButtons are...

Is it possible that some of the RadioButtons are in a panel or groupbox? If so they would operate independent of the others.


[^]

Best Regards,
Earl Francis
Forum: ASP.NET 2.0 Basics June 19th, 2007, 06:52 AM
Replies: 1
Views: 1,266
Posted By ef1196
EndExecuteNonQuery() is an asynchronous execution...

EndExecuteNonQuery() is an asynchronous execution of a query. It requires a BeginExecuteNonQuery.

Here is a link to MSDN on the subject:

http://msdn2.microsoft.com/en-us/library/ca56w9se.aspx...
Forum: Visual Basic 2005 Basics June 12th, 2007, 08:52 AM
Replies: 2
Views: 1,128
Posted By ef1196
'* A boolean array is being created below '*...

'* A boolean array is being created below
'* with a maximum of 6 (zero based) values
dim blnYourBooleanValue(5) as boolean

'* Your checkbox can be set as follows
yourCheckBox.checked =...
Forum: Visual Basic 2005 Basics June 6th, 2007, 01:10 PM
Replies: 4
Views: 3,712
Posted By ef1196
You are quite welcome! [^] Best...

You are quite welcome!

[^]

Best Regards,
Earl Francis
Forum: Visual Basic 2005 Basics May 30th, 2007, 10:21 AM
Replies: 4
Views: 3,712
Posted By ef1196
Try this, it should get you started: ...

Try this, it should get you started:

http://p2p.wrox.com/topic.asp?TOPIC_ID=50975


[^]

Best Regards,
Earl Francis
Forum: Visual Basic 2005 Basics May 23rd, 2007, 10:07 AM
Replies: 2
Views: 5,450
Posted By ef1196
You can filter a BindingSource integer or date...

You can filter a BindingSource integer or date column by using >= and/or <=

Example:

Me.PalletBindingSource.Filter = "PalletID >= " & txtSearch.Text


If you need to further filter your...
Forum: Visual Basic 2005 Basics May 21st, 2007, 06:37 AM
Replies: 1
Views: 1,187
Posted By ef1196
Although technically not a Print Screen tool,...

Although technically not a Print Screen tool, this MS PowerPack will allow you to print a form which may solve your issue:

http://msdn2.microsoft.com/en-us/vbasic/aa701261.aspx



[^]

Best...
Forum: Visual Basic 2005 Basics May 9th, 2007, 01:44 PM
Replies: 14
Views: 3,028
Posted By ef1196
Don't put quotes around the keyword Nothing ...

Don't put quotes around the keyword Nothing

Example:
Me.cmbCarrier.DataSource = Nothing

[^]

Best Regards,
Earl Francis
Forum: Visual Basic 2005 Basics May 9th, 2007, 08:22 AM
Replies: 14
Views: 3,028
Posted By ef1196
Try this: Private Sub btnReset_Click(ByVal...

Try this:

Private Sub btnReset_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles btnReset.Click
' save work done to this point...
Forum: Visual Basic 2005 Basics May 8th, 2007, 10:02 AM
Replies: 14
Views: 3,028
Posted By ef1196
You might be making this more difficult than it...

You might be making this more difficult than it needs to be. Try this approach:

1.) Take the code that is currently in your form_load event and create a procedure from it. Remove everything from...
Forum: Visual Basic 2005 Basics May 3rd, 2007, 11:25 AM
Replies: 1
Views: 764
Posted By ef1196
Make the following the value of your UserName...

Make the following the value of your UserName field:

My.User.Name


[^]

Best Regards,
Earl Francis
Showing results 1 to 25 of 87

 




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