Tuesday, September 27, 2011
Is your screen timeout out of control?
There is a very old very simple program called delayer.
You put this program in your start folder nad set the options to run it in the shortcut which I will show you how to do.
First you need to download delayer and put it where you want to to run.
http://www.cottonwoodsw.com/dlyrsumm.html
You then want to set up a shortcut by right clicking the program and create shortcut.
Then rightclick the shortcut and select properties. You can then edit the shortcut.
The shortcut will determine how the program will work.
Here is my quick help file:
c:\tools\delayer "ping -n 1 yahoo.com" /D10 /R /M
options are "program you want to run"
/Dxxxx where xxxx = seconds up to 24 days
/R is to repeat
/M minimize the program you run
/H hide the icon for this program
I minimize the ping so I never see it run so it doesn't popup while I'm working. You can launch a text file with reminders or any other program.
Once the shortcut is created then save the shortcut in your startup folder.
If you don't keep the icon hidden you can open the delayer program and kill if needed.
I run the 32bit for windows 7, Vista, or XP.
How to set up a personal macro in Excel 2010
Once saved you need to unhide the workbook.
Once unhidden you can edit the macro and then save it. Now when you click view / macro /view macro from the toolbar you will always see your personal macro.
Wednesday, August 10, 2011
WebMatrix is Powered by People
This can lead people to free open source products where they develop first an affection for then later a dependence on these open source tools.
http://www.microsoft.com/web/webmatrix/?WT.mc_id=MSCOM_EN_US_DLC_CONFIRMATION_121LMUS007468

WebMatrix is a free and gives you a web server, a database, and programming frameworks. WebMatrix lets you use both ASP.NET and PHP applications side by side.
WebMatrix includes four integrated workspaces that help you focus on different areas of your Web site. Monitor real-time web requests and configure your Web site server settings with the Site workspace. Manage your files and edit your code using the code editor with syntax highlighting in the Files workspace. Add and manage databases using the Database workspace. And last but not least, generate SEO reports and optimize your web site for search engines using tools in the Reports workspace.
Nex time someone asks me how to get started I'm going to point them to WebMatrix
Tuesday, August 9, 2011
How to Make a directory list from your hard drive
dir e: /b/p > Movie1.txt
e: is where the movies are
movie1.txt indicates the movie disk 1 directory being written to movie1.txt
run cmd
paste in the first line of this email, then enter
So there is a separate text file for each movie drive showing the directory names that tell me what is contained on each drive.
Sunday, August 7, 2011
vb.net bring form to the front
Focus On Another Application
set the focus - VB.NET
Form.BringToFront
I was programing in Visual Studio 2010. I ran into this problem and saw no answers in any Google searches. I Saw a whole lot of very complicated and even crazy work arounds so I'm posting this to possibly help someone else who runs into a similar issue.
The problem was when I tried to get focus on the new form after it opened it would always stay in the background. This subroutine simply checks to see if a window is open with a flag I set and if it is I focus on it. When the program closes it sets the flag back to 0. I could not get the window to focus when I used
Dim frm as New vtfrmsearch
by removing the Dim statement everything worked perfect.
Private Sub SearchTempToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SearchTempToolStripMenuItem.Click
If SearchOpen = 1 Then
vtfrmsearch.Focus()
End If
If SearchOpen = 0 Then
vtfrmsearch.Show()
SearchOpen = 1
End If
End
If you want a form to always stay on top until it is closed use:
vtfrmsearch.ShowDialog()
Sub
Wednesday, April 27, 2011
The Devil is in the Details
I recently bought a PCI Express Sound Blaster X-Fi Titanium Fatal1ty Professional Series sound card. I know it doesn't follow with the whole concept of high tech on a budget except for the fact that I picked this up for $60 on a black Friday deal at Newegg when it normally runs for about $150.
I picked this card over other brands because it has a s/pdif output that I was hoping to use the fiber optic connection on to eliminate some noise hum.
28% of the reviews were 3 eggs or less out of 5. If you buy something and you rate it less than 4 eggs then there is a real problem. One of the biggest problems was what I ran into and I saw countless people including myself complaining that this board doesn't play multichannel 5.1 or greater Dolby out the S-PDIF/SPDIF optical connector.
This just happens to be one of the distinguishing features about this board when compared to it's much cheaper competition.
The install process takes about 30 minutes to 1 hour depending on how attentive you are to the process. Once installed the software informs you that you are not running the latest versions of a few of its software packages. This download and re-install took another hour. After 2 hours of mind numbing installs I was ready to test the card. Well I needed music for that or at least some good audio testing software. It turns out the card comes with a dashboard that is actually quite nice for setting up and testing your speaker setup.
To sum things up a bit Windows 7 does not support multi-channel audio (over 2.1) on spdif.
Creative handles this in the most part by providing PowerDVD9 by cyberlink which is a great addition. This is the full version of this software. You can then play upto 7.1 audio through the spdif.
Secondly the Creative software is buggy and in most cases it will say you don't have the hardware installed after your hardware check passes. DRM fail is my guess. I hope this hurts thier sales none the less. I compiled a few hints, tips, and links that I reallt don't want to get into detail about because of the mass frustration dealing with the software included with this card. There are much cheaper solutions out there.
There are 3 components to the set up process.
1.) First you need to ensure the operating system is seeing the card. Many help and forum sites on the internet say you need to disable onboard Realtek audio as well as any other audio sources. This is not true. It might eliminate some confusion but the Windows 7 sound properties clearly indicate what sound devices are installed unless you don't have the manufacturer drivers installed properly.
You need to check off the box in the advanced tab "Allow applications to take exclusive control.."
The software comes with some tools that allow you to change some presets and give you some control over the sound card.
Here are some links to play around with:
Dolby* Control Center:http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&ProdId=3065&DwnldID=17893&ProductFamily=Desktop+Boards&ProductLine=Intel%c2%ae+5+Series+Chipset+Boards&ProductProduct=Intel%c2%ae+Desktop+Board+DP55SB&lang=eng
fails to launch even with Windows 7 compatibility mode and running as administrator
http://www.dolby.com/consumer/product/pc/software/windows-7.html
From the windows 7 site:
http://www.dolby.com/professional/technology/home-theater/dolby-digital-plus.html
Channels: 1.0 to 7.1, discrete
Data rate: 32 kbps–6 Mbps, scalable; typical range on HD optical discs is 768 kbps–1.5 Mbps
Supports Dolby metadata: Yes
Connections: S/PDIF, HDMI, IEEE 1394
Mixing/streaming capabilities: Yes
Backward Compatibility: Yes; S/PDIF to legacy A/V receivers (640 kbps data rate)
Connector Signal TypesLine output: Two-, six-, and eight-channel analog
S/PDIF: Two-channel PCM and Dolby Digital
HDMI 1.1/HDMI 1.2: Two-, six-, and eight-channel PCM and Dolby Digital
HDMI 1.3: Two-, six-, and eight-channel PCM, Dolby Digital, Dolby Digital Plus, and Dolby TrueHD bitstreams
http://kadaitcha.cx/xp/3dsurround.html
ac3Filter is a high quality free audio decoder and processor filter. It allows media players to playback movies with AC3 and DTS audio tracks. Also it can process any audio track, much of processing options allows to adjust the sound in almost any way. It is possible to upmix any audio source to 6 channels. Filter can do multi-channel and digital (SPDIF) output. It can encode any audio source to AC3 on-the-fly and send it over SPDIF to the receiver.
Lost and Found
Find stuff you lost, find stuff you didn't know was there, and get rid of unwanted files.