Click here to Skip to main content
15,900,461 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Linking MSDN... [EDITED] Pin
Scott Serl22-Apr-05 8:09
Scott Serl22-Apr-05 8:09 
GeneralExport Crystal Report to Word Pin
IvanChang21-Apr-05 21:42
IvanChang21-Apr-05 21:42 
GeneralCalling Oracle Stored Functions Pin
Jorge Estrada21-Apr-05 18:01
Jorge Estrada21-Apr-05 18:01 
GeneralRe: Calling Oracle Stored Functions Pin
Christian Graus21-Apr-05 19:00
protectorChristian Graus21-Apr-05 19:00 
GeneralRe: Calling Oracle Stored Functions Pin
Jorge Estrada22-Apr-05 4:31
Jorge Estrada22-Apr-05 4:31 
GeneralRe: Calling Oracle Stored Functions Pin
Mohamed Ishak22-Apr-05 20:47
professionalMohamed Ishak22-Apr-05 20:47 
GeneralRe: Calling Oracle Stored Functions Pin
Jorge Estrada25-Apr-05 3:08
Jorge Estrada25-Apr-05 3:08 
Questionwhat is wrong with this code????? Pin
hjaycox21-Apr-05 14:08
hjaycox21-Apr-05 14:08 
Confused | :confused: what is wrong with this code. I am trying to create a shortcut that is displayed on the desk top.

this is in the declarations of the form



Private Declare Function fCreateShellLink Lib "STKIT432.DLL" (ByVal lpstrFolderName As String, ByVal lpstrLinkName As String, ByVal lpstrLinkPath As String, ByVal lpstrLinkArgs As String) As Long

This is in the form command click

Private Sub Command1_Click()
Dim lRETURN As Long
lRETURN = fCreateShellLink("C\documents and settings\administrator\desktop", "Shortcut to logbook", "c:\drags\logbookv10.exe", "")

End Sub


The results are:: NOTHING, NOTHING, NOTHING

What is wrong??????????????????????????????

AnswerRe: what is wrong with this code????? Pin
Dave Kreskowiak21-Apr-05 16:32
mveDave Kreskowiak21-Apr-05 16:32 
GeneralRe: what is wrong with this code????? Pin
hjaycox22-Apr-05 9:38
hjaycox22-Apr-05 9:38 
GeneralRe: what is wrong with this code????? Pin
Dave Kreskowiak22-Apr-05 13:10
mveDave Kreskowiak22-Apr-05 13:10 
GeneralListView DragDrop Pin
RobDog88821-Apr-05 13:01
RobDog88821-Apr-05 13:01 
GeneralRe: ListView DragDrop Pin
Dave Kreskowiak21-Apr-05 16:19
mveDave Kreskowiak21-Apr-05 16:19 
GeneralRe: ListView DragDrop Pin
Anonymous21-Apr-05 18:56
Anonymous21-Apr-05 18:56 
GeneralRe: ListView DragDrop Pin
Dave Kreskowiak22-Apr-05 0:57
mveDave Kreskowiak22-Apr-05 0:57 
GeneralRe: ListView DragDrop Pin
RobDog88822-Apr-05 6:28
RobDog88822-Apr-05 6:28 
GeneralHelp: Combo Box Items Pin
Anonymous21-Apr-05 11:36
Anonymous21-Apr-05 11:36 
GeneralRe: Help: Combo Box Items Pin
Dave Kreskowiak21-Apr-05 16:13
mveDave Kreskowiak21-Apr-05 16:13 
Generalsetting a variable NAME Pin
mike2k521-Apr-05 8:29
mike2k521-Apr-05 8:29 
GeneralRe: setting a variable NAME Pin
Anonymous21-Apr-05 9:26
Anonymous21-Apr-05 9:26 
GeneralRe: setting a variable NAME Pin
Colin Angus Mackay22-Apr-05 0:32
Colin Angus Mackay22-Apr-05 0:32 
GeneralQuery !! Pin
vishalmishra21-Apr-05 7:51
vishalmishra21-Apr-05 7:51 
GeneralRe: Query !! Pin
vertig073021-Apr-05 9:52
vertig073021-Apr-05 9:52 
GeneraltStartup Application Pin
ADY00721-Apr-05 7:33
ADY00721-Apr-05 7:33 
GeneralRe: tStartup Application Pin
Dave Kreskowiak21-Apr-05 7:41
mveDave Kreskowiak21-Apr-05 7:41 

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.