User Profile

Collapse

Profile Sidebar

Collapse
jock1up
jock1up
Last Activity: May 4 '09, 09:07 PM
Joined: Jan 22 '08
Location: Central PA
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jock1up
    started a topic Array Members

    Array Members

    I am not sure, but are the items in an array also called members? I have a question and wasn't sure. Does this array have 4 members? Not totally sure what the quotes are used for or if these are counted the same as the other 2 .htm items.

    FrameArray=new Array("","","fr ame1.htm","fram e2.htm")
    See more | Go to post

  • jock1up
    started a topic Dates

    Dates

    I am trying to obtain a date with this code. I came up with August 8 and a friend thinks it is July 8 so I am confused? If I go with the month ending up as 8then couldn't it even be September?


    Now = newDate()
    newMonth = Now.getMonth()
    newDate = Now.getDate()



    I thought that months of the year are 0-11 as getMonth() and days of the week are 1-31 as getDate(). If newMonth = 8 and...
    See more | Go to post

  • jock1up
    replied to Cycling Banners and Clickable Links
    Thanks! I did try this and the links do work...only problem is that instead of the original banner doing this...it is still there, which doesn't cycle now...and the new one is above it so I have a duplicate banner. I need one that does this...hopefull y in the original spot.


    Here is more code further down...if that helps, couldn't put it all on here at once! The bold area is what references the existing banner that I had on...
    See more | Go to post
    Last edited by Dormilich; Feb 5 '09, 06:57 AM. Reason: added [code] tags

    Leave a comment:


  • jock1up
    started a topic Cycling Banners and Clickable Links

    Cycling Banners and Clickable Links

    I am working with javascript...wh ere I have cycling banners at the top, 3 of them and I need to make two of them clickable to a website that I assign to the two. bannerad2 for www.bigmtn.com and bannerad3 for www.bridgerbowl .com Not sure how to get this to work right, have tried some things and it usually ends up making duplicate banners above the original, which I don't want. Here is some of the code for now:

    Code:
    <html>
    ...
    See more | Go to post
    Last edited by Dormilich; Feb 3 '09, 09:57 PM. Reason: added [code] tags

  • jock1up
    started a topic Javascript Dynamic Greeting and using Switch

    Javascript Dynamic Greeting and using Switch

    Having a problem and have tried to rework the code and check for errors, but still isn't showing right on my brower. Have also viewed it with two different browsers and cannot figure this one out. Any help would be appreciated!

    Under a rolling banner on the page...I want a dynamic greeting to show how many days until a given holiday. Right now the only thing showing is the statement "Leave the party to Midwest Catering"...
    See more | Go to post
    Last edited by gits; Jan 23 '09, 03:44 PM. Reason: added code tags

  • Statements working with ADO data control and results

    Been working on some programming exercises in my spare time and don't fully understand this one related to ADO....Apprecia te any help on this.

    The name of the ADO data control is adoNum-----Was trying to figure which one of these statements would multiply the contents of the fldNum1 field by 3 and then store the result in the fldTot field?



    adoNum.Fields(f ldTot) = adoNum.Fields(f ldNum1) * 3
    ...
    See more | Go to post

  • If Clauses to Verify Array Subscript Validity

    I have this array and Dim statement:


    Dim curSales(1 to 5) as Currency


    Using an If clause, I was wondering which one might verify that the array subscript called intX was valid? I realize that this has to be within the range to be valid such as 1 to 5.


    If intX > 1 and intX < 5 Then
    If intX >= 1 and intX <= 5 Then
    If curSales(intX) >= 1 and curSales(intX)...
    See more | Go to post

  • jock1up
    replied to DataGrid Control Events
    Data Grid Control Events after Editing Completed in a Cell

    This is just for general information, not any specific result. Trying to understand these events or when they occur. Mostly wanted to know which ones or one occurs after editing is completed.
    See more | Go to post
    Last edited by jock1up; Feb 4 '08, 09:51 PM. Reason: Adding more Info

    Leave a comment:


  • jock1up
    started a topic DataGrid Control Events

    DataGrid Control Events

    I am working with editing within a DataGrid control cell and am confused about which events occur after the editing is completed. I see that 5 events can occur total, including the ones below and AfterColEdit, AfterUpdate.

    1. BeforeColUpdate/ 2. AfterColUpdate/ 3. BeforeUpdate or all of these occur?


    1. BeforeColUpdate says after editing is completed in a cell, but before dates is moved from the cell to the DataGrid...
    See more | Go to post

  • jock1up
    started a topic One-Dimensional Arrays in VB6

    One-Dimensional Arrays in VB6

    I am new to using Visual Basic and am trying to learn something about the 6.0 version. Having a problem in the area of one-dimensional arrays. After I create an array using a Dim statement and declare the values that I want, I assume that if I make another statement later it will replace the value of the original?

    Dim strFamily(3) as String


    strFamilyArray( 1) = "Jeff"
    strFamilyArray( 2) = "Kay"...
    See more | Go to post
No activity results to display
Show More
Working...