473,593 Members | 2,818 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 #1
59 5834
Hello,

"Mr. x" <a@b.com> schrieb:
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 ?


Most functions are similar in VBScript, VB Classic and VB.NET. Are you
referring to VB.NET or VB Classic?

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #2
Hello,
I am using the ASPX and put code in vb in ASPX, and also in *.ASMX
(Web-Services),
So I think I am looking for VB.NET help.

Thanks :)

"Herfried K. Wagner [MVP]" <hi*******@m.ac tivevb.de> wrote in message
news:OO******** ******@tk2msftn gp13.phx.gbl...
Hello,

"Mr. x" <a@b.com> schrieb:
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 ?


Most functions are similar in VBScript, VB Classic and VB.NET. Are you
referring to VB.NET or VB Classic?

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet

Nov 20 '05 #3
Actually, many VBScript & VB 6.0 functions now have methods to accomplish
the same task the function used to accomplish. While many VBScript & VB 6.0
functions can still be used, they are just, in turn, calling the new .NET
method [i.e. msgbox() calls messageBox.show ()].

So, while you can get away with using the "good old" functions in .NET, you
may find that you app performs better if you don't.

By the way, the .NET approach to getting the current time would be to
delcare a new DateTime object and call its appropriate method like this:

Dim y As New Date()
response.write( y.Now())

"Herfried K. Wagner [MVP]" <hi*******@m.ac tivevb.de> wrote in message
news:OO******** ******@tk2msftn gp13.phx.gbl...
Hello,

"Mr. x" <a@b.com> schrieb:
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 ?


Most functions are similar in VBScript, VB Classic and VB.NET. Are you
referring to VB.NET or VB Classic?

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet

Nov 20 '05 #4
Cor
Hi Mr X

(I preffer *.chm help file).

http://msdn.microsoft.com/library/de...hroughlist.asp

I find till now one of the best tutorials.

http://msdn.microsoft.com/library/de...alkthrough.asp

Is now maybe already old but very good for the basic principals Web
development with VB.net

I hope this helps a little bit
Cor
Nov 20 '05 #5
Hello,

"Scott M." <s-***@badspamsnet .net> schrieb:
So, while you can get away with using the "good old"
functions in .NET, you may find that you app performs
better if you don't.


Sorry, but the performance of the 'MsgBox' function has never been a problem
for me.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #6
Thanks :)
I don't need basic principals of writing vb.net,
but more I need list of functions of all vb.net + some basic syntax.
That's what is really help is (not via the internet), so that's why I have
said I preffered *.chm.
If you can link me to detailed help, such as *.chm file, I would be glade to
know, please.

Thanks :)

"Cor" <no*@non.com> wrote in message
news:3f******** *************** @reader22.wxs.n l...
Hi Mr X

(I preffer *.chm help file).

http://msdn.microsoft.com/library/de...hroughlist.asp
I find till now one of the best tutorials.

http://msdn.microsoft.com/library/de...alkthrough.asp
Is now maybe already old but very good for the basic principals Web
development with VB.net

I hope this helps a little bit
Cor

Nov 20 '05 #7
Cor
Do you use Visual.studio.n et or Visual.studio.b asic?
Nov 20 '05 #8
It's just an example of one of many new methods that replace VBScript and &
VB 6.0 Functions. You may not notice any performance issues if you continue
to use the old functions, but for someone who is new to .NET why bother
learning the "old" (non OO) way?

Lastly, while the use of these older functions may not bring your app to its
knees. They are NOT as efficient, by and large, as the new method calls.
"Herfried K. Wagner [MVP]" <hi*******@m.ac tivevb.de> wrote in message
news:eE******** ******@TK2MSFTN GP12.phx.gbl...
Hello,

"Scott M." <s-***@badspamsnet .net> schrieb:
So, while you can get away with using the "good old"
functions in .NET, you may find that you app performs
better if you don't.
Sorry, but the performance of the 'MsgBox' function has never been a

problem for me.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet

Nov 20 '05 #9
As stated in my other post, I think you are barking up the wrong tree.
VB.NET is a true OO language now and as such, most of the old "functions"
have been replaced with methods. The functions that are still there are
only there as a "crutch" for migrating VB 6.0 developers, but they do not
reflect the best practices of writing code it .NET.

You might be better of beginning to examine the .NET Framework Base Class
Libraries.
"Mr. x" <a@b.com> wrote in message
news:%2******** *******@TK2MSFT NGP09.phx.gbl.. .
Thanks :)
I don't need basic principals of writing vb.net,
but more I need list of functions of all vb.net + some basic syntax.
That's what is really help is (not via the internet), so that's why I have
said I preffered *.chm.
If you can link me to detailed help, such as *.chm file, I would be glade to know, please.

Thanks :)

"Cor" <no*@non.com> wrote in message
news:3f******** *************** @reader22.wxs.n l...
Hi Mr X

(I preffer *.chm help file).

http://msdn.microsoft.com/library/de...hroughlist.asp

I find till now one of the best tutorials.

http://msdn.microsoft.com/library/de...alkthrough.asp

Is now maybe already old but very good for the basic principals Web
development with VB.net

I hope this helps a little bit
Cor


Nov 20 '05 #10

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

Similar topics

5
6817
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
6004
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
9335
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
4835
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
2016
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
4692
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
3448
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
1854
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
7874
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
8241
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
8366
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...
0
8227
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
5402
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
3853
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
2383
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
1
1469
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1203
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.