Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB.NET
|
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 7th, 2007, 05:52 PM
Authorized User
 
Join Date: Feb 2007
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Retrieving strings in sequence

I have several hundred strings stored in string resources. I need to go through them all and select various ones based on other criteria. In VB5 I could sequence the resource identifier and use a for next loop to retrieve the appropriate strings.

Example
  for i = 1000 to 2000
    if somevalue > anothervalue then
      LoadResString(i)
    endif
  next

That's 5 lines of code to go through 1000 strings. Is there any way to do this in VBExpress? If so, how?

 
Old March 8th, 2007, 06:31 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

This question is also posted at http://p2p.wrox.com/topic.asp?TOPIC_ID=56876

Lowell, please post a question in just one place. Having done that, take the URL for the question you have posted, and feel free to post that URL all over the place.

That way, people participating in the question don’t duplicate each other’s efforts, etc.





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create sequence no in c# bettiahamit .NET Framework 3.5 1 November 6th, 2008 06:25 AM
comparison using a sequence pcase XSLT 1 December 3rd, 2007 07:33 PM
Retrieving resources in sequence lowell Beginning VB 6 10 March 15th, 2007 10:58 PM
value from a sequence suhabassam JSP Basics 0 September 27th, 2005 01:33 AM
Sequence of For-each elements? brendonsmith XSLT 2 January 14th, 2004 05:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.