NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MikeR

Pages: 1 ... 14 15 [16] 17 18
226
When I am at home I connect to the internet without a proxy.
At the office, they say, because of security , I must surf through a proxy server.
I need to change the network proxy server settings in IE. from using at work to not using at home.
All the programs I use then work, they seem to pick up these settings from IE..

However.
My nettalk app calls some webservices.
It work well at home, but when I run from the office, I get proxy server errors.
1. How can I detect that I need to use a proxy server, and what settings
2. How do I tell nettalk to use the proxy settings


227
Web Server - Ask For Help / Re: Go to new page when when report run
« on: August 20, 2012, 02:52:05 AM »
I don't know if this will work for you, but the following javascript will display a pdf on your main page or any page
so you can save the report as a pdf and then display it with this code.
This code works with a hardcoded pdf name,
maybe someone can improve so we can use a variable.

<script language="javascript">
  if ((navigator.appName).match(/Explorer/i) != null)   {
    document.write('<OBJECT CLASSID="clsid:CA8A9780-280D-11CF-A24D-444553540000" WIDTH="100%" HEIGHT="500">');
    document.write('<PARAM NAME="SRC" VALUE="test.pdf"/>');
    document.write('</OBJECT>');
  } else {
    document.write('<EMBED src="test.pdf" width="100%" height="500" type="application/pdf">');
    document.write('</EMBED>');
  }
</script>

228
Web Server - Ask For Help / Re: Go to new page when when report run
« on: August 18, 2012, 10:08:24 AM »
Just call a standard report procedure (without the nettalk extension) on the server side code when the user presses the save button.

229
Thats the funny thing, there is no query button, its the standard little report progress window ?

ProgressWindow WINDOW('Report placement'),AT(,,142,59),FONT('MS Sans Serif',8,,FONT:regular), |
          DOUBLE,CENTER,GRAY,TIMER(1)
          PROGRESS,AT(15,15,111,12),USE(Progress:Thermometer),RANGE(0,100),#ORIG(Progress:Thermometer), |
            #ORDINAL(1)
          STRING(''),AT(0,3,141,10),USE(?Progress:UserString),CENTER,#ORIG(?Progress:UserString), |
            #ORDINAL(2)
          STRING(''),AT(0,30,141,10),USE(?Progress:PctText),CENTER,#ORIG(?Progress:PctText), |
            #ORDINAL(3)
          BUTTON('Cancel'),AT(46,42,49,15),USE(?Progress:Cancel),LEFT,ICON('WACANCEL.ICO'), |
            FLAT,MSG('Cancel Report'),TIP('Cancel Report'),#ORIG(?Progress:Cancel),#ORDINAL(4)
        END


[attachment deleted by admin]

230
Web Server - Ask For Help / Where did the QBE options button come from
« on: August 16, 2012, 05:08:53 AM »
Hi people,
I all of a sudden have a 'QBE Options' Button in my report procedure.
My app no longer compiles ?
How did the QBE Button get there, how do I get rid of it ?
The procedure is a  standard clarion report procedure.
I cant delete the extension template, cant find any link on the window ?
Attached a picture so you know what im talking about

[attachment deleted by admin]

231
Thanks pshields for the responses.
I included the java script , it works on my ie browser , but not firefox.
What do you mean ajax ? how do I pass the pdf as a parm ?

232
Ja , thanks Bruce, I got a work around where the server side code just generates the report and does the updates.
another button must be pressed to view the report  :(

By the way is it possible to show a pdf document inside my nettalk page ?
ie I want to show the user the pdf and ask him what action he wants to take based on what he sees ?

233
Netwebbrowse Server side code doesn't fire when on click procedure with _blank template filed in.

The reason I want to do this is:
A button in the browse calls a report procedure which opens the pdf on a new tab.
It must also do something else , that needs to be refreshed on the browse.
The server side code and the refresh browse row data doesnt fire ?
any thoughts 

234
ie. turn it on and off

235
thanks Peter, that was my original idea, to use xFiles to move the xml into a group.
But what data type do I use for the pdffilestring ?

236
thanks Bruce, but i'm still a bit confused.
option 1.
do I create a form that accepts for example two memory fields and a upload file.
the user of my service must use a post to call me.
When I receive the post I need to know that the uploaded file is linked to the two other parameters I receive in the post. I'm  not sure this method will allow me that control.

option2.
Tell the user of my service to send me an xmlstring with three parms where the third one is the pdf encoded.
I don't know how to seperate the pdf file out of the xmlstring so I can decode it and store it.

Do these questions make sense ? ???



237
Hi clever people,

I have finally manged to call a webservice that receives a pdf as input ,
I now need to write one that receives a pdf as one of its parameters.
Who can point me in the correct direction ?

238
I have a netwebbrowse which uses the following view.


ThisView            View(placement)
                      Project(pla:contractid)
                      Project(pla:startdate_DATE)
                      Project(pla:enddate_DATE)
                      Project(pla:noticeperiod)
                      Project(pla:internalind)
                      Project(pla:statusflag)
                      Project(pla:benifits)
                      Project(pla:flags)
                      Project(pla:contfixed)
! Start of "View Section"
! [Priority 5000]

! End of "View Section"
                      Join(contacts,'con20:contactcode = pla:contactcode')
                        Project(con20:contactname)
                      Join(com4:pk_companys,con20:companycode)
                        Project(com4:companyname)
                      END
                      END
                      Join(applicantsnew,'app1:appid = pla:appid')
                        Project(app1:names)
                        Project(app1:surname)
                      END
                    END ! of ThisView

When I use the 'send value to server side code' on a button that I have placed in the browse list
the values for the placement file is correct , but the values of the other files company, contact and applicant are not set

There is also no session values ?

Do I have to re read these files to get the correct values inside this embed point ?

239
Web Server - Ask For Help / Re: Form field conditional on another
« on: June 08, 2012, 01:20:02 AM »
you need to do 3 things

On the CAL:Active field
go to the client side tab
tick 'send new value to server'
on the 'server code' button enter the code to set the CAL:Status

On the same tab fill in the reset for CAL:Status

On the Cal:Status field
set the hide condition to :
p_web.gsv('CAL:Active') = 0

remember to always work with the session variables.


Now i have a question:.
I can reply to topics, but cant seem to find the button to post my own topics on nettalkcentral ,
am i getting to old ?

240
no sir

Pages: 1 ... 14 15 [16] 17 18