|
I use C# to develop a web embed application, and I find that using WebClient is very easy to raise a web request and get the response. But I don' know how to set the TIMEOUT property(or something like that) to prolong the request time.
|
|
|
|
|
Hi, everyone!
I want to invoke a client side execute program through
a link in the web page. Please notice that it is a client
side program and not a server side one. For example, when clicking
a link pointing to a .rm file on the server, RealOne player on
the cilent side will be invoked.
Are there some sample codes?
Thanks in advance,
George
|
|
|
|
|
You cannot run EXE file, it will break security, but if you mean running a program associated with some file, then just place a link. For RealPlayer, just put a link to your RM file on the server and when user clicks it, the player will pop and start playing (of course if it is installed)
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
|
|
|
|
|
Thanks, Philip buddie!
How can I register a new file type for my specific
application? Are there some materials for me to
reference?
regards,
George
|
|
|
|
|
George2 wrote:
when clicking
a link pointing to a .rm file on the server, RealOne player on
the cilent side will be invoked.
That's what is automatically done already, thanks to the .rm file association with the RealPlayer. You don't have anything to do. Of course, for all of this to work, the client must have RealPlayer installed. Otherwise Internet Explorer will prompt the client with the download box.
|
|
|
|
|
Thanks, .S.Rod. buddie!
George
|
|
|
|
|
I have PWS installed and I'm trying to preview a simple ASP .NET page. Since I only have Win98, I can't use Web Matrix's built-in server. So I will have to use IIS, which comes with the NT 4 Option pack for Win 95/98. My question is: how do I set up an IIS app for the .NET page? I heard that IIS apps are administered through the IIS MMC snap-in. But the IIS snap-in isn't listed in the list of available snap-ins. How do I register/install it????
Thanks
/jdunlap
|
|
|
|
|
Either you are a genius, or a bit confused. IIS only runs on Windows NT/2000/XP/2003. It does not work on Windows 98.
That is why they made PWS. Windows 98 is not a server product.
i.e. You cannot get the MMC IIS snap-on in Windows 98 because IIS does not work on Windows 98.
The NT4 Option Pack is exactly that. An option pack for Windows NT4. Not Windows 98.
What you need to do is get hold of Windows 2000 (or Windows NT 4 if you insist.) Then you can run IIS locally and do all those nifty bits.
Paul Watson Bluegrass Cape Town, South Africa
Macbeth muttered:
I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er
DavidW wrote:
You are totally mad. Nice.
|
|
|
|
|
|
No, Windows 98 is not a server OS; yes, it can run scaled-down versions of some servers, including MTS. Whether that includes IIS I don't know. I only know that the NT Option Pack has all the IIS dlls.
|
|
|
|
|
I just delevop a project using webservice,there are more than one webservice(.asmx file) in my project,how do i write the .disco file to let me refer these webservices
in other project?
thank u in advance!
|
|
|
|
|
I have an application that will execute a command on a server and return the results of the command to the browser. I want to be able to pop up a web page with the results. I have 2 questions.
1. How do I open the second window from C#?
2. How do I size the new window so it is smaller that the orginial window?
Thanks
Gary
|
|
|
|
|
gmonk wrote:
1. How do I open the second window from C#?
2. How do I size the new window so it is smaller that the orginial window?
C# is a Server Side language.
You need to use JavaScript to control the Client Side.
You can use C# to output your JavaScript which is then run on the CS.
e.g. mycontrol.Attributes.Add("onclick", "window.open(\"newwindow.aspx\", \"width-100; height=100;\")");
To control the window you use the window.open method in JS.
Paul Watson Bluegrass Cape Town, South Africa
Macbeth muttered:
I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er
DavidW wrote:
You are totally mad. Nice.
|
|
|
|
|
I already have a view in SQL2000. How can I use that query to return and display in Crystal? Any basics out there for me?
Thanks
|
|
|
|
|
Hi,
I'm trying to update a progress bar with the load progress of a webpage. On my form I have a webbrowser control and a progress control. I'm trying to use the ProgressChange event but it fires for every item that has to be downloaded (images, etc). So when the page starts loading after the first item completes the progress bar is finished even though most of the page is still loading. My question is how do I know what the progress is for the entire page instead of simply an item?
I tried posting this in the C# forum, but they said it was a question better suited for this forum.
Many thanks in advance.
- monrobot13
|
|
|
|
|
I installed Visual Studio Service Pack 5 for Visual Studion 6.
Now I can't debug ASP. ( cannot see dllhost or inetinfo when trying to 'attach process' in InterDev )
Thanks in advance for any help.
|
|
|
|
|
Use the ISM to find the Aplication Configuration dialog for the application, then in the App Debugging tab enable the Enable Server-Side Script Debugging option. This causes IIS5 to run in single-thread mode, so be sure to disable it after the debugging is complete or you'll have performance problems.
"Please don't put cigarette butts in the urinal. It makes them soggy and hard to light" - Sign in a Bullhead City, AZ Restroom
|
|
|
|
|
Roger , I have tried that option but still nothing happens,..the problem is still you cant see dllhost or inetinfo in 'attach process'of interdev.
This happens after installing svc pack 5...
|
|
|
|
|
Hmmm. I've never used that option before, so I have no idea what's happenning there. I just reinstalled Win2K and VS6SP5 a couple of weeks ago, and have had no trouble with InterDev yet. Sorry 'bout that...
"Please don't put cigarette butts in the urinal. It makes them soggy and hard to light" - Sign in a Bullhead City, AZ Restroom
|
|
|
|
|
roger, how do you debug ASPs in your machine?
arent you using the attch process option?
Thanks,
|
|
|
|
|
I don't even know what 'attach process' means - I'm a simpleton, and rely on the browser to identify the error, file, and line # on the problem. It's generally seemed quite trivial so far, but I haven't done any extremely complex ASP stuff. In the ASP books, online articles, and MSDN documentation I've never seen any mention of a debugger for ASP, so I've assumed all along that: a) it doesn't work; b) it doesn't exist; c) no one else actually uses InterDev. I haven't needed that capability, and haven't looked for it.
"Please don't put cigarette butts in the urinal. It makes them soggy and hard to light" - Sign in a Bullhead City, AZ Restroom
|
|
|
|
|
Roger,
You can find the 'processes' in the debug menu in interdev,..
ASP real-time debugging is really necessary when you jump into big unknown systems. ( and heterogeneous systems which involve different technologies)
I've almost found the solution to the problem,.. It happens because of the it happens because of the frontpage installation which unnecessarily involves with IIS..
Thanks..
|
|
|
|
|
I've found response.write to be a great friend. Clumsy perhaps, but it works well to show you what's going on with values held by rogue variables behind the scenes. Not too sure what you want to debug, but I hope that helps
It's much better than the term "embedded," though. I'm tired of hearing about embedded reporters. That must be a lousy job, like having a career as a suppository. - Roger Wright
|
|
|
|
|
Megan,
Thanks,
of course reponse.write is a very 'responsive' friend, but when one wants to debug a complete transaction of events its just not enough..
I am working with this big system with 'black fumes'..involves ASP,ISAPI DLLs, COM, NT Services,DB and MainFrame..(sigh) lets not talk abt the JSP side..
(When its working) , real-time debugging is very handy. You can set breakpoints in C++ IDE style.
|
|
|
|
|
Erm.
I have to do this project where i have to make a digital clock and a analogue clock. I have both codes but I need to figure out how to make them both show by selecting either Analgue or Digital by using a check box.
Erm anyone know?
So Cold & So Outa Control
|
|
|
|