|
i dispose of most objects myself but not all of them as i thought that the garbage collection would look after uneeded objects and connections, would a build up of these actually cause the app to keep crashing until the process is killed???
|
|
|
|
|
Yeah I have had some experience with objects that have not been disposed of correctly hanging around and eventually ending in process swell, but I would think it is unlikely in your case.
The other way I have experienced is when using SQL reporting services and the repeater control.
but I am all out of ideas here
|
|
|
|
|
Hi all
i m using web service with ASP.Net 2.0 application i wants to check it at each intant of time. Is the web server is working fine or not mean is the server is not down.
i wnat to handle it globally.
thanks in advance to all of you
regards
srinandan
|
|
|
|
|
you want help in how to detect that a server is down by using a web service ?
Well , if thats the case, then i will advice that you use a windows service with a timer that connects/ping... a server at each elapsed interval of time.Hope I helped...
|
|
|
|
|
Hi,
I have a usercontrol that I need to add to certain pages. Now, this user control must show an aspx page I get from another server.
How can I include this url to the user control.
I bind my usercontrol to the page by:
<br />
Dim ucInformation as UserControl = LoadControl("ucInformation.ascx")<br />
panel1.controls.add(ucInformation)
|
|
|
|
|
Have a public property in the user control that you can set.
|
|
|
|
|
Hi,
I have a current project which will require exchange of information. I think this forum type of communication will be the best way for that.
Can anybody send me a tutorial on how to do this kind of website like this forum that we are using.
Anybody's help will be gretaly appreciated.
Thank you so much in advance.
|
|
|
|
|
Hi, that kind of question is not likely to be answered by any one im afraid.
Asking someone how to create a whole website is a little foolish to say the least.
It would suggest you are either a little lazy / impatient or do not know enough about .Net to be tackling the project in the first place.
However, as i dont want to sound too patronising i will say the following:
A forum is simply a series of pages which allow you to add data to a database, and then retrieve it and display it in a given format.
|
|
|
|
|
Download the starter kits from http://www.asp.net/downloads/starterkits/default.aspx?tabid=62[^] and go from there.
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world."
Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that."
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
|
Hi guys,
Here's the scenario.
1. We have an intranet
2. User information is maintained in Active Directory
3. Building a new page in ASP.NET 1.1 and CSharp
4. Need to display username from Active Directory
inside tags
5. Just a note: When we login to the PC, we log in to
a domain, ex. domain --> xyz, not to the local machine.
Thanks.
Forged
|
|
|
|
|
Please refer to System.DirectoryServices namespace
|
|
|
|
|
how do i make ONE picturebox which displays an array of pictures, one at a time? it has to be like a slide show, but the pictures have to change by themselves, no need to click or anything. the pictures have to change every 5 seconds or so.
please and thanks
|
|
|
|
|
Use JavaScript in stead of an string array which requires a postback to the server. Write a javascript with an array of url's and change the image object's source property using a timer... Would look like this
<br />
<script language="JavaScript"><br />
<br />
var YourImages;<br />
YourImages = new Array(2);<br />
YourImages[0] = '/images/one.jpg';<br />
YourImages[1] = '/images/two.jpg';<br />
<br />
var Counter = 0;<br />
<br />
function DisplayNewImage()<br />
{<br />
Counter++;<br />
if (Counter >= YourImages.length){ Counter = 0; }<br />
imgMyImage.src = YourImages[Counter];<br />
setTimeout("DisplayNewImage()", 5000);<br />
}<br />
setTimeout("DisplayNewImage()", 5000);<br />
</script><br />
Don't blame me on litte stupid errors on this code, i wrote it on the fly, but i should be near the correct solution of your problem
|
|
|
|
|
Hi,
i want to save an existing aspx web page as an image (jpeg,png etc.). How can i do that.
i know System.Drawing.Imaging namespace holds the key for this conversion to occur....but somehow i am unable to use it correctly.
Please guide me as to how can i save an aspx page as an image and then display it on the browser as an image or thumbnail.
thanks & regards
Kapil Thakur
|
|
|
|
|
Maybe im wrong but i really dont see how this is possible.
Converting an image to a thumb is a whole different process to converting a dynamic webpage into an image.
|
|
|
|
|
i want to save a dynamic web page as an image. how can i do that.
Thanks & Regards
Kapil Thakur
|
|
|
|
|
HI
How to Compress two or more files into zip file through asp.net with c# code
Regards
RPL
r_palanivel83 10:01 4 Jan '06
|
|
|
|
|
|
Hey Thank u for ur reply..
i used ICSharpZipLib its working fine. but when we open the created zip file it throws error message.
Regards
RPL
r_palanivel83 10:01 4 Jan '06
|
|
|
|
|
Strange, look at the FAQ's of the SharpZipLib website, it works fine here for ages...
happy i could help
|
|
|
|
|
how to handle the froward key and back key of IE when user is logout.
If user logout, but user can go to welcome page again using back key without
using login page.how to handle this.please help me to control this prob............
|
|
|
|
|
The first line is so that the user cnnot click on 'Back' Button.
The second line is so that the user must login again to gain access:
Response.Cache.SetCacheability(HttpCacheability.NoCache)
If Request.QueryString("Logout") = "1" Then
Session.Abandon()
Response.Redirect("URL")
End If
Logout Link: <a href="?Logout=1">Logout</a>
|
|
|
|
|
i have tried your code but below line dont work any other way to stop the back button?
Response.Cache.SetCacheability(HttpCacheability.NoCache)
|
|
|
|
|
The following code:
Response.Cache.SetCacheability(HttpCacheability.NoCache)
should be in the Page Load event. Is your in the Page Load event? :
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load<br />
<br />
Response.Cache.SetCacheability(HttpCacheability.NoCache)
That's how my code is. If it doesn't work, then I'm not sure how to change it
|
|
|
|