Marook-Online
* 06.Feb.2012, 14:58 UTC+1
Welcome, Guest. Please login or register.
Username:
Password:

News: Back again Wink
Main Menu
  Navigation
   Downloads
     Tools
     Music Discs
     SMF Mods
     Trainer & Patches
     EgoShare Uploader
   Guestbook
   NoPaste
   User Map
   Gallery
  
   Malware Scan
   Hacker Blacklist
   Find Abusemail
Top Downloads
Support Me !
Help me by donating a small amount!



Advanced search

Google


Pages: [1]   Go Down
0 Members and 1 Guest are viewing this topic. Topic Tools  
Read
09-Dec-2007 00:01
Marook
Administrator
*****
Offline Offline

Joined: 01-Jan-2005
Posts: 224


This small code shows simply up the file download dialog like you've clicked a download in your browser...

Code
GeSHi (vb):
  1. Option Explicit
  2.  
  3. Private Declare Function DoFileDownload Lib "shdocvw.dll" (ByVal lpszFile As String) As Long
  4.  
  5. Private Sub Form_Load()
  6.  Dim sURL As String
  7.  Dim sFile As String
  8.  
  9.  sFile = "http://www.marook-online.de/smf/index.php?action=tpmod;dl=get2"
  10.  'The DoFileDownload API expects the url as unicode
  11.  sURL = StrConv(sFile, vbUnicode)
  12.  
  13.  'And finally call the api
  14.  DoFileDownload sURL
  15. End Sub
  16.  
Created by GeSHI 1.0.7.20
Logged
 

Pages: [1]   Go Up
Jump to:  

Theme by webtechnica.net

MHD v2.1 © 2oo8 by Marook
32116 hacking attempts defended!