Twoje PC  
Zarejestruj się na Twoje PC
TwojePC.pl | PC | Komputery, nowe technologie, recenzje, testy
B O A R D
   » Board
 » Zadaj pytanie
 » Archiwum
 » Szukaj
 » Stylizacja

 
M E N U
  0
 » Nowości
0
 » Archiwum
0
 » Recenzje / Testy
0
 » Board
0
 » Rejestracja
0
0
 
Szukaj @ TwojePC
 

w Newsach i na Boardzie
 
OBECNI NA TPC
 
 » stefan_nu 09:03
 » cVas 09:02
 » elliot_pl 09:01
 » ToM78 09:00
 » ligand17 08:57
 » [yureq] 08:54
 » bmiluch 08:54
 » Sherif 08:47
 » braveh 08:46
 » JE Jacaw 08:43
 » rkowalcz 08:41
 » Zbyl 08:40
 » Katoda Lt 08:32
 » Miron 08:31
 » PeKa 08:30
 » rurecznik 08:29
 » okobar 08:28
 » wukillah 08:27
 » Wedelek 08:21
 » petropank 08:20

 Dzisiaj przeczytano
 35022 postów,
 wczoraj 25543

 Szybkie ładowanie
 jest:
włączone.

 
ccc
TwojePC.pl © 2001 - 2026
A R C H I W A L N A   W I A D O M O Ś Ć
    

VB , Dymol 7/05/01 08:23
Jak napisać programa w VB, żeby mógł być uruchamiany z parametrami.

  1. Każdy.... , exmac 7/05/01 08:59
    ...program może być uruchamiany z parametrami. Problem, czy je odczytuje. Nie wiem jak to się robi w VB (a kto wie!!). Użyj funkcji API: GetCommandLine
    The GetCommandLine function returns a pointer to the command-line string for the current process.

    LPTSTR GetCommandLine(VOID)


    Parameters

    This function has no parameters.

    Return Values

    The return value is a pointer to the command-line string for the current process.

    Remarks

    Non-Unicode console processes written in C can use the argc and argv arguments to access the command-line arguments. The parameters of the command-line string, excluding the program name, are also available to such non-Unicode applications as a parameter of the WinMain function. The reason for the Unicode exclusion from these options is that WinMain, argc, and argv use the LPSTR data type for parameters, not the LPTSTR datatype.

    
All rights reserved ® Copyright and Design 2001-2026, TwojePC.PL