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...
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.
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.
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...
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.
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...
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")
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...
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...
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...
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...
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...
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...
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...
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.
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...
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...
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.