Novo

Forum kao aplikacija na telefonu

Dodajte forum na početni ekran i koristite ga kao aplikaciju, sa menijem na dnu ekrana.

  • 1 odgovor
  • 3.854 pregleda

Najnovija ↓

Find Target ? Hitno Potrebno !!! 03.03.2004. u 18:36 · pre 275 meseci #1
Kako je moguce sa Shell komandom otvoriti u Windows Exploreru neki fajl na taj nacin sto ce se proslediti njegova kompletna putanja, a WinExplorer ce otvoriti direktorijum u kome se nalazi taj fajl i isti ce biti selektiran.
Ovaj efekat se dobija kada se na ShotCut (LNK fajl) klikne na Properties pa Find Target

Da li koristiti Shell (BLAHBLAHBLAH...)
Da li SHellExecute ili ShellExectueEx i sa kojim parametrima ?

Mozda kao npr. Shell ("explorer.exe c:\00\1.exe /f") ili slicno !

Unapred Hvala !
Potpis
Similar to the programmed reality of the Matrix. It has the same basic rules. Like gravity.
These rules are no different than those of a computer system.
Some of them can be bent.Others can be broken.

Everithing That Has A Beginning Has An End
Re: Find Target ? Hitno Potrebno !!! 17.07.2004. u 17:09 · pre 271 mesec #2
Code:

Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _
(ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, _
ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long

Const SW_SHOWNORMAL = 1

Private Sub Form_Load()
    ShellExecute Me.hwnd, "open", "explorer.exe", "/select, C:\Projects\ErrLib\MSSCCPRJ.SCC", vbNullString, SW_SHOWNORMAL
End Sub
Potpis
Blue Man Group
Prijavite se da biste odgovorili u ovoj temi.PrijavaRegistracija

Premeštanje teme