Solved

Cast to numeric integer used in for loop.

Posted on 2007-04-02
5
148 Views
Last Modified: 2010-04-23
txtMaxPeriod

 For Index As Integer = 0 To txtMaxPeriod - 1
0
Comment
Question by:mathieu_cupryk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 250 total points
ID: 18837729
int MaxPeriod = Int.Parse(txtMaxPeriod.Text)

 For Index As Integer = 0 To MaxPeriod - 1
0
 

Author Comment

by:mathieu_cupryk
ID: 18837799
Overload....
0
 

Author Comment

by:mathieu_cupryk
ID: 18837906
Int32.Parse(sNumber)
0
 

Author Comment

by:mathieu_cupryk
ID: 18837909
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 18838002
sorry, I always forget the 32 ...
glad I could help
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question