Cast to numeric integer used in for loop.

Posted on 2007-04-02
Medium Priority
Last Modified: 2010-04-23

 For Index As Integer = 0 To txtMaxPeriod - 1
Question by:mathieu_cupryk
  • 3
  • 2
LVL 143

Accepted Solution

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

 For Index As Integer = 0 To MaxPeriod - 1

Author Comment

ID: 18837799

Author Comment

ID: 18837906
LVL 143

Expert Comment

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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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…
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
When you have multiple client accounts to manage, it often feels like there aren’t enough hours in the day. With too many applications to juggle, you can’t focus on your clients, much less your growing to-do list. But that doesn’t have to be the cas…

600 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