Awesome, It works perfectly!
I combined both of your ideas and came up with this:
output = new Array(first, second, third);
//define arrays
for(count=0; count < url.length; count++) {
document.write (url[count]);
for (counter=0; counter < output.length; counter++) {
if...
it's a bit abstract for me too I haven't written the code yet I'm working on structure right now, but here's what I can tell you:
var1 = what should be displayed in the first column
var2 = what should be displayed in the second column
var3 = what should be displayed in the third column
var4 =...
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...
Ok, both look like good options.
I am attempting to implement Regexp::Common::profanity but would also like to try the array deal, I see it as being a little more flexible - although tedious.
If I had a variable $name and it's value was "MikPPPe JohnPPPston":
$name = "MikPPPe...
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 haven't had a chance to try this yet, I'm assuming that it works, so here's my next question: Why will it work if I break up the word script?
It just doesn't make sense to me, I'm not saying that it doesn't, I just don't understand.......
thanks,
NoChoice
I have a .js file that is loaded exactly as you have stated above:
<script src="myTextFile.js"></script>
In this .js file, I have this line:
<script src="myTextFile.js"></script>
unfortunately I can't seem to embedd a .js call within a .js file......
Is it possible to...
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...
try this to move the cursor to the beginning of the file:
Selection.HomeKey Unit:=wdStory
to move your cursor 524 time to the left:
Selection.MoveLeft Unit:=wdCharacter, Count:=523
note: This puts you at the beginning of Character 524
to highlight final 2 spaces
Selection.MoveLeft...
Redwolfe,
To insert a symbol into a powerpoint textbox:
MyTxtBox.InsertSymbol FontName:="Symbol", CharNumber:=226
this inserts Character 226 from the Symbol font set to a textbox called MyTxtbox.
To run this when opening the file put the code in a sub called AutoOpen. To do this...
Assuming you are populating a listbox or a combobox on a form, first you need to create an array then you fill the box with the array, here is an example of populating MyListBox on MyUserForm:
Dim MyArray(2,100) as String
'If you do not know the dimensions of the array, dimension it like this...
Here is some of my code, I hope it helps you:
Dim oExcel As Object
Dim oWbk As Object
'opening excel in the background
Set oExcel = CreateObject("Excel.application")
Set oWbk = oExcel.Workbooks.Open("name of excel file.xls")
'this saves and closes excel
oWbk.Save...
This is my solution:
Mycombobox.BoundColumn = 1
MsgBox MyCombobox.value
Mycombobox.BoundColumn = 2
MsgBox MyCombobox.value
Displays the following:
aa152c126
Chapter 1
I hope this helps anybody who's interested in reading from a multicolumn Combo or List box.
Cheers,
NoChoice
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.