Search found 9 matches

by ranjsuri
Wed Aug 29, 2012 2:36 pm
Forum: General Development
Topic: HTTP Client Content-Type
Replies: 1
Views: 4432

Luis figured the answer out -

HEADER Content-Type: application/json; charset=UTF-8
by ranjsuri
Wed Aug 29, 2012 10:32 am
Forum: General Development
Topic: HTTP Client Content-Type
Replies: 1
Views: 4432

HTTP Client Content-Type

I am trying to communicate with a WCF webservice which accepts JSON input and am getting back this error - The incoming message has an unexpected message format 'Raw'. The expected message formats for the operation are 'Xml', 'Json'. Can someone provide me an example of how and where this can be set...
by ranjsuri
Mon Jan 09, 2012 8:25 am
Forum: Advanced Concepts
Topic: Grids/Combos/CurFld
Replies: 1
Views: 10402

Grids/Combos/CurFld

Questions continue.. Can someone explain why in this example, curfld always returns 1, even if the cursor is returned from the comboboxes 00020 DIM Combovalues$(3)*10 00040 DATA "Value 1","Value 2","Value 3" 00060 READ Mat Combovalues$ 00080 DIM Headings$(5), Widths(5),...
by ranjsuri
Tue Dec 27, 2011 10:41 am
Forum: Advanced Concepts
Topic: name=OPEN:
Replies: 9
Views: 19860

Thanks, that does work.. although, i could swear, I tried that before! Anyway!
Much appreciate your input and help
by ranjsuri
Tue Dec 27, 2011 7:40 am
Forum: Advanced Concepts
Topic: name=OPEN:
Replies: 9
Views: 19860

Unfortunately this is still not working for me. Here is the code i trying.. 00020 DIM Post$*50 00030 LET Post$="@::text documents (*.ini)|C:\Windows\*.ini" 00040 OPEN #H_Tmp:=12: "name=OPEN:"&Post$&",recl=1,shr",EXTERNAL,INPUT 00050 IF File(Xpt)<0 THEN PAUSE I w...
by ranjsuri
Tue Dec 20, 2011 12:40 pm
Forum: Advanced Concepts
Topic: name=OPEN:
Replies: 9
Views: 19860

name=OPEN:

All - I am trying to use the "Name=Open:" ( http://brwiki.ads.net/index.php?title=Name%3DOpen: ) syntax to mimic a file browser. It works, except from the verbiage on the wiki I cannot figure out how to make it "default" to a specific directory. I tried to give it a path after th...
by ranjsuri
Wed Dec 14, 2011 7:55 am
Forum: Advanced Concepts
Topic: Grids and Comboboxes
Replies: 4
Views: 14102

The issue has been resolved. The "C 9" in the input statement for the combobox seemed to be the issue. I had used the wiki sample on combobox as my template and that had a typo (Luis has since fixed it). 00020 DIM Combovalues$(3)*10 00040 DATA "Value 1","Value 2","...
by ranjsuri
Wed Dec 14, 2011 6:50 am
Forum: Advanced Concepts
Topic: Grids and Comboboxes
Replies: 4
Views: 14102

I had tried that and that did not help either. Code is below 00020 DIM ComboValues$(3)*10 00040 DATA "Value 1","Value 2","Value 3" 00060 READ Mat ComboValues$ 00080 DIM Headings$(5), Widths(5), Forms$(5)*25 00100 LET Headings$(1)="Col 1": LET Headings$(2)=&quo...
by ranjsuri
Tue Dec 13, 2011 1:13 pm
Forum: Advanced Concepts
Topic: Grids and Comboboxes
Replies: 4
Views: 14102

Grids and Comboboxes

I have a screen with a combobox and a grid. It seems like the screen always lands focus on the combobox irrespective of the order in the INPUT statement. I however, need it to default to the grid. Can someone look at the code and make suggestions on what I could try? 00020 DIM ComboValues$(3)*10 000...