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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. sweevo

    Vista - Have to Copy & Paste Twice

    Thanks for your reply. It's on a laptop so using its touchpad. It also happens with Ctrl-C/V, dragging an item from one folder to another, or using Send To to send the file to removable disks etc. This happens for any user and in Safe Mode. Do you think running a repair on Windows might...
  2. sweevo

    Vista - Have to Copy & Paste Twice

    Hello, I have a strange problem with Vista (Home Premium) where in the first instance of copying/cutting/pasting/dragging-dropping/Send To... of each computing session, I need to perform the operation twice. The first time it does nothing, and from then on it seems fine. Not a major problem...
  3. sweevo

    opening in app vs. browser

    As Vragabond said, your options are limited and you may decide that those available to you aren't worth the hassle. However... You could probably create an ActiveX object for this, although there are many other implications in doing so and I wouldn't personally recommend it. Another way is to...
  4. sweevo

    Open Word and Make Active

    Thanks, Works well. Here's what I have now... Sub openWord(sFilename) Set oShell = CreateObject("wscript.shell") Set oWord = CreateObject("Word.Application") oWord.Visible = True oWord.Documents.Open(sFileName) oShell.AppActivate "Microsoft Word" Set oWord = nothing Set oShell =...
  5. sweevo

    Open Word and Make Active

    Hello, I have a script which opens a file in Word: Sub openWord(sFilename) Set oWord = CreateObject("Word.Application") oWord.Visible = True oWord.Documents.Open(sFileName) Set oWord = nothing End Sub Currently this creates a Word instance behind any existing applications. What I...
  6. sweevo

    Datasheet Onclick

    Hello, If I have a form in datasheet view, can I invoke a command when one of the rows is clicked, wherever the row is clicked? I want to fire off an event which uses the ID column of the clicked row, but the closest I can get is with the onClick of the form, which only works when the grey...
  7. sweevo

    Persistent cookies

    As you mentioned, the way to get cookies to persist is to set the expiration date to far in the future. If you don't do this, the cookie is deleted when the session ends, so it effectively acts as a session variable (but its value is stored on the client, not the server). When you set the...
  8. sweevo

    Return Value from .Bat File

    Hello, If I shell out to a .bat file, is it possible to return any output back to the ASP directly, or do I need to write the output to a text file, then read that back in? At the moment I have the following: Dim objShell, iReturn set objShell = server.createobject("wscript.shell") iReturn =...
  9. sweevo

    Add New Records with Normalised Data

    Hello, Hopefully this will be a pretty straightforward question... I have a table, with many values foreign keys to data in other tables. I want to create a form in order to add new records to this table. I need the form to have drop-downs showing the text values from the other tables, which...
  10. sweevo

    Linked Forms/Add Record

    I am inexperienced with Access programming and am having trouble with linked forms. There are two tables as follows: Contacts -------- Contact ID (Replication ID) Surname Forename etc Notes ----- Note ID Contact ID Note Date Note Header Note Text Created By The user selects a Contact, and...
  11. sweevo

    Parameter Form/Query

    Hello, I have a parameter query, and a form that is run by a report to provide the parameters. This works fine apart from one aspect -- if I cancel (and close) the parameter form, the query still prompts for the missing parameters. Is there a way to just exit the whole lot without these...
  12. sweevo

    Return SQL Count to Variable

    The database is ingres. I've had a look at the FAQ but am having difficulty applying it to what I need. Thanks
  13. sweevo

    Return SQL Count to Variable

    Hello, Is it possible to call a SQL statement from a script (Bourne Shell) and assign its output to a variable - if possible without having to create and delete temp output files? The SQL is a Count query, that will return one value. I want to use this value for comparisons within the script...
  14. sweevo

    That annoying gap after a form

    Also try putting your form tags outside your <tr> </tr> tags
  15. sweevo

    New to ASP

    You'll probably find more resources doing a search on ASP and JScript (Microsoft's version of Javascript, and technically what is used when you write ASPs in Javascript). Have a look at thread333-715844 for more info.
  16. sweevo

    Click thumbnail to enlarge image - whats the best way?

    If you search "thumbnail" at www.download.com you'll get loads of different ones (both free and demos/shareware). I'm afraid I haven't used any myself so you'll have to experiment with the ones you find to see which one suits your needs the most.
  17. sweevo

    Click thumbnail to enlarge image - whats the best way?

    Blackduck, I think the way you described is best. It would allow summary thumbnails to be loaded quickly, and the user could then decide which larger image they would like to see. There is free software available to convert batch images into thumbnails. There are other ways, included the...
  18. sweevo

    document.domain

    Hello I am trying to define the document.domain value in two pages so some javascript can interact two pages on different servers (at the moment I can't host them on the same one). Page 1 is on, say, sub1.domain.com, and can be loaded in the browser by just typing "sub1" (so its...
  19. sweevo

    Host Header Delay

    Not to worry, I've sort of stumbled across it myself.
  20. sweevo

    Host Header Delay

    Ok, I've sort of got this. The problem was caused because the site I was trying to set up the host headers for was on port 85, not default 80. The DNS was obviously pointing to the default port and showing the wrong website. However, I know the port number is irrelevant on the DNS, so is...

Part and Inventory Search

Back
Top