Posts

An error installing Microsoft SQL Server 2008 about .NET Framework 3.5 SP1

Hi, if you are facing an error regarding .Net Framework 3.5 SP1 needs to be installed please follow below; I think the problem is about .NET Framework pre-requirement files have some problem. Copy your SQL setup media to your local hard disk. 1. Download .NetFramework 3.5 SP1 (which corresponds to your architecture - x86, x64 or i64) 2. Do not try to install it by double clicking it, rather extract it first to a location of your choice by issuing this command .exe /x:c:\dotNetFramework35SP1\ for example dotNetFx35Setup.exe /x:c:\dotNetFramework35SP1\ (whatever the name is just use it) 3. Open the folder where you extracted the files. You will find a folder named "wcu" open this folder as well. You will find a folder named "dotNetFramework". 4. Copy everything inside this folder. 5. go to SQL2008 setup folder > FOR EXAMPLE x86, x64 > redist > dotNetFrameworks 6. Paste your files there (replace if prompted). good luck...

an adventure restoring Windows after 3 years

Hi, I just would like to share some tricks, you may need them in future. You should not follow each steps one by one,Just focus on the step the best fitted into your requirements. Couple days ago,i want to do maintenance in my old laptop (Toshiba Satellite Series).The easiest way is; turn it as the first day i bought. Here is step by Step (need 4 GB USB Flash disk and second laptop :)) 1- I backed up all Users directory 2- I figured out,i had a ghost file taken by Norton Ghost in Hiren's Boot CD (http://www.hiren.info/pages/bootcd - All in One Bootable CD which has all necessary utilities).I have not got any empty CD to create bootable CD so i have to make bootable USB. Restore from GHOST by Hiren's bootable USB 3- First of all I downloaded Hiren's CD iso file from the web site above. 4- To create bootable USB,insert USB into laptop and set as bootable by http://www.hiren.info/download/freeware-tools/USBFormat.zip 5- Run executable file from zip file 6- Set ap

Oracle SQL Developer unable to find Java Virtual Machinet

if you face an error about unable to find Java Virtual Machine while running Oracle SQL Developer in 64 bit Systems.The problem is related with unsupporting SQL Developer for 64 bit systems. Solution; Oracle SQL developer is NOT support on 64 bits JDK. To solve it, install a 32 bits / x86 JDK and update your SQL developer config file, so that it points to the 32 bits JDK. Fix it! Edit the “sqldeveloper.conf“, which can be found under “{ORACLE_HOME}\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf“, make sure “SetJavaHome” is point to your 32 bits JDK. For example, “SetJavaHome C:\Program Files (x86) \Java\jdk1.6.0_13“. cheers,

some notes about vb6 to vb.net conversion based on syntax

Conversion history and architecture will be published later... 1 - fixed sized string with default value VB6 ; Dim sTempPath As String sTempPath = String(255, vbNullChar) VB.NET ; Dim sTempPath As String sTempPath = New String(CChar(vbNullChar), 255) 2- Current Date VB6 ; sLogData = Date & " User : " & PMP_USER_NAME VB.NET; sLogData = Date.Today & " User : " & PMP_USER_NAME 3- Null value VB6; sDate = Null VB.NET; sDate = Nothing 4- Default Property(Attribute) VB6; Tools Menu Procedure Attribute Select "Name" for Property click "Advanced" button set "Procedure ID" combo box and select "(Default)" VB.NET; add "Default" into Property such as : Default Public ReadOnly Property Item (IndexKey As Object) As clsItem 5- Equivalent of Mouse Pointer VB6; Screen.MousePointer = vbHourglas VB.NET; add Windows.Form Reference then Cursor.Current = Cursors.WaitCursor 6- Equivalent of Timer VB6; Tim

Exception from HRESULT: 0x80040202 System.Runtime.InteropServices.COMException

There is kind of possible reason. Ensure that dll or tlb or any library files exist in the current directory.

DISP_FUNCTION_ID

Hi, DISP_FUNCTION_ID : You should define dispatching map for any method in ActiveX to be used for COM. If the map is not set correctly,Method will not be seen anymore. DISP_FUNCTION_ID gets 6 parameters.These are; 1-class,method belongs to 2-External Method name,value can be method name 3-Dispatch id of method,unique number 4-Method 5- Return value should be one of VARENUM in wtypes.h 6- Parameters value defines in afxdisp.h (space is seperator of each params) for example; DISP_FUNCTION_ID(C_X_OleLibraryCtrl, "GetIDLMsg", 1, GetIDLMsg, VT_BSTR /* return type*/, VTS_PVARIANT VTS_BSTR /* two parameters are seperated by empty*/) good luck, P.S. If you have any comments please do not hesitate share.

error LNK2001: unresolved external symbol and error LNK1120: 1 unresolved externals

if you get errors while linking compiled code and making project output file (such as .exe,.dll) in MVC++ with subject of "error LNK2001: unresolved external symbol and error LNK1120: 1 unresolved externals",It seems there is missing library definition in addition if the message is related with "DEFINE_GUID" ,There is unordered including headers. Please check belows; 1-Check all headers that may use,are included 2-Check directories of referenced files are set in project (Right Click to Project in Micosoft Visual Studio 2010>Properties>Configuration Properties>VC++Directories and 3- check Libraries dependencies (Right Click to Project in Micosoft Visual Studio 2010>Properties>Configuration Properties>Linker>Input>Additional Dependencies) 4-Please follow the exact code and if it is about "DEFINE_GUID", initialize GUID (#include ) before include any project based headers. ( http://support.microsoft.com/kb/130869/en-us ) obtains d