Click here to Skip to main content
15,894,825 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Security Question on a Windows Service Pin
KreativeKai11-Jan-05 5:57
professionalKreativeKai11-Jan-05 5:57 
GeneralRe: Security Question on a Windows Service Pin
Dave Kreskowiak11-Jan-05 9:07
mveDave Kreskowiak11-Jan-05 9:07 
Generaldate show Pin
Makniteasy10-Jan-05 21:09
Makniteasy10-Jan-05 21:09 
GeneralRe: date show Pin
Gavin Jeffrey10-Jan-05 22:40
Gavin Jeffrey10-Jan-05 22:40 
GeneralReadFile not working in VB.NET Pin
Roman Nurik10-Jan-05 20:00
Roman Nurik10-Jan-05 20:00 
GeneralRe: ReadFile not working in VB.NET Pin
Dave Kreskowiak11-Jan-05 5:32
mveDave Kreskowiak11-Jan-05 5:32 
GeneralRe: ReadFile not working in VB.NET Pin
Roman Nurik11-Jan-05 5:38
Roman Nurik11-Jan-05 5:38 
QuestionHow to set the first parameter of URLDownlofToFIle() in VB. Pin
girijaa10-Jan-05 18:50
professionalgirijaa10-Jan-05 18:50 
Sniff | :^) How to set the first parameter of URLDownlofToFIle() in VB.

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

I have created a dll ,which makes use of the urldownloadtofile win32 API.
This dll works fine from within VB.

But when I access it from ASP ..the urldownloadtofile function ..wont work ..

I supose it has got to do something with the first parameter :

pCaller

Pointer to the controlling IUnknown interface of the calling Microsoft ActiveX component (if the caller is an ActiveX component). If the calling application is not an ActiveX component, this value can be set to NULL. Otherwise, the caller is a Component Object Model (COM) object that is contained in another component (such as an ActiveX control within the context of an HTML page). This parameter represents the outermost IUnknown of the calling component. The function attempts the download within the context of the ActiveX client framework and allows the caller's container to receive callbacks on the progress of the download.


Please help me out...
AnswerRe: How to set the first parameter of URLDownlofToFIle() in VB. Pin
Dave Kreskowiak11-Jan-05 4:31
mveDave Kreskowiak11-Jan-05 4:31 
GeneralRe: How to set the first parameter of URLDownlofToFIle() in VB. Pin
girijaa11-Jan-05 18:10
professionalgirijaa11-Jan-05 18:10 
GeneralRe: How to set the first parameter of URLDownlofToFIle() in VB. Pin
Dave Kreskowiak12-Jan-05 1:10
mveDave Kreskowiak12-Jan-05 1:10 
GeneralRe: How to set the first parameter of URLDownlofToFIle() in VB. Pin
Dave Kreskowiak13-Jan-05 1:55
mveDave Kreskowiak13-Jan-05 1:55 
GeneralAdd nodes to Treeview Pin
vilasjain10-Jan-05 17:33
vilasjain10-Jan-05 17:33 
GeneralRe: Add nodes to Treeview Pin
Robert Rohde10-Jan-05 20:42
Robert Rohde10-Jan-05 20:42 
GeneralCreating the Treeview nodes dynamically Pin
vilasjain10-Jan-05 17:30
vilasjain10-Jan-05 17:30 
GeneralRe: Creating the Treeview nodes dynamically Pin
Jodd11-Jan-05 3:01
Jodd11-Jan-05 3:01 
GeneralDataGrid Mouse Hover Pin
Sumit Domyan10-Jan-05 16:19
Sumit Domyan10-Jan-05 16:19 
GeneralRe: DataGrid Mouse Hover Pin
Robert Rohde11-Jan-05 3:03
Robert Rohde11-Jan-05 3:03 
GeneralVB Callback functions in a C DLL Pin
mannywine10-Jan-05 11:04
mannywine10-Jan-05 11:04 
GeneralVB Web Server Pin
RCOLATRU10-Jan-05 11:02
RCOLATRU10-Jan-05 11:02 
GeneralRe: VB Web Server Pin
Dave Kreskowiak11-Jan-05 4:25
mveDave Kreskowiak11-Jan-05 4:25 
GeneralRe: VB Web Server Pin
RCOLATRU11-Jan-05 4:38
RCOLATRU11-Jan-05 4:38 
GeneralRe: VB Web Server Pin
Dave Kreskowiak11-Jan-05 15:44
mveDave Kreskowiak11-Jan-05 15:44 
QuestionBest way to stream video? Pin
[DK]KiloDunse10-Jan-05 9:41
[DK]KiloDunse10-Jan-05 9:41 
AnswerRe: Best way to stream video? Pin
Dave Kreskowiak11-Jan-05 4:15
mveDave Kreskowiak11-Jan-05 4:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.