Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 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
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 13th, 2004, 10:25 AM
JLN JLN is offline
Authorized User
 
Join Date: Jul 2004
Location: hb, mi, USA.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Changing data type

I need this variable to be a string. When I replace Integer with string it says that a string is not part of the parse family. Anyone know what I can Change.

Dim LoadItemNumber = Integer.Parse(cboItemNumber.Text)

Reply With Quote
  #2 (permalink)  
Old July 13th, 2004, 12:49 PM
tnd tnd is offline
Authorized User
 
Join Date: Jun 2004
Location: , , .
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default

In VB I think the syntax is
a_number = val(a_string)
a_string = str(a_number)

Parse is a .NET method

Reply With Quote
Reply


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
Changing Data type samnachilomo SQL Server 2000 1 November 25th, 2006 03:25 PM
Changing Data Type Behaviour mat41 SQL Server ASP 8 August 28th, 2006 07:17 PM
changing the point type anukagni Access 2 July 29th, 2006 12:04 AM
Changing data type error kuku SQL Server 2000 1 August 18th, 2005 10:20 AM
changing data type when importing Excel worksheet awwhite Access VBA 0 September 8th, 2004 09:37 AM



All times are GMT -4. The time now is 11:13 PM.


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