Archive for November, 2010

Adding Microsoft Advertising to Windows Phone 7 using pubCenter

November 25, 2010

When you sign up, you will be able to get paid by check or EFT and see your stats in graphic form at pubCenter.

Wow! Adding Microsoft Advertising to Windows Phone 7 (WP7) could not be any easier.  The instructions are below.

Note:  Signup at this time is closed.  But, it promises to reopen soon.  This is because they want to work the “kinks” out of the system. 

Go to the website called the Microsoft Advertising pubCenter

  1. Login with your Microsoft Live Account
  2. When you login in you register your application and type of advertising.
  3. You then are instructed to get the dll needed.
  4. You add the dll to your application.
  5. Make a space for it in your app page
  6. Put into the properties of the advertising control the app id and advertising id
  7. That is all there is to it

To see a short video explaining this go to t 

Microsoft Advertising pubCenter SDK for Windows Phone 7

SAP Crystal Reports for Visual Studio 2010 files needed to Download

November 24, 2010

There is no Registration for this.

Crystal Reports is not part of Visual Studio 2010 when you install Visual Studio 2010.

You have to download the following files from the table below.


Four download packages.

Name Description File Name

SAP Crystal Reports, version for Visual Studio 2010 –

Standard EXE installation package which installs the software into the Visual Studio IDE.


SAP Crystal Reports, version for Visual Studio 2010 –

Click once installation package used to create self-updating Windows-based applications which can be installed and run with minimal user interaction.

SAP Crystal Reports, version for Visual Studio 2010 –

Merge modules installation package used to install components which are shared by multiple applications

SAP Crystal Reports runtime engine for .NET Framework 4 (32-bit)

Runtime Engine for .NET Framework 4 (32-bit)

SAP Crystal Reports runtime engine for .NET Framework 4 (64-bit)

Runtime Engine for .NET Framework 4 (64-bit)

Datasets (DS) and DataTables (DT) in .NET

November 23, 2010

Question was asked:

When I’m using a recordset in VB6, I can use either of the following:



Do both of those work in .NET?



You don’t read the Dataset value directly

You put the dataset into a datatable and then you can reference it.

Like the following: PlanIdSearchComboBoxDT.Rows(i).Item("PlanID")


ReportMobiusDS = NADPMobiusReportDA.GetReportMobiusDataSet(currentError, _NADPMobiusReportDetail, StoredProcedureName)

ReportMobiusDS = NADPMobiusReportDA.GetReportMobiusDataSet(currentError, _NADPMobiusReportDetail, StoredProcedureName)

If Not currentError.Severity = FBError.ErrorSeverity.NoErrors Then MessageBox.Show(currentError.FriendlyError)



‘We then insert the report dataset in a data table in order to preserve formatting

dt = ReportMobiusDS.Tables(0)

‘NOTE: Tables are returned select statements.  The first return is indexed 0.  If you have multiple selects returning from a stored procedure you can call it by the zero based index of the table. 

Dim row As DataRow

For Each row In dt.Rows

If row("strLineToPrint").ToString <> "" Then s.WriteLine(CStr(row("strLineToPrint")).ToUpper)


…continue code…

Using the Hardware Keyboard with the Microsoft Windows Phone 7 (MWP7) Emulator

November 17, 2010

Toggle the PAUSE/BREAK Key on the hardware keyboard to get the hardware Keyboard to replace the screen keyboard during development on the emulator.

.NET Certification Online Training Sites

November 15, 2010


This is just one of many sites for Online .NET certification.  I have not tried it, but I am interested in it.

Does anyone have any experience with it? 

Microsoft Expression Encoder

November 12, 2010

You use Expression Encoder to take the captured screen video from the program called

“Microsoft Expression Encoder 3 Screen Capture”.  To convert it to WMV (Windows Media Video) format you run the “Microsoft Expression Encoder” program and run File\Encode to store it in the format of WMV.

The encoder software from Expression Studio will save the encoded file as a default to the following directory.

C:\Documents and Settings\[Your Name]\My Documents\Expression\Expression Encoder\Output

Please see me for any assistance or demo you may need.

Changing the Default Environmental Settings in Visual Studio 2010

November 9, 2010

If you want to choose to use a different collection of settings at any time after you choose a Default Environment Settings in Visual Studio 2010.  From the Tools menu, choose Import and Export Settings and then choose Reset all Settings.

When installing Visual Studio 2010 you are asked to choose a default Environment Settings.  Figure 1.  Choose Default Enviroment Settings