Search found 31 matches

by Sbryan
Wed Oct 27, 2021 6:21 am
Forum: CXP / Web Development
Topic: CXP compile error on html page
Replies: 5
Views: 6161

Re: CXP compile error on html page

I figured out what the problem was but not sure why it's happening.

For some reason, CXP doesn't like something in the name of the file auth-lock.cxp. By just changing the name to something else it compiled and ran as expected. At least I know what to look for when I see this problem again.
by Sbryan
Tue Oct 26, 2021 8:05 am
Forum: CXP / Web Development
Topic: CXP compile error on html page
Replies: 5
Views: 6161

CXP compile error on html page

I've been away from programming a few years but now I'm looking at writing a web based program for internal use using CXP on IIS. I've done something similar in the past but this time I'm using the Tabler dashboard template for the framework. I've downloaded and installed Tabler along with the other...
by Sbryan
Fri Jun 28, 2019 10:43 am
Forum: eXpress++ Support
Topic: PushButton can perform 2 diferent actions?
Replies: 14
Views: 21288

Re: PushButton can perform 2 diferent actions?

I'm getting an error too.

I rebuilt dclipx.dll with the new files and ran the included test which worked fine. When I rebuild an existing program with no other changes I get this error when I try to run it.
error.JPG
error.JPG (37.87 KiB) Viewed 14460 times
by Sbryan
Wed Jun 12, 2019 11:58 am
Forum: eXpress++ Support
Topic: Error in :SetAmbientBGColor
Replies: 10
Views: 19167

Re: Error in :SetAmbientBGColor

Since others have run into this error with DCHTMLVIEWER you may want to figure out what's happening but in my situation, I found it better to use DCHTMLWINDOW since I was just displaying html that was stored in a memo field. It took a little figuring out to understand how to refresh the screen when ...
by Sbryan
Thu Jun 06, 2019 12:05 pm
Forum: eXpress++ Support
Topic: Error in :SetAmbientBGColor
Replies: 10
Views: 19167

Re: Error in :SetAmbientBGColor

I attached a simple test program that shows the problem. It's just a DCHTMLVIEWER with a DCTABPAGE as the parent.

If you attempt to resize the window the error pops up.
by Sbryan
Thu Jun 06, 2019 11:04 am
Forum: eXpress++ Support
Topic: Error in :SetAmbientBGColor
Replies: 10
Views: 19167

Re: Error in :SetAmbientBGColor

I scaled down my application to make it easier to test and went through and eliminated any font references but still get the error on resize. It only happens when I try to place DCHTMLVIEWER inside a DCTABPAGE. If I place it outside the Tab it resizes correctly. I'm hoping there's a way around this ...
by Sbryan
Thu Jun 06, 2019 8:23 am
Forum: eXpress++ Support
Topic: Error in :SetAmbientBGColor
Replies: 10
Views: 19167

Re: Error in :SetAmbientBGColor

I realize this is a very old thread but I just ran into this same problem. I'm trying to use DCHTMLVIEWER on a tab page to display some html which has been stored in a field using: @1,10 DCHTMLVIEWER oHTML PARENT oTabPage2 SETHTML oItem:descrip SIZE 100,16 It works fine until I attempt to resize the...
by Sbryan
Wed Jan 27, 2016 11:37 am
Forum: eXpress++ Support
Topic: Testers needed for XdotServer
Replies: 8
Views: 12024

Re: Testers needed for XdotServer

Does it require the Xbase++ professional subscription?
by Sbryan
Tue Nov 24, 2015 4:23 pm
Forum: eXpress++ Support
Topic: DC_Array2CSV
Replies: 9
Views: 17477

Re: DC_Array2CSV

I'm not sure I understand the problem here.
If a field has a quote symbol " it needs to be double quoted "" or it messes up.

{'Y','0123456','ITEM SIZE 10" X 12"',20}

I didn't put that in my previous sample because I was handling it when I built the array.
by Sbryan
Tue Nov 24, 2015 11:41 am
Forum: eXpress++ Support
Topic: DC_Array2CSV
Replies: 9
Views: 17477

Re: DC_Array2CSV

Yes, that works for me too.

Would there be any reason to not handle the quote problem in there too?

Something like:

cLine += '"' + strtran(aData[i,j],'"','""') + '"'