Posts

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

A surprise from Microsoft Visual Studio 2010 to the developers

Hi, if you create Windows From Application based on C++ environment in Microsoft Visual Studio 2010.You will not use Intellisense. you will face a good message : 'IntelliSense unavailable for C++/CLI' But do not worry,You can look for 3rd party tools.There are great tools to help you. regards, P.S:Please do not hesitate to share your comments.

error C2065: 'CW2A' : undeclared identifier if atlconv.h is added into project

Selam (Hi in Turkish), if you get an Error : 'error C2065: 'CW2A' : undeclared identifier' in your C++ project(either ActiveX) while compiling the line which is included COLE2T statement (#define COLE2T CW2T in atlconv.h). please check below within your project; 1- Be sure that your project is supported by ATL (if it is ActiveX). To prepare your project for working with ATL , just add class via right click of Project in Microsoft Visual Studio Solution Explorer and select add>class>'Add ATL Support to MFC'.Visual Studio will set up the current project. 2- use statement with ATL:: prefix ( ATL::COLE2T lpszIID(lpszOleIID) ). Gule Gule (Bye Bye in Turkish). P.S:Please do not hesitate to share your comments.