473,385 Members | 1,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

code in VBSCRIPT

unable to understand following piece of code:

Call MsgBox("You must select a Task before proceeding to " & document.all("btnAttachments").value & ".",vbExclamation + vbOKOnly,"MYPAGE -- Profile Search")
Apr 3 '07 #1
3 1155
Killer42
8,435 Expert 8TB
unable to understand following piece of code:

Call MsgBox("You must select a Task before proceeding to " & document.all("btnAttachments").value & ".",vbExclamation + vbOKOnly,"MYPAGE -- Profile Search")
Displays a messagebox saying "You must select a Task before proceeding to xxxxx." where "xxxxx" is the value of a field or control or something (I'm a bit vague on that part) called "btnAttachments".

The messagebox will show the "critical" exclamation-mark icon, and contain only an OK button. Um... I think the "MYPAGE -- Profile Search" will be shown in the title bar of the dialogue box.
Apr 3 '07 #2
thanks !! it was a great help

Displays a messagebox saying "You must select a Task before proceeding to xxxxx." where "xxxxx" is the value of a field or control or something (I'm a bit vague on that part) called "btnAttachments".

The messagebox will show the "critical" exclamation-mark icon, and contain only an OK button. Um... I think the "MYPAGE -- Profile Search" will be shown in the title bar of the dialogue box.
Apr 4 '07 #3
vijaydiwakar
579 512MB
Displays a messagebox saying "You must select a Task before proceeding to xxxxx." where "xxxxx" is the value of a field or control or something (I'm a bit vague on that part) called "btnAttachments".

The messagebox will show the "critical" exclamation-mark icon, and contain only an OK button. Um... I think the "MYPAGE -- Profile Search" will be shown in the title bar of the dialogue box.
yes ur right
nice explanation
Apr 4 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

18
by: Sean | last post by:
Hi, I need a pop-up window for user to confirm change. The default button is the second option (No). As the user only use IE, I think the VBScript is an option. The following code only works for...
2
by: Frank | last post by:
When I used IE 6.0 to view the ASP page on Window 2000 server PC, I encountered the error message: "Expected end of statement". The ASP page code is as:...
20
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...
6
by: Andre | last post by:
Hi, I need to fetch a value in an Access db, so i use a form to pass the parameter for the SQL statement fromVB client to ASP. After the submit line in VBscript, i expect the value in order to...
3
by: John MacIntyre | last post by:
Hi, Can anybody give me a hint as to how to convert a javascript array into a vbscript array? BTW-it only needs to work in IE5 & 6 Thanks in advance, John MacIntyre VC++ / VB / ASP /...
5
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 --...
1
by: SABmore | last post by:
I have the following code that populates 3 independent drop-down boxes with data from arrays. From there the user can select a value from a drop-down list, or input data into a text box. The user...
2
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...
7
by: Mike Rand | last post by:
I am having a really hard time trying to get some client side code hooked up in VS2005, ASP 2.0. The code is in an .inc file (vbscript). The first problem I am encountering is the ASP.NET page...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.