473,545 Members | 2,639 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VBScript or VB.Net?

Hi All,

I need to write a program/script that gathers some data from Windows
systems, compare it with SQL Database and update if it's changed.

My question is what should i use? VBScript or VB.Net?

Here is my background..
I am a systems administrator.
I have experience with: C, C++, Visual C++, VBScript
I know little bit about: VB 6.0, Java
I don't know anything about: dotNet (but would like
to learn :) )

I am sure that i can do my task with VBScript.
But since this is not going to be a small script/program, should i go with
more powerful language like VB.Net even though i don't know much about it?
Based on my experience, do you think i should go with VB.Net? or just stick
to VBScript?
Thank you all for your help.
Jan 25 '07 #1
8 1418
jvb
IMHO the best way to learn is to do, depending on the size of your app
and the deadline, use .NET, with your experience in C++, it shouldn't
be too hard for you to pick up the .NET concepts.

On Jan 25, 11:21 am, Systems Admin <Systems
A...@discussion s.microsoft.com wrote:
Hi All,

I need to write a program/script that gathers some data from Windows
systems, compare it with SQL Database and update if it's changed.

My question is what should i use? VBScript or VB.Net?

Here is my background..
I am a systems administrator.
I have experience with: C, C++, Visual C++, VBScript
I know little bit about: VB 6.0, Java
I don't know anything about: dotNet (but would like
to learn :) )

I am sure that i can do my task with VBScript.
But since this is not going to be a small script/program, should i go with
more powerful language like VB.Net even though i don't know much about it?
Based on my experience, do you think i should go with VB.Net? or just stick
to VBScript?

Thank you all for your help.
Jan 25 '07 #2
Systems Admin wrote:
<snip>
I need to write a program/script that gathers some data from Windows
systems, compare it with SQL Database and update if it's changed.
<snip>
I am sure that i can do my task with VBScript.
But since this is not going to be a small script/program, should i go with
more powerful language like VB.Net even though i don't know much about it?
<snip>

VB.Net (2005), no doubt. Just take a little time to understand the
differences between VBScript and VB.Net, then launch VB 2005 Express
(the free editor/environment for VB.Net) and have fun.

HTH.

Regards,

Branco.

Jan 25 '07 #3
=?Utf-8?B?U3lzdGVtcyB BZG1pbg==?= <Systems
Ad***@discussio ns.microsoft.co mwrote in
news:E0******** *************** ***********@mic rosoft.com:
Hi All,

I need to write a program/script that gathers some data from Windows
systems, compare it with SQL Database and update if it's changed.

My question is what should i use? VBScript or VB.Net?

Here is my background..
I am a systems administrator.
I have experience with: C, C++, Visual C++, VBScript
I know little bit about: VB 6.0, Java
I don't know anything about: dotNet (but would
like to learn :) )

I am sure that i can do my task with VBScript.
Yes, you can access databases via ADO.
But since this is not going to be a small script/program, should i go
with more powerful language like VB.Net even though i don't know much
about it? Based on my experience, do you think i should go with
VB.Net? or just stick to VBScript?
If the app is complex, definately go with a real programming langauge.

But ... VB.NET is NOT VB or VBScript. Syntax maybe similar, but it's
concepts are OO like Java/C++. Seeing that you have Java experience and
C++, you should be fine.

If you're more comfortable in Java or C++, .NET also supports these
languages in VS.NET.

Jan 25 '07 #4
jvb, Branco

Thank you both for your reply.
Just so that i am more clear on my task... This program will run unattended
on a system as a regular interval, it will gather information about the
system than use some logic to get it organize and than compare with SQL
Database and update as it requires. I am not planning on creating any GUI
with this program.
Can this be done with VB.Net? Would it be easier for “non-Dot Net Expert”
like me?

Branco,
Great point on getting started with “VB 2005 Express Edition”. I already
have that installed. What's the best next step for me to get started with VB
2005? Is there any book or web resource that you can recommend? I am not
planning to be an expert on vb.net, i just need some quick reference to get
started on this task.

jvb,
i could not agree more with you. The only way to learn is by doing it.
Thanks again for your help.
"Branco Medeiros" wrote:
Systems Admin wrote:
<snip>
I need to write a program/script that gathers some data from Windows
systems, compare it with SQL Database and update if it's changed.
<snip>
I am sure that i can do my task with VBScript.
But since this is not going to be a small script/program, should i go with
more powerful language like VB.Net even though i don't know much about it?
<snip>

VB.Net (2005), no doubt. Just take a little time to understand the
differences between VBScript and VB.Net, then launch VB 2005 Express
(the free editor/environment for VB.Net) and have fun.

HTH.

Regards,

Branco.

Jan 25 '07 #5
For general learning of VB2005, check out Tim Patrick's "Start-to-Finish
VB2005".

Another good book is "VB2005: The Language" by Francesco Balena, but it
only
covers the language, not the forms or the data access, and I wouldn't
recommend
it if you didn't do any programming at all. But you should be able to
figure it out
if you're coming from VBScript.

Robin S.
--------------------------------------------------------
"Systems Admin" <Sy**********@d iscussions.micr osoft.comwrote in
message news:2E******** *************** ***********@mic rosoft.com...
jvb, Branco

Thank you both for your reply.
Just so that i am more clear on my task... This program will run
unattended
on a system as a regular interval, it will gather information about
the
system than use some logic to get it organize and than compare with
SQL
Database and update as it requires. I am not planning on creating any
GUI
with this program.
Can this be done with VB.Net? Would it be easier for "non-Dot Net
Expert"
like me?

Branco,
Great point on getting started with "VB 2005 Express Edition". I
already
have that installed. What's the best next step for me to get started
with VB
2005? Is there any book or web resource that you can recommend? I am
not
planning to be an expert on vb.net, i just need some quick reference
to get
started on this task.

jvb,
i could not agree more with you. The only way to learn is by doing it.
Thanks again for your help.
"Branco Medeiros" wrote:
>Systems Admin wrote:
<snip>
I need to write a program/script that gathers some data from
Windows
systems, compare it with SQL Database and update if it's changed.
<snip>
I am sure that i can do my task with VBScript.
But since this is not going to be a small script/program, should i
go with
more powerful language like VB.Net even though i don't know much
about it?
<snip>

VB.Net (2005), no doubt. Just take a little time to understand the
differences between VBScript and VB.Net, then launch VB 2005 Express
(the free editor/environment for VB.Net) and have fun.

HTH.

Regards,

Branco.


Jan 25 '07 #6
On Jan 25, 4:35 pm, "RobinS" <Rob...@NoSpam. yah.nonewrote:
For general learning of VB2005, check out Tim Patrick's "Start-to-Finish
VB2005".

Another good book is "VB2005: The Language" by Francesco Balena, but it
only
covers the language, not the forms or the data access, and I wouldn't
recommend
it if you didn't do any programming at all. But you should be able to
figure it out
if you're coming fromVBScript.

Robin S.
--------------------------------------------------------
"Systems Admin" <SystemsAd...@d iscussions.micr osoft.comwrote in
messagenews:2E* *************** *************** ***@microsoft.c om...
jvb, Branco
Thank you both for your reply.
Just so that i am more clear on my task... This program will run
unattended
on a system as a regular interval, it will gather information about
the
system than use some logic to get it organize and than compare with
SQL
Database and update as it requires. I am not planning on creating any
GUI
with this program.
Can this be done with VB.Net? Would it be easier for "non-Dot Net
Expert"
like me?
Branco,
Great point on getting started with "VB 2005 Express Edition". I
already
have that installed. What's the best next step for me to get started
with VB
2005? Is there any book or web resource that you can recommend? I am
not
planning to be an expert on vb.net, i just need some quick reference
to get
started on this task.
jvb,
i could not agree more with you. The only way to learn is by doing it.
Thanks again for your help.
"Branco Medeiros" wrote:
Systems Admin wrote:
<snip>
I need to write a program/script that gathers some data from
Windows
systems, compare it with SQL Database and update if it's changed.
<snip>
I am sure that i can do my task withVBScript.
But since this is not going to be a small script/program, should i
go with
more powerful language like VB.Net even though i don't know much
about it?
<snip>
VB.Net (2005), no doubt. Just take a little time to understand the
differences betweenVBScript and VB.Net, then launch VB 2005 Express
(the free editor/environment for VB.Net) and have fun.
HTH.
Regards,
Branco.- Hide quoted text -

- Show quoted text -
I am currently in a class learning VB.NET and ASP.NET. Working with
the script I wrote I have been able to get 90% of it up and running
it's just the permissions things that's killing me. I have researched
it but when you start playing with permissions the information kinda
tapers off as far as explainations.

Update I got around the permissions in Exchange. I had them add that
particular account directly to the store so we don't have to add it to
the individual accounts. But I am faced with the task of setting
permissions on folders now. In my old script I called xcacls.exe and
set permissions on the new users home folder. In all honesty I can
still do it that way I was just really trying to get away from using
other tools in my program if I could help it but I'm not going to
dwell on it if the subject is to technical for me.

Thanks again for all the help.

Feb 16 '07 #7

<La*****@gmail. comwrote in message
news:11******** **************@ a75g2000cwd.goo glegroups.com.. .
On Jan 25, 4:35 pm, "RobinS" <Rob...@NoSpam. yah.nonewrote:
>For general learning of VB2005, check out Tim Patrick's "Start-to-Finish
VB2005".

Another good book is "VB2005: The Language" by Francesco Balena, but it
only
covers the language, not the forms or the data access, and I wouldn't
recommend
it if you didn't do any programming at all. But you should be able to
figure it out
if you're coming fromVBScript.

Robin S.
--------------------------------------------------------
"Systems Admin" <SystemsAd...@d iscussions.micr osoft.comwrote in
messagenews:2E *************** *************** ****@microsoft. com...
jvb, Branco
Thank you both for your reply.
Just so that i am more clear on my task... This program will run
unattended
on a system as a regular interval, it will gather information about
the
system than use some logic to get it organize and than compare with
SQL
Database and update as it requires. I am not planning on creating any
GUI
with this program.
Can this be done with VB.Net? Would it be easier for "non-Dot Net
Expert"
like me?
Branco,
Great point on getting started with "VB 2005 Express Edition". I
already
have that installed. What's the best next step for me to get started
with VB
2005? Is there any book or web resource that you can recommend? I am
not
planning to be an expert on vb.net, i just need some quick reference
to get
started on this task.
jvb,
i could not agree more with you. The only way to learn is by doing it.
Thanks again for your help.
"Branco Medeiros" wrote:
>Systems Admin wrote:
<snip>
I need to write a program/script that gathers some data from
Windows
systems, compare it with SQL Database and update if it's changed.
<snip>
I am sure that i can do my task withVBScript.
But since this is not going to be a small script/program, should i
go with
more powerful language like VB.Net even though i don't know much
about it?
<snip>
>VB.Net (2005), no doubt. Just take a little time to understand the
differences betweenVBScript and VB.Net, then launch VB 2005 Express
(the free editor/environment for VB.Net) and have fun.
>HTH.
>Regards,
>Branco.- Hide quoted text -

- Show quoted text -

I am currently in a class learning VB.NET and ASP.NET. Working with
the script I wrote I have been able to get 90% of it up and running
it's just the permissions things that's killing me. I have researched
it but when you start playing with permissions the information kinda
tapers off as far as explainations.

Update I got around the permissions in Exchange. I had them add that
particular account directly to the store so we don't have to add it to
the individual accounts. But I am faced with the task of setting
permissions on folders now. In my old script I called xcacls.exe and
set permissions on the new users home folder. In all honesty I can
still do it that way I was just really trying to get away from using
other tools in my program if I could help it but I'm not going to
dwell on it if the subject is to technical for me.

Thanks again for all the help.
I don't know how to fix your problem. you could try posting it to the ASP
group since it's an ASP question. I think it's
microsoft.publi c.dotnet.framew ork.aspnet.

Good luck.

Robin S.
Feb 16 '07 #8
if you want to run this as a SQL job; you would need to use VbScript


On Jan 25, 10:31 am, Systems Admin
<SystemsAd...@d iscussions.micr osoft.comwrote:
jvb, Branco

Thank you both for your reply.
Just so that i am more clear on my task... This program will run unattended
on a system as a regular interval, it will gather information about the
system than use some logic to get it organize and than compare with SQL
Database and update as it requires. I am not planning on creating any GUI
with this program.
Can this be done with VB.Net? Would it be easier for "non-Dot Net Expert"
like me?

Branco,
Great point on getting started with "VB 2005 Express Edition". I already
have that installed. What's the best next step for me to get started with VB
2005? Is there any book or web resource that you can recommend? I am not
planning to be an expert on vb.net, i just need some quick reference to get
started on this task.

jvb,
i could not agree more with you. The only way to learn is by doing it.

Thanks again for your help.

"Branco Medeiros" wrote:
Systems Admin wrote:
<snip>
I need to write a program/script that gathers some data from Windows
systems, compare it with SQL Database and update if it's changed.
<snip>
I am sure that i can do my task with VBScript.
But since this is not going to be a small script/program, should i go with
more powerful language like VB.Net even though i don't know much about it?
<snip>
VB.Net (2005), no doubt. Just take a little time to understand the
differences between VBScript and VB.Net, then launch VB 2005 Express
(the free editor/environment for VB.Net) and have fun.
HTH.
Regards,
Branco.

Feb 16 '07 #9

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

Similar topics

5
6815
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....
29
5993
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???
20
5946
by: Harag | last post by:
Hi All. I'm stating out doing some web developing. I was wondering which of the server side languages should I concentrate on and learn. I Know CSS, HTML, T-SQL I can look at the client javascript code and work out what it does but I can't really write it from scratch.
16
9328
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...
5
5184
by: gpence | last post by:
!!! Newbie question warning !!! I am somewhat familiar with javascript's ability to "access" the browser's favorites list -- for example, using window.home() will take you to the default URL -- is there any similar code for an ASP page using VBscript? I want my Logout button to take them back to their homepage. I've looked into...
4
12661
by: chris.dunigan | last post by:
I'm looking for an example of how to execute an existing DTS package from an ASP (VB)script and would appreciate any and all response. I don't even know if it's possible Thanks - Chuck Gatto Dan Guzman Apr 27 2000, 12:00 am show options
2
2843
by: Frank | last post by:
Can I do this? I add a session var in C# and ultimatly want to pass it into a vbscript client side activeX control. This is what I have so far but get " Object Required:'name2' " error. Can anyone suggest a btter way of passing a session var into a vbscript function? <%@ Page language="c#" debug="true" ContentType="text/html"
7
13429
by: skeddy | last post by:
In a nutshell, I'm trying to dynamically create a select box with ResultSet code in vbscript and then need to be able to access the value of that select box later with a Save button. I've got the select box filling with code similar to below: <SCRIPT LANGUAGE=VBSCRIPT RUNAT=SERVER> Public Sub BuildComboBox(rs, dispname, val, name,...
10
4686
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...
6
1940
by: rishabhshrivastava | last post by:
Hello All, I am using ASP.NET 2.0 and I am experiencing a problem using vbscript that is this script on client side is preventing the postback of my controls. I have a dropdownlist which is supposed to perform some fucntion when the selected index is changed, it works fine without vbscript code(when i comment out that code) but when I...
0
7682
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. ...
0
7935
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...
0
7780
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...
0
6009
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 projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5351
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 presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3479
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...
0
3465
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1037
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
734
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...

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.