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 monday august 4

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

ASP.Net & IIS MetaData Question
Posted by Shawn & Jo-an Mehaffie at 8/4/2003 11:10:00 PM
1) Is there a way to access the IIS Meta Data using ASP.Net? I want to = write a web site that will need to fill a combo box with a list of all = the web sites we have on our server farm. I want the user to see a user = friendly list and not the standard W3CV/???/???. Any help will be apprec...more >>


FormsAuthentication.SignOut not working within subfolder
Posted by Jeff Johnson at 8/4/2003 11:03:39 PM
I'm using forms authentication to protect a subfolder within my site. I've got it working fine except for two issues: (1) When I do a RedirectFromLogin page I have to put a cookie path ("/" works, or "/mysubdir") or else the auth cookie doesn't get set. I'd like to know why this is necessary. ...more >>

Advice on design approach and principles
Posted by Mr Gordonz at 8/4/2003 11:01:46 PM
Hi All, I am building a site that will be used by different types of users, and each type of user will do similar, but substantially different, things. My question is a general one: what is the "best" (or at least a good) approach to the design of the site. For example: 1. I want to di...more >>

help with Security Exception ??
Posted by Tarren at 8/4/2003 10:39:40 PM
Hi, I am getting the following error: Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in ...more >>

Best Practices - solution - namespaces - classes
Posted by Vincent V at 8/4/2003 9:27:24 PM
Hey i am just starting a new project and from the start i want to make sure my app is as Object Orientated as possible I have a couple of questions in relation to this Question 1: Should i Struction my solution in numerous projects ie 1. Webpage Files(ui) 2. Classes 3. Web Services 4. M...more >>

problem with regional & language settings
Posted by Lachlan James at 8/4/2003 8:52:47 PM
Hi, I have an asp.net web form that uses a rangevalidation control to validate a date field. My regional settings are set to Australia and it works fine on my system (winXP). However on another developers box (Win2000 Server) we get an error saying that an invalid date format was set ...more >>

Regular expression
Posted by Anwar at 8/4/2003 8:41:29 PM
Hi, Can anybody help me to write a regular expression to validate TIME in the format hh:mm tt (example:- 11:30 AM) Thanks and Regards Anwar...more >>

Page Scrolbars
Posted by Mike at 8/4/2003 8:23:14 PM
A simple question. How can I stop the display of an ASP.NET page's scrollbars? Thanks...more >>



beginner quesion about IsPostBack
Posted by suzy at 8/4/2003 7:04:16 PM
hi, i have an aspx page with a button. if i step through my code when i click the button then it calls the button_Click event which is what i want. but i need to redirect the page to another aspx page when this button is clicked so i dont want to waste time rendering the same page before r...more >>

asp.net and dao?
Posted by mirek at 8/4/2003 6:49:13 PM
Hi, Is it possible to use DAO under ASP.NET? I know that dao is deprecated and can't be run in multithreaded apps, but I need to use it as my old application is heavliy based on it. Now I try to run it from wrapped classes but without success: i get asserts from aspnet_wp.exe in oleinit.cpp...more >>

page_load
Posted by Alberto at 8/4/2003 6:03:34 PM
I've got an aspx and I need that his page_load event be fired every time I enter the page. Actually I put a break point in the first line in the page_load but it only works the first time I enter the page. What's happening? Thanks ...more >>

Advice on implementing Exception Management Block
Posted by SamIAm at 8/4/2003 5:04:54 PM
Hi There I am busy evaluating using the Exception Management Block in my web app. I have divided my solution into 3 projects. 1) WebApp 2) Business Tier Library 3) Data Tier Library Where would I call ExceptionManager.Publish from? My WebApp only or all tiers? Hope thats clear. S ...more >>

How to prevent referenced assemblies from being compiled into the application?
Posted by BH at 8/4/2003 4:59:11 PM
My question may be a bit odd. Right now I can see that all referenced assemblies in my project are compiled into the application assembly so when I deploy the application, I don't see those assemblies anymore. Is there a way to compile the application so that the referenced assemblies are still...more >>

I am going to kill mysql
Posted by Paul at 8/4/2003 4:49:23 PM
Hi I did the following in an effort to connect to mysql using VB.net on a windows XP pro machine. I made reference to and used the import statement as follows : Imports Microsoft.Data.Odbc I then created my connection with the following : Dim objConnection As New OleDbConnection("driv...more >>

Threading and Session Objects
Posted by Roberto López at 8/4/2003 4:31:17 PM
Hi, I´m doing an asp.net application that uploads and downloads files and folders between the client and the server on my intranet. To do this I have create threads and it runs Ok but I need to show to the user the progress of the operation and here is the problem. I try to access to the Session...more >>

Problem with globalization
Posted by Xavier MT at 8/4/2003 4:15:32 PM
Hi, I have a site that has some text in spanish and it doesn't display well, for example with a ñ it displays some weird boxes, can anyone help me or point me to some help ...more >>

Creating a new project on a remote server
Posted by rr at 8/4/2003 3:48:25 PM
Environment: Development PC: W2K Professional WebServer: W2K Server, IIS 5.0 Peer-to-Peer network I'd like to create a new asp.net project on a remote server (not on the local (development) machine. I have looked for info on how to do this, but all I can find are instructions on how to crea...more >>

Cannot access Network Non plug and play printer
Posted by homaneag NO[at]SPAM yahoo.com at 8/4/2003 3:38:07 PM
I have a web service that want to print something to a printer connected on another computer in the network. And that printer happens to be a non-plug and play printer (It's a thermal printer). I tried to install the printer to the server directly and it works fine (I use PrinterSettings.Print...more >>

Session Variables in .NET
Posted by Carl at 8/4/2003 3:33:02 PM
Hi, I am starting to develop an ASP.Net application. I will have a logon page which will take a UserName and Password. A Stored Procedure will verify that the logon is correct. I was going to use a Session Variable to indicate whether the user is logged on or not. Based on this variab...more >>

COM interop from ASP.NET
Posted by Stefan Barlow at 8/4/2003 3:03:50 PM
I have an ecommerce system that hosts many sites on one server and I have the main assembly in the GAC. Within the assembly I reference Verisign's PayFlowPro interop. I have the interop in the GAC and the COM object is registered. When the system runs and it tries to create the PayFlowPro obj...more >>

Formatting numbers with asp
Posted by Onur Bozkurt at 8/4/2003 3:01:27 PM
Hi. I need to format a number with asp(old version). I know how to do it in asp.net, does anybody know how in asp? ASP.NET Format(15000, "0,# $") ...more >>

regularexpressionvalidator numeric control
Posted by Salim Afþar at 8/4/2003 3:00:16 PM
Hi, Is it possible to control a textbox with NUMERIC value with regularexpressionvalidator. Thanks in advance, Salim ...more >>

another newbie question: How to in the IDE
Posted by SStory at 8/4/2003 2:58:07 PM
All the examples I have on using a Datalist use it in the same file as the HTML I am useing the VS IDE. I am doing code behind and am a bit confused as to where to do what. I placed a Datalist on the control, made a procedure that hits the database, call it and it binds to the datalist and ...more >>

simulating browser cookie management
Posted by Martin Kuba at 8/4/2003 2:56:38 PM
Hello, I am trying to write a script for testing web applications. It needs to be able to authenticate user and manage state through cookies. Is it possible to simulate cookie management like a browser? If so, how? Thank you, Martin Kuba...more >>

URLEncode
Posted by Russ at 8/4/2003 2:50:11 PM
Response.Redirect(@".\folder\" + filename); How could I urlencode this statement so that if the filename contains a special character (in my case a #) the redirect will still function? ...more >>

Difference between a custom template and a user control?
Posted by Barry at 8/4/2003 2:43:19 PM
I have a DataList in which I need to dynamically load a SelectedItemTemplate. However, I ended up turning the template into a User Control because I needed code behind. The reason I did this was because I have another DataList inside the template/control that has to be bound to a function ca...more >>

simple question
Posted by Tina at 8/4/2003 2:15:27 PM
I have page1.aspx and page2.aspx. Lets say page1 has a hyperlink to page2. If the user clicks on that hyperlink Page two will be displayed either in a new window or the same window(depending on which way I want it). Now, I want exactly the same behavior to occur except that I don't want to ...more >>

class session variables
Posted by Dean at 8/4/2003 2:09:50 PM
I finally got class session variables to work by putting the following in global.asax in the session_start: dim myDBComp as DBComp = new DBComp........ session("myDBComp") = myDBComp In each aspx codebehind module I can define my object right after the class definition as so: dim myDBComp as...more >>

ItemTemplate using IDE??
Posted by SStory at 8/4/2003 2:06:48 PM
How do I set the Item template using the IDE? I have ASP Unleashed book but it is all code. I found the Edit Template, but don' t know what to do within that dialog. What is the normal manner of doing this? Thanks Shane ...more >>

refresh parent window on close showModalDialog?
Posted by Simon Storr at 8/4/2003 2:03:21 PM
Is it possible to make the parent window refresh when a modal dialog is closed? I know I can use window.opener.location.reload(true); for a 'normal' window, but this doesn't work for showModalDialog. It is modal as far as the client is concerned but not the server... In my app I have a da...more >>

ASP.Net Form Posting
Posted by av at 8/4/2003 1:50:32 PM
hi,I have couple of Questions regarding the ASP.NET. Post the Values from WebPage1.aspx to WebPage2.aspx The code i have is in webpage1.aspx <form action="webpage2.aspx" method=post runat="server"> <asp:TextBox id="TextBox1" runat="server"></asp:TextBox> <asp:TextBox id="TextBox2" runat="s...more >>

Debugging - Catastrophic Failure :( !!!
Posted by Alek at 8/4/2003 12:21:06 PM
I've installed VS.NET on my win2000 OS and I've created a simple ASP.NET web application. But when I try to debug I receive following dialog box message: "Error while trying to run project: Unable to start debugging on the web server. Catastrophic failure. Would you like to disable future at...more >>

mysql again
Posted by Paul at 8/4/2003 12:11:23 PM
To follow on from previous post : I tried replacing the connection with a dsn so my connection string = "dsn=dsnMyconn;" and now I get : An OLE DB Provider was not specified in the ConnectionString. An example would be, 'Provider=SQLOLEDB;'. I have never had trouble with sql server or acc...more >>

Question: How can I "expire" a web page (prevent BACK button)
Posted by VB Programmer at 8/4/2003 11:58:41 AM
I know some sites will display the following message if you click on the BACK button in your browser. How do I implement this feature? Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precau...more >>

Regular Expression for multiline validation
Posted by Mark at 8/4/2003 11:49:25 AM
To validate the length of a multiline textbox, I'm told that I have to use a regular expression validator. The regular expression below limits it to 25 characters in length, but if the user enters a hard return, it bombs regardless of length. How do you allow hard returns in the following regul...more >>

how to make button with a little image icon
Posted by huayuli NO[at]SPAM yahoo.com at 8/4/2003 11:35:49 AM
Hi, I am very new in the asp.net realm so this may be a very simple question for most of you. I want to put a little image icon in every button on my web form but there is no attribute in asp:Button allowing me to do this. Basically, the buttons are Text buttons except that there there is a ...more >>

Can HttpHandler or HttpModule trap image requests?
Posted by Peter Rilling at 8/4/2003 11:10:19 AM
Can an HttpHandler or HttpModule be invoked on non-ASP.NET pages such as images or ASP or HTML pages? Can I trap a request for those pages? If not, how might I trap those requests? ...more >>

Question: Difference between strMyVar and Session("strMyVar")
Posted by VB Programmer at 8/4/2003 10:06:52 AM
If I have a variable I want to share in my application what is the difference between just declaring a variable (Dim strMyVar as String) and using a session variable (Session("strMyVar"))? When should I use a session variable and when should I just declare it like normal? Thanks in advance!...more >>

MsgBox Error
Posted by Chiu Hung Jung at 8/4/2003 9:47:24 AM
Hi, everyone I use MsgBox("message") function, but error as follows: It is invalid to show a modal dialog or form when the application is not running in UserInteractive mode. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application. D...more >>

change datagrid column to hyperlink
Posted by clairereedo NO[at]SPAM yahoo.co.uk at 8/4/2003 9:31:31 AM
Hi All, I have a datagrid and am autogenerating columns. I would like one of the columns to be a hyperlink column after the data has been bound i.e. I already have a column with the data in it (a name) and I want it to be converted to a hyperlink. Is it possible to do this at runtime? th...more >>

__doPostback method with colons problem
Posted by Steven Livingstone at 8/4/2003 8:59:59 AM
I am running into the "colon in javascript" problem as discussed here http://www.bdragon.com/entries/000324.shtml. Basically, i have nested controls and get the error on a line such as : theform = document._ctl0:frmPage; I noticed a solution at http://msdn.microsoft.com/msdnmag/issues/02/...more >>

Limit to 150 characters in multi-line textbox
Posted by Mark at 8/4/2003 8:31:31 AM
Can you limit the number of characters in a multi-line textbox? My tests in indicate that the MaxLength property causes client side limits only on single line textboxes. Thanks in advance! Mark ...more >>

DirectoryServices error!
Posted by Enosh Chang at 8/4/2003 8:19:05 AM
Hi all, I encounter some problem in DirectoryServices, could someone help me? private void InitLoginUser() { DirectoryEntry objEntry = new DirectoryEntry(); DirectorySearcher objSearcher = new DirectorySearcher(); SearchResult objResult; try { objEntry.Path = "L...more >>

Modify InnerHtml of HtmlControl with JavaScript?
Posted by paul_nospamplease NO[at]SPAM yahoo.com at 8/4/2003 8:15:54 AM
Here is my current code: ------------ <script runat=Server> void Page_Load(object sender, EventArgs e){ if (!IsPostBack){ myDiv.InnerHtml = "Original Content"; } //On Postback, should equal "Original Content and New Content" string strContent = myDiv.InnerHtml; } </s...more >>

appSettings problem!
Posted by Manuel Adam at 8/4/2003 7:47:14 AM
Hello! I have one problem with the appSettings on win2k srv machine with framework 1.1. Following line not work anymore (it worked fine with 1.0): <add key="SQLDB" value="Data Source=(localhost);Initial Catalog=X1;User ID=db1;Password=pöäü" /> It seems like the value cannot use charach...more >>

ASP.NET data grid
Posted by babe_jt NO[at]SPAM hotmail.com at 8/4/2003 7:45:41 AM
I'm building an ASP.NET application that stores/retrieves data using MS-Access. I have a datagrid that I want to populate with a datatable. However, I only want to display certain columns. I'm wondering how I can manually assign specific columns from the datatable, to specific columns in the dat...more >>

3. Questions
Posted by Jenny at 8/4/2003 7:29:39 AM
Hi all 1. How can I find out about the number of started session of my asp.net appliction? 2. Is there a way to find out about the physical available RAM on the server? 3. Is it also possible to get the value of the available RAM for the asp_wp.exe process (default: 60%)? Thanks, J...more >>

webcam
Posted by Konrad at 8/4/2003 7:07:35 AM
Hi 1.Where can I find examples of grabbing pictures from WebCam. Using .NET and without .NET in Visual Studio 2003 c++? 2. How to send grabbed picture via ftp using .NET and without it? Thanks Konrad ...more >>

What happens if more than one HttpHandler is registered for a file type?
Posted by Peter Rilling at 8/4/2003 2:46:21 AM
Okay, I need to create an HttpHandler that will process all requests to the server so that I can perform special logging. What happens if there are more than one handler registered with the same file extension? For instance, someone accesses a .aspx page. Normally that would only be handled b...more >>

Very Urgent
Posted by Archna at 8/4/2003 2:34:11 AM
Dear All i have a form by which user can enter, modify,delete data corrosponding to employees.Problem is whenever user modify data it updates data into database but form shows previous data whenever i load it again. It shows new data only when i close the IE and reopen it. Can anybody...more >>

RDF reading in .NET
Posted by martin at 8/4/2003 2:22:29 AM
How do you read RDF links (like news feeds) in .NET I was using XML reader but am getting invalid format now, since going to 1.1 of the framework. Is there a RDF to XML converter ? ...more >>

Datagrid + ImageButton = Slooooowwwww
Posted by Jake at 8/4/2003 1:45:39 AM
Hi All, I have an aspx page with a datagrid which I am using to display a list of thumbnails and their descriptions. The thumbnails are sitting on my harddrive and the links to them are stored in an Access database. I have placed an ImageButton in a template column in the datagrid a...more >>

Webcontrol toolbar image click question
Posted by John at 8/4/2003 1:33:13 AM
Hi all, Firstly, allow me to just say that programming asp.net AND using viewstate has been (and still is at the moment) the most painful experience I have ever undergone. It really is! Now that I've got that behind me (not that it's going to make viewstate work for me) I really have a prob...more >>

Response.OutputStream
Posted by Jenny at 8/4/2003 12:49:52 AM
Hi all, I'm using a second page to write dynamical generated images into the outputstream. This avoids using tmp-files on disc. My code-behind in the start aspx file is: 'Use second file to write into outputstream Application("grafix-obj") = ob button.ImageUrl = "Grafix.aspx" Panel.Cont...more >>


DevelopmentNow Blog