Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by RPrinceton

  1. RPrinceton

    Bolding lines not working properly

    Hello Fumei, Thank you for the tips. I will certainly make use of this valuable information. The previous response posted by combo corrected the problem. Thank you again. Regards, RPrinceton
  2. RPrinceton

    Bolding lines not working properly

    Hello Everyone, I am using Word Object Library 9.0. This code is executed from within VB6. I have four lines of Word content. The following block of code is designed to "bold" the first line of the content while keeping the remaining three lines "non-bolded". The problem is this. The first...
  3. RPrinceton

    Subreport reports old data

    Hi synapsevampire, Thank you for the info. I am using Crystal Reports 8.0.0.0.377 with VB 6 SP6 and apologize for not including it in the original correspondence. I have tried a few of the examples and they don't work either. I can say with certainty that at run time Crystal Reports is using...
  4. RPrinceton

    Subreport reports old data

    Hi All, At run time I am trying to change the file from which a subreport gets it data. I believe the code snippet below is correct, however at run time the subreport presents old data i.e., the data from the path I used at design time. I have ensured that the report does not save data both in...
  5. RPrinceton

    Setting the Datasource with a file path

    Hi All, I am using Crystal Reports 8.5 and VB6. I want to report on an ascii file that will located in several different locations on the hard drive. I am able to get the ODBC set up and the report defined. It appears that the SetDataSource property is where Crystal Reports will look for the...
  6. RPrinceton

    Year returned in strange format

    Hi Everyone, The code below yields a year of 106. I think the 1 is supposed to mean 20 (a Y2K thing). I can certainly test for the one, but is there another Javascript function to produce a 4 digit year? Please advise. Regards, RPrinceton Javascript: <!--BegHide hdg = "Excellence in...
  7. RPrinceton

    Submit function does ot submit

    Hi Everyone, I "Googled" the error message "submit is not a function" and apparently someone else was having the same issue. I have pasted the link to this issue. http://archives.hwg.org/hwg-languages/000e01bfd18a$23700860$4596a8c0@kpurtell Seems the "name" attribute is the culprit. I removed...
  8. RPrinceton

    Submit function does ot submit

    Hi All, I am trying to use Javascript to submit a form as opposed to the button doing the submit. Below is the code used to do this. I have included notes as to what happens when the button is clicked. I hope it is clear. I am testing in both Internet Explorer and Firefox. I am not sure...
  9. RPrinceton

    When is a file considered to be accessed

    Hi Everyone, I am using the code snippet below to obtain the last access timestamp of a file. It returns the same timestamp even though I have opened and closed the file with another application. My question is this. What constitutes a "File Access" i.e., when does the file access attribute...
  10. RPrinceton

    Word and Excel constants

    Hi TonyJollans and fumei, I did a little more research. I found some code that extracts the constants. I modified the code to insert the constants along with their respective values into an Excel spreadsheet one sheet per MS Office application. I have included my VB6 code below to share with...
  11. RPrinceton

    Word and Excel constants

    Hi, I see constants like wdSaveChanges and xlMaximized all over the place. However what I don't see is one place that lists them all. Can anyone tell me where I can get the full list of both the Word and Excel constants? Please advise. Thx in advance. Regards, RPrinceton
  12. RPrinceton

    Strange typematch

    Hi Everyone, I have implemented strongm's solution and it works properly. Thank you again. Regards, RPrinceton
  13. RPrinceton

    Strange typematch

    Hi vladk, I have isolated the type match problem. I have included the code snippet. Please bear in mind that this code displays the correct week number when running in the IDE mode, however when compiled the week number displays as blank. It is as though the CopyMemory function does not work...
  14. RPrinceton

    Strange typematch

    Sorry vladk, I'm not following. What do you mean by introduce? Can you give me an example? I have it defined as follows: Type NFLDsect RecdCode As String * 1 Week As String * 2 End Type Dim NFLIO As NFLDsect WkIdx = NFLIO.Week Is this not correct? Please advise. Thx in...
  15. RPrinceton

    Strange typematch

    Hi Everyone, Please enlighten me. Environment: VB6 SP3 Windows 2000 Pro. I have a user defined Type named NFLIO.Week defined as String * 2. With field WkIdx defined as Integer I receive a type mismatch error in the following scenarios: WkIdx = CVar(NFLIO.Week) WkIdx = CInt(NFLIO.Week) WkIdx =...

Part and Inventory Search

Back
Top