Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old March 8th, 2006, 02:17 AM
Registered User
Join Date: Mar 2006
Location: nagpur, maharashtra, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to yogeshkale
Default How use Windows API in asp

hello all

i am useing xmlhttp object to post some variables on others server and get bach the request. i stored that response but its ok with text/html but when there is a image i have download that and i am not able to download the image through asp application i have found one code in Vb6 can any one help me to sort out the problem.

Code in vb is as follows

'APU functions used to downloader functions
Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _
        (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, _
        ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long

Function DownloadFromWeb(ByVal strurl As String, ByVal SaveFilePathName As String) As Long
    On Error Resume Next

    Download1 = URLDownloadToFile(0, strurl, SaveFilePathName, 0, 0)

End Function


All 1 source Technologies
Mobile - 9822713953

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows API - Can I find the Active Application?? MAtkins Pro VB 6 3 August 23rd, 2013 06:10 AM
Excel Startup with Windows API rohit_ghosh Excel VBA 1 July 29th, 2008 04:20 PM
want to know book abt windows api bhavin12300 Visual Studio 2005 0 April 7th, 2008 07:37 AM
cross thread exception with windows live API YoungLuke C# 2008 aka C# 3.0 1 March 23rd, 2008 01:43 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.