Looking back at my code Should I maybe be using
TopAffiliate.Item(autorand.Next(0, TopAffiliate.Count - 1)) rather than
TopAffiliate.Item(autorand.Next(0, TopAffiliate.Count + 1))
as by putting the + would i not be creating this duff number that I keep calling?
Hi Cjard,
Thanks for your past few posts.
Just to clarify with your last two.
I am currently using an array list as shown earlier in the post.
My code is as follows:-
Dim ExampleArrayList As New ArrayList
Dim sr As New StreamReader("C:\example.txt")
Do While sr.peek <> -1...
JuggaloBrotha, or anyone else for that matter.
I am just testing my application and keep receiving an error message as follows.
ArgumentOutOfRangeException
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
I only sometimes...
Hi There,
thanks for the response.
What I am actually doing with this array is randomizing it and using a random value in a hperlink.
Is this still the same, and would I use the Array List?
if so how would i call it in my code? I currently have
My Array(autoRand.Next(102))
Thanks...
i am just finishing off my first app in vb.net and i would just liek to make it a bit more easier to maintain in future.
I would need to fill an array which could be hundreds to thousands of lines long so adding to this would be easier by just adding a line to a text file.
I have searched...
Thanks for your reponse. I have managed to set up an array and populated it with all the entries. The part that is confusing me is how i call it in my code.
for example my array is called Hyperlinks(105) as string.
the line of code where I want the string to appear is as follows
Do...
Hi all,
I was wondering if anyone could point me in the right direction how to do the following.
I am creating 20k different HTML pages and have got my app working to do this as I wish.
What i would like to do is randomly change a few variables each time a page is created. For example...
Hi all.
I am attempting to write an application which i need to use to create 20,000 html pages. They are all very basic and will be named as 2 sets of 00001.html up to 10000.html.
The contents of these pages will be pretty much the same apart from 4 individual lines which will need to be a...
Hi all,
Firstly sorry if this is very simple but I am a complete novice.
i am tring to write an app which creates HTML pages.
To do this my strings will need to contain speech marks for the hyperlinks. how do i type these so they apppear as hyperlinks when i create the text files to convert...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.