Funny, Microsoft had to change the way they handle ActiveX in the browser because they lost a patent…well, Outlook Web 2003 succumbs to the change, as in a new message, it asks you to hit enter or tab to activate the control. What a waste…you would think they could have a better workaround or just pay licensing on the patent.
Category: Geeky/Programming
Backing Up DVD's
I have around 70 DVD’s, and I want to just watch them from my computer. I first thought about just ripping to avi/divx, which is good, but you lose metadata. Also, with Media Center Edition 2005, there is the My DVDs area which you dont get to use with avi’s. I decided to use DVDShrik and DVDProfiler to just rip my dvd’s to my hard disk in the raw format. I figured if I wanted to then convert to avi I can. One thing is though, I need more hard drive space. 🙂
I had a need to customize a cc.net project list, and if you install CCTray, in c:Program Filescctray you will see 3 dll’s.
ThoughtWorks.CruiseControl.CCTrayLib
ThoughtWorks.CruiseControl.Remote
NetReflector
Note: If you have the latest CCTray installed, then you will have to develop any custom application in .NET 2.0
So first this, you need to reference those 3 dll’s, and add a using statement to your code
.csharpcode { font-size: small; color: black; font-family: Courier New , Courier, Monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em; } .csharpcode .lnum { color: #606060; }
using ThoughtWorks.CruiseControl.CCTrayLib.Configuration; using ThoughtWorks.CruiseControl.CCTrayLib.ServerConnection; using ThoughtWorks.CruiseControl.Remote;
RemoteCruiseManagerFactory factory = new RemoteCruiseManagerFactory(); ICruiseManager manager = factory.GetCruiseManager("tcp://buildserver:21234/CruiseManager.rem"); ProjectStatus[] projectStatuses = manager.GetProjectStatus(); foreach (ProjectStatus status in projectStatuses) { //status.Name; = Project Name //status.WebURL; = Web URL for the cc.net project //status.BuildStatus.ToString(); = cc.net build status }
Well, I spent more time trying to format the code on this post than actually coding the program, so that stinks. I wish it wasnt such a pain to preserve formatting
Sounds like some dating gameshow, where you are of the winner..and the date you get is someone you just aren’t sure of. Anyways, if you see this error in VS2005 (asp.net), what I have seen it means is: you have some control variables decalred in your codebehind file, and they are also declared in the designer.cs file. To fix, just remove them from the codebehind file and it should build. If you are using Web Application Projects, I have also seen that using “CodeFile=” instead of “CodeBehind=” doesn’t work when you goto deploy. It seems that CodeFile wants the .cs file to be present, and I am guessing most people dont want to deploy their source code along with their aspx files. Happy Coding 🙂
If you are using VS2005, and using the add on for Web Application Projects, you probably have hit Scott Guthrie’s tutorial One tip I can share: turn off optimizations in your VS2003 project before upgrading, or before you try debugging once you have upgraded, it will throw up an error. Other than that, most of the issues you will see will be from Namespace conflicts, or file naming conflicts (Profile, Roles, etc).
St. Cloud Times RSS Feed
Well, a while ago I wrote a program to create a RSS feed off of the St. Cloud Times website, but I let it go and stopped running it, but if anyone wants an RSS for the local news on the ScTimes, here you go
Blackberry Debacle
I think it is funny to read about the whole Blackberry thing, where it might get shut off. I can see all the CEO’s running around worried they might lose their emails. I think if the majority of people who used a Blackberry had the experience to use a Pocket PC phone running Windows Mobile, or even a Treo running Palm, they would throw their Blackberry’s out. Using a Blackberry is like using Itunes. You get stuck to their server (or hack to get it working with out, with twice the overhead). A device like a Pocket PC 6700 from Sprint – Windows Mobile, built in wifi, bluetooth, and then with Sprint’s EV-DO internet, you are money in the bank. And since it is running a form of Windows, it is easier for developers to create programs that will run on the platform.
ok. Dang it I don’t like C++ and I was getting this error trying to compile a solution. Since searching in google doesnt give anything (do c++ developers use the internet yet?) I am posting this here for the next unlucky soul. What it means is that file is missing from an executable path or include path. What I did to fix was find midl.exe in another directory (C:Program FilesMicrosoft Visual Studio .NET 2003Common7ToolsBin to be exact) and then copied it to
C:program filesMicrosoft Visual Studio .NET 2003Vc7bin
and
C:program filesMicrosoft Visual Studio .NET 2003SDKv1.1Bin
and then my solution finally compiled. 🙂
if you are trying to execute a process in .net and trying to pass in arguments, and seem to not be getting anywhere, in the “start info”, set UseShellExecute = false. Worked for me 🙂
Why Jack Bauer is a Programmer
Since I am a huge “24” fan, and a programmer, I thought this was cool