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 500
Search took 0.05 seconds.
Search: Posts Made By: katsarosj
Forum: Pro Visual Basic 2005 August 12th, 2006, 04:20 PM
Replies: 0
Views: 928
Posted By katsarosj
Accessing network registry

Does anyone know where to look for examples on how to access a network windows domain registry, other systems services, etc. using .Net?

If anyone has examples or could point me in the right...
Forum: VB.NET 2002/2003 Basics June 2nd, 2006, 12:49 PM
Replies: 1
Views: 1,235
Posted By katsarosj
Dim b As Byte() = CType(r(2), Byte())

Dim b As Byte() = CType(r(2), Byte())
Forum: Visual Basic 2005 Basics May 11th, 2006, 10:27 PM
Replies: 1
Views: 1,910
Posted By katsarosj
panelname.Controls.Add(radiobuttonname)

panelname.Controls.Add(radiobuttonname)
Forum: VB.NET 2002/2003 Basics April 25th, 2006, 10:49 PM
Replies: 2
Views: 914
Posted By katsarosj
You want to force the user to know the name of a...

You want to force the user to know the name of a form before you show it? I suggest you re-think your logic.

How is the user supposed to intuitively know what the names of your forms are? You...
Forum: VB.NET 2002/2003 Basics April 8th, 2006, 12:21 AM
Replies: 2
Views: 1,567
Posted By katsarosj
Your instantiating a new Form1 when you load...

Your instantiating a new Form1 when you load Form2 so you would be grabbing the value from the new Form1 and not the original.

You can do this a couple of ways. You can either declare the...
Forum: VB.NET 2002/2003 Basics April 7th, 2006, 07:54 AM
Replies: 9
Views: 1,608
Posted By katsarosj
No problem. You can also use this method to...

No problem. You can also use this method to check for special characters ($, %, etc.)

J
Forum: VB.NET 2002/2003 Basics April 5th, 2006, 06:16 PM
Replies: 2
Views: 1,276
Posted By katsarosj
Is this an ASP.Net application? If so you will...

Is this an ASP.Net application? If so you will have to use client side scripting (javascript) to do it.
Forum: VB.NET 2002/2003 Basics April 5th, 2006, 06:14 PM
Replies: 9
Views: 1,608
Posted By katsarosj
Put this in the KeyPress event of the textbox...

Put this in the KeyPress event of the textbox that you want to validate:

If e.KeyChar.IsNumber(e.KeyChar) Then
e.Handled = True
End If
Forum: VB.NET 2002/2003 Basics March 31st, 2006, 10:01 PM
Replies: 1
Views: 1,184
Posted By katsarosj
The "Nothing" keyword indicates a variable is...

The "Nothing" keyword indicates a variable is that isn't initialized or doesn't contain valid data.

The "Not" keyword reverses this.

So the line you indicated says that if the dataset table is...
Forum: VB.NET 2002/2003 Basics March 24th, 2006, 12:25 AM
Replies: 6
Views: 1,443
Posted By katsarosj
Your error simply indicates that you are trying...

Your error simply indicates that you are trying to update the database with a composite key that already exists.

Here is what I have found out from your solution:

In your btnConfirm_Click event...
Forum: Visual Basic 2005 Basics March 20th, 2006, 06:51 PM
Replies: 9
Views: 2,152
Posted By katsarosj
OK, bearing in mind that it was late and all that...

OK, bearing in mind that it was late and all that I was looking at initially was the errors generated from the code I copied from you - with the exception of the first line, isn't that pretty much...
Forum: VB.NET 2002/2003 Basics March 19th, 2006, 02:11 PM
Replies: 6
Views: 1,443
Posted By katsarosj
I agree. For what you want to do, you don't...

I agree. For what you want to do, you don't necessarily need to place this in a Try/Catch. What this will do, however, is allow you to determine what the error is without crashing your program.
...
Forum: VB.NET 2002/2003 Basics March 18th, 2006, 11:52 PM
Replies: 6
Views: 1,443
Posted By katsarosj
Use a SELECT statement to determine whether or...

Use a SELECT statement to determine whether or not the date is already there prior to inserting a new value to the database.

If it is there, cancel the insertion and inform them to choose another...
Forum: Visual Basic 2005 Basics March 18th, 2006, 11:49 PM
Replies: 9
Views: 2,152
Posted By katsarosj
Are you using Visual Studio 2005?

Are you using Visual Studio 2005?
Forum: VB.NET 2002/2003 Basics March 18th, 2006, 01:40 AM
Replies: 2
Views: 1,767
Posted By katsarosj
Please post your solution so that others can...

Please post your solution so that others can benefit. Thanks.
Forum: Visual Basic 2005 Basics March 18th, 2006, 01:37 AM
Replies: 7
Views: 771
Posted By katsarosj
Your error message tells you the problem, you...

Your error message tells you the problem, you don't have a form named "ChildForm". You have to create this form before you can use it as a child form.
Forum: Visual Basic 2005 Basics March 18th, 2006, 01:29 AM
Replies: 9
Views: 2,152
Posted By katsarosj
Try this: Dim ifcFonts As...

Try this:

Dim ifcFonts As Drawing.Text.InstalledFontCollection = New Drawing.Text.InstalledFontCollection()

Dim ffmFamily As FontFamily

For Each ffmFamily In FontFamily.Families...
Forum: Visual Basic 2005 Basics March 14th, 2006, 11:19 PM
Replies: 7
Views: 771
Posted By katsarosj
Well, you have to code for that. You will have...

Well, you have to code for that. You will have write code to close the first form before you open the other one...but, I don't know how many times that I can tell you to look into MDI apps.

Do a...
Forum: Visual Basic 2005 Basics March 13th, 2006, 05:28 PM
Replies: 7
Views: 771
Posted By katsarosj
In your first post, you state that you want all...

In your first post, you state that you want all of the forms to open in the mainform. This is a characteristic of an MDI. An example of this is Microsoft Excel, Photoshop, etc. Are those...
Forum: Visual Basic 2005 Basics March 13th, 2006, 11:39 AM
Replies: 7
Views: 771
Posted By katsarosj
Look into MDI (Multiple Document Interface)...

Look into MDI (Multiple Document Interface) applications.

J
Forum: Visual Basic 2005 Basics March 13th, 2006, 12:33 AM
Replies: 3
Views: 933
Posted By katsarosj
http://p2p.wrox.com/topic.asp?TOPIC_ID=14011 ...

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

J
Forum: Visual Basic 2005 Basics February 12th, 2006, 12:19 AM
Replies: 3
Views: 706
Posted By katsarosj
If it doesn't, you should be able to Google for...

If it doesn't, you should be able to Google for it and find several examples/articles or search the ADO.net forum on this site as there are probably some examples there.
Forum: Visual Basic 2005 Basics February 10th, 2006, 06:06 PM
Replies: 3
Views: 706
Posted By katsarosj
Yes, you can use SQL Server 2000 in VB 2005. ...

Yes, you can use SQL Server 2000 in VB 2005. Chances are the book you ordered has a segment on how to connect to it.

J
Forum: VB.NET 2002/2003 Basics February 9th, 2006, 12:26 AM
Replies: 5
Views: 34,091
Posted By katsarosj
Look into the FileSystemWatcher class.

Look into the FileSystemWatcher class.
Forum: ASP.NET 2.0 Basics January 24th, 2006, 01:08 PM
Replies: 1
Views: 1,442
Posted By katsarosj
Can't see designer code

Anybody know how to get the designer code file to show up in Solution Explorer for an ASP.Net (2) application? I don't have a button to "Show All Files". Thanks.
Showing results 1 to 25 of 500

 




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