Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Visual Basic v6

Reply
Thread Tools

Visual Basic v6

 
 
Kevin Spencer
Guest
Posts: n/a
 
      02-15-2005
> Yes I know I am using antiquated software but time contraints and $$
> disallow me from "doing the right thing".


It's not a matter of what technology you're using, but what newsgroup you're
asking your question in. This is an ASP.Net newsgroup, and VB6 is not a part
of the .Net platform, or ASP.Net. Try the following newsgroup:

microsoft.public.vb.general.discussion

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"GaryMan" <> wrote in message
news:...
>
> Yes I know I am using antiquated software but time contraints and $$
> disallow me from "doing the right thing".
>
> I am a bit of a beginner here but need to know a few things and will
> start with this.
>
> I need to get a value into a variable that is in a variable. Does this
> make sense?
>
> I have a bit of coding where I need to write 45 variables to an
> external file from 2500+ records.
>
> I am using the following code (I am probably missing the bus here thogh
> ..???
>
>
> Do
>
> num_Field = 0
>
> For i = 0 To 4
> numchar_Field = num_Field
> mDataVariable = "rstRecordSet.Fields(" & numchar_Field & ")"
> r = "mDataVariable" & numchar_Field
> num_Field = num_Field + 1
> 'then I populate the field with data
> Next i
>
>
> objTextStream.WriteLine _
> mDataVariable0 & mDataVariable1 & mDataVariable2 & mDataVariable3 & _
> mDataVariable4 & mDataVariable5 & mDataVariable6 & mDataVariable7 & _
> mDataVariable8 & mDataVariable9 & mDataVariable10 & mDataVariable11 &
> _
> mDataVariable12 & mDataVariable13 & mDataVariable14 & mDataVariable15
> & _
> mDataVariable16 & mDataVariable17 & mDataVariable18 & mDataVariable19
> & _
> mDataVariable20 & mDataVariable21 & mDataVariable22 & mDataVariable23
> & _
> mDataVariable24 & mDataVariable25 & mDataVariable26 & mDataVariable27
> & _
> mDataVariable28 & mDataVariable29 & mDataVariable30 & mDataVariable31
> & _
> mDataVariable32 & mDataVariable33 & mDataVariable34 & mDataVariable35
> & _
> mDataVariable36 & mDataVariable37 & mDataVariable38 & mDataVariable39
> & _
> mDataVariable40 & mDataVariable41 & mDataVariable42 & mDataVariable43
> & _
> mDataVariable44
> rstRecordSet.MoveNext
>
> Loop Until rstRecordSet.EOF = True
>
>
>
> --
> GaryMan
> ------------------------------------------------------------------------
> Posted via http://www.codecomments.com
> ------------------------------------------------------------------------
>



 
Reply With Quote
 
 
 
 
Juan T. Llibre
Guest
Posts: n/a
 
      02-15-2005
Future posting by about 2 hours didn't help either.

I have a rule against answering future-posted messages.
No time for silly kiddie I-need-attention posts.



Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=====================

"Kevin Spencer" <> wrote in message
news:...
>> Yes I know I am using antiquated software but time contraints and $$
>> disallow me from "doing the right thing".

>
> It's not a matter of what technology you're using, but what newsgroup
> you're asking your question in. This is an ASP.Net newsgroup, and VB6 is
> not a part of the .Net platform, or ASP.Net. Try the following newsgroup:
>
> microsoft.public.vb.general.discussion
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> Neither a follower nor a lender be.
>
> "GaryMan" <> wrote in message
> news:...
>>
>> Yes I know I am using antiquated software but time contraints and $$
>> disallow me from "doing the right thing".
>>
>> I am a bit of a beginner here but need to know a few things and will
>> start with this.
>>
>> I need to get a value into a variable that is in a variable. Does this
>> make sense?
>>
>> I have a bit of coding where I need to write 45 variables to an
>> external file from 2500+ records.
>>
>> I am using the following code (I am probably missing the bus here thogh
>> ..???
>>
>>
>> Do
>>
>> num_Field = 0
>>
>> For i = 0 To 4
>> numchar_Field = num_Field
>> mDataVariable = "rstRecordSet.Fields(" & numchar_Field & ")"
>> r = "mDataVariable" & numchar_Field
>> num_Field = num_Field + 1
>> 'then I populate the field with data
>> Next i
>>
>>
>> objTextStream.WriteLine _
>> mDataVariable0 & mDataVariable1 & mDataVariable2 & mDataVariable3 & _
>> mDataVariable4 & mDataVariable5 & mDataVariable6 & mDataVariable7 & _
>> mDataVariable8 & mDataVariable9 & mDataVariable10 & mDataVariable11 &
>> _
>> mDataVariable12 & mDataVariable13 & mDataVariable14 & mDataVariable15
>> & _
>> mDataVariable16 & mDataVariable17 & mDataVariable18 & mDataVariable19
>> & _
>> mDataVariable20 & mDataVariable21 & mDataVariable22 & mDataVariable23
>> & _
>> mDataVariable24 & mDataVariable25 & mDataVariable26 & mDataVariable27
>> & _
>> mDataVariable28 & mDataVariable29 & mDataVariable30 & mDataVariable31
>> & _
>> mDataVariable32 & mDataVariable33 & mDataVariable34 & mDataVariable35
>> & _
>> mDataVariable36 & mDataVariable37 & mDataVariable38 & mDataVariable39
>> & _
>> mDataVariable40 & mDataVariable41 & mDataVariable42 & mDataVariable43
>> & _
>> mDataVariable44
>> rstRecordSet.MoveNext
>>
>> Loop Until rstRecordSet.EOF = True
>>
>>
>>
>> --
>> GaryMan
>> ------------------------------------------------------------------------
>> Posted via http://www.codecomments.com
>> ------------------------------------------------------------------------
>>

>
>



 
Reply With Quote
 
 
 
 
GaryMan
Guest
Posts: n/a
 
      02-15-2005

Yes I know I am using antiquated software but time contraints and $$
disallow me from "doing the right thing".

I am a bit of a beginner here but need to know a few things and will
start with this.

I need to get a value into a variable that is in a variable. Does this
make sense?

I have a bit of coding where I need to write 45 variables to an
external file from 2500+ records.

I am using the following code (I am probably missing the bus here thogh
....???


Do

num_Field = 0

For i = 0 To 4
numchar_Field = num_Field
mDataVariable = "rstRecordSet.Fields(" & numchar_Field & ")"
r = "mDataVariable" & numchar_Field
num_Field = num_Field + 1
'then I populate the field with data
Next i


objTextStream.WriteLine _
mDataVariable0 & mDataVariable1 & mDataVariable2 & mDataVariable3 & _
mDataVariable4 & mDataVariable5 & mDataVariable6 & mDataVariable7 & _
mDataVariable8 & mDataVariable9 & mDataVariable10 & mDataVariable11 &
_
mDataVariable12 & mDataVariable13 & mDataVariable14 & mDataVariable15
& _
mDataVariable16 & mDataVariable17 & mDataVariable18 & mDataVariable19
& _
mDataVariable20 & mDataVariable21 & mDataVariable22 & mDataVariable23
& _
mDataVariable24 & mDataVariable25 & mDataVariable26 & mDataVariable27
& _
mDataVariable28 & mDataVariable29 & mDataVariable30 & mDataVariable31
& _
mDataVariable32 & mDataVariable33 & mDataVariable34 & mDataVariable35
& _
mDataVariable36 & mDataVariable37 & mDataVariable38 & mDataVariable39
& _
mDataVariable40 & mDataVariable41 & mDataVariable42 & mDataVariable43
& _
mDataVariable44
rstRecordSet.MoveNext

Loop Until rstRecordSet.EOF = True



--
GaryMan
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Studio 2005 and Visual Basic .net 2003 Stewart ASP .Net 1 02-24-2006 07:32 AM
What is the difference between Visual Basic.NET and Visual Basic 6? Jimmy Dean Computer Support 3 07-25-2005 07:05 AM
Visual Studio .Net v.s. Visual Basic .Net? M P ASP .Net 6 08-07-2004 04:25 AM
eMbedded Visual Basic & Visual Studio .NET - No Longer Supported? ¢harlie MCSD 0 12-26-2003 07:23 PM
Upgrading Microsoft Visual Basic 6.0 to Microsoft Visual Basic .NET Jaime MCSD 2 09-20-2003 05:16 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57