Solved

Cast to numeric integer used in for loop.

Posted on 2007-04-02
5
149 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
 
LVL 143

Expert Comment

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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

630 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