Hi, We have the following problem. On the server, we have a large string. This string, should be downloaded by the user, as a seperate file. For performance reasons, we can't create a file on the server, containing the string, that the user could download. The string has to be sent to the client and from there be saved as a file. Can anyone give a hint on an elegant solution to this problem? Cheers, henrik Henrik Sternberg, Cambridge Technolgy Partners, Germany www.ctp.com/ce henrik.sternberg@ctp.com
Henrik Sternberg
Posts
-
certificate string as file on client? -
Consuming Web services from webclient scriptHi! Does anyone have a very simple web service client, written in Java Script or VBScript? Until now, I've only found examples with huuuuge .htc files. :( Thank you! Regards, /_henrik Henrik Sternberg, Cambridge Technolgy Partners, Germany www.ctp.com/ce henrik.sternberg@ctp.nospam.com (take away nospam)
-
TO GET THE USER CONTROL IDHi! Test to click "view source" on the web form, when looking at it from your webbrowser. You will then see that there's no ID:s visible to the user. If you write a typical JavaScript (client-side), you usually don't have any easy way to retrieve the ID. What you might want to try, would be to set a string value to the name of the control in the HTML-code, and then use the Javascript to retrieve the value of the string, rather then try to get the ID from the webcontrol. Hope this helps you, :) /_henrik Henrik Sternberg, Cambridge Technolgy Partners, Germany www.ctp.com/ce henrik.sternberg@ctp.nospam.com (take away nospam)
-
HELP PLZZZNoor wrote: The Default Web access mode for this project is set to file share, but the project folder at 'http://localhots/Noor' cannot be opened with the path 'C:\Inetpub\wwwroot\Noor'. It is a problem with your IIS. It's not installed OR you are missing components for it. Try install it again. Noor wrote: I usually start my project at C:\Inetpub\wwwroot\ right? That's the default location where VS puts the projects. VS.net creates a 'Virtual folder' in IIS, which is a mapping between the folder were your application is residing and your localhost/ApplicationName alias. Henrik Sternberg, Cambridge Technolgy Partners, Germany www.ctp.com/ce henrik.sternberg@ctp.nospam.com (take away nospam)
-
HELP PLZZZOk... Are you sure that you have installed IIS with the .NET Framework and the Frontpage extensions? IF your IIS is correctly installed (check if you can open the Internet Information Services under the administrative tools in Win2000/WinXP) , all you will have to do, is to create a new webapplication, just change the name of it (since you probably have already tried to create WebApplication1) and click OK. If you manage to get that far, then all you have to do is to build the solution and then execute it (F5) and an Internet Explorer window will automatically open, showing a blankpage on the address http://localhost/theNameofYourWebApplication/WebForm1.aspx Did this help you? :) regards, /_henrik Henrik Sternberg, Cambridge Technolgy Partners, Germany www.ctp.com/ce henrik.sternberg@ctp.nospam.com (take away nospam)
-
Calling aspx.cs functions from .aspxHi Slave, you have to remember that web applications are executed on the server. The form (the object of the class in your .aspx.cs -file) is destroyed immediately after a response (the HTML-code) is sent to the Client (the web browser). :(( Calling functionality on the server from a function in the .aspx page, IF you want it to be immediately executed, can only be done through a submit event, where your page is reposted and in your case the Foo() method is called. What is Foo() actually going to do? Can't you write a client-side script for it? (Client side scripts are usually written in JavaScript or VBScript) Does this info solves your problem? /_henrik Henrik Sternberg, Cambridge Technolgy Partners, Germany www.ctp.com/ce henrik.sternberg@ctp.nospam.com (take away nospam)
-
HELP PLZZZHi Noor. Can you please clearify, how did you map the Webapplications? Are you trying to map two directories on one webapplication or one directory on two webapplications? :confused: Regards, /_henrik Henrik Sternberg, Consultant Cambridge Technolgy Partners, Germany www.ctp.com/ce henrik.sternberg@ctp.nospam.com (take away nospam)
-
MS DOM XML Parser in C++H all, I’m having a problem using the Micsoft DOM XML-Parser in C++. After an exception has been thrown and catched on another place in the application, the following occur: Some Elements can be read but not set. When I try to set certain elements, an exception is thrown. This problem remains until the application has been restarted. Has anyone seen these problem before? Do anyone knows where to find documentation on Microsoft DOM XML parser? The application is COM-Based, using the version 3.0 of the DOM parser and developed in Visual C++ 6.0. I'm thankful for any input on this problem, cheers, /_henrik Henrik Sternberg, Cambridge Technolgy Partners, Germany www.ctp.com/ce henrik.sternberg@ctp.com
-
Remote on win95Not knowing exactly what you are doing, it sounds as if the integer datatype is different between the client and the DCOM server. What kind of client are you using? I have had this problem and I solved it by using the BSTR datatype. To do "pure COM" and being on the safe side, you should always pass BSTR:s as parameters, since they will be the same on both client and server side. This leads to a bit more of converting, but that's life ;) Best regards, /_henrik Henrik Sternberg, Cambridge Technolgy Partners, Germany www.ctp.com/ce henrik.sternberg@ctp.nospam.com (take away nospam)
-
Deleting mutiple instances of COM objectHello Eby, What kind of server is it? (IN/OUT of process) Can you provide more details? Regards, /_henrik Henrik Sternberg, Consultant Cambridge Technolgy Partners, Germany www.ctp.com/ce henrik.sternberg@ctp.nospam.com (take away nospam)
-
Error in COMHi Busy, Sorry, but the COM standard only allow COM-errors, if you want it to throw a generic error, you can write a wrapper for your COM-module, that catch a com error and then throw an error. /_henrik Henrik Sternberg, Cambridge Technolgy Partners Central Europe www.ctp.com/ce
-
Instant MessengerTo build a simple messenger system, you basically need to program a server and a client (like the IM that you download and install) The server is listening for messages from the clients. When it receives a message from a client, it forwards it to the right client. The clients listen for messages from the server, when they receive them they alert the user. It's not that hard to build a simple message system in for example Visual Basic or Delphi, what you have to learn is how to use network sockets. I would recommend you to buy a good book on it, usually you can get enough code from it to create a basic message application. /_henrik :cool: Henrik Sternberg, Consultant Cambridge Technolgy Partners, Germany www.ctp.com/ce henrik.sternberg@ctp.nospam.com (take away nospam)