The server has detected an inconsistent database

Posted by Unknown Minggu, 28 November 2010 0 komentar
Using NetWare 6.5, in ConsoleOne, double click a user object and it shows the following error:
(Error -618) The server has detected an inconsistent database

Novell's support site has a page that might be helpful, click here.

If that advice doesn't help you (it didn't help me!) then restart the server! That solved it for me. After restarting the error didn't occur. But of course you should also ensure you run DSREPAIR until you get 0 (zero) errors.

Baca Selengkapnya ....

Problem: 7-Zip SFX extracted files disappearing?

Posted by Unknown Jumat, 27 Agustus 2010 0 komentar
I had a self-extracting archive made using 7-Zip SFX. I had many files inside the compressed file. There was one exe file, let's called it A.exe, it was the one run on extraction. In addition A.exe ran another file B.exe. The problem was that upon extraction the B.exe wasn't there! Why didn't it execute, why wasn't it there?

The reason was that my first file, A.exe was an AutoIt script. I used the Run() function to execute B.exe. This was a mistake because the 7-Zip SFX deletes the extracted files after A.exe had finished executing. This meant that B.exe wasn't there or associated files weren't there at execution time. This problem only surfaced when extracting to a SSD (Solid State Disk), maybe because the write times are slower to SSD?

The solution was to change the function to RunWait(). This function runs an external program and waits for it to finish executing before continuing. As long as your first exe (A.exe in my example) is still running, the 7-Zip SFX will not delete the temporary files - problem solved! 

Baca Selengkapnya ....

Can't install Flash Player 10?

Posted by Unknown Senin, 09 Agustus 2010 0 komentar
Problem
When installing the latest Flash Player 10 for Internet Explorer did you get this error?
ActiveX control for Flash Player could not be registered

If you had the above error then try the following:
(these instructions have been tested on a Windows XP SP3 computer, I can't guarantee anything but it worked for me!)


Solution
To start with I recommend you uninstall the Flash Player you currently have installed. You can do this via the Control Panel or use the special utility Adobe have made:

uninstall_flash_player.exe
http://kb2.adobe.com/cps/141/tn_14157.html
 
1.  Logon as Administrator or a Windows user that has Administrator permissions.
2.  Run uninstall_flash_player.exe (this will uninstall the current Flash Player)
3.  Shut down, restart the computer


The installation error: "ActiveX control for Flash Player could not be registered" typically appears if the registry permissions are not set to administrator. To do this you'll need a utility from Microsoft called SubInACL.exe and a file called reset_fp10.cmd from Adobe. Links to these files can be found under 'References' at the bottom of this article, or follow the instructions on the following Adobe knowledge base article: http://kb2.adobe.com/cps/494/cpsid_49419.html

When you've followed the above instructions and you've run reset_fp10.cmd, did it fix it? I had a situation where it still didn't solve this problem! If you still have a problem, here's my solution:


Extended Solution
Click Start | Run
Type CMD  [Enter]
Type the following command lines:
CD\ [Enter]
CD "Program Files\Windows Resource Kits\Tools"   [Enter]
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f  [Enter]


AutoIt Script
If you deploy solutions you may wish to create a 'fix' script. Here's some code to get you started with AutoIt:


RunWait(@ComSpec & " /c echo y|reset_fp10.cmd", @ScriptDir, @SW_MAXIMIZE)

RunWait(@ComSpec & " /c subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f", @ScriptDir, @SW_MAXIMIZE)



References
Adobe knowledge base article:
http://kb2.adobe.com/cps/494/cpsid_49419.html

uninstall_flash_player.exe
http://kb2.adobe.com/cps/141/tn_14157.html
 
SubInACL.exe (subinacl.msi)
http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en

reset_fp10.cmd (reset_fp10.zip)
http://kb2.adobe.com/cps/494/cpsid_49419/attachments/reset_fp10.zip




Baca Selengkapnya ....

EasyPeasy netbook OS

Posted by Unknown Sabtu, 10 Juli 2010 0 komentar
Eee PC
I have an Asus Eee PC 700 4G, I got it back in 2008. It was the first popular and truly cheap netbooks to emerge a few years ago. It's a cute little machine that I use mostly for casual web browsing. Originally its built-in 4GB SSD (solid state drive) came pre-loaded with a Linux distribution from Asus specially for the Eee PC. It was ok, I used it for a while but it was clunky and it got on my nerves after a while because it was always forgetting my WiFi connection's WPA key.

I tried Ubuntu's netbook release but it didn't have the drivers included for my old Eee PC. I had a look around and found Eeebuntu (since renamed Aurora), an Ubuntu distribution that came pre-configured for use on the Eee PC with the drivers included for the network, WiFi, webcam, etc. I used Eeebuntu for a while and found it good but it was a little fiddly.

Next I tried EasyPeasy from http://www.geteasypeasy.com/ - again a Linux Ubuntu based distribution. This I have found to be a nice little OS (operating system). It installed relatively easily. I had no driver problems, everything worked immediately. A large selection of popular software is installed such as Firefox, OpenOffice, etc. Unfortunately most of the main storage, the 4GB SSD is taken by all this software but having said that, I never really used the main storage anyway, I always used an SD card for data.

The EasyPeasy interface is excellent, it is clear, easy to use and the mouse pointer travels around it without having to finger the track pad too much. The interface is well designed for the small screen of your netbook, the Eee PC must have one of the smallest and EasyPeasy manages work fine with the limited space. I'm writing this using my Eee PC now, in Firefox on the Blogger online editor. The text is large enough and there is no horizontal scroll bars. My only headache is the annoyingly small Eee PC keyboard, which I can hardly blame on EasyPeasy ;-)

There is a small thin bar at the top of the screen that has a button to get back to the main menu, there are indicators for WiFi strength, battery power remaining, speaker volume, e-mail, date, time and a logoff/shut down menu. This bar is visible the whole time unless you press F11 in Firefox to go full screen.

The only negative thing about EasyPeasy's interface is that sometimes dialogue boxes are too big and the buttons (OK, Cancel, etc) at the bottom of the dialogue window are not visible, they are off the screen and there's no way to move the window up far enough to see them. It is frustrating!

Apart from the overly big dialogue box problem, EasyPeasy is just about flawless. At least it has a very slick looking interface that is easy to use and navigate on a small screen, it boots fast, it can be updated easily (Ubuntu updates and software packages), it's great. I have no problems with the WiFi connection, it automatically connects every time without any fuss. The battery indicator seems to work and the OS rarely crashes.

According to the EasyPeasy website it is for all netbooks so whatever you have try it out.
http://www.geteasypeasy.com/

Of course Aurora is also worth a look, I've not tried it recently. For the time being I'll stick with EasyPeasy as it does what I need which is all you want from a netbook OS. EasyPeasy is again another wonderful piece of open source work. They've adapted the already great Ubuntu so well to the tiny screen of the netbook, especially my little Eee PC.

My rating: 8/10

Baca Selengkapnya ....

Create a self-extracting archive exe PART 1

Posted by Unknown 0 komentar
Introduction
A self-extracting archive is a zip or similar compressed file that has been turned into an exe (executable). The advantage of this is that the recipient of the file only has to double click the exe and it will do everything automatically. The two actions it would usually perform are:
  1. To run one of the extracted files (to install a program for example)
  2. To extract the files from the compressed archive file (.zip or similar)
If you want to just simply extract files, see PART 2 but in this article we'll explain scenario 1:

Often I need to make self-extracting exe files to send via e-mail. The recipient runs it, the files are extracted and an installation program (an AutoIt script for example) installs the files. A couple of years ago I used WinZip and the WinZip self-extracting archive utility to do this. It worked well but there were two downsides, firstly it was menu driven, I had to click through 'next' screens and select options each time I used it. Secondly, it cost money, not a lot but still...

7-Zip is the answer! It's an alternative to WinZip. You can download 7-Zip from www.7-zip.org, it is an open source program, therefore free to download. But to create a self-extracting exe file using 7-Zip for Windows you have little control. 

After some searching on the web I discovered that with an additional component, a file called 7zS.sfx (sfx stands for self-extracting), I could create self-extracting exe files using 7-Zip. This article explains how to do this! The best thing about the method I explain here is that you can set it up and use it over and over. Instead of going through multiple 'next' options you just run a command file. For anyone working with self-extracting exe files a lot, this is ideal. 


Download
If you've not done it already, download and install 7-Zip for Windows. You can find it here: http://www.7-zip.org/

Also, look on the Downloads page for '7z Library, SFXs for installers, Plugin for FAR Manager' - click to download the 7zXXX_extra.7z file.


Instructions
The 7zXXX_extra.7z is a compressed archive file, like a zip file but in the native 7-Zip format. Extract 7zS.sfx from the 7zXXX_extra.7z file.

Make a new folder, for example SFXfolder.

Copy the 7zS.sfx into the SFXfolder.

Now we have to make two files. The first is a configuration file. It determines how the self-extracting exe will work, what is shown on the screen and the name of the program that will be run automatically after extraction. This configuration file can have any name but to make life easy I recommend you call it '7config.txt'. 

Open Notepad
Type the following:

;!@Install@!UTF-8!
Title="Install Test"
BeginPrompt="Install?"
RunProgram="setup.exe"
;!@InstallEnd@!

Save the file as 7config.txt to the SFXfolder you created before.

To create the self-extracting exe we will need to type a command at the command prompt (CMD). But why do that each time? What we can do is make a command file and just edit/run that file when you want to make your self-extracting exe. You'll see what I mean soon.

Open Notepad
Type the following:

@echo off
copy /b 7zS.sfx + 7config.txt + Install_Test.7z Install_Test.exe
echo.
pause

Save the file as 7makeEXE.cmd to the SFXfolder you created earlier.

Now inside your SFXfolder you should have the following files:
7zS.sfx
7config.txt
7makeEXE.cmd

Now all we need are the files you want to include in the installation package itself. These files, including setup.exe (the file that will be run after extraction) should be compressed into a .7z file. Do not make a .zip file, use 7-Zip's native .7z format. 

Save the .7z file in the SFXfolder. Name the .7z file as Install_Test.7z (or whatever you have used in your 7makeEXE.cmd file).

Double click 7makeEXE.cmd Wait, once it has finished you'll see the Install_Test.exe file in the SFXfolder. It's ready to be used!


Conclusion
Using this method to create self-extracting archive exe file makes a lot of sense if you create and recreate installation packages often. Especially for those deploying files or updating them. Because you only need to recreate your 7z file and double click 7makeEXE.cmd to rebuild the self-extracting exe file. No messing around with lots of Next prompts. Also the 7z format compresses files so small, if you are supplying installation packages over the internet via FTP or by e-mail, this is perfect. I use this every day and I wouldn't go back to WinZip now even if it was free.


Related
To make a self-extracting archive that only extracts files and does not run an EXE file, see:
Create a self-extracting archive exe PART 2

Please also see this article:
http://mgxp.blogspot.com/2010/08/problem-7-zip-sfx-extracted-files.html


Baca Selengkapnya ....

7-Zip

Posted by Unknown Kamis, 17 Juni 2010 0 komentar
Often we need to make large files smaller, using a file compression program such as WinZip or WinRAR is typical. Those programs can compress files with the file format .zip, .rar, etc. However, both these products are shareware and come at a cost if you want the full versions. But there is something better, it's open source and doesn't cost a penny! It is called 7-Zip, it supports the popular .zip and .rar formats, it also has its own .7z format which I've found to be much better than the traditional .zip format. Often compressing using .7z means a very much smaller file than when using traditional .zip.
I've been using 7-Zip for a couple of years now and I am very happy with it. The interface is simple, not as glossy as WinZip's - it may turn you off but spend some time with it, you'll get used to it soon enough. The best thing about 7-Zip is that there are tools for the power user or for those who need to script. For example, there's a command line version included and you can make self-extracting archives that can automatically run exe files after extraction.
7-Zip is another example of a truly excellent open source project. There are lots of add-ons to use it with other software, such as Firefox or FAR Manager, etc. It's an active project, new versions are available often.


Find out more here: www.7-zip.org


My rating: 9/10, highly recommended

Baca Selengkapnya ....

Wget - FTP command line download

Posted by Unknown Sabtu, 30 Januari 2010 0 komentar
Introduction
A year and a half ago I was looking into a way to automate the downloading of a file from FTP and if the download was interrupted, I wanted some way of resuming the download where it had left off. This is important in situations where you have low or unreliable internet bandwidth. If you are downloading a large file and you are disconnected from the internet for some reason, you don't want to start your download again from the beginning.

Previously I had been using the AutoIt built-in function InetGet(). It uses Internet Explorer's download feature and that works fine in perfect conditions, but if there's one slight interruption, it stops. Crucially there's no resume feature available for InetGet().

Another major requirement was that the solution be free of any cost, so I only looked for open source and freeware products.

At first I did some research on the web that told me that resuming downloads requires the owner of the FTP site to have switched on the capability to resume. This was not what I wanted to hear, that is something out of my control. But I didn't fully believe it either, dedicated FTP software like WS_FTP will resume downloads. Of course a Windows GUI tool was not useful to me, I wanted a command line tool so that I could create an automated download process.


Wget
I came across Wget, an open source program, originally a tool from the Unix/Linux world, a Windows command line version is available and works extremely well! It has a 'continue' feature, this will continue (resume) downloads if broken.

It's a single exe file of about 400K. You can download it from here:

To use Wget you need to open a command window CMD. Like most command line tools you can get a list of options/parameters at the command line itself, here's what you enter:
wget --help

You can also find a list of command line options/parameters here:

Here's an example of using Wget to download a single file from an FTP site where a user name and password is required:
wget -c --ftp-user=michael --ftp-password=abc123 ftp://192.168.0.3/file.zip

What does it all mean? The command wget is followed by four parameters, each with a space between them. The above should be entered as one continuous line (not two lines as it may appear above). Here's an explanation of the parameters I used:

-c
This stands for 'continue', you could use --continue instead of -c, both do the same thing. This will mean that if the download of this file is interrupted, you can issue exactly the same command again later and it'll continue the download where it left off.

--ftp-user=michael
If the FTP site you are accessing requires authentication then you can specify the user name this way. Here I put the user name "michael", this is just an example.

--ftp-password=abc123
This is how to specify the password, the "abc123" is only an example password.

ftp://192.168.0.3/file.zip
Put the FTP address, path and file name. The above is just an example.

The following shows what it would look like for real if you used the above command line (click them for larger images):










The following is a video tutorial by jimmyr.com (not me!) and it's pretty good at showing you the basics:
 


Proxy
Wget has a lot of features to help you download. One I wanted and at first I couldn't find much information on, was downloading from an FTP site when your FTP goes through a proxy. If this is the case, before you run your Wget command line, set the command line (DOS) variable ftp_proxy. For example: 
set ftp_proxy=10.1.1.1:8080

Of course "10.1.1.1:8080" is just an example, you'd need to put whatever your proxy address and port number is here. 


Limit Bandwidth Used
The following is a useful parameter for Wget, especially in low bandwidth scenarios:
--limit-rate=
You can use this to limit the bandwidth used by Wget when downloading. For example:
--limit-rate=6k
The 6k means 6 kilobytes per second, not kilobits per second as you might expect. Kilobits (Kbps) is the usual way of measuring bandwidth. As there are 8 bits to every byte, you can calculate what this is in kilobits by dividing kilobits by 8 to get the number of kilobytes for the limit rate parameter.

Here are some examples:
4k means 32Kbps
6k means 48Kbps
8k means 64Kbps
16k means 128Kbps
32k means 256Kbps
64k means 512Kbps
128k means 1024kbps (1Mbps)

Limiting the bandwidth used doesn't mean Wget will download at that speed exactly, it is the maximum, it won't use any more bandwidth than this limit.


When Wget runs I don't think it hogs all the bandwidth in any case, but this feature really is useful in ensuring it doesn't hog the bandwidth, especially if your internet line has to be used by other services at the same time.


By the way, if you want to check how long it takes for a particular size file to download at a particular speed (kbps), take a look at this website:
http://www.numion.com/calculators/Time.html


Conclusion
Wget is an excellent command line tool. I went on to use it in a number of programs I wrote using AutoIt. Using AutoIt you can create a seamless wrapper for Wget and control what parameters are sent to it depending on the circumstance. Wget has proven reliable, fast and versatile. The above is just one thing it can do, it also supports downloading multiple files and folders, HTTP, HTTPS, as well as FTP. 

Currently Wget doesn't support SFTP, although to do this from the command line, take a look at another great free utility for Windows: WinSCP.

Wget works the same on Windows as it does on Linux. This can be useful if you use Linux at any time, for example, Ubuntu has Wget installed as standard. You can use it with the same command line parameters as described above, it works exactly the same. More interesting features can be found in the manual, a link is listed below.



Links

Wget.exe download:

Wget manual:
Lots more details about Wget:

WinWget - a Windows GUI interface for Wget:

AutoIt Windows scripting:
http://www.autoitscript.com/

WinSCP (SFTP Windows command line)
http://winscp.net/

Download speed / time / file size calculator:
http://www.numion.com/calculators/Time.html

Baca Selengkapnya ....
Trik SEO Terbaru support Online Shop Baju Wanita - Original design by Bamz | Copyright of apk zippy.