cancel
Showing results for 
Search instead for 
Did you mean: 

UI: Failed connecting to the company's database

Former Member
0 Kudos
545

Hello,

I'm a beginner with SAPb1 development and I'm trying to practice a little bit before starting real development. I try to use the sample "HelloWorld" which uses the UI API. When I start it, I always have this message : "Failed connecting to the company's database". I've got no idea why ?

Does anyone can help me ?

By the way, if someone can tell me how to use a form made by Screen Painter in Visual Basic 6 that would be nice as I don't find a lot of information about that.

Vincent

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

OK. Thanks for the information. I retry this morning and everything work perfectly.

For the training. That's a really good idea but as my company is based in Sydney, that's not really easy to come back in Europe just for a training. So I have to learn a little bit by myself and try to train as much as possible.

Vincent

former_member185703
Active Contributor
0 Kudos

Hi Vincent,

there's no need to come over to Europe for training.

Just this month there's a SDK-Trining in Sydney.

Best regards,

Frank

former_member185703
Active Contributor
0 Kudos

Hi Vincent,

first of all I would like to recommend you very strongly to get trained for SAP Business One SDK, if you want to do "real development"!!!

In addition to that, please use a prefix for the topics like "UI: " or "DI: " or "SBO: " to allow a faster monitoring of the posts.

Did you follow the installation instructions?

Do you use a named instance of MS SQL Server (some additional configuration has to be done in this case)?

Did you modify the sample?

ScreenPainter:

Please use the documentation shipped. Check the UI help file in addition to that. In this case ("use a form...") e.g. search for "XML". You will find several entries listed. One of them is about the "LoadBatchActions" method of the application object what is the starting point of what you are looking for!

The rest of it is plane UI API programming (events, loading, data bindung etc.) what you would learn in a SDK Training (see SAP Service Marketplace "Education" area for that).

Best regards,

Frank