Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > asp.net > august 2003 > threads for thursday august 28

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

VC++ DLL from ASP.net
Posted by Sarvjeet at 8/28/2003 11:08:53 PM
i am Calling a VC++ DLL from ASP.net code but it Gives no output ..But it work fine from VB 6.0 ..What may be the reason ?...more >>


Problem with System.Drawing.Graphics as a static object
Posted by Hadar at 8/28/2003 7:56:44 PM
Hi, I'm getting "object is currently in use elsewhere" when I use System.Drawing.Graphics.MesureString. This is what I do: My controls use a utility class the helps it to mesure strings. To get the best performance for the utility class, its members, as well as the System.Drawing.Graphics...more >>

Binary stream does not contain a valid BinaryHeader
Posted by BH at 8/28/2003 7:49:56 PM
I'm trying a simple object serialization and deserialization, and keep getting this error: System.Runtime.Serialization.SerializationException: Binary stream does not contain a valid BinaryHeader, 0 possible causes, invalid stream or object version change between serialization and deserializat...more >>

Can I control client's printer from web form project?
Posted by Krich at 8/28/2003 7:33:20 PM
Can I control what and how to print the data from my web form project via client's printer? Something like using printdocument object. I don't want to use print command from browser program....more >>

How can I download file from a website need authentication
Posted by Sam at 8/28/2003 6:57:54 PM
Hello everyone, WebClient object works very well with the no-need-to-authentication website. Can it also work also with authentication website? Thanks in advance. Sam ...more >>

where is cookie saved ?
Posted by whidy at 8/28/2003 5:55:41 PM

Controls Layout
Posted by brian at 8/28/2003 5:38:25 PM
When I am designing an aspx page and drag a control such as the repeater control onto the page, it always defaults to the upper left of the page. Is there a way to move the control to where you want it or do you have to do that in the html coding?...more >>

locking question
Posted by szabelin at 8/28/2003 4:51:19 PM
Do all asp threads servicing requests run as part of same app domain? I need a lock at the scope of my web-app; is the code below a correct way to syncronize blocks of code in asp.net. Will this work if load balancer (multiple servers) are used? Thanks! lock(typeof(string)) {} or l...more >>



getting list of users from AD
Posted by Brian Henry at 8/28/2003 4:43:03 PM
I am working on a internal intranet site, and i need to make a permissions page, all the account authorization is done through AD to let them see the intranet site.. now, the permissions page i need a list of users in AD... is this possible to get a list of user names from ad? (the server is on t...more >>

referencing controls
Posted by tim payne at 8/28/2003 4:35:47 PM
Hi, I have a quick .Net question. When referencing a web control in my code behind page so that I can access it's methods and properties, is there any speed/efficiency bonus to using the fully qualified reference, eg: protected System.Web.UI.WebControls.ListBox regtypes instead of just: protec...more >>

Inheritance Problem
Posted by Binod Nair at 8/28/2003 4:20:41 PM
Hi All, Can somebody tell me what I am doing wrong. I have a Base Abstract Class Public MustInherit Class BaseRequestHandler : Inherits System.Web.UI.Page Protected Overridable Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load SomeMethod() ...more >>

fire an event without postback?
Posted by Will at 8/28/2003 4:15:07 PM
I am building a control which has some buttons and when you click a button it moves information from one listbox to another. this control could be near the bottom of a web page, so I cannot have the page reloading every time someone clicks one of the buttons. How can I fire their events wi...more >>

Viewstate and Mulitple Web Servers
Posted by Joe Reazor at 8/28/2003 4:05:01 PM
We have an arrangement where we have 2 web servers in a farm arrangement and we are seeing invalid viewstate errors due to this. We are just using the standard viewstate arrangement, so my question is should the viewstate work across a web farm cluster? Secondly, if we have only have one of the...more >>

SessionState
Posted by Mauricio at 8/28/2003 3:27:19 PM
Hi! I=B4m trying to store some objects in the Session but the=20 session object is lost when I use a Response.Redirect=20 command. Using a debugger, I can see that there is an=20 HttpSessionException afeter the Redirect. So is it right?? What is the difference between Response.Redirect a...more >>

view a file in ASP.NET
Posted by Thelak at 8/28/2003 3:12:10 PM
How do I view a text file after I created the file in ASP.NET?...more >>

Loop through enums
Posted by sydney NO[at]SPAM paigedata.com at 8/28/2003 2:47:39 PM
Has anybody ever figured a way to automatically loop through an enum, as if it were a collection? Here's an example of an enum we're using: public enum TaskType { TaskRange = 1, TaskSort = 2, TaskScope = 3 } And what we'd like to loop through each item in a for-each loop, since we...more >>

Website Replication
Posted by J at 8/28/2003 2:40:44 PM
Does anyone know how to grab a parameter from a url? Example: http://tester.com/234 ------------------^^^ The 234 is what I am trying to retrieve. Thanks...more >>

Compiler problems
Posted by cameron at 8/28/2003 2:39:05 PM
I compile my project. No errors. Then I hit my page and I get an Error in Application "/" [No relevant source lines] I change nothing and recompile. Works fine. If I compile twice in a row, still get the error. I have to compile, hit the page, compile again. Every single time. It is dri...more >>

Derived classes or functions.
Posted by David E at 8/28/2003 2:05:37 PM
Hi, I was hoping for a little advice about the following. Firstly can I use multiple inheritance in vb.net. For example can I have my webform class derive from mulpitle classes, and if so what is the syntax, I can derive from a single class (inherit) but not from more than one. secon...more >>

Calling c# code from javascript
Posted by Anita C at 8/28/2003 2:00:16 PM
Hi, Can one call a c# function from within a javascript function ? I have a c# function GetLanguageItem(title), how can I call the above function from a javascript function in an .aspx page. Thanks ...more >>

Alternate to HTTP Response Header Refresh
Posted by Alfons Puig at 8/28/2003 1:50:31 PM
Hi, MSDN documentation about HTTP Response Headers say Refresh is obsolete and maintained for legacy application compatibility only. How can I achieve the same functionality to releoad the new contents of a page? I can use the timer component but, is there a http-like solution? Thanks,...more >>

Req: Using Classes in ASP.Net
Posted by Donald Welker at 8/28/2003 1:21:29 PM
I'm building a web forms project and would like to provide consistent connection, data adapter, dataset objects, etc. across multiple ASPX pages. I'm having problems with trying to make these portable without breaking the IDE or Intellisense such that I can still get the benefits of the VS.Net o...more >>

Have trouble after user click the link from email
Posted by Eric Shi at 8/28/2003 1:16:16 PM
Hi, I use ASP.Net build a web application which requires users to login. The link is sent out to the user via email. The users then click the link in the email and the login page is displayed. Most of time, it works fine. And for the Hotmail users and the outlook webmail users somet...more >>

passing a string array?
Posted by agb at 8/28/2003 12:07:10 PM
How can I send a string array to another aspx page? ...more >>

External formpost with input
Posted by Bruce Arp at 8/28/2003 11:30:46 AM
I am in need of a little help with a form post. What I need to do is this: 1. Post a couple values to an external website form. 2. External website will process the values posted and if needed, load an form of its own that the end user will need to enter some info into and submit. 3. ...more >>

SQL Server does not exist or access denied.
Posted by Marc at 8/28/2003 11:25:08 AM
Here is a new error I am getting. I have a development computer (Server 2000, SQL2000, .NET 1.1) I have a production computer (Server 2003, SQL2000, .NET 1.1) When I run my solution on the development box pointing to the database on the development box - no problem. When I run my solution o...more >>

FTP & Unzip Advice
Posted by Simple Simon at 8/28/2003 11:18:41 AM
Hi all, I'm trying to think of a relatively painless solution to this problem: I need to automatically(daily) FTP a .zip file from an FTP location, to a folder on the web server, AND unzip the contents(pics) to a sub-folder. Any one have any brilliant and genius ideas? ~Gordon...more >>

Web-based combobox
Posted by barnetj NO[at]SPAM pr.fraserpapers.com at 8/28/2003 10:40:01 AM
Does anyone have or know of a download location for a custom combobox web control for a combobox that allows: databinding typing as well as selecting a listitem limit to list functionality postback to server on listitem change I have currently tried metabuilders and progstudios controls, but...more >>

SQL Server does not exist or access denied
Posted by Marc at 8/28/2003 10:28:26 AM
Here is a new error I am getting. I have a development computer (Server 2000, SQL2000, .NET 1.1) I have a production computer (Server 2003, SQL2000, .NET 1.1) When I run my solution on the development box pointing to the database on the development box - no problem. When I run my solution o...more >>

NameValueCollection.GetValues and array especification
Posted by Alfons Puig at 8/28/2003 10:14:38 AM
I need to specify an string array as a value in a NameValueCollection in web.config file ......... <AA> <BB> <add key="P1" value=?????> <add key="P2" value="String"> </BB> </AA> ............ Which should be the format of ????? in order to wor...more >>

how to call COM in asp.net?
Posted by whidy at 8/28/2003 10:03:56 AM

Synchronous web request performance
Posted by TomR at 8/28/2003 9:51:24 AM
We are having problems with synchronus web request calls blocking our ASP.NET performance. Here is the setup: We have an aspx script on Site B with a synchronous HttpWebRequest call to access Site A (simulating accessing a bank credit card payment gateway). The page on Site A currently do...more >>

escape sequence \n
Posted by marcia at 8/28/2003 9:35:23 AM
How can I display parts of a string one line after the other using a Label in a WebForm ... or otherwise?...more >>

CultureInfo/LCID on Client Machine
Posted by Clive at 8/28/2003 9:24:21 AM
Hi, Anyone know how I get the CultureInfo/LCID on the client machine using a Request? Thanks, C....more >>

in asp.net ,does any function can replace the activex?
Posted by hhw at 8/28/2003 9:04:50 AM
For example,I want a playback control which can play the stream media and works at client.Can I use the custom control or user control but not activex?I think activex is based on COM,but .Net use managed code.If I use activex ,the efficiency will low. ...more >>

Horizontal position of the CrystalReportViewer Control
Posted by Christopher Campbell at 8/28/2003 9:01:19 AM
I have an ASP.NET page that displays a CrystalReportViewer control. In Mozilla, Netscape, and Opera, my report displays correctly. The left edge of the report is at the left margin of the browser window. In IE however, the report is shifted to the right a couple hundred pixels. If I move the ...more >>

Form Post by Enter Button
Posted by raghuvansh NO[at]SPAM yahoo.com at 8/28/2003 8:27:16 AM
I have the following simple code of two panels and two pairs of textboxes and buttons. <form id="Form1" method="post" runat="server"> <asp:Panel id="Panel1" runat="server" Width="272px" Height="96px"> <asp:TextBox id="Textbox1" runat="server"></asp:TextBox> <asp:Button id="Button1" runat="s...more >>

vs2003 can't create a web project
Posted by David Bartosik - MS MVP at 8/28/2003 8:20:29 AM
since installing vs 2003 (alongside vs 2002) I have been unable to create a web project with it. New project, C#, web app, then keep the default web ap name or not, either way, I get the very general error message that the project could not be created due to server error 500. This is only in ve...more >>

customvalidator problem
Posted by bill yeager at 8/28/2003 8:02:07 AM
I'm using the customvalidator in my web page. I get the following error when I try to run the web page: Unable to find control id 'lstRider' referenced by the 'ControlToValidate' property of 'cvRiders'. Description: An unhandled exception occurred during the execution of the current web r...more >>

ASP.NET application: A connection with the server could not be established
Posted by juleshop NO[at]SPAM hotmail.com at 8/28/2003 8:01:36 AM
I developed an ASP.NET application with Visual Studio .NET 2003 on a Windows XP Pro machine. Everything seemed to work ok. One I was working on this application while I was still dialled in. When I disconnected I could not open my application in http://localhost/webapp Visual Studio .NET 2003...more >>

POSTING A FORM USING onchange
Posted by Brendan Vogt at 8/28/2003 6:44:15 AM
I have an ASP file that loads the various provincess from my province table into a combo box. When the user selects a province, it then reads in all the associated regions for that province into another combo box. The name of this file is AddProperty.asp Here is my form section... <form name...more >>

aspx vs. asp
Posted by brian at 8/28/2003 6:21:40 AM
I hired a company to design an intranet site for us using .net technology. Some of the pages are asp and others are aspx. Our home page is an asp page. I put a comic strip image on the index.asp page every morning. I finally figured out to write some code to randomly select an image fr...more >>

Need an example about threading in ASP.Net
Posted by Lea Heart at 8/28/2003 5:27:38 AM
I am looking for Examples and References to Explanations about threading in ASP.Net Any help would be appreciated Lea ...more >>

Send email through a SMTP Server that requires authentication
Posted by Rodrigo at 8/28/2003 5:19:41 AM
I'm trying to send an email message using my SMTP server that requires authentication. How can I do that? My code is: Dim email As System.Web.Mail.MailMessage = New System.Web.Mail.MailMessage email.From = "me@mydomain.com.br" email.To = txtemail.Text email.Subject ...more >>

Why is threading a problem in ASP.Net ?
Posted by Lea Heart at 8/28/2003 5:13:35 AM
I can't thread in ASP.Net like in Vb.Net Is there a way to thread in ASP.Net ?...more >>

Thread.CurrentThread.CurrentCulture
Posted by Clive at 8/28/2003 4:49:29 AM
Hi, I have an ASPX app that checks the Culture of the machine. My PC is currently set to have English(US) dates and US Currency. When I check the Culture it returns "en-IE". The machine did have this original setting but I changed it to English(US) for dates and currency. I also r...more >>

Retrieving data from VMS into an MS Application?
Posted by C at 8/28/2003 2:50:37 AM
Hi, I am in the process of developing an ASP.Net app. Part of this app needs to retieve data from a VMS System. Does anyone have any articles on this or know of any good sites detailing this? Thanks, C....more >>

Status
Posted by Jenny at 8/28/2003 1:43:31 AM
How can I show a processing status (a bar or something similiar) for the client? My page needs approx. 30 seconds to be processed! Thanks for help Jenny...more >>

Could Not Find Installable ISAM
Posted by Robert Lawson at 8/28/2003 1:22:50 AM
I continue to get the below error message when trying to load a aspx file. Could someone please point me in the right direction for solving this? I'm trying to access an access data base and I'm the only one accessing it at this time. I'm trying to learn this step by step and I'm at the begining...more >>


DevelopmentNow Blog