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.


Topics - Thomas

Pages: [1]
1
Web Server - Ask For Help / need urgent help "download name" please
« on: April 29, 2008, 05:46:49 AM »
Hello,
it is really urgent. The User of the prog must download exe files. I want the Browser to ask the user for executing or downloding. I know it's the browsers decision what to do with the file to be downloaded.
Problem: the name of the download procedure is exposed to the Client, not the exe name and thus the option "execute" is missing. The file downloads correctly but as I said it has the name of the procedure. If I rename it to exe everything works well.
Any help apreciated.
TIA, Thomas.

2
Web Server - Ask For Help / wrong download name
« on: April 27, 2008, 06:03:19 AM »
Hello,

I have a download button in my App. The Client klicks on it and will be asked by the Browser to download the file or to search for a program to open it. The download works.

My problem is: the Browser shows the wrong filename in the dialog ! My download files are Exe's (I tweaked ValidateFilename - as I said it works). So the options in the Browser Dialog should be "download" or "execute". The name presented by the Browser is the procedure name of the Netwebpage procedure (also ServeDocument in my case). That means after downloading I have a file named ServeDocument without any extension. After renaming to ...exe it is executable.

How and where do I set the filename presented by the browser ? (... in _SendFile or so)

TIA, Thomas

3
Web Server - Ask For Help / I'm lost with Logout
« on: April 22, 2008, 11:34:25 PM »
Hello,
please I need help !

my users sometimes must logout from the App und re-login with another account. I have a Logout button in a frame wich reloads the Login Page via URL call. The Relaunch of hte LoginPage works fine. But where to place the logout code ? And how to clear the Login Vars (have always the content of the previous Login) ?
 p_web.SetSessionValue( 'Loc:Login', '')
 p_web.SetSessionValue( 'Loc:Password', '')
 p_web.DeleteSessionValue( 'loc:login')
 p_web.DeleteSessionValue( 'loc:password')
 p_web.SetSessionLoggedIn( false)
 p_web.DeleteSession()
I tried a lot of places, I thought %CustomValidateEnd of the Logout Button would be correct... I cleared and SetSessionValue to '' or DeleteSessionValue immediatly after a successful Login would clear the Login Vars for a Relaunch... no it doesnt.

Any help appreciated.
TIA, Thomas

4
Web Server - Ask For Help / Range limiting - how ?
« on: April 22, 2008, 02:03:07 AM »
In NetWebBrowse Settings - Filters I can have Range limiting. I have done this with "Single value" to a local variable with an initial value. But the browse is empty (ok, there are recs with that value in the table !). Any special settings that I might have overlooked ?

My goal: I habve a table with lots of recs and want to display only a few wich belong to a currently (session) logged in user. The above mentioned local var holds the ID of the logged in user. The next step will be the passing of the ID from the Login page to the WebBrowse.

But at first: how to range limiting a large TPS table to a single value (hte table has an appropriate key) ?
TIA, Thomas

5
Web Server - Ask For Help / PNG on Button problem
« on: April 21, 2008, 02:40:46 PM »
Hello,
in my own projekt I put a Button on a webform. The button has a text and a PNG image. The image is one of the images of the Accounts(31) example - customers.png.
It is displayed correctly in Accounts example - but not in my own project. What I'm doing wrong ? (IE 7 on Vista, NT4.30)
TIA, Thomas

6
Web Server - Ask For Help / no Frame Border
« on: April 20, 2008, 07:51:13 AM »
Hello,
I ticked the "Frame Border" setting on but the borders remain invisible. What I'm, doing wrong ?
TIA, Thomas.

7
Web Server - Ask For Help / Methods desciption
« on: April 19, 2008, 09:30:14 AM »
Hi,
I cannot find anything other than the Template reference. I need a desription of the web class methods. Can anybody point me in the right direction ?
TIA, Thomas.

8
Web Server - Ask For Help / Login's from a Database
« on: April 18, 2008, 11:16:07 AM »
Hello,
what I mean is: I have user login names and their passwords in a table. I want to check the typed name and pwd against the database before the App shows anything meaningfull. Can anybody give me a hint ? The Login before Frame example is ways to simple.
TIA, Thomas.

9
Web Server - Ask For Help / WebBrowse with nested JOIN's
« on: April 18, 2008, 11:10:42 AM »
Hello,
my first (simple) web tests are running, so it's time for a real world App ;-)

Is it possible to WebBrowse a more complex View structure as shown below ? The Win32 version I have up and running - that means it works ok from a database point of view.
Any hints are welcome.

TIA, Thomas.

BRW7::View:Browse    VIEW(Auftrag)
                       PROJECT(AUF:AuftragID)
                       PROJECT(AUF:BearbDatum)
                       PROJECT(AUF:Abteilung)
                       PROJECT(AUF:Text)
                       PROJECT(AUF:PatientID)
                       PROJECT(AUF:RPsysID)
                       PROJECT(AUF:ZPsysID)
                         JOIN(RPL:keyRPsysID,AUF:RPsysID)
                           PROJECT(RPL:RPsysID)
                           PROJECT(RPL:RadiologeID)
                          JOIN(RAD:keyRadiologeID,RPL:RadiologeID)
                             PROJECT(RAD:RadiologeID)
                             PROJECT(RAD:Name)
                          END
                       END
                       JOIN(ZPL:keyZPsysID,AUF:ZPsysID)
                          PROJECT(ZPL:ZPsysID)
                          PROJECT(ZPL:ZuweiserID)
                          JOIN(ZUW:keyZuweiserID,ZPL:ZuweiserID)
                            PROJECT(ZUW:ZuweiserID)
                            PROJECT(ZUW:Name)
                         END
                       END
                     END

10
Web Server - Ask For Help / pre Web project question - Images
« on: April 13, 2008, 11:19:33 PM »
Hello,
I need to display thumbnail images (JPG). To one selected record belonging 1 to 200 images. These images are in seperate folders as files and the path is stored in DB. According to available size (frameset) the images must show i.e. 5 in a row a.so. Can this be done with Webserver ?
TIA, Thomas

11
Web Server - Ask For Help / pre Web project question - RTF control
« on: April 13, 2008, 11:12:06 PM »
Hello,
in my DB I have a RTF text. Iis there anything like a RTF control for Web Server ?
I think, I must go the HTML way... Any ideas on libraries or so wich convert RTF -> HTML ?
Is it possible to display the HTML text besides a browse (like a hotfield in ABC) ?
TIA, Thomas

12
The Rest - Ask For Help / Synchronous Open and Multithreading
« on: August 26, 2007, 07:18:09 AM »
Hello,
when testing/playing with the synchronous Open feature of NetSimple I observed following behavior: while waiting for the timeout of an open request to a non existing server (..or wrong port) my App is completely blocked. I have a MDI App, only one MDI Client is performing the sync Open but the Frame and all other client Windows are completely blocked until this client returns from the sync Open.
Why ? I thought with preemptive multitasking the other (MDI) threads and the FRame should working normaly and only the one 'sync open thread' should be blocked.
Is the Nettalk Dll not multithreading aware ?
TIA, Thomas

13
The Rest - Ask For Help / need help TCP/IP conversation
« on: August 20, 2007, 12:24:39 AM »
Hello,
I need some help regarding TCP/IP (NetSimple) conversation. I must send data to a third party via TCP/IP. About the receiver I know nothing but the address, port and protocol. A group of data to send are 1 to 15 kbyte with a unique start and stop byte (uniqueness ensured by the protocol). I must send up to 100 of such groups one after another in a background task without any user interaction.
My problem is, that I don't get back any ackn from the receiver and my fear is that the groups getting mixed up.
Is it better to open the port in sychron mode (but send will always be async) ? Is there a chance that after the send()
I could get an info "all_data_send" ? Which fits better scenarion 1 or 2 ?

scenario 1:
open port
loop
  prepare data
  send
  errorhadling ?
end
close port

scenario 2:
loop
  prepare data
  open port
  send
  errorhadling ?
  close port
end

Any ideas are welcome.
TIA, Thomas

Pages: [1]