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 Chriss Miller 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. towser

    Beginner help: Update a table from a recordset

    Basically I'm running this bit of code in order to update records in a table, however the code will only update the 1st record and not the full record set. I'm brand new to VBA and I'm very frustrated. I was thinking maybe a function or a loop to apply code to each record in turn Please...
  2. towser

    Display a binary PDF file from a database in ASP

    Even though that works, I'd rather the PDF open within IE rather than fully opening Acrobat, is that possible ? Thanks in advance
  3. towser

    Display a binary PDF file from a database in ASP

    Sheco that works a treat mate, you are a star. The only thing that I know my users will probably complain about is the windows file download alert prompt !! But I bet you can't control that in the response object settings. Cheers Again.
  4. towser

    Display a binary PDF file from a database in ASP

    Thanks Sheco. All I know is when I response.write the variable suposedly containing the PDF it just displays a load of ????% etc. I will try your code and get back to you.
  5. towser

    Display a binary PDF file from a database in ASP

    I have an ASP application that calls a VB component, requesting a PDF from a back end DOC1 application. The PDF is passed back to the ASP as binary within a variable of type VARIANT. How can I then display this binary data as a PDF document? I've used the response object to do this before, but...
  6. towser

    Create a VB exe that can be run as a Service

    Is it possible to somehow enable a simple VB exe to be run as a Service on a remote computer?
  7. towser

    How do I stop a form being submitted twice ?

    Cheers Dan. Unfortuately the webpages are being displayed on the fly from an XML message passed back to webserver from a mainframe via an XSLT transformation, so I was kinda hoping they'd be a simple Javascript solution. I'll look into that anyway though.
  8. towser

    How do I stop a form being submitted twice ?

    I have a problem where a users are submitting a form more than once and this is then sending duplicate messages to my back end system. Is there a way I can trap and subsequently stop the form being submitted twice ? P.S I don't want to disable the submit button and they also have a requirement...
  9. towser

    Access Denied when creating DCOM object on W2K

    Just to confirm I'm trying to create the object from an ASP page like this and this is the line I get the error on. set objServer = Server.CreateObject("dcomServer.ctest")
  10. towser

    Access Denied when creating DCOM object on W2K

    I have created a server application in COM+ to run under a specific Domain userID on an W2K applicationserver. I've then installed a very basic VB component into the package that returns a string value. I then export the package as a proxy client and install the MRSI package on a W2K webserver...
  11. towser

    Dynamically build HTML in VB advice.......

    dilettante, I'm not sure you should use the phrase "I tossed off" in future posts.
  12. towser

    Dynamically build HTML in VB advice.......

    Thanks dilettante, that is usefull. I was kinda hoping there would be a method that wouldn't involve that type of manual translation of the XML tags, but I guess it was wishfull thinking. I did look at the XSLT but that needed to be rigidly fixed to the XML format coming in and I haven't got...
  13. towser

    Dynamically build HTML in VB advice.......

    Thanks. The idea is to create a very basic html output, the layout and style will then be controlled using specific Cascading Style Sheets. The XML will basically contain a load of tags either containing text or field names and then the attributes for those fields i.e maxlength, font class and...
  14. towser

    Dynamically build HTML in VB advice.......

    I have to develop a VB Component that reads through a defined XML document and then dynamically build HTML or ASP code which will be splatted into an existing template on the web server. The Component will sit on an APP server so I don't think it will have the IIS capabilities to use the...
  15. towser

    SQL Injection Validation Help Please.........

    I've been tasked with creating a standard ASP function that will validate all input fields for SQL injection attacks from hackers Server Side. After several hours of browsing it appears the best method is to create a pattern using the Regular Expression object and validate against that. This...
  16. towser

    The HTTP_REFERER does not contain the page name !!

    I've got an application that uses the HTTP_REFERER variable. This application is working on all our current servers but we're currently building a new server for testing and for some reason it doesn't work on it. I've done some debugging and it's the HTTP_REFERER causing the problem. When I...
  17. towser

    How do I Check a Server is up ?

    We have an old web site hosted on a web server. From a page on that server the user can re-direct to a new application hosted on another web sever. If this server is down then the standard ASP error is dipslayed which isn't very neat. Can I run a script in the background on a web page that...
  18. towser

    Pass query to detail page ?

    Have you checked the querystring value ID in picture.asp is actually containing an ID ? I say that because the way you pass it to picture.asp doesn't look correct to me. Also try display the sql statement you are running and then physically run that on the database and see what happens.
  19. towser

    Activating MTS in a component - is it working ?

    Thanks Chiph. What does work in MTS using VB ? Are you saying that if I want a component that handles my security to run under MTS I need to write it in C++ or use .NET ? All I'm interested in is making the component more efficient by using MTS, so a new object isn't created for each instance...
  20. towser

    Activating MTS in a component - is it working ?

    I've only recently began using components and have completed one that handles security for a web application. As the number of users will be large I've been told to run the component under MTS. A week later and several books digested I've slapped some code into the component, registered it in a...

Part and Inventory Search

Back
Top