Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6
This is the forum to discuss the Wrox book Beginning Visual Basic 2005 by Thearon Willis, Bryan Newsome; ISBN: 9780764574016
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 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
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 3rd, 2006, 07:03 AM
Registered User
 
Join Date: May 2006
Location: sydney, NSW, Australia.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Properties Explorer (Is it just me or am i stupid)

In Chapter 17 of this book (Page 558, step 7 to be precise) the book asks us to use the properties explorer, and being the novice i am automatically used typo!

How wrong i appear to have been. Now im stumped because i have no idea how to access it... i know i should but oh well...

Anyway if someone could give me directions to the where abouts of the elusive explorer i would be most grateful.


Cheers,
Brad
  #2 (permalink)  
Old May 14th, 2006, 02:19 PM
Thearon's Avatar
Wrox Author
 
Join Date: Dec 2003
Location: Fuquay Varina, NC, USA.
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts
Default

I believe that this should have been the Properties window and not Properties explorer.

Thearon
  #3 (permalink)  
Old May 17th, 2006, 08:37 AM
Registered User
 
Join Date: May 2006
Location: lebanon, NH, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by Thearon
 I believe that this should have been the Properties window and not Properties explorer.

Thearon
  #4 (permalink)  
Old May 17th, 2006, 10:52 AM
Registered User
 
Join Date: May 2006
Location: lebanon, NH, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Brad. That makes 2 of us. I could not find it either and do not think it is the properties window mentioned in another post.
I tried editing the HTML source to replace all instances of javascript with vbscript but still could not get the example to work.
 I get the following error:


Microsoft VBScript runtime error: Type mismatch: 'btnClient_onclick'

I will keep trying.
Hopefully, someone will post the solution.



  #5 (permalink)  
Old May 18th, 2006, 08:35 PM
Wrox Author
Points: 333, Level: 6
Points: 333, Level: 6 Points: 333, Level: 6 Points: 333, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2006
Location: , , .
Posts: 91
Thanks: 0
Thanked 5 Times in 5 Posts
Default

I assume the issue here is trying to find the DefaultClientScript property. It appears that the DefaultClientScript property of the document object has been removed since the beta version of VB 2005. I was never able to confirm the removal, but it is not available in the released version anymore that I can find. Here is a what happens behind the scenes if you would set that property.

You can switch to source view on the default.aspx page. That is at the bottom left of the design area. In between the start and end <head> tags put the following

<meta content="text/VBScript" http-equiv="content-script-type" />

Then when you create your client script it will default to vbscript. That is what selecting the defaultclientscript would do for you.

Here is more info from MSDN2

http://msdn2.microsoft.com/en-us/library/5y06x9d7.aspx

Hope this helps. I will ask to have this listed in the errata.

Bryan




 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
stupid question... seymour_glass C# 3 May 2nd, 2007 06:40 AM
Properties Explorer Bradml VB How-To 2 May 3rd, 2006 06:05 PM
Stupid problem tsimsha Pro VB 6 2 December 16th, 2004 12:45 PM
Stupid but true Adam H-W SQL Server 2000 3 December 6th, 2003 12:16 PM



All times are GMT -4. The time now is 04:06 AM.


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