Sunday, September 04, 2011

How to install Office 2010 on Win XP SP2

First install MSXML 6.0 from here Download

Open registry editor by. Start-> Run -> type "regedit" without quotes.

Navigate registry to

HKLM\SYSTEM\CurrentControlSet\Control\Windows

Edit Value of key CSD Version. (to edit double-click on it)

Change value from 200 to 300.

300 stands for XP SP3, 200 stands for XP SP2, 100 stands for XP SP1 .

Restart Your pc

Install MS Office 2010

After installation , revert change to 200 in registry, so system know that it is SP2

Wednesday, July 13, 2011

Passing parameter in vb.net from child form to parent

passing parameter from child to parent is little hard than passing from parent to child

in vb.net

follow the following

Declare Private form level variable in child form

Private strData As String

and also create public property to set and get this variable.

Public Property AnyName() as string
Get
Return strData
End Get

Set(ByVal value As String)
strData=value
End Set
End Property


That's All

now you can test it from in your Command Button or any other child calling event parent as :

Dim dlg As New frmName : dlg.ShowDialog()

If dlg.AnyName <> "" Then MsgBox(dlg.AnyName)



Tuesday, January 11, 2011