vb@rchiv
VB Classic
VB.NET
ADO.NET
VBA
C#
Schützen Sie Ihre Software vor Software-Piraterie - mit sevLock 1.0 DLL!  
 vb@rchiv Quick-Search: Suche startenErweiterte Suche starten   Impressum  | Datenschutz  | vb@rchiv CD Vol.6  | Shop Copyright ©2000-2025
 
zurück

 Sie sind aktuell nicht angemeldet.Funktionen: Einloggen  |  Neu registrieren  |  Suchen

VB & Windows API
Bin Fertig Hier der Code Teil: 1 
Autor: --Florian--
Datum: 08.09.03 20:51

Ich bin jetzt damit Fertig.

Hier der Code:
'////////////////////Form1\\\\\\\\\\\\\\\\\\\\\
 
Private Sub cmd_load_Click()
RestoreDesktopIcons
End Sub
 
Private Sub cmd_save_Click()
StoreDeskTopInfo
End Sub
 
Private Sub Form_Unload(Cancel As Integer)
   RestoreDesktopIcons
End Sub
 
 
'////////////////////////////Module1\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
 
Option Explicit
 
Public Enum SHUFFLE_TYPE
    RANDOM
    SINE
    CIRCLES
'More depend on your fantasy and geomethry knowledge : )
End Enum
'=========Desktop SysListView staff=============
Type POINTAPI
     x As Long
     y As Long
End Type
 
'=========Checking OS staff=============
Private Type OSVERSIONINFO
    dwOSVersionInfoSize As Long
    dwMajorVersion As Long
    dwMinorVersion As Long
    dwBuildNumber As Long
    dwPlatformId As Long
    szCSDVersion As String * 128
End Type
Private Declare Function GetVersionEx Lib "kernel32" Alias "GetVersionExA" ( _
  LpVersionInformation As OSVERSIONINFO) As Long
 
'========= Win95/98/ME Shared memory staff===============
Private Declare Function CreateFileMapping Lib "kernel32" Alias _
  "CreateFileMappingA" (ByVal hFile As Long, ByVal lpFileMappigAttributes As _
  Long, ByVal flProtect As Long, ByVal dwMaximumSizeHigh As Long, ByVal _
  dwMaximumSizeLow As Long, ByVal lpName As String) As Long
Private Declare Function MapViewOfFile Lib "kernel32" (ByVal hFileMappingObject _
As Long, ByVal dwDesiredAccess As Long, ByVal dwFileOffsetHigh As Long, ByVal _
dwFileOffsetLow As Long, ByVal dwNumberOfBytesToMap As Long) As Long
Private Declare Function UnmapViewOfFile Lib "kernel32" (lpBaseAddress As Any) _
As Long
Const STANDARD_RIGHTS_REQUIRED = &HF0000
Const SECTION_QUERY = &H1
Const SECTION_MAP_WRITE = &H2
Const SECTION_MAP_READ = &H4
Const SECTION_MAP_EXECUTE = &H8
Const SECTION_EXTEND_SIZE = &H10
Const SECTION_ALL_ACCESS = STANDARD_RIGHTS_REQUIRED Or SECTION_QUERY Or _
  SECTION_MAP_WRITE Or SECTION_MAP_READ Or SECTION_MAP_EXECUTE Or _
  SECTION_EXTEND_SIZE
Const FILE_MAP_ALL_ACCESS = SECTION_ALL_ACCESS
 
'============NT Shared memory staff======================
Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As _
  Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long
Const PROCESS_VM_OPERATION = &H8
Const PROCESS_VM_READ = &H10
Const PROCESS_VM_WRITE = &H20
Const PROCESS_ALL_ACCESS = 0
Private Declare Function VirtualAllocEx Lib "kernel32" (ByVal hProcess As Long, _
  ByVal lpAddress As Long, ByVal dwSize As Long, ByVal flAllocationType As _
  Long, ByVal flProtect As Long) As Long
Private Declare Function VirtualFreeEx Lib "kernel32" (ByVal hProcess As Long, _
lpAddress As Any, ByVal dwSize As Long, ByVal dwFreeType As Long) As Long
Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As _
Long
Const MEM_COMMIT = &H1000
Const MEM_RESERVE = &H2000
Const MEM_DECOMMIT = &H4000
Const MEM_RELEASE = &H8000
Const MEM_FREE = &H10000
Const MEM_PRIVATE = &H20000
Const MEM_MAPPED = &H40000
Const MEM_TOP_DOWN = &H100000
 
'==========Memory access constants===========
Private Const PAGE_NOACCESS = &H1&
Private Const PAGE_READONLY = &H2&
Private Const PAGE_READWRITE = &H4&
Private Const PAGE_WRITECOPY = &H8&
Private Const PAGE_EXECUTE = &H10&
Private Const PAGE_EXECUTE_READ = &H20&
Private Const PAGE_EXECUTE_READWRITE = &H40&
Private Const PAGE_EXECUTE_WRITECOPY = &H80&
Private Const PAGE_GUARD = &H100&
Private Const PAGE_NOCACHE = &H200&
Private Declare Function FindWindow& Lib "user32" Alias "FindWindowA" (ByVal _
  lpClassName As String, ByVal lpWindowName As String)
Private Declare Function FindWindowEx& Lib "user32" Alias "FindWindowExA" ( _
ByVal hWndParent As Long, ByVal hWndChildAfter As Long, ByVal lpClassName As _
String, ByVal lpWindowName As String)
Private Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hWnd As _
Long, lpdwProcessId As Long) As Long
Private Declare Function GetWindowLong& Lib "user32" Alias "GetWindowLongA" ( _
ByVal hWnd As Long, ByVal nIndex As Long)
Const GWL_STYLE = (-16)
Private Const LVS_AUTOARRANGE = &H100
Fortsetzung auf der nächsten Seite ...
alle Nachrichten anzeigenGesamtübersicht  |  Zum Thema  |  Suchen

 ThemaViews  AutorDatum
DesktopListwiewItems Postion auslesen/setzen2.845--Florian--26.08.03 16:53
Re: DesktopListwiewItems Postion auslesen/setzen1.774--Florian--27.08.03 19:50
Re: DesktopListwiewItems Postion auslesen/setzen1.552E728.08.03 11:27
Re: DesktopListwiewItems Postion auslesen/setzen1.636--Florian--28.08.03 11:53
Re: DesktopListwiewItems Postion auslesen/setzen1.668E728.08.03 12:21
Re: DesktopListwiewItems Postion auslesen/setzen1.889planetULTRA28.08.03 21:47
Re: DesktopListwiewItems Postion auslesen/setzen1.596--Florian--28.08.03 21:55
Ich habe was gefunden1.668--Florian--31.08.03 02:46
Weiß denn keiner wie das bei XP Funktioniert???2.006--Florian--08.09.03 01:06
Re: Ich habe was gefunden1.727planetULTRA08.09.03 13:25
Re: Ich habe was gefunden1.622--Florian--08.09.03 14:05
Re: Ich habe was gefunden3.072planetULTRA08.09.03 19:05
Re: Ich habe was gefunden1.583planetULTRA08.09.03 19:07
Re: Ich habe was gefunden1.474--Florian--08.09.03 19:44
Bin Fertig Hier der Code Teil: 12.483--Florian--08.09.03 20:51
Bin Fertig Hier der Code Teil: 22.716--Florian--08.09.03 20:52
Re: Bin Fertig Hier der Code Teil: 21.798Urs17.03.04 16:49
Re: Bin Fertig Hier der Code Teil: 21.523CyberDreams01.04.04 12:46
Re: Bin Fertig Hier der Code Teil: 21.489planetULTRA01.04.04 14:08
Re: Bin Fertig Hier der Code Teil: 21.727planetULTRA01.04.04 14:29
Re: Bin Fertig Hier der Code Teil: 21.402CyberDreams01.04.04 14:36
Re: Bin Fertig Hier der Code Teil: 21.620--Florian--05.04.04 15:17

Sie sind nicht angemeldet!
Um auf diesen Beitrag zu antworten oder neue Beiträge schreiben zu können, müssen Sie sich zunächst anmelden.

Einloggen  |  Neu registrieren

Funktionen:  Zum Thema  |  GesamtübersichtSuchen 

nach obenzurück
 
   

Copyright ©2000-2025 vb@rchiv Dieter Otter
Alle Rechte vorbehalten.
Microsoft, Windows und Visual Basic sind entweder eingetragene Marken oder Marken der Microsoft Corporation in den USA und/oder anderen Ländern. Weitere auf dieser Homepage aufgeführten Produkt- und Firmennamen können geschützte Marken ihrer jeweiligen Inhaber sein.

Diese Seiten wurden optimiert für eine Bildschirmauflösung von mind. 1280x1024 Pixel