Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / April 2006

Tip: Looking for answers? Try searching our database.

VB Script vs. Java Script

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hasse - 10 Apr 2006 10:10 GMT
Hi,

What would the community recommend to use in InfoPath,
VB Script or Java Script?
First of all I want to use script to get information from our AD and to set
running number in a SQL database and in the future maybe I will come up with
other ideas where scripting is useful. If I understand it correct it is not
possible to have both VB Script and Java Script in the same form.

Regards,
Hans
Greg Collins [InfoPath MVP] - 11 Apr 2006 00:13 GMT
Correct - you cannot have both scripts in the same form code.

My recommendation would be to use managed code (C#.NET or VB.NET) rather than script because there is so much more that can be done with it.

But if you need to use script, use whichever you (and anyone else who will be working on the code) are most comfortable with. For me that is JScript... If the majority of your devs are familiar with a particular language, use that.

Signature

Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com

Hi,

What would the community recommend to use in InfoPath,
VB Script or Java Script?
First of all I want to use script to get information from our AD and to set
running number in a SQL database and in the future maybe I will come up with
other ideas where scripting is useful. If I understand it correct it is not
possible to have both VB Script and Java Script in the same form.

Regards,
Hans
Greg Collins [InfoPath MVP] - 11 Apr 2006 00:13 GMT
Correct - you cannot have both scripts in the same form code.

My recommendation would be to use managed code (C#.NET or VB.NET) rather than script because there is so much more that can be done with it.

But if you need to use script, use whichever you (and anyone else who will be working on the code) are most comfortable with. For me that is JScript... If the majority of your devs are familiar with a particular language, use that.

Signature

Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com

Hi,

What would the community recommend to use in InfoPath,
VB Script or Java Script?
First of all I want to use script to get information from our AD and to set
running number in a SQL database and in the future maybe I will come up with
other ideas where scripting is useful. If I understand it correct it is not
possible to have both VB Script and Java Script in the same form.

Regards,
Hans
Ben Walters - 11 Apr 2006 00:22 GMT
Hans,
Based on the functionality you want to implement I would recomend you use
managed code rather than script. This will require that you have access to
the following

- InfoPath SP1 (Freely downloaded from Microsot)
- Visual Studio 2003 or 2005 (Licensed product)
- InfoPath toolkit for Visual studio
note: the InfoPath toolkit for visual studio is free for 2003 however it is
licensed as part of VSTO2005 (Visual Studio Tools For Office)

Also you will need to have InfoPath SP1 installed on your client machines
who are going to use the form with managed code.

Hope this helps

Cheers
Ben

> Hi,
>
[quoted text clipped - 7 lines]
> Regards,
> Hans
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.