Jan 20
2011
lcOldPrinter = SET(“printer”,2)
oPDFC = Createobject(“PDFCreator.clsPDFCreator”,”pdfcreator”)
oPDFC.cStart(“/NoProcessingAtStartup”)
oPDFC.cOption(“UseAutosave”) = 1
oPDFC.cOption(“UseAutosaveDirectory”) = 1
oPDFC.cOption(“AutosaveFormat”) = 0
DefaultPrinter = oPDFC.cDefaultprinter
oPDFC.cDefaultprinter = “pdfcreator”
oPDFC.cClearCache
oPDFC.cOption(“AutosaveDirectory”) = “c:\temp\”
oPDFC.cprinterstop=.F.
# First Report
oPDFC.cOption(“AutosaveFilename”) = “myPdf_1”
nLastDocNo=oPDFC.cOption(“Counter”)
Report Form c:\test.frx To Printer
DO WHILE oPDFC.cOption(“Counter”) <= nLastDocNo
WAIT “Waiting for finish job …”WINDOW NOWAIT noclear
nKey=INKEY(1)
nQueueCount = opdfc.cCountOfPrintjobs
enddo
# Second Report
oPDFC.cOption(“AutosaveFilename”) = “myPdf_2”
nLastDocNo = oPDFC.cOption(“Counter”)
Report Form c:\test2.frx To Printer
DO WHILE oPDFC.cOption(“Counter”) <= nLastDocNo
WAIT “Waiting for finish job …”WINDOW NOWAIT noclear
nKey=INKEY(1)
nQueueCount = opdfc.cCountOfPrintjobs
enddo
…… and so on …
Set Printer To Name (lcoldPrinter)
oPDFC.cDefaultprinter = DefaultPrinter
oPDFC.cClearCache
Release oPDFC
Jan 13
2011
Eksport drukarek z cupsa do samby.
cupsaddsmb -H adres_ip -U root -a -v
Nov 9
2010
Wisujemy cmd w Command Window a potem, Ctrl+Shift + Enter.
May 31
2010
Jeśli podczas uruchamiania komputera samoczynnie uruchamiają Moje Dokumenty.
uruchamiamy regedit:
pewnie jest tak:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
“Userinit”=”userinit.exe,EXPLORER.EXE”
a powinno być tak:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
“Userinit”=”userinit.exe”
dodatkowo:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
PersistBrowsers ma mieć wartość 0 .
May 28
2010
@lkraemer, I posted it here because lots of people use the Ubuntu LiveCD to troubleshoot Windows problems. I thought I could get help here… and I was right. However, your response was very Microsoftian: lots of talk, but nothing useful.
@juanoleso, et al…
Because of your help, I was able to learnthe location of the Windows Registry files:
(C:\WINDOWS\system32\config\)
I also had found Magic Jellybean KeyFinder (MJBKF) in my searching previously, but was unaware that it would work on a hive that was not the current one, like some other programs of similar purpose. With information from you folks, I made some attempts. Here’s what worked…
1. I copied the config folder (mentioned above) to my USB drive using Ubuntu to get access to the hard drive.
2. On another Windows machine, I installed MJBKF and plugged in the USB drive.
3. MJBKF didn’t work if I pointed it to the config folder. So I thought to duplicate the directory structure it might normally see in Windows.
4. I created a windows folder, and then created a system32 folder in it.
5. I then moved the config folder into the system32 folder.
6. MJBKF worked fine when I pointed it to the newly-created windows folder. I was able to get my Windows XP Key!
L
May 26
2010
Modemy dla orange mają inną identyfikację niż Option, dlatego Windows 7 nie wykrywa sterowników dla Option.
Należy wymusić instalację Modemu Option GlobeTrotter HSxPA z tych driverów.
Jak odpytanie modemu się powiedzie, instalujemy aplikację do łączenia się z Internetem.
Feb 25
2010
Stwórz folder o nazwie God Mode.{ED7BA470-8E54-465E-825C-99712043E01C}
Po wciśnięciu ENTER druga część nazwy zniknie, a my będziemy mieli bezpośredni dostęp do ponad 260 funkcji Windows.
Feb 17
2010
Dwa proste skrypty w Perlu.
create_table – na podstawie tabeli .dbf (Visual Fox Pro) tworzy tabele w bazie MySQL
import_table – importuje dane do utworzonej tabeli
Programy przetestowane na MySQL 5 i tabelach Visual Fox Pro 9.0.
Program odpalony na locahost osiągał prędkości importu rzędu 4000 rekordów na sek.
Wymagane moduły Perla: XBase, Getopt::Long, DBI(), List::Util, Term::ANSIScreen .
Jan 25
2010
32 bitowe wersje Windowsów standardowo nie obsługują więcej niż 3GB RAM. Aby widziały np 4GB musimy uaktywnić tryb PAE
w windows VISTA
1. Wciskamy WindowsKey + R
2. wpisujemy cmd i naciskamy CTRL+SHIFT+ENTER (konsola w trybie admina)
3. Wpisujemy: BCDEDIT /SET PAE ForceEnable
w Windows XP
dodajemy przełącznik /pae do pliku boot.ini
Jan 14
2010
Komunikat The “library file is invalid” jest spowodowany brakiem bibliotek VC++.
W przypadku pliku vfpencryption71.fll są to biblioteki msvcr71.dll i msvcp71.dll (VC++ 7.1 runtimes) .
W przypadku vfpencryption.fll
(VC++ 8.0 runtimes) 32-bit
(VC++ 8.0 runtimes) 64-bit