I have, not necessarily a Jscript question, but a programing question.
In an html file I call a Jscript function and pass it 4 variables:
<script language="JavaScript1.2">myfunction(var1,var2,var3,var4);</script>
the Jscript function is in an external .js file.
Each variable can...
Hey Everybody,
I have my users enter some information into a form and submit it.
Then I do the standard checking of the form to make sure all entries were filled in correctly, if they were, the information is posted.
What I'm worried about is swearing and other such bad language. I would...
Hey everyone,
I have a file that is java script. At the beginning of the file I define an array of pictures like this:
images[0]="....stuf...";
images[1]="....stuf...";
images[2]="....stuf...";
...
images[15]="....stuf...";
Anybody can add their...
Hey guys here's my issue:
I am interested in determining if a file exists. Here's the scenario:
1) user wants to add their engineering website to my linklist.
2) User fills in a simple form - name, eng porgram, URL of websited, etc.... and hits submit.
3) I want to verify that the URL they...
I would like to take thread707-567962 a little further.
Is it possible to disable the close button on a word document?
The reason I would like this is, there is a Macro I want to run before I exit my Word documents and by force of habit, I frequently hit the (x) and click save. I want to...
Hello,
I have a simple For loop in a Word Macro
For i = 1 To count.Value
rnga = "A" + Str(i)
rngb = "B" + Str(i)
oWbk.Sheets(1).Range(rnga).formulaR1C1 = myarray(0, i)
oWbk.Sheets(1).Range(rngb).formulaR1C1 = myarray(1, i)
Next i
My only problem is Str(i) returns...
Hello,
I have populated a combobox using:
ml.OLEFormat.Object.Column() = myarray
My problem is, once I have closed the document, after saving of course, I lose the contents of the combobox.
How do I save what has been inputted into the combobox?
Thanks in advance,
NoChoice
Hi Everybody,
I'm having a bit of trouble explaining what I'm trying to do, so please bear with me.
I have a website with the following code:
<html>
<head>
<title>Frosh Galleries</title>
</head>
<body>
<script language="JavaScript1.2"...
Hey Everybody,
OK here's my problem - this is starting to sound vaguely familiar:
I have a multi column combobox that has been populated using the following code:
ml.OLEFormat.Object.Column() = myarray
This is what I can't do:
I want to search through the combobox and when it finds an entry...
Hi, It's me again.
What I would like to do is use AddItem to add an item to a Multi Column ComboBox.
What I currently use is an array. The problem with the array is I have to specify a length:
Dim myarray(2, 10000)
I made it 10,000 to ensure I had enough room.
To fill the combobox, I use...
Good Afternoon - depends on when you read this,
I have a document with 100 checkboxes and beside each checkbox is a combobox,
If I currently have selected a checkbox, how can I select the adjacent combobox?.....It's a little more complicated than wdExtend I think; here is my code:
'searches...
Hello,
I have a variable:
name_combo = "ComboBox1"
I want to do this:
name_combo.AddItem CheckBox1.Caption
I keep getting this:
Run-time Error '424':
Object required
I realize that VB considers the variable 'name_combo' as an object that doesn't exist. What can I do to fix my...
I want to take my thread: thread707-586046 A little further.
I've been experimenting with this code, what I want do do now is the same thing except with comboboxes where my combobox's are named ComboBox1, ComboBox2 etc...
First I tried to use the code supplied and find what type of...
Hi There,
Here is what I'm trying to do:
I have a combobox and 3 buttons associted with the combobox
1)add - Adds an entry
2)remove - Remove an entry
3)remove all - Removes all entries
Let's call these 4 objects a Group
I have 2 groups.
I can easily remove a group.
My problem is adding a...
Here's My Code:
#==========================
open(OUTF,"+>>submit.js");
flock(OUTF,2);
seek(OUTF,0,2);
close (OUTF);
#==========================
Note: As far as I'm aware, +>> allows me to open the file with read/write/append/create privileges.
Here is the structure of submit.js...
Hey everybody,
I open a document (doc1.doc) using the file open command (like clicking with my mouse no code), I then click a button in doc1.doc, and it opens a new document (doc2.doc). How do I find the name of doc1.doc? The reason is, I need to pass the value of a checkbox from doc1.doc to...
I have added a checkbox, I want to change its name and caption, the problem is when it is added, I don't know its name, how can I go about changing a checkbox's name when I first add it? Here is my code to add the checkbox:
Selection.InlineShapes.AddOLEControl...
Here are my questions:
1) How do I turn the entire menu bar off -file, view, help, etc....? -using VBA of course
2) How do I create a directory? - Again using VBA
3) How do I find screen resolution (example, whether I'm running on 800x600, 640x480, etc...)? Is it possible?
4) I have added a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.