Click here to Skip to main content
15,886,137 members
Home / Discussions / C#
   

C#

 
QuestionSystem.Data.SQLite gives attempt to write to read only database Pin
rbsbscrp16-Aug-13 8:57
rbsbscrp16-Aug-13 8:57 
QuestionRe: System.Data.SQLite gives attempt to write to read only database Pin
Eddy Vluggen17-Aug-13 2:36
professionalEddy Vluggen17-Aug-13 2:36 
AnswerRe: System.Data.SQLite gives attempt to write to read only database Pin
rbsbscrp19-Aug-13 11:40
rbsbscrp19-Aug-13 11:40 
AnswerRe: System.Data.SQLite gives attempt to write to read only database Pin
rbsbscrp19-Aug-13 11:48
rbsbscrp19-Aug-13 11:48 
AnswerRe: System.Data.SQLite gives attempt to write to read only database Pin
Jammer20-Aug-21 6:45
Jammer20-Aug-21 6:45 
QuestionGetting the position of desktop shortcut icons. Pin
Septimus Hedgehog16-Aug-13 8:51
Septimus Hedgehog16-Aug-13 8:51 
GeneralRe: Getting the position of desktop shortcut icons. Pin
harold aptroot16-Aug-13 9:55
harold aptroot16-Aug-13 9:55 
AnswerRe: Getting the position of desktop shortcut icons. Pin
Dave Kreskowiak16-Aug-13 9:58
mveDave Kreskowiak16-Aug-13 9:58 
The data is binary and stored in HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\1\Desktop. The position data is in the "ItemPos..." values. A binary stream is saved for each screen resolution and monitor seperately. The format of this data is not documented anywhere publicly.

The desktop icons positioning data in the running instance of Windows is managed by a ListView. No, don't even think of trying get the .NET ListView control to parse the data for you as it won't work.

The process of pulling this off is quite complicated and not well understood. You can read more about an unfinished attempt to do this here[^].

GeneralRe: Getting the position of desktop shortcut icons. Pin
SledgeHammer0116-Aug-13 11:15
SledgeHammer0116-Aug-13 11:15 
GeneralRe: Getting the position of desktop shortcut icons. Pin
Dave Kreskowiak16-Aug-13 11:37
mveDave Kreskowiak16-Aug-13 11:37 
AnswerThanks everyone. Pin
Septimus Hedgehog17-Aug-13 21:52
Septimus Hedgehog17-Aug-13 21:52 
GeneralThe Random Class Pin
N8tiv16-Aug-13 3:43
N8tiv16-Aug-13 3:43 
GeneralRe: The Random Class Pin
Dave Kreskowiak16-Aug-13 3:59
mveDave Kreskowiak16-Aug-13 3:59 
GeneralRe: The Random Class Pin
N8tiv16-Aug-13 4:47
N8tiv16-Aug-13 4:47 
GeneralRe: The Random Class Pin
harold aptroot16-Aug-13 5:04
harold aptroot16-Aug-13 5:04 
GeneralRe: The Random Class Pin
N8tiv16-Aug-13 5:06
N8tiv16-Aug-13 5:06 
GeneralRe: The Random Class Pin
Keith Barrow16-Aug-13 5:55
professionalKeith Barrow16-Aug-13 5:55 
GeneralRe: The Random Class Pin
N8tiv16-Aug-13 6:19
N8tiv16-Aug-13 6:19 
GeneralRe: The Random Class Pin
Forbiddenx16-Aug-13 8:07
Forbiddenx16-Aug-13 8:07 
GeneralRe: The Random Class Pin
PIEBALDconsult16-Aug-13 13:33
mvePIEBALDconsult16-Aug-13 13:33 
GeneralRe: The Random Class Pin
Pete O'Hanlon16-Aug-13 3:59
mvePete O'Hanlon16-Aug-13 3:59 
GeneralPDF area selection Pin
Mercurius8415-Aug-13 18:34
Mercurius8415-Aug-13 18:34 
GeneralRe: PDF area selection Pin
Mycroft Holmes15-Aug-13 19:25
professionalMycroft Holmes15-Aug-13 19:25 
GeneralRe: PDF area selection Pin
Mercurius8416-Aug-13 0:24
Mercurius8416-Aug-13 0:24 
GeneralRe: PDF area selection Pin
Sivaraman Dhamodharan15-Aug-13 23:57
Sivaraman Dhamodharan15-Aug-13 23:57 

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.