473,791 Members | 3,179 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VBScript functions versus VB functions

Hello,
I need a good help/tutorial for VB, please (I preffer *.chm help file).

Also :
for the function : now() in VBScript for getting the current time,
what is the counterpart function of VB ?

Thanks :)
Nov 20 '05
59 5871
Hello,

"Cor" <no*@non.com> schrieb:
I would not take to much time on this, the messages from Scott
shows that he does not understand it all.
;-)
Runtime Libarary extends the Framework by uinique methods.


Are you sure of this (and this is to the meaning of my
post in the other thread about intermidiate code) I don't see
a runtimer that extends the framework when I build an exe when
I use Microsoft.Visua ls.Basic things.


For example, the 'AppActivate' method doesn't have a replacement in the
framework.
This has given me the idea that the code build with the
Microsoft.Visua l.Basic classes and the code with the
System.net classes makes the same software. And because
of the fact that it is intermidiate software gives the same
processing results.


Yes.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #31
Hello,

"Scott M." <s-***@badspamsnet .net> schrieb:
When called like Right(string), you are using it as
a simple function. This is my point. By calling the
Right() method of a string, you are using the string
object's method directly.
I would call the 'Right' method of the string too, if it would exist.
You're right again! But, where replacements do exist,
they should be used.


There exist replacements in VB.NET which can be used.
I don't agree... OOP is nice, but OOP only is IMO _bad_
because it doesn't reduce complexity of simple tasks.


OOP is a "concept" or a "paradigm" if you like. In general,
when you have to mix concepts or paradigms in one solution,
things get confusing. Now, let me be clear, I'm not standing
on a soap box here claiming that it's got to be OO or not at all.
I'm simply saying that in .NET (with respect to these legacy
VB 6.0 functions), there really isn't a strong case to be made
for their use over the new OOP method calls.


I agree with you and I would like it if they would add functions like 'Left'
and 'Right' to the 'String' class.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #32
Hello,

"Cor" <no*@non.com> schrieb:
I would not take to much time on this, the messages from Scott
shows that he does not understand it all.
;-)
Runtime Libarary extends the Framework by uinique methods.


Are you sure of this (and this is to the meaning of my
post in the other thread about intermidiate code) I don't see
a runtimer that extends the framework when I build an exe when
I use Microsoft.Visua ls.Basic things.


For example, the 'AppActivate' method doesn't have a replacement in the
framework.
This has given me the idea that the code build with the
Microsoft.Visua l.Basic classes and the code with the
System.net classes makes the same software. And because
of the fact that it is intermidiate software gives the same
processing results.


Yes.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #33
Hello,

"Cor" <no*@non.com> schrieb:
Making the same intermidiate code for Mid(xxxxxxxx)
and a.substring(xxx x).


;-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #34
No Cor, I just don't understand YOUR post at all. And by understand, I
don't mean from a VB.NET standpoint. I mean from a reading of the English
language standpoint.

I've read many of your posts on several topics and very often people will
reply to you that they can't understand what you are saying because your
English and writing skills aren't sufficient to express your point.
"Cor" <no*@non.com> wrote in message
news:3f******** *************** @reader21.wxs.n l...
Herfried,
I would not take to much time on this, the messages from Scott shows that he does not understand it all.
But to you.
See above. I don't want to say that all of the methods in the VB Runtime
Libarary should be used, I only want to point out that in some cases the

VB
Runtime Libarary extends the Framework by uinique methods.


Are you sure of this (and this is to the meaning of my post in the other
thread about intermidiate code) I don't see a runtimer that extends the
framework when I build an exe when I use Microsoft.Visua ls.Basic things.

This has given me the idea that the code build with the
Microsoft.Visua l.Basic classes and the code with the System.net classes
makes the same software. And because of the fact that it is intermidiate
software gives the same processing results.

(That had probably not been so when it all was end code).

Do you know something about this?

Cor

Nov 20 '05 #35
Cor
Than I did succeed.
Nov 20 '05 #36
Or, do you mean "Then".
"Cor" <no*@non.com> wrote in message
news:3f******** **************@ reader20.wxs.nl ...
Than I did succeed.

Nov 20 '05 #37
No Cor, I just don't understand YOUR post at all. And by understand, I
don't mean from a VB.NET standpoint. I mean from a reading of the English
language standpoint.

I've read many of your posts on several topics and very often people will
reply to you that they can't understand what you are saying because your
English and writing skills aren't sufficient to express your point.
"Cor" <no*@non.com> wrote in message
news:3f******** *************** @reader21.wxs.n l...
Herfried,
I would not take to much time on this, the messages from Scott shows that he does not understand it all.
But to you.
See above. I don't want to say that all of the methods in the VB Runtime
Libarary should be used, I only want to point out that in some cases the

VB
Runtime Libarary extends the Framework by uinique methods.


Are you sure of this (and this is to the meaning of my post in the other
thread about intermidiate code) I don't see a runtimer that extends the
framework when I build an exe when I use Microsoft.Visua ls.Basic things.

This has given me the idea that the code build with the
Microsoft.Visua l.Basic classes and the code with the System.net classes
makes the same software. And because of the fact that it is intermidiate
software gives the same processing results.

(That had probably not been so when it all was end code).

Do you know something about this?

Cor

Nov 20 '05 #38
Cor
Than I did succeed.
Nov 20 '05 #39
Or, do you mean "Then".
"Cor" <no*@non.com> wrote in message
news:3f******** **************@ reader20.wxs.nl ...
Than I did succeed.

Nov 20 '05 #40

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

Similar topics

5
6827
by: John Davis | last post by:
When I create new documents in Dreamweaver, there are several choices for ASP creation: ASP JavaScript: run at client side?? ASP VBScript: run at server side?? ASP.NET C# ASP.NET VB I don't understand the differences between ASP JavaScript and ASP VBScript?? Because JavaScript is client-side technology, and ASP is server side technology. I think VBScript is used to implement ASP pages.
29
6033
by: Christopher Brandsdal | last post by:
If I have a .ASP page that runs JScript code - is it possible to include an ..ASP page that runs VBscript???
16
9364
by: Mike Schinkel | last post by:
Does anyone know if there are bugs in VBScript's GetRef()? I'm using VBScript Version 5.6.8515 on Win2003Server w/ASP. Sometimes it returns an object that VarType() says is a vbObject. Other times it returns VarType() is vbEmpty. This is driving me mad! Also, does anyone know what the properties and methods are for the object returned by GetRef()? TIA.
3
4845
by: | last post by:
This is a semi-advanced question about ASP VBScript 5.0 classes. If you're knowledegable, please lend a hand! VBScript class instances can have properties that have objects assigned to them. Borrowing R.Quinn's example from ASP101: Public Property Get Authors() if not isobject(m_Authors) then set Library = New cLibrary Call Library.GetAuthorsByBookID(Me.ID)
3
2021
by: Mark Fox | last post by:
Hello, I am porting some old ASP 3.0 VBScript code to C#.NET and am not sure what the equivalent C# functions are for a couple VBScript functions. So my first question is: 1) Is there somewhere that lists old VBScript functions and their equivalent C# functions?
10
4709
by: Shadow Lynx | last post by:
That subject packs a whallop, so let me explain in better detail what's happening and how it relates to ASPX pages... In a nutshell, if the first <script /on a page is of type "text/vbscript", you cannot use inline JavaScript statements that call setTimeout with functions that start with a double-underscore. This is very relavant to ASPX (ASP Dot Net) pages because it means that AutoPostBacks will fail since they generally call the...
12
676
by: sam_cit | last post by:
Hi Everyone, I have few questions on inline functions, when i declare a function as inline, is it for sure that the compiler would replace the function call with the actual body of the function? or is it a call taken by compiler? Second, i see that it is same as what Macro's used to do for c, if so what is the advantage for going in for inline functions than to Macros?
1
3477
by: Andrew Wan | last post by:
How can VBScript code access JScript code variables in the same ASP page? <SCRIPT LANGAUGE="VBScript"> Dim a a = 10 </SCRIPT> <SCRIPT LANGUAGE="JScript"> Response.Write(a); </SCRIPT>
0
1862
by: sunita2006 | last post by:
Hello Team, I want to load a dll functions into script (both vbscript and javascript) for digital signature verification. I have tried this using CAPICOM dll and it woks well. I have a custom DLL which has got the functions which can be used for digital signature creation/verification. For this i m referring to a vb projects(.bas )in which there are certain functions are called like SetErrorMode and LoadLibrary .. thses functions are...
0
9512
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10419
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10201
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10147
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9987
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6770
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5424
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4100
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2910
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.