MS Visual-Studio GUI programming

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
stegemma
Posts: 859
Joined: Mon Aug 10, 2009 10:05 pm
Location: Italy
Full name: Stefano Gemma

Re: MS Visual-Studio GUI programming

Post by stegemma »

The project could not be imported in VB 6.0, so i have installed VB 4.0 on a clean VirtualBox XP machine but VB seems not to work (it hangs while importing and converting the project files).

I'm searching for a workaround on this error.

PS: tryed with VB 3.0: loads the project fine, now i try to converto in text mode... then i'll move all on VB 6.0... stay connected ;)
User avatar
stegemma
Posts: 859
Joined: Mon Aug 10, 2009 10:05 pm
Location: Italy
Full name: Stefano Gemma

Re: MS Visual-Studio GUI programming

Post by stegemma »

You can download the project here:

www.linformatica.com/download/Muller/ShogiVarSG.zip

It contains both the VB 3.0 version (with form/module converted to text) and the VB 6.0 version.

You can do the same this way:

1) download VB 3.0 from here:

http://deger.republika.pl/Download_MS_B ... rsions.htm

2) install and run VB 3.0
3) open the original project
4) select one by one any form and bas module and do "File->Save as..."; check the option "save as text" and keep original file name
5) open VB 6.0 and create a new project (just loading doesn't work)
6) manually add each form and the bas module
7) you get some error on some form, just continue loading
8) correct "type Empty" to "type tEmpty"
9) compile the program and correct any reference to type Empty to tEmpty
10) in Start.frm correct this definition:

from:

Game_Click(Index as Integer, Value as Integer)

to:

Private Sub Game_Click(Index As Integer)

Now the program compiles and runs but it doesn't work.

I'm working on Satana for the italian IGT 2014 in Torino, so i can't help you more but all the forms and bas module are in text mode, now, and you can load all in VB 6.0 or even in more recent VB compilers. I think that buttons and other controls should replaced with recent ones, to make the program do something.

You can also install VB 3.0 (as said before) instead of VB 6.0 or later and you can compile and run original version, still having the option to convert manually any form, because now they are text files.

PS: i have legal license of VB 3.0 and later, up to VB 6.0
User avatar
velmarin
Posts: 1600
Joined: Mon Feb 21, 2011 9:48 am

Re: MS Visual-Studio GUI programming

Post by velmarin »

stegemma wrote:You can download the project here:

www.linformatica.com/download/Muller/ShogiVarSG.zip

Code: Select all

The page cannot be found

The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

 :( 
Hi Stefano, Thanks.
User avatar
stegemma
Posts: 859
Joined: Mon Aug 10, 2009 10:05 pm
Location: Italy
Full name: Stefano Gemma

Re: MS Visual-Studio GUI programming

Post by stegemma »

Sorry, i've saved the file in the wrong directory, now it is right:

http://www.linformatica.com/download/Mu ... iVarSG.zip

Thanks.