Skip to main content

Posts

Adobe Download Assistant Problems

I've run into some strange issues with downloading the Adobe photoshop CS5 trial. This is the error message I've been receiving: Error communicating with Adobe.com (Error 100). I tried all of the steps mentioned here with no luck: http://kb2.adobe.com/cps/898/cpsid_89867.html The Solution that actually worked for me was a combination of the above with one important step (This is on a Windows 7 64 bit PC): Remove preferences folder from C:\Users\%username%\AppData\Adobe.comblahblaahblah Just delete this folder. Now uninstall Adobe Download Assistant from the contral panel. Login to Adobe.com and download the Download Assistant again. Install Close Go to Start ==> Programs ==> Right click on Adobe Download Assistant and RUN AS ADMINISTRATOR. After, I started the application as an administrator I was able to search through the Download Assistant for the CS5 trial and start my download. This all took me about 2 hours of trial and error to figure out. Hope I saved you guys som...

VMware Virtualization Software

I just created this post to commend the awesomeness of VMware (VMs) as a virtualization solution. I now have 3 VMs setup to isolate test environments for various applications. Back in the mainframe days, this was accomplished through a series of complicated Test & Pilot systems. However, with VMs, setup is quick and there are standard wizards to assist with more complicated tasks. I was able to increase my hard drive from 10GB to 40GB without any painful MSDOS commands using the wizard. Which brings me to the objective of this post; I have installed the latest and greatest Visual Studio 2010 and will be posting some tips and tricks for integration with the AS400 using managed providers. Coming soon…. Quick Tip: MSDOS Sometimes we can forget how useful DOS commands can be for managing files and batch jobs. Here’s a quick tip on appending file names: *Run the following commands in DOS. Make sure to turn the Y?N response indicator to NO! SELECT FILE_NAME , 'copy...

Reporting in VS 2008 - Coming Soon

I will be taking a shot at client side reporting using legacy data. Meaning, producing a report on a local machine rather on a central server. Before VS 2005, Microsoft provided several choices to develop reports such as Crystal Reports from Business Objects. Then VS 2005 introduces Reporting Services at the client-side which is a serious tool to develop reports. I will try to produce a customized report from scratch for Reporting Services using the enhancements of VS 2008. I will also cutomize the pre-defined template and later try to build an psuedo ad-hoc reporting application for users. I will post the results soon......

Remote Debugger

This little jewel ships with Visual Studio and really works. Reminds me of using an old tool called Xpeditor on the mainframe minus the obtuse commands and complicated library setup. With the remote debugger you're allowed to walk through your code, setting breakpoints if necessary on another workstation or server. Using the remote debugger (step by step instructions; courtesy of techrepublic.com) Once you install all the components, you can use the remote debugger with your own applications. Follow these steps to use it with a C#/VB.NET application: 1. In Visual Studio, choose Properties on the Project menu. 2. Select Debug from the Properties page. 3. For the Start Action setting, select Start External Program and in the field type the complete path to the executable on the host computer (running the remote debugger monitor). 4. Under Start Options in the working directory box, type the directory where the executable is located. 5. Select Use Remote Machine a...

IBM.Data.DB2.iSeries Class

Error Message: Object reference not set to an instance of an object. or IBM.Data.DB2.iSeries.iDB2SQLErrorException: SQL0666 Estimated query processing time 56 exceeds limit 30. Private Sub btnUpdate1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpdate1.Click Dim cn As iDB2Connection = New iDB2Connection("User ID=me;Password=me;Data Source=TESTIP;Connection Timeout = 0") cn.Open() Dim strQuery As String = String.Empty strQuery = "Select * from Employee" Dim cmd As iDB2Command = New iDB2Command(strQuery, cn) cn.Close() End Sub ================================================================ SOLUTION: The iDB2Command command timeout must be set to 0 (zero) to override the default of 30. If your job is estimated to run longer than 30 seconds you will receive an exception. Private Sub btnUpdate1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpdate1.Click Dim cn As iDB2Connection = New ...

Pesky Multiple button clicks…

Error: I have to click the cancel(OK, Yes, No) button twice in my form. Components used: Messagebox.show (String,String,messageboxbuttons,Icon) returns dialog result. Example code: Sub Main MessageBox.Show("*Please Note: This is a really long process. Select OK continue or Cancel to exit application.", "SUBMIT CONFIRMATION", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning) If (MessageBox.Show("*Please Note: This is a really long process. Select OK continue or Cancel to exit application.", "SUBMIT CONFIRMATION", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning) = Windows.Forms.DialogResult.Cancel) Then Me.Close() Else Do something.... End If End Sub Problem: The OK and Cancel buttons must be selected twice before the next line is processed. Solution: Don’t be an idiot! You are calling this function twice! Remove the first MessageBox.Show command. TIMER & PROGRESS BAR TIPS: Don’t attempt to add a timer or progress bar within a long runni...