Visual Basic 6.0-problem

Visual Basic 6.0-problem

offline
  • Pridružio: 02 Jan 2008
  • Poruke: 2167

ovako,kada hocu da instaliram pojavi se ova poruka:

"The Win16 Subsystem was unable to enter Protected Mode, DOSX.EXE must be in your AUTOEXEC.NT and present in your PATH. "

hitno mi je!



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
offline
  • Dr SiGn  Male
  • Stručni saradnik
    Windows
  • Pridružio: 11 Jul 2005
  • Poruke: 1149
  • Gde živiš: Beograd

Idi u C:\WINDOWS\system32\nadji autoexec.nt>dupli klik na taj fajl>u sledecem prozoru izaberi "Select the program from a list">otvori ga sa WordPad-om,ali pre toga decekiraj "Always use the selected program to open this kind of file"

Proveri da li postoji ova linija:

lh %SystemRoot%\system32\dosx

U system32 folderu otvori CONFIG.NT istim postupkom kao za autoexec.nt,pa proveri da li imas sledece linije u dnu teksta:

dos=high, umb
device=%SystemRoot%\system32\himem.sys
files=40 (mozda ti bude drugi broj)


Jel imas problema sa instalacijom drugih programa?



offline
  • Pridružio: 02 Jan 2008
  • Poruke: 2167

u autoezec.nt ima ono ali u CONFIG.NT ima samo

device=C:\PROGRA~1\ALWILS~1\Avast4\aswmonds.sys

a instalaciju sa dr.programima nemam...

evo i slika...

offline
  • Dr SiGn  Male
  • Stručni saradnik
    Windows
  • Pridružio: 11 Jul 2005
  • Poruke: 1149
  • Gde živiš: Beograd

Idi u Control Panel>System>tab Advanced>Environment Variables>pod System Variables klikni na Path pa na Edit.Variable Value treba da ti pocinje ovako:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM

Pored ovoga u liniji mozes imati jos nesto,ali ovo su tri,da kazemo bitne stavke.

offline
  • Pridružio: 02 Jan 2008
  • Poruke: 2167

Dr SiGn ::Idi u Control Panel>System>tab Advanced>Environment Variables>pod System Variables klikni na Path pa na Edit.Variable Value treba da ti pocinje ovako:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM

Pored ovoga u liniji mozes imati jos nesto,ali ovo su tri,da kazemo bitne stavke.


da ima to...sta dalje?

offline
  • Dr SiGn  Male
  • Stručni saradnik
    Windows
  • Pridružio: 11 Jul 2005
  • Poruke: 1149
  • Gde živiš: Beograd

U start>run... kucaj:

cmd /c copy /y %windir%\repair\config.nt %windir%\system32

pa klikni OK.Trebalo bi da na sekund vidis prozor CMD-a.Posle toga restartuj komp,pa javi sta se desava.

offline
  • Pridružio: 02 Jan 2008
  • Poruke: 2167

opet ista prica...nece...

http://www.dodaj.rs/?k/h/BKRXtLq/123.png

offline
  • Dr SiGn  Male
  • Stručni saradnik
    Windows
  • Pridružio: 11 Jul 2005
  • Poruke: 1149
  • Gde živiš: Beograd

U na dnu config.nt dodaj sledece:

dos=high, umb
device=%SystemRoot%\system32\himem.sys
files=40


Jel imas dosx.exe fajl u system32 folderu?

odradi ovo u start>run...

cmd /c copy /y %windir%\repair\autoexec.nt %windir%\system32

Evo kako izgledaju moja dva fajla

CONFIG.NT

REM Windows MS-DOS Startup File
REM
REM CONFIG.SYS vs CONFIG.NT
REM CONFIG.SYS is not used to initialize the MS-DOS environment.
REM CONFIG.NT is used to initialize the MS-DOS environment unless a
REM different startup file is specified in an application's PIF.
REM
REM ECHOCONFIG
REM By default, no information is displayed when the MS-DOS environment
REM is initialized. To display CONFIG.NT/AUTOEXEC.NT information, add
REM the command echoconfig to CONFIG.NT or other startup file.
REM
REM NTCMDPROMPT
REM When you return to the command prompt from a TSR or while running an
REM MS-DOS-based application, Windows runs COMMAND.COM. This allows the
REM TSR to remain active. To run CMD.EXE, the Windows command prompt,
REM rather than COMMAND.COM, add the command ntcmdprompt to CONFIG.NT or
REM other startup file.
REM
REM DOSONLY
REM By default, you can start any type of application when running
REM COMMAND.COM. If you start an application other than an MS-DOS-based
REM application, any running TSR may be disrupted. To ensure that only
REM MS-DOS-based applications can be started, add the command dosonly to
REM CONFIG.NT or other startup file.
REM
REM EMM
REM You can use EMM command line to configure EMM(Expanded Memory Manager).
REM The syntax is:
REM
REM EMM = [A=AltRegSets] [B=BaseSegment] [RAM]
REM
REM     AltRegSets
REM         specifies the total Alternative Mapping Register Sets you
REM         want the system to support. 1 <= AltRegSets <= 255. The
REM         default value is 8.
REM     BaseSegment
REM         specifies the starting segment address in the Dos conventional
REM         memory you want the system to allocate for EMM page frames.
REM         The value must be given in Hexdecimal.
REM         0x1000 <= BaseSegment <= 0x4000. The value is rounded down to
REM         16KB boundary. The default value is 0x4000
REM     RAM
REM         specifies that the system should only allocate 64Kb address
REM         space from the Upper Memory Block(UMB) area for EMM page frames
REM         and leave the rests(if available) to be used by DOS to support
REM         loadhigh and devicehigh commands. The system, by default, would
REM         allocate all possible and available UMB for page frames.
REM
REM     The EMM size is determined by pif file(either the one associated
REM     with your application or _default.pif). If the size from PIF file
REM     is zero, EMM will be disabled and the EMM line will be ignored.
REM
dos=high, umb
device=%SystemRoot%\system32\himem.sys
files=40


AUTOEXEC.NT

@echo off

REM AUTOEXEC.BAT is not used to initialize the MS-DOS environment.
REM AUTOEXEC.NT is used to initialize the MS-DOS environment unless a
REM different startup file is specified in an application's PIF.

REM Install CD ROM extensions
lh %SystemRoot%\system32\mscdexnt.exe

REM Install network redirector (load before dosx.exe)
lh %SystemRoot%\system32\redir

REM Install DPMI support
lh %SystemRoot%\system32\dosx

REM The following line enables Sound Blaster 2.0 support on NTVDM.
REM The command for setting the BLASTER environment is as follows:
REM    SET BLASTER=A220 I5 D1 P330
REM    where:
REM        A    specifies the sound blaster's base I/O port
REM        I    specifies the interrupt request line
REM        D    specifies the 8-bit DMA channel
REM        P    specifies the MPU-401 base I/O port
REM        T    specifies the type of sound blaster card
REM                 1 - Sound Blaster 1.5
REM                 2 - Sound Blaster Pro I
REM                 3 - Sound Blaster 2.0
REM                 4 - Sound Blaster Pro II
REM                 6 - SOund Blaster 16/AWE 32/32/64
REM
REM    The default value is A220 I5 D1 T3 and P330.  If any of the switches is
REM    left unspecified, the default value will be used. (NOTE, since all the
REM    ports are virtualized, the information provided here does not have to
REM    match the real hardware setting.)  NTVDM supports Sound Blaster 2.0 only.
REM    The T switch must be set to 3, if specified.
SET BLASTER=A220 I5 D1 P330 T3

REM To disable the sound blaster 2.0 support on NTVDM, specify an invalid
REM SB base I/O port address.  For example:
REM    SET BLASTER=A0

offline
  • Pridružio: 02 Jan 2008
  • Poruke: 2167

e ok je...sad radi...

znaci puno,puno hvala!!! Smile

Ko je trenutno na forumu
 

Ukupno su 465 korisnika na forumu :: 8 registrovanih, 2 sakrivenih i 455 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3466 - dana 01 Jun 2021 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: Bane san, cikadeda, DonRumataEstorski, krkalon, Markogrozni, Misirac, Oluj2.1, Snorks