Making Game: Master Volume for Windows 7

Original Source Link

Is there a way to use Windows XP’s master volume(sndvol32.exe) on Windows 7? When I just run it, I get CD Audio and VolumeControl column, but the volume does not change. When I run with WinXP compatibility mode, I get only one column called Digital Audio. Administrator priviliges does not help. Any way?

Note that this program originally has columns called CD Audio, Video volume, Mic volume, Telephone line, Line input, Wave, SW synthesis, etc.

Tagged : / /

Linux HowTo: Open File – Security Warning dialog box

Original Source Link

How do i disable this Open File – Security Warning dialog box? everything i find involves adding ip’s to trusted sites etc. but this application is installed locally. I’ve already unblocked the exe from the properties window, however that didn’t help

Try right clicking the exe file and select properties.

If there is an unblock button on the General tab click that and it shouldn’t bother you again

If you are using IE 7/8, Go to Tools / Internet Options / Security and click on the local Intranet Icon. Then, click the sites button. Make sure “Automatically detect Intranet Network” is unchecked and the following items are checked, “Include all lical (intranet) sites not listed in other zones”, Include all sites that bypass the proxy server”, and “Include all network paths (UNC’s)”.

I would only do this is the file you are try to access / execute is located on your local file server and unblocking the file is not working. I used to have this problem with our ERP application who’s .exe file resided on our file server. After upgrading our clients web browsers from IE6 to IE 7 or 8 we started to get the same error message. The above steps are what fixed it.

Danbo

  1. Right-click shortcut
  2. Click Properties
  3. Highlight shortcut tab
  4. Click Advanced
  5. Tick “Run as administrator”
  6. Click Apply

All done and sorted. Worked for me on Windows 8.1.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerDownload]
"CheckExeSignatures"="no"
"RunInvalidSignatures"=dword:00000001
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesAttachments]
"SaveZoneInformation"=dword:00000001
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesAssociations]
"LowRiskFileTypes"=".zip;.rar;.nfo;.txt;.exe;.bat;.com;.cmd;.reg;.msi;.htm;.html;.gif;.bmp;.jpg;.avi;.mpg;.mpeg;.mov;.mp3;.m3u;.wav;"

More here :
http://www.msfn.org/board/topic/58926-turn-off-open-file-security-warning/

Tagged : /

Making Game: USB to COM for WIndows XP

Original Source Link

Basically, I recently purchased a customer display for my EPOS till which runs on Windows XP (Yes I know XP Is old but it is running some legacy software). Anyways, in the Epson OPOS my display appears as just an USB device and whilst I did install the virtual COM for this device I have had no luck configuring it.

Does anyone know of anyway of assigning the USB customer display to say a COM4 port? Or even just converting it such that it works for a COM port?

Thanks in advance

Tagged : / / /

Making Game: Open File – Security Warning dialog box

Original Source Link

How do i disable this Open File – Security Warning dialog box? everything i find involves adding ip’s to trusted sites etc. but this application is installed locally. I’ve already unblocked the exe from the properties window, however that didn’t help

Try right clicking the exe file and select properties.

If there is an unblock button on the General tab click that and it shouldn’t bother you again

If you are using IE 7/8, Go to Tools / Internet Options / Security and click on the local Intranet Icon. Then, click the sites button. Make sure “Automatically detect Intranet Network” is unchecked and the following items are checked, “Include all lical (intranet) sites not listed in other zones”, Include all sites that bypass the proxy server”, and “Include all network paths (UNC’s)”.

I would only do this is the file you are try to access / execute is located on your local file server and unblocking the file is not working. I used to have this problem with our ERP application who’s .exe file resided on our file server. After upgrading our clients web browsers from IE6 to IE 7 or 8 we started to get the same error message. The above steps are what fixed it.

Danbo

  1. Right-click shortcut
  2. Click Properties
  3. Highlight shortcut tab
  4. Click Advanced
  5. Tick “Run as administrator”
  6. Click Apply

All done and sorted. Worked for me on Windows 8.1.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerDownload]
"CheckExeSignatures"="no"
"RunInvalidSignatures"=dword:00000001
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesAttachments]
"SaveZoneInformation"=dword:00000001
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesAssociations]
"LowRiskFileTypes"=".zip;.rar;.nfo;.txt;.exe;.bat;.com;.cmd;.reg;.msi;.htm;.html;.gif;.bmp;.jpg;.avi;.mpg;.mpeg;.mov;.mp3;.m3u;.wav;"

More here :
http://www.msfn.org/board/topic/58926-turn-off-open-file-security-warning/

Tagged : /

Linux HowTo: How to untoggle Right-to-Left text in Notepad?

Original Source Link

I hate to have to ask this but… I’ve seemed to accidentally hit a couple hot-keys and my Notepad is now showing text from Right-to-Left. What was the hot-key combo and what can I do to reverse it back to Left-to-Right?

Right click anywhere in notepad and uncheck right-to-left reading

Hotkey combo:

  • to write text from Right to Left, try Ctrl + Right Shift

  • to write text from Left to Right, try Ctrl + Left Shift

Or simply open Notepad again 😉

Try the following shortcuts:

Ctrl+Alt+R

Ctrl+Alt+L

For Notepad++ users, use the “View” menu (when shortcuts fail due to some conflicts):

enter image description here

To toggle between right and left text :

  1. strike the “menu” key (beside the space bar) – so you can see many options, with shortcuts underlined, like “Lecture de droite à gauche” in French

  2. strike the “L” key – in french version of Notepad – or an other letter if you have english or other language version

As some may have been confused by the “specificity” of the Answer regarding the French version of Windows, and in keeping with the OP’s actual question (and circumstance) the answer is as follows:

“Accidentally” ‘hitting a couple of Hot Keys’ causing the text to be Right Justified in Windows 7 Notepad was accomplished not by a “Hot Key” combination,
(as some had suggested as CTRL-RShift or CTRL-Alt-R) but instead by using the Keyboard EQUIVALENT of [Right Click] & [Check]ing “Right to left Reading order”.

This “accidental” keyboard sequence was [Menu Key] then [R].

To set things aright (using the keyboard, for the old-school typists), the sequence must repeated, i.e. [Menu Key] then [R].

To put out any “flames”, let me reiterate; These steps are identical to the “Mouse-Centric” answer above, but in keeping with the OP’s stated cause & problem.

Tagged : / / / /

Making Game: How to untoggle Right-to-Left text in Notepad?

Original Source Link

I hate to have to ask this but… I’ve seemed to accidentally hit a couple hot-keys and my Notepad is now showing text from Right-to-Left. What was the hot-key combo and what can I do to reverse it back to Left-to-Right?

Right click anywhere in notepad and uncheck right-to-left reading

Hotkey combo:

  • to write text from Right to Left, try Ctrl + Right Shift

  • to write text from Left to Right, try Ctrl + Left Shift

Or simply open Notepad again 😉

Try the following shortcuts:

Ctrl+Alt+R

Ctrl+Alt+L

For Notepad++ users, use the “View” menu (when shortcuts fail due to some conflicts):

enter image description here

To toggle between right and left text :

  1. strike the “menu” key (beside the space bar) – so you can see many options, with shortcuts underlined, like “Lecture de droite à gauche” in French

  2. strike the “L” key – in french version of Notepad – or an other letter if you have english or other language version

As some may have been confused by the “specificity” of the Answer regarding the French version of Windows, and in keeping with the OP’s actual question (and circumstance) the answer is as follows:

“Accidentally” ‘hitting a couple of Hot Keys’ causing the text to be Right Justified in Windows 7 Notepad was accomplished not by a “Hot Key” combination,
(as some had suggested as CTRL-RShift or CTRL-Alt-R) but instead by using the Keyboard EQUIVALENT of [Right Click] & [Check]ing “Right to left Reading order”.

This “accidental” keyboard sequence was [Menu Key] then [R].

To set things aright (using the keyboard, for the old-school typists), the sequence must repeated, i.e. [Menu Key] then [R].

To put out any “flames”, let me reiterate; These steps are identical to the “Mouse-Centric” answer above, but in keeping with the OP’s stated cause & problem.

Tagged : / / / /

Linux HowTo: Cannot see all available wireless networks?

Original Source Link

There are two wireless networks setup in my office, a primary one and a backup. Plus there are few other wireless networks nearby. However, Windows (XP SP3) has ceased to show other available wireless networks when I am connected. I frequently have to switch networks every now and then and for that I have to go to Wireless Network Connection‘s properties, change the order of networks and Repair the connection… to much time consuming. Can anyone tell me why I can’t see all available wireless network connections? Here are the screen caps:

View Available Wireless Networks Window

View Available Wireless Networks Window

Wireless Network Connection Properties — Notice two networks that are available, up and running

Wireless Network Connection Properties

If you are sure that wifi network is around you and yet, you can’t see it in wifi list but if you manually write SSID of AP or change the preference of WiFi networks it connects, then you can check that:

  1. Access Point is broadcasting beacon frames.
  2. You have recent wireless drivers installed.
Tagged : / / /

Making Game: Cannot see all available wireless networks?

Original Source Link

There are two wireless networks setup in my office, a primary one and a backup. Plus there are few other wireless networks nearby. However, Windows (XP SP3) has ceased to show other available wireless networks when I am connected. I frequently have to switch networks every now and then and for that I have to go to Wireless Network Connection‘s properties, change the order of networks and Repair the connection… to much time consuming. Can anyone tell me why I can’t see all available wireless network connections? Here are the screen caps:

View Available Wireless Networks Window

View Available Wireless Networks Window

Wireless Network Connection Properties — Notice two networks that are available, up and running

Wireless Network Connection Properties

If you are sure that wifi network is around you and yet, you can’t see it in wifi list but if you manually write SSID of AP or change the preference of WiFi networks it connects, then you can check that:

  1. Access Point is broadcasting beacon frames.
  2. You have recent wireless drivers installed.
Tagged : / / /

Linux HowTo: What’s the equivalent of Wevtutil in XP or 2003?

Original Source Link

I have a batch file for saving event logs to our shared drive. I want to do this for XP and Server 2003 without very much effort. What could I use since Wevtutil is only on Vista and up?

rem Script start here
rem Timestamp Generator

set BACKUP_PATH=\shared-driveitTempEvent-Logs

rem Parse the date (e.g., Thu 02/28/2013)
set cur_yyyy=%date:~10,4%
set cur_mm=%date:~4,2%
set cur_dd=%date:~7,2%

rem Parse the time (e.g., 11:20:56.39)
set cur_hh=%time:~0,2%
if %cur_hh% lss 10 (set cur_hh=0%time:~1,1%)
set cur_nn=%time:~3,2%
set cur_ss=%time:~6,2%
set cur_ms=%time:~9,2%

rem Set the timestamp format
set timestamp=%cur_yyyy%%cur_mm%%cur_dd%-%cur_hh%%cur_nn%%cur_ss%%cur_ms%

rem Set the computername format
set servname=%computername%

wevtutil epl System %BACKUP_PATH%%servname%_%timestamp%_system.evtx
wevtutil epl Application %BACKUP_PATH%%servname%_%timestamp%_application.evtx
wevtutil epl Security %BACKUP_PATH%%servname%_%timestamp%_security.evtx

rem End of Script

Use Logevent.exe:

logevent "This is a test"
logevent -m \server1 -s W -c 100 -r "my batch program" -e 88 "batch program failed!"

In Windows 2003, XP, and Win2K, you can create, manage, and report on ETW sessions two ways: You can use the Microsoft Management Console (MMC) Performance Logs and Alerts snap-in, or you can use command-line utilities. In Windows 2003 and XP, the OS includes the command-line utilities. In Win2K, the command-line utilities are part of the Microsoft Windows 2000 Server Resource Kit and differ slightly from those in Windows 2003 and XP. In the context of the ETW architecture, the Performance Logs and Alerts snap-in and some of the command-line utilities are controller applications. Other command-line utilities provide the consumer application function.

Use one of the following tools for trace logging:

 logman 
 tracelog

References

I don’t believe what you are asking for can be done directly. The closest I’ve been able to get is to use wmic to dump the records. That method proved to be unreliable for me in Windows 7, but it seemed to work under Windows XP.

Example snippet:

    Rem The first time that WMIC runs, it may output "Please wait while WMIC is being installed." followed by the unicode answer.
    Rem cmd /a /c does not work correctly with a mix of single and double byte chars in the file.   So run first command twice (or ignore the problem).
    wmic os get lastbootuptime > %LogFileJunk%
    wmic os get lastbootuptime > %LogFileJunk%

    Rem Following call can be followed by SQL-like filters such as: GET * /format:csv OR GET TimeGenerated,User /format:csv
    wmic NTEVENT WHERE "LogFile='security' AND TimeGenerated > %Recent%" list /format:htable > %LogFileJunk% 2>nul
    dir %LogFileJunk% > NUL
    for %%c in (%LogFileJunk%) do if %%~zc GTR 2 GOTO GotLog1
    Echo !!!Unable to retrieve!!! >> %LogFileTmp%
    GOTO DoneLog1
    :GotLog1
    cmd /a /c type %LogFileJunk% >> %LogFileTmp%

Note the workarounds for wmic:

  • Run it twice in case there is a helpful (ANSI) message the first time
  • Check to make sure a real file (> 2 characters) was created
  • In my case, I needed to translate from unicode to ANSI (the ‘type’ command)
Tagged : / / / /

Making Game: What’s the equivalent of Wevtutil in XP or 2003?

Original Source Link

I have a batch file for saving event logs to our shared drive. I want to do this for XP and Server 2003 without very much effort. What could I use since Wevtutil is only on Vista and up?

rem Script start here
rem Timestamp Generator

set BACKUP_PATH=\shared-driveitTempEvent-Logs

rem Parse the date (e.g., Thu 02/28/2013)
set cur_yyyy=%date:~10,4%
set cur_mm=%date:~4,2%
set cur_dd=%date:~7,2%

rem Parse the time (e.g., 11:20:56.39)
set cur_hh=%time:~0,2%
if %cur_hh% lss 10 (set cur_hh=0%time:~1,1%)
set cur_nn=%time:~3,2%
set cur_ss=%time:~6,2%
set cur_ms=%time:~9,2%

rem Set the timestamp format
set timestamp=%cur_yyyy%%cur_mm%%cur_dd%-%cur_hh%%cur_nn%%cur_ss%%cur_ms%

rem Set the computername format
set servname=%computername%

wevtutil epl System %BACKUP_PATH%%servname%_%timestamp%_system.evtx
wevtutil epl Application %BACKUP_PATH%%servname%_%timestamp%_application.evtx
wevtutil epl Security %BACKUP_PATH%%servname%_%timestamp%_security.evtx

rem End of Script

Use Logevent.exe:

logevent "This is a test"
logevent -m \server1 -s W -c 100 -r "my batch program" -e 88 "batch program failed!"

In Windows 2003, XP, and Win2K, you can create, manage, and report on ETW sessions two ways: You can use the Microsoft Management Console (MMC) Performance Logs and Alerts snap-in, or you can use command-line utilities. In Windows 2003 and XP, the OS includes the command-line utilities. In Win2K, the command-line utilities are part of the Microsoft Windows 2000 Server Resource Kit and differ slightly from those in Windows 2003 and XP. In the context of the ETW architecture, the Performance Logs and Alerts snap-in and some of the command-line utilities are controller applications. Other command-line utilities provide the consumer application function.

Use one of the following tools for trace logging:

 logman 
 tracelog

References

I don’t believe what you are asking for can be done directly. The closest I’ve been able to get is to use wmic to dump the records. That method proved to be unreliable for me in Windows 7, but it seemed to work under Windows XP.

Example snippet:

    Rem The first time that WMIC runs, it may output "Please wait while WMIC is being installed." followed by the unicode answer.
    Rem cmd /a /c does not work correctly with a mix of single and double byte chars in the file.   So run first command twice (or ignore the problem).
    wmic os get lastbootuptime > %LogFileJunk%
    wmic os get lastbootuptime > %LogFileJunk%

    Rem Following call can be followed by SQL-like filters such as: GET * /format:csv OR GET TimeGenerated,User /format:csv
    wmic NTEVENT WHERE "LogFile='security' AND TimeGenerated > %Recent%" list /format:htable > %LogFileJunk% 2>nul
    dir %LogFileJunk% > NUL
    for %%c in (%LogFileJunk%) do if %%~zc GTR 2 GOTO GotLog1
    Echo !!!Unable to retrieve!!! >> %LogFileTmp%
    GOTO DoneLog1
    :GotLog1
    cmd /a /c type %LogFileJunk% >> %LogFileTmp%

Note the workarounds for wmic:

  • Run it twice in case there is a helpful (ANSI) message the first time
  • Check to make sure a real file (> 2 characters) was created
  • In my case, I needed to translate from unicode to ANSI (the ‘type’ command)
Tagged : / / / /