You are on page 1of 1

How to convert IMAGE data to TEXT

1) Run Query Analyzer.


2) Run the following query:
declare @a char(8000)
select @a = cast(cast(body as binary(8000)) as char(8000)) from <table name> where <condition>;
print @a
go

How to set paths in Visual Studio 6.0


1) Run RegEdit.
2) Navigate to HKEY_CURRENT_USER\Software\Microsoft\DevStudio\6.0\Build
System\Components\Platforms\Win32 (x86)\Directories
3) Edit keys add to “… Dirs” keys needed paths.

How to configure paths for calling msdev from command line


1) Open Environment Variables dialog. (Right click on “My computer” -> “Properties” -> “Advanced” ->
“Environment Variables”)
2) In “User variable for <Current user>” add and configure the following variables: (here %MS Visual
Studio% is path to a folder where Microsoft Visual Studio is installed. For example: C:\Program
Files\Microsoft Visual Studio)

Variable: path
Value: %MS Visual Studio%\Common\Tools\WinNT; %MS Visual Studio%\Common\MSDev98\Bin;
%MS Visual Studio%\Common\Tools;%MS Visual Studio%\VC98\bin;

Variable: include
Value: %MS Visual Studio% .NET 2003\SDK\v1.1\include\; %MS Visual Studio%\VC98\atl\include;
%MS Visual Studio%\VC98\mfc\include; %MS Visual Studio%\VC98\include

Variable: lib
Value: %MS Visual Studio% .NET 2003\SDK\v1.1\Lib\; %MS Visual Studio%\VC98\mfc\lib; %MS
Visual Studio%\VC98\lib

Variable: MSDevDir
Value: %MS Visual Studio%\Common\MSDev98

How to save SQL script as Unicode


1) From Main Menu of SQL Management Studio select “Save as”.
2) From “Save” button drop-down menu select “Save with Encoding”.
3) From “Encoding” combo-box select “Unicode – Codepage 1200”.
4) Click OK.

What to do if…
… Service can’t be installed from command line
On some OS (e.g. Windows Server 2008) this occurs due to security problems. Do the following: from Start
menu right click on “Command Prompt” and select “Run as administrator”. Then rerun service installation.

You might also like