Teknologi, AI og forretning er i centrum på Computerworlds Cloud og AI Festival i København d. 18. og 19. september. Se hele programmet for den store konference om strategisk brug af Cloud og AI på: www.cloud-festival.dk
May I ask why you need to create a shortcut from the database? Once the shortcut is created then you wont need to create it again an dif you do then you will get a copy ....
This should work with a few mods. You will need a reference to Windows Scripting Host Object Model (wshom.ocx).
Public Sub CreateShortcut()
'Reference wshom.ocx before using this code. Dim oShell As New IWshRuntimeLibrary.IWshShell_Class Dim oShort As IWshRuntimeLibrary.IWshShortcut_Class Dim strDesktopPath As String
'Get the path to the desktop strDesktopPath = oShell.SpecialFolders("Desktop") 'Create a new shortcut Set oShort = oShell.CreateShortcut(strDesktopPath & "\new shortcut.lnk") oShort.Description = "Developer Republic rules!" oShort.IconLocation = "notepad.exe, 0" oShort.TargetPath = "notepad.exe" oShort.WorkingDirectory = "c:\temp" oShort.Arguments = "C:\WINNT\directx.log" oShort.Save
Det har du ret i - problemet er at programmet også skal kunne bruges af flere personer, der ikke har stor interresse for PCer(de skal bare virke), men programmet skal gerne lave det der er besværligt(for dem).
Et tillægs spørgsmål: Hvordan får jeg lagt mit eget icon motiv ind i stedet for Notepad’s og hvor/hvordan skal den ligge i min database for at kunne følge med programmet og bruges (eks.: oShort.IconLocation = " C:\WINDOWS\system32\osk.exe, 0") – kan de kun ligge i en .dll eller som .lco??
indlejre den I DATA basen. (Undskyld min skrivefejl) Det jeg ønsker at undgå er at have mere end frontend og backend der er at se - ønsket er at lægge det icon, til genvejen, inde i databasen - så genvejens billed(icon) hentes inde fra databasen. Det du foreslår er en ekstra fil i biblioteket hvor databasen ligger??
Its normal to put icons etc in the same folder as the database and it isnt an easy task actually wriring it to the database and getting it out again.
If you want to make a proffesional job of installing your database I wouold look at making an installation (set-up) kit. All the files are packed into one file (setup.exe) and then when runb they get placed where you want them. And as mentioned previously they also make an entry in the Start menu.
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.