1. Murugeshan KN
  2. PowerBuilder
  3. Saturday, 9 November 2019 11:46 AM UTC

GetOpenFileName function works normal in the regular windows app and same thing when deployed in .net version it is not prompting the Open Dialog window.  Please suggest some solution.

Accepted Answer
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Monday, 11 November 2019 07:14 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi Murugeshan,

The function GetOpenFileName is supported by PowerServer Web but unsupported by PowerServer Mobile. If you want to run application on web only, please make sure the project type is ‘Web’ (Toolkit > Configure > Application Profile Configuration> Basic Settings), thus the unsupported features report would only include the unsupported features by PowerServer Web (the report will include all the unsupported features by Web and Mobile if the project type is ‘Both’).

Regards,
ZhaoKai

Attachments (1)
Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 11 November 2019 16:02 PM UTC
  2. PowerBuilder
  3. # 1

Hi Murugeshan;

  FWIW: I always create two PowerServer profiles per Application. One for Web and the other for Mobile. There are a few subtle differences between the environments. Having one profile for each type of deployment allows me to keep these differences separated (by different PBL libraries) and the PS Toolkit generating the appropriate code and/or warning messages.

  Its a bit of a PIA to have both PS Toolkit profiles but it pays off in the long run IMHO. Just my $0.02.

Regards ... Chris

Comment
  1. Murugeshan KN
  2. Tuesday, 12 November 2019 12:37 PM UTC
I welcome your suggestion. Thank you.
  1. Helpful
There are no comments made yet.
Murugeshan KN Accepted Answer Pending Moderation
  1. Monday, 11 November 2019 08:43 AM UTC
  2. PowerBuilder
  3. # 2

Hi ZhaoKai,

You solved my problem.

Earlier I maintained Project Type as 'Both' and while deploying to Power Server, no report of Unsupported features were listed and it was not working too.

Now as per your suggestion I maintained Project Type as 'Web' and it started working.

Thanks you very much. 

Best Regards

Murugeshan KN

 

 

 

Comment
There are no comments made yet.
Murugeshan KN Accepted Answer Pending Moderation
  1. Sunday, 10 November 2019 05:07 AM UTC
  2. PowerBuilder
  3. # 3

Absolutely Yes.

Comment
  1. Armeen Mazda @Appeon
  2. Sunday, 10 November 2019 06:17 AM UTC
Which one? I listed two things. We can't help you if you don't explain clearly.
  1. Helpful
  1. Murugeshan KN
  2. Sunday, 10 November 2019 06:40 AM UTC
Sorry. It is on Powerserver. Please help me. I am totally stuck at this point.

  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Saturday, 9 November 2019 16:35 PM UTC
  2. PowerBuilder
  3. # 4

When you say .NET and browser are you talking about PowerBuilder WebForms or PowerServer?

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.