Google-Code-Fork / tibiaapi

Automatically exported from code.google.com/p/tibiaapi
MIT License
0 stars 0 forks source link

ClientChooser.ShowBox not showing up in VC#2008 #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the product are you using? On what operating system?
- TibiaAPI_v2.0_04-13-08
- VC#2008 (version 9.0.21022.8 RTM)

Please provide any additional information below.
When using ClientChooser.ShowBox() the box won't appear at all and always
returns null.
I figured using ClientChooser.ShowBox("title", false) will actually show
the box !
Don't know why but it's all up to the 'smart' parameter beign false.

Original issue reported on code.google.com by ghorre on 23 Apr 2008 at 11:19

GoogleCodeExporter commented 9 years ago
Forgot to mention I do have references and everything set up according to the 
readme
from the release zip file.

Original comment by ghorre on 23 Apr 2008 at 11:26

GoogleCodeExporter commented 9 years ago
You do have a client started to begin with right?

I cannot really ascertain your error, but I do not think it is to do with 
TibiaAPI.
Using the latest svn, on most of our apps we have:

client = Tibia.Util.ClientChooser.ShowBox();

If you would like to send me your project (please delete the bin and obj 
directories)
I would be happy to take a look at it.

Original comment by ian320 on 26 Apr 2008 at 1:15

GoogleCodeExporter commented 9 years ago
I can't find your mail in the profile here so I uploaded the project at 
RapidShare.

The link:
http://rapidshare.com/files/110503248/CBoTA.zip.html

ShowBox is used there along with parameters as it wasn't showing up otherwise.
So if you got VC#2008 and would like to test that out just change the line:
c = Tibia.ClientChooser.ShowBox("Choose Tibia client", false);
to:
c = Tibia.ClientChooser.ShowBox();

[Note]
Just noticed I got Tibia.ClientChooser instead of Tibia.Util.ClientChooser but 
when I
changed that I got this error:
"The type or namespace name 'ClientChoser' does not exist in the namespace
'Tibia.Util' (are you missing an assembly reference?)"

Original comment by ghorre on 26 Apr 2008 at 9:57