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 wOOdy-Soft 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 DJSmith

  1. DJSmith

    ReadEventLog problems

    Yeah I guess that could be handy.. woops! Using VB6 lReturnCode = ReadEventLog(lLogHwd, EVENTLOG_SEQUENTIAL_READ, lLogPos, VarPtr(Log), lNumBytesToRead, lBytesRead, lMinNumBytesNeeded) Where all of the variables are of type long except bLog which is of type Variant. 56 is the value set into...
  2. DJSmith

    ReadEventLog problems

    Hi Guys, No matter how I try to call the ReadEventLog API it always returns a value of 87 (ERROR_INVALID_PARAMETERS). So I am obviously trying to use the wrong variable types (or values). I have searched extensively across the web but can't find a solution. Any hints or sample code would be...
  3. DJSmith

    Formula Field Date + 28 days

    Hi Guys, I need to add a field onto a mail merge document that displays the current date + 28 days. I can write the code for this no worries in a macro (VBA) but i'm not sure how I should be adding it onto each document (This needs to be done automatically when the document is opend and...
  4. DJSmith

    Copying File to Network Path - Permissions Problem

    Hi, I've got an asp application which allows users to upload files onto the webserver. As a part of this process I need to copy the file into a network directory (this is done via functions written in a VB6 ActiveX dll). The network directory is shared with permissions that contain Fill Control...
  5. DJSmith

    MS Word Save Without VBA Code

    Hi, I have a word document that contains a reasonable about of VBA code that is used to generate a word document. As one of the last steps of the process the document is is Saved As. Unfortunately as part of this process the macro code is also saved into the new document. Is there anyway of...
  6. DJSmith

    Determining Version of MS Word

    Hi Guys, I have a program which is written in VB6 and interacts with Microsoft Word. However for part of the program I need to know what version of Word is installed on the clients machine (eg 2000,2002 or XP). Does anyone know how this can be determined from code Thanks DJ Smith. PS I am...
  7. DJSmith

    java.lang.NoClassDefFoundError Test

    I am using Windows XP and I am setting my CLASSPATH through enviroment vairables (On the system settings from control panel) C:\j2sdkee1.4\lib\j2ee.jar;c:\j2sdk1.4.1_01\lib\tools.jar I also have the JAVA_HOME and Path varibales set up. I am running my app from the directory where the class...
  8. DJSmith

    java.lang.NoClassDefFoundError Test

    I'm trying to run my java class from a command prompt and keep on getting the error Exception in thread "main" java.lang.NoClassDefFoundError: Test My CLASSPATH system variable seem to be set correctly but I am still getting this error on all java programs (reqardless on whether I set the...
  9. DJSmith

    Emails to Public Folders show up as posts

    We have just moved across to Exchange 2003 and emails that are sent to a public folder from within our network (machines that are connected directly to the Exchange Server) come in fine, however emails sent to this public folder from locations external to our origanisation show up as Posts...
  10. DJSmith

    Plz help, why won't this println?

    Your setting your variable hash as an array of long's with a size of 6000. But you are only setting the first item to have a value (55). Your println call is working but you are printing out 6000 lines of which the last 5999 are blank.
  11. DJSmith

    object to string

    When using session objects type casting is the best way to do it. So to get a string out you would go String strTesting = (String)session.getAttribute("myString");
  12. DJSmith

    Java program to open excel file every day and print it

    You need to use a Java COM Bridge to be able to use MS Office programs from a java environment. I have found that JACOB (JAva-COm Bridge) is quite easy to use (http://danadler.com/jacob/). There are plenty of examples around on how to use JACOB and running the process everyday should just be a...
  13. DJSmith

    Servlets not found on the Internet

    Spot on - This new application is just an extension on an existing website. Found out that my problem was to do with the uriworkermap.properties. Without restarting the IIS server the changes made to this file do not take effect (even when tomcat is stopped and started). Thanks for the help.
  14. DJSmith

    Servlets not found on the Internet

    I have a problem accessing servlets when my application is being run over the Internet. When the application tries to load the servlet a Page Cannot be Found page is displayed. However when I reference the site through an intranet address the servlets function perfectly. I am running IIS and...

Part and Inventory Search

Back
Top