FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour VsCode Portable
Posts: 1710
Joined: Tue Oct 28, 2008 06:26 PM
VsCode Portable
Posted: Fri Jun 27, 2025 01:35 PM
Dear all,

You can download it here:
https://code.visualstudio.com/download

Choose the .zip and unzip it wherever you want.

So you can get used to this wonderful editor and be ready for the webinar Antonio will be giving.

You can use it with BCC or MSVC + (x)Harbour.

You must install the following extensions:
- Harbor and xHarbour by Antonio Perricone.
- Project manager by Alesandro Fragnani.
- Task by Actboy168 to display a button in the taskbar to compile directly.

Create your Task like this
{
"version": "2.0.0",
"tasks": [
{
"label": "Compile",
"type": "shell",
"command": "D:\\Systems\\Contab\\GoHbmk.bat",
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
The GoHbmk.bat for BCC
if exists contab.exe of contab.exe
Set path=D:\Systems\Compiler\BCC77\BIN
D:\Systems\Compiler\HarbourBC\bin\hbmk2 prg\project.hbp -comp=bcc64 -run
He project.hbp
-gui
-w0
-inc
-ID:\Systems\Compiler\FWH\include;D:\Systems\Compiler\BCC77\include

Contab.PRG
Contab11.PRG
Contab.RES
Contab.RC
D:\Systems\Sources\Processes.PRG

-workdir=..\OBJ
-optim-
-ldflag+=-aa
-LD:\Systems\Compiler\FWH\LIB;D:\Systems\Compiler\BCC77\lib
-lFive64
-lFiveC64

xhb.hbc
hbziparc.hbc
This is enough to compile your systems with BCC.

For MSVC, you must install Visual Studio 2022, which can also be made portable.

I hope it helps and decide to change. Come on, it can be done.
Saludos,



Adhemar C.

Continue the discussion