473,769 Members | 3,383 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 5864
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
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
6026
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
9361
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
4706
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
3476
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
1861
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
9586
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
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
10043
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
9990
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
8869
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6672
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
5446
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3956
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
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.