vba equivalent

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

What are the vb.bet equivalents of the following;

1. Scripting.FileSystemObject ie a method to read text files
2. Dlookup function

Thanks

Regards
 
John,

If you give your problem then you have more chance on an aswer instead of
telling us what will be the equivalent of the system you are used to.

Now I think it can be the

1. the Streamreader
2. the dataview.find,

However I am almost sure that you can do nothing with that answer.

Cor
 
Hi Cor

1. I need to read an html file and assign it to a message html body.

2. I need to do a quick lookup of a value form a table based on an index
value.

Thanks

Regards
 
Fine OHM,

I had to think lately about you, however we see almost everybody time by
time back in this newsgroup.

Cor
 
John,

Getting this right is difficult, do you just want to read that file from
disk, then the streamreader is your friend (or probably an other
implementation of the textreader)

http://msdn2.microsoft.com/en-us/library/system.io.textreader.aspx

If you search in that table, then the find can be the one, although I use
mostly the datatable select and the just take the first row of the datarow
collection.

In other words what is the format of the table, that can be hundreds in
..Net.

Cor
 
Cor - Ive lost your email address. Can you give me a url at which I can send
you mine so we can get back in contact with each other.

Cheers - Terry
 
Terry,

Have a look what is my lastname and then @planet.nl , in my idea easy
enough.

:-)

Cor
 
Back
Top