473,402 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

vba equivalent

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
Dec 1 '07 #1
7 1314
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

Dec 1 '07 #2
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

"Cor Ligthert[MVP]" <no************@planet.nlwrote in message
news:27**********************************@microsof t.com...
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

Dec 1 '07 #3
Hi Cor

Hows things ?

"Cor Ligthert[MVP]" <no************@planet.nlwrote in message
news:27**********************************@microsof t.com...
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

Dec 1 '07 #4
Fine OHM,

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

Cor

"Terry Burns" <me@somwhere.comschreef in bericht
news:O9**************@TK2MSFTNGP02.phx.gbl...
Hi Cor

Hows things ?

"Cor Ligthert[MVP]" <no************@planet.nlwrote in message
news:27**********************************@microsof t.com...
>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

Dec 1 '07 #5
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/lib...extreader.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

"John" <Jo**@nospam.infovis.co.ukschreef in bericht
news:uU**************@TK2MSFTNGP03.phx.gbl...
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

"Cor Ligthert[MVP]" <no************@planet.nlwrote in message
news:27**********************************@microsof t.com...
>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

Dec 1 '07 #6

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
"Cor Ligthert[MVP]" <no************@planet.nlwrote in message
news:10**********************************@microsof t.com...
Fine OHM,

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

Cor

"Terry Burns" <me@somwhere.comschreef in bericht
news:O9**************@TK2MSFTNGP02.phx.gbl...
>Hi Cor

Hows things ?

"Cor Ligthert[MVP]" <no************@planet.nlwrote in message
news:27**********************************@microso ft.com...
>>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


Dec 2 '07 #7
Terry,

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

:-)

Cor

"Terry Burns" <me@somwhere.comschreef in bericht
news:uf*************@TK2MSFTNGP05.phx.gbl...
>
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
"Cor Ligthert[MVP]" <no************@planet.nlwrote in message
news:10**********************************@microsof t.com...
>Fine OHM,

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

Cor

"Terry Burns" <me@somwhere.comschreef in bericht
news:O9**************@TK2MSFTNGP02.phx.gbl...
>>Hi Cor

Hows things ?

"Cor Ligthert[MVP]" <no************@planet.nlwrote in message
news:27**********************************@micros oft.com...
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


Dec 3 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: John | last post by:
Is there an equivalent of COM on Linux that I can get through Python. My need is to have some sort of language independent component framework. I can think of CORBA but I have to have a server...
2
by: Michael Foord | last post by:
Please pardon my ignorance on this one - but I'm not certain how the sign bt is treated in python bitwise operators. I've trying to convert a javascript DES encryption routine into python. ...
3
by: Robert Dodier | last post by:
Hello, Here's a thought that I'm sure has already occurred to someone else, I just can't find any record of it yet. An XML document is just a more verbose and clumsy representation of an...
1
by: Vannela | last post by:
Is there any equivalent control in .NET for the Power builder DataWindow control? I am explaining the Datawindow architecture to some extent. Power Builder DataWindow Control has got different...
6
by: Frank Rachel | last post by:
So I can focus on the correct areas of research, I was wondering if someone could give me the .NET equivelents for this J2EE architecture: JSP's make calls to local JavaBean Controls. The...
3
by: Marty | last post by:
Hi, What is the VB.NET equivalent of the VB6 ADODB.Connector and ADODB.Recordset? Thanks Marty
7
by: Tim Conner | last post by:
Hi, I am an ex-delphi programmer, and I having a real hard time with the following simple code (example ): Which is the equivalent to the following code ? var chars : PChar; sBack, s :...
10
by: karch | last post by:
How would this C# contruct be represented in C++/CLI? Or is it even possible? PolicyLevel level = (enumerator->Current) as PolicyLevel; Thanks, Karch
9
by: Alan Silver | last post by:
Hello, I'm converting some old VB6 code to use with ASP.NET and have come unstuck with the Asc() function. This was used in the old VB6 code to convert a character to its ASCII numeric...
14
by: grid | last post by:
Hi, I have a certain situation where a particular piece of code works on a particular compiler but fails on another proprietary compiler.It seems to have been fixed but I just want to confirm if...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.