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 > july 2003 > threads for thursday july 31

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

Run sub procedure -- "expression expected" ???
Posted by Kathy Burke at 7/31/2003 10:54:34 PM
Hi again, I'm trying to run a sub from within another: Public Sub txtScan_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtScan.TextChanged ProcessSN(ByVal sender As System.Object, ByVal e As System.EventArgs) End Sub ByVal is in...more >>


ascx... again :'(
Posted by Quentin at 7/31/2003 10:27:29 PM
Hello, I got a Solution, containing two projects, a project of classes, and a web project. The two projects directories are not located in the same place (directory ?). Into my project of classes i've got a class.vb file where i made a very class : ------ class.vb------- Public Class Fenet...more >>

ASP.NET postback and page load problems - MTU size with ASP.NET
Posted by Stephen Gutknecht (RS) at 7/31/2003 8:56:35 PM
Hi. We have our old ASP VBScript site and our new ASP.NET 1.1 C# site behind the same firewall with the same firewall rulesets. Both servers running Windows 2000 Service Pack 4. With certain users we have page loading problems on our ASP.NET site that we never had with ASP. Has anyone e...more >>

Keyword not supported
Posted by Carl at 7/31/2003 8:06:47 PM
Hi, I have an ASP app that queries MS Indexing Service. Below is my code. ############################# Imports System Imports System.Data.SqlClient Dim strCatalog As String ' Catalog Name strCatalog = "Test" Dim connString As String ...more >>

What does (ByVal sender As System.Object, ByVal e As System.EventArgs) mean?
Posted by Kathy Burke at 7/31/2003 7:33:22 PM
I just don't get what the () after the sub name does...kind of stupid question, but it would be nice to understand it. Thanks. Kathy *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Using threads in ASPX objects
Posted by David Travis at 7/31/2003 6:59:22 PM
Hello, I am working on a web application, where I should generate at some scenarios large amounts of emails. I noticed that the mailing process is pretty slow, hence the page loading when these emails are generated is slow too. If I will use threads to execute the mailing process the page wi...more >>

Verify Database Update
Posted by Kathy Burke at 7/31/2003 6:03:27 PM
Hi, I asked this question last week, but still need some help. When I do an update to a database record (SQL Server), how would I do the code to verify that the update event has happened? I can't use transactions or stored procs in SQL Server. Is there a way to use vb in the asp.net sub proced...more >>

Few things - Validation, Tables etc
Posted by Vincent V at 7/31/2003 6:00:31 PM
Hey a couple of questions I have multiple usercontrols on my page + buttons that Cuase validations the issue is that the page validates as a whole and you cannot Group validate the work around i am using is to disable all validators on the page then enable all validators on my control conta...more >>



Concurrent Requests from Same Session
Posted by PJ at 7/31/2003 5:58:51 PM
I posted a few days ago concerning requests being blocked from a main window after a popup window had initiated a file download. Apparently this has to do with the fact that asp.net or iis serialize all requests from the same session. Further requests from the same session are being queued unti...more >>

ASP.Net User Account
Posted by Bendall at 7/31/2003 5:22:22 PM
Novice here. I just loaded Visual Basic.Net Standard 2003 and ended up with a new user account on my computer named "ASP.Net Machine A". If I am not currently using my machine as a server is there a problem with deleting the user account. Any reason it's there? OS is Win XP Home. Thanks fo...more >>

Loading UserControl in ASP.NET...
Posted by Aiden Fung at 7/31/2003 5:09:24 PM
Is it possible to create a UserControl or Windows Form within a WebForm? What I wanted to do is to create a stand-alone .NET Windows Form application and also be able to run it within IE without making it an ActiveX. Thanks in advance, Aiden ...more >>

Configure Server Extensions Error
Posted by Lee Silver at 7/31/2003 5:07:12 PM
Environment: W2K SP3 and .NET 1.1 I'm trying to set my machine up to do some Web-form development but am unable to successfully configure the IIS Extensions. When I click Finish at the end of the Wizard I get a dialog telling me "Cannot create folder "_vti_pvt'". I suspect it may be a permi...more >>

ASP.NET security control
Posted by PK at 7/31/2003 5:06:22 PM
Hi All, I will be writing an asp.net application which require users to log on before they can view the particular information. so here the security control is needed and a must for different user who have various access level. I am wondering what is the best way or a more reliable way to c...more >>

OBJECT tag
Posted by Frank Oquendo at 7/31/2003 5:06:06 PM
Can ASP.NET code manipulate a client-side ActiveX control? -- There are 10 kinds of people. Those who understand binary and those who don't. http://code.acadx.com ...more >>

ASCX as Header/Footer
Posted by Peter Wu at 7/31/2003 4:54:14 PM
Hello, I want to create a Header and Footer for every ASPX page I build. I created 2 Web user controls respectively and placed them in an ASPX page. The problem is that I cannot position the Footer to be always at the bottom of the page. The Header and Footer are always together at the top o...more >>

HOW-TO: Response.BinaryWrite JPG *WITH* the original filename
Posted by DAC at 7/31/2003 4:23:42 PM
Hello. How can I Respose.BinaryWrite a file but preserving the original filename. Explaining better: Suppose a webform that displays images stored on my database. The page shows, say, 5 pics at a time. I want the user to be able to right-click over a pic and use "Save Picture As..." from IE....more >>

VB .NET vs C#
Posted by Eric Wise at 7/31/2003 4:05:24 PM
Does anyone work for companies that actually implement both VB and C#? I know that you can do this in theory, I just find it hard to imagine that a company would split its programming technologies like that. Of course now with the CLR there doesn't seem to be any performance benefit to using ...more >>

good examples, send links or sources
Posted by viviane lima - * - * - at 7/31/2003 3:47:43 PM
Please, send links for sources complete for create website asp.net with data mssql with add, remove, search, records step by step, because I am starting and the asp.net site is low examples.. thansk for all helps :) Vivian ...more >>

image webform control
Posted by Tina at 7/31/2003 3:23:43 PM
I am trying to adjust the size of an image web control but if I try to say myimage.height = 200 it says that an integer cannot be converted to a webcontrol unit. I also tried a ctype cast but that didn't work either. Is there a way to change the size at run time? I need to do this because th...more >>

newbie form post question
Posted by SStory at 7/31/2003 2:35:36 PM
Please tell me how I can get the values and items for a form posted using the post method. The posting page is HTML and I won't know what's in it ahead of time... How can I get a item/value pair for it. I'm sure it is simple but haven't figured it out. Thanks Shane ...more >>

Image can't hold an image?
Posted by Gary B at 7/31/2003 2:32:31 PM
I'm converting a windows application to a web application. (by the way, this is way easier than it used to be - many of the modules went over untouched!) The windows app used a pictuebox and got an image directly from a sqlserver database. Upon examination of the Image web control, it seems ...more >>

Javascript in ASP.NET - Pop another window
Posted by Nevyn Twyll at 7/31/2003 2:13:09 PM
I've got a web form with a number of dropdowns, combos, etc. When the user submits the form, I want to redirect them to another form, but I need to pop it in another window. So, I have a hyperlink on the form whose NavigateURL gets refreshed whenever the user makes a selection (...NavigateUrl =...more >>

Compilation Error
Posted by Krissy at 7/31/2003 1:58:49 PM
Hi all, Sometimes after building a project, or uploading it to the server, when we go to view the page, we get the following error. To overcome this we have to end the aspnet_wp.exe process and then it works fine. But it is annoying to terminal into the server and do this. Is there a p...more >>

Setting the default button
Posted by Sean at 7/31/2003 1:57:45 PM
hi,=20 i have a webform, which has a couple of formfields including a couple of = buttons too.=20 the webform structure is=20 textbox1 button1 button2 textbox2 button3 - submit How do i trap when the focus on textbox2 , so i could set the enable = property of button1 and button2 to b...more >>

When I spawn a lightweight process in ASP.NET Does it time out??
Posted by MS News at 7/31/2003 1:56:12 PM
Hello When I spawn a lightweight process on a new Thread and return immediately to the Client what happens if the lightweight process takes an hour to finish? Under what context is the process running Is it running under the current Session. How do I insure that It will run until it is compl...more >>

How do I debugg JavaScript .NET
Posted by MS News at 7/31/2003 1:48:48 PM
Hello, I followed some steps and still does not work at all Am I supposed to use Stop, Debugger or some keyword Why can't I just use Break points I setup the application in IIS to Debugg I setup IE to allow Script Debugging I attached to Porcess from VS.NET I am Missing something. ...more >>

How to I Iterator through a CheckBoxList?
Posted by Micheal at 7/31/2003 1:32:48 PM
This is an ASP.NET using C# website ...more >>

Flexible provider with ASP.NET for private use (Email etc.)
Posted by olavb NO[at]SPAM yahoo.com at 7/31/2003 1:31:08 PM
Greetings! I need a provider which supports ASP.NET, though ASP.NET is not the main thing and not very demanding, just private pages and CV etc. More important is flexible email accounts etc. for private and professional use and similar services Any suggestions? Thanks! Olav...more >>

_Deleted
Posted by AJ at 7/31/2003 1:19:52 PM
I got an error page (runtime error) on my ASP app, stating that the _Deleted field was not found. Now, I never declared a _Deleted field, so I'm assuming it should exist somewhere in the inherited 'Page' class (or one of its parents/ancestors). I stopped the runtime error by including:...more >>

public var, but says Inaccessible due to protection level
Posted by Jason Shohet at 7/31/2003 1:10:44 PM
I have a line: public System.Web.UI.HtmlControls.HtmlTable bldgInfo; Even though its public, for some reason every so often, .NET tells us that bldgInfo table is inaccessible due to the protection level. Its an html table -- but serverside. And it sits on a ascx (control). When we t...more >>

Error when placing Validators on a DataList Control.
Posted by Art Kedroski at 7/31/2003 12:55:53 PM
We are using .NET validators on most of our aspx pages. When the validator is contained within a datalist (i.e. the EditItemTemplate) the WebUIValidation.js file location tag is not rendered on the page. Missing Tag: <script language="javascript" src="/aspnet_client/system_web/1_0_370...more >>

Another dumb question
Posted by Tibby at 7/31/2003 12:46:01 PM
I have 2 textboxes and a button on my .aspx form. When I press tab on the first box, it goes to the addressbar, then to the second box after another tab. I thought that maybe if I set the tab order this would be fixed, but no. TIA Tibmeister ...more >>

converting asp:textbox to uppercase
Posted by Ruby at 7/31/2003 12:44:19 PM
hi... how can I convert user's input in textbox to uppercase, I try to write client-side javascript (onkeypress event), and registered with registeredstartupscript, it worked but there's a delay time everytime I pressed a key. Is there's any suggestion Ruby ...more >>

referencing assembly from aspx page
Posted by Jeremy Chapman at 7/31/2003 12:14:22 PM
Earlier, I created an assembly that wrapped the SQLDMO.dll Com object. The assembly is now called Interop.SQLDMO.dll Now, from a seperate .aspxpage I'm trying to reference that assembly. I thought that <@ import Namespace="Interop.SQLDMO" %> would work but it doesn't. does anyone know how? ...more >>

XslTransform.transform does not generate xhtml
Posted by Bob Yuan at 7/31/2003 12:01:33 PM
Hi, I am working on a asp.net project that takes a xml source and use XslTransform.transform to generate a xhtml output. The problem with using XslTransform is that it automatically reformats the output as HTML instead of xhtml. For example, if the xslt file contains <img src="..." />, ...more >>

is it possible to refresh just a control?
Posted by les at 7/31/2003 11:27:58 AM
Hello, Is there any way of refreshing just a control instead of refreshing the whole page without using frames? Any help is greatly appreciated, Les ...more >>

Default page
Posted by nekit NO[at]SPAM yahoo.com at 7/31/2003 11:26:34 AM
Hello all. I have created an httpHandler to redirect requests to some files from other places. For this handler to be called for all files I've added Application mapping in the IIS with Extension "*" so that request of any file goes through aspnet_isapi.dll. Then in web.config I specify when ...more >>

is smart to use frames approach
Posted by les at 7/31/2003 11:24:39 AM
Hello, I just wonder what are the implications to use frames to build portal. I've seen some sites that are quite fast with frames but I just wonder if there are hidden "costs". I've tried to use in the past and I run into a lot of problems when I worked with environment where there were fram...more >>

How To Get Client Added Controls back to Server
Posted by MS News at 7/31/2003 11:17:14 AM
Hello, Using Java Script I add some ListItem items to my ListBox ( or Options to my list box ) when I post back I don't get anything at all What is going on originally the ListBox is empty then the Client will do something to populate it at runtime At the server I get nothing Please Help...more >>

Iterating through controls (VB)
Posted by Jeremy at 7/31/2003 10:57:15 AM
I have been trying to iterate through the controls on my form and preset all textboxes to a cssClass. Unfortunately, I have been unable to figure out how to recursively move through sub-controls and all of my textboxes are in asp panels. The code I have can see the panels but not what is in the...more >>

datagrid editcommand
Posted by Richard Roche at 7/31/2003 10:55:29 AM
Is it possible to use a drop combo instead of a text box when using the EditCommand in the Datagrid? Many table columns are bound to 'lookup' tables, user's don't care about the foreign keys, they want the text value. Any advice, samples or places to read are appreciated. Thanks....more >>

MS Indexing Service
Posted by CG at 7/31/2003 9:55:11 AM
Hi, I want to put some search box on my ASP.Net app and call the Index Service and return results. Does anyone know how I can do this? What library I need? If anyone knows of any documentation on this on the web etc, I would appreciate some info. Thanks, CG....more >>

Putting a string onto a stream to be read into a DataGrid
Posted by James Norton-Jones at 7/31/2003 9:51:32 AM
Hi, Am I trying to hold the data of a DataGrid in a label so that when the form is reposted the DataGrid can be repopulated. The problem I am having is that I don't understand how to get the text into a stream in order to be able to use DataSetOutcomes1.ReadXML(MyStream). Thanks in advance,...more >>

Debugging / Single Step into event procedures
Posted by R Millman at 7/31/2003 9:13:02 AM
under ASP.NET, single stepping in debug mode appears not to stop within event procedures. i.e. 1) Create web page with submit button and event procedure for the click event in the code behind page, 2) Breakpoint in the Page_Load, 3) debug the web page and click the submit button, 4) "step...more >>

is there a way to import *.html file to message.body
Posted by dude718 at 7/31/2003 7:33:39 AM
is there a way to import *.html file to message.body string element of mailmessage class without have to actually type it up. Also is the maximum limit to how much can a string hold. I have already set the message.format to html, but i want to some how automatically import the message.body...more >>

Changing VS.NET defaults
Posted by Mark Fox at 7/31/2003 6:59:55 AM
Hello, When you add a new web form in VS.NET it automatically adds the following namespaces at the top: using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web....more >>

securing pages and forms from users
Posted by abdulrauf at 7/31/2003 6:34:12 AM
Hope someone can help. I am trying to build an application that will allow a user to access/deny an application, the application's individual pages, and the forms within the individual pages. For example once a user log's in the application will check whether the user can access the ap...more >>

How to include multiple <forms> on one ASP.NET page
Posted by Ben Turner at 7/31/2003 6:16:19 AM
Hi, I need to create an ASPX page that includes both traditional HTML Forms (which are submitted to a third-party site like a travel booking service) and also make use of the ASP.Net form. I've tried a number of approaches so far but none seem to really suffice: 1. Position the HTML form ...more >>

trouble with caching or caching the trouble
Posted by Hypo at 7/31/2003 6:06:16 AM
Im relatilvly new to a web programming in general, and here's the situation i have: I have a default page with dynamic content, and one button with onclick code something like this: { // do some processing... Serever.Transfer("second_page.aspx"); // or Response.Redirect("second...more >>

occasional SqlException 'a severe error occured...'
Posted by Sven Schimmel at 7/31/2003 5:27:12 AM
Hello all, I face the problem that occasional in one WebApplication the following error occures: System.Data.SqlClient.SqlException: A severe error occurred on the current command. The results, if any, should be discarded. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at...more >>

Error While trying to run project.
Posted by Vishal Dev at 7/31/2003 4:49:47 AM
I am running Asp.Net on XP proff. I have re installed it several times but i still get this message. Also If i select the Yes option of the message box I do not see any control(Command Button or any.) on the web page. But in the source view all the html code. Error Message:---Unable to st...more >>

Response.
Posted by Jenny at 7/31/2003 4:03:07 AM
My application generates images dynamic. These images are then used for an image button like in the beneath. Dim ob As Bitmap = New Bitmap(130, 30) Dim banner As Graphics = Graphics.FromImage(ob) Dim tempfilepath As String = System.IO.Path.GetTempPath ob.Save(tempfilepath & "temp.jpg", ...more >>

Bug in VS 2003
Posted by jsparrow NO[at]SPAM ecclescollege.ac.uk at 7/31/2003 3:49:54 AM
Has anyone noticed that, sometimes, when you delete controls like DataAdapters from a web form, then save (without first switching to code view), when you reload the project they reappear?!?!?!?!? WHY OH WHY DON'T MICROSOFT DEBUG THIS STUFF BEFORE THEY RELEASE IT!!! We spend most of our work...more >>

run and exit application
Posted by kongkong99 NO[at]SPAM yahoo.com at 7/31/2003 3:11:23 AM
i'm very new to asp.net... i'm facing problem since i want to run the application... i put my connection string (strConnect) in a module (moduleConnect) then when my first form load, i want to straight away connect to db. so i write"moduleConnect.strConnect) in page_load like this: Priv...more >>

Response.Redirect or Server.Transfer?
Posted by Justin at 7/31/2003 2:40:55 AM
Hi, Im confused here over the usage of Response.Redirect and Server.Transfer. I used frameset for my work, what are the proper usages of the two methods that seems working similar.. The problem i faced while using Response.Redirect is that the page that is directed to, does not looks...more >>

This is such a bogus article
Posted by George Hester at 7/31/2003 2:10:58 AM
http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;306165 --=20 George Hester __________________________________...more >>

Destroy COM object
Posted by Jenny at 7/31/2003 1:09:56 AM
Hi all, I'm using a COM DLL in order to generate an object. This object is then stored in the application state. But after setting it to nothing and doing a garbage collection it's still there. Is there another way to remove such an object completly? Regards Jenny...more >>

disabled web controls -- I can barely see them
Posted by David at 7/31/2003 12:49:19 AM
This is one of those petpeevs that have been bottled up inside. Disabled web controls are so lightgrey, the user can barely see them. I understand with textboxes, I can set the ReadOnly property to false, and prevent the user from editing it, but what do you do with check boxes if you don't w...more >>


DevelopmentNow Blog