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
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...
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...
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...
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...
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...
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...
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...
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...
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...
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
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...
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...
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 =...
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.