all groups > asp.net > december 2003 > threads for thursday december 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
Using MidB, InstrB, lenB in ASP.NET
Posted by Gaurav_Sharma NO[at]SPAM KeaneIndia.com at 12/4/2003 10:23:38 PM
Hi guys,
As most of you must be knowing that people normally used MidB,
InstrB, lenB functions till VB6 for binary string manipulations.Since
now these functions are not available in VB.NET, I want to achieve the
same in VB.NET.Could any one can tell me How I can achieve the same
function... more >>
Debugging error is ASP.Net
Posted by Robert Hanson at 12/4/2003 7:50:34 PM
I am getting a Cannot start debugging. Unable to find Microsoft Internet
Explorer when I try to start any ASP.Net application.
I uninstalled VS.Net, IIS, rebooted, reloaded and still have the error.
Please help!!
Bob Hanson
*** Sent via Developersdex http://www.developersdex.com ***
... more >>
Is this the correct Multi-threading approach
Posted by Pete at 12/4/2003 7:38:47 PM
Hi,
I need to kick off a long running process in response to a user action
on my website. I'm not fussed whether it completes correctly or not (it's
just sends a load of emails) but I want control of the webpage to return
immediately to the user.
So all I do in my Server side event handl... more >>
How to deploy asp.net with vb6 dll to other machines
Posted by Mullin Yu at 12/4/2003 7:36:36 PM
I have a web services calling some dll, activex.exe. I want to deploy it to
another machine.
How can I do so including packaging the asmx files, all related dll and
activex.exe [which may call other dll as well, but not referenced at the
project].
Do you need to manually register those dlls... more >>
Help with DataTable update (BeginLoadData method)
Posted by Mike at 12/4/2003 7:22:46 PM
I have an ASP.NET/VB app that updates values in a DataTable over the
course of about 3 different pages. On the way out of the first of
these pages, I explicitly build the DataTable from values in a
DataGrid, and set the PrimaryKey of the DataTable to be the first cell
in the grid (which is a Us... more >>
Passing arrays from Classic ASP to .NET components - How do you do this transparently?
Posted by Mark at 12/4/2003 7:09:26 PM
Hi
From what I understand, you can pass arrays from classic ASP to .NET using
interop, but you have to change the type of the.NET parameter to object.
This seems to be because classic ASP passes a variant containing an array,
and interop expects a parameter of type object if you are passing a ... more >>
Shopping Cart - database vs session
Posted by Paul Hobbs at 12/4/2003 6:43:19 PM
Hi All,
I am developing a site that makes use of a standard shopping cart. Anyone
can add items to the cart, but only registered users can actually check out.
When a user tries to check out, if they are not logged in they will be
prompted to either login or register before they can proceed to... more >>
Automating Word
Posted by Domino at 12/4/2003 5:34:41 PM
Hi
Just to clarify my earlier post. The problem I'm encountering involves
running an application (ASP.net C#) which automates word. (Office 2000).
Basically works fine on dev server with VS studio.net but when I deploy to
another machine it returns
System.Runtime.InteropServices.COMExcept... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Visual inheritance...
Posted by Paul M at 12/4/2003 5:17:12 PM
Hi folks,
I've got a page that contains the basic formatting that I need for pretty
much all of my systems pages. It's compiled into it's DLL, distributed to
my application's \bin folder and VS allows me to use the class thus :
Public Class Job
Inherits DefaultPage.DefaultPage
The app... more >>
button to only execute javascript and not postback (using code behind)
Posted by Marcel Balcarek at 12/4/2003 5:03:19 PM
I want to create a button using code-behind that only executes javascript,
and does not post back to the server.
How can I do this - my ImageButton insists on posting back to the server.
Thank you
... more >>
Timed redirect of web page
Posted by Lloyd Sheen at 12/4/2003 4:52:02 PM
I have a problem which I would think would be a common one. If the user
attempts to enter an ASP app in a screen which is not the logon (could get
it from history), I want to be able to do the following:
1. Find out if the user has logged in (completed)
2. Redirect to page indicating the pr... more >>
need XML help with nested tables
Posted by Steve Klett at 12/4/2003 4:44:58 PM
(I posted this in ADO group, but I think this group will be better)
Hi-
I need to develop an FAQ section for our website. We would like to break up
the FAQ by products, then categories with each category having n
question/answer pairs.
I would like to pass parameters in the querystring bas... more >>
Error page + application_error sub
Posted by Brian Henry at 12/4/2003 4:29:33 PM
Every time an error occures no mater what the error is i want to show the
company site with a body that says "An error has occured, please try again
later" and i want to use my existing code in the applicaiton_error even sub
in the global.asax file to email the admins the error... how would i get... more >>
Object reference not set to an instance of an object. HHHEEELLLPPP.
Posted by Dave at 12/4/2003 4:14:59 PM
Hello
I hope someone can give me some idea of what is causing this error. I can
run though my asp app locally no problem but when i put it on the server i
get this error, any help at all whould be greatly appreciated. thanks in
advance.
Server Error in '/ISOComplaints' Application.
-... more >>
Always One checkbox checked
Posted by RodBillett at 12/4/2003 3:49:36 PM
I have a situation where I have 3 checkboxes - and at least 1 needs to be
selected at all times...
I have implemented the code that allows this behavior to happen, BUT
Viewstate gets all messed up. As long as none of the checkboxes are
disabled, viewstate works fine - and client actions are '... more >>
SmartNavigation Crashing IE with Content Advisor Enabled
Posted by Steve Roszko at 12/4/2003 3:41:36 PM
I was using SmartNavigation="True" on a new project. Worked great....until
it was out in the field where they use IE's Content Advisor. Using
SmartNavigation="True" and Content Advisor enabled, IE would crash
everytime. Disabling either one of these and all works fine.
Any ideas on how to u... more >>
Localhost Not allowing me to create aspNET apps
Posted by Brian Morris at 12/4/2003 3:37:15 PM
I have a PC which has IIS and VS2003. It has just quit working and I can't
figure out why. It tells me that I have not properly installed aspnet on my
IIS server and directs me to an exe called aspnet_regiis /i
I have run this utility but to no avail, I still cannot get VS2003 to create
asp ... more >>
Measure Performance Tuning Efforts
Posted by Jeff S at 12/4/2003 3:34:27 PM
I'm looking for guidance (tutorials, backgrounders, tips, or otherwise) on
measuring the performance of ASP.NET applications. I'm specifically
interested in acquiring the capability of generating objective data that
quantifies the effects of performance tuning efforts (e.g., performance
measures... more >>
Corrupted ViewState (Yes, another issue concerning viewstate)
Posted by Ben Rush at 12/4/2003 3:13:03 PM
Hello World,
Okay, I have spent the day browsing the newsgroups and reading up on
article after article concerning ViewState corruption and so forth, and I
have a couple questions. We intermittantly get the following exception -
EXCEPTION MESSAGE:
The viewstate is invalid for this p... more >>
get_aspx_ver.aspx errors ?
Posted by Brian Henry at 12/4/2003 3:11:01 PM
I set up an error handler in the global.asax file to catch errors as they
occure in the application. When running it once and a while i will get a
message that says at the location http://hostname/get_aspx_ver.aspx an
exception of type system.web.httpexception was thrown... why does this
happen ... more >>
controls and performance
Posted by Ashish at 12/4/2003 3:04:44 PM
hi all,
Iam trying to investigate some serious memory problems and ways to
optimize them in our web application.
some of the information i collected using the performance monitor, is
that number of assemblies loaded per appdomain is large,
we have a lot of pages which are using number of u... more >>
Recursive Directory Structure - System.IO
Posted by Elmo Watson at 12/4/2003 2:57:02 PM
Is there a way, with the System.IO class, to do a recursive list of a
directory structure?
For instance, in DirectoryInfo, you have GetDirectories and GetFiles ....
In Directory, you have Directory.GetFileSystemEntries(path), but I would
like to know how to put this together, knowing which... more >>
what is .NET Remoting?
Posted by Kees at 12/4/2003 2:29:39 PM
Hi,
I'm building a web application but the hosting that I got, does not support
dot NET. If I have access to another .NET hosting, I'm wondering if i can
solve this problme with .NET Remoting. That is having the website in the
non-dot net hosting, but all the application run on another .NET ... more >>
Am I missing something here ??
Posted by JezB at 12/4/2003 2:29:03 PM
Page A navigates to page B
Page B navigates to page C
Page C does several postbacks.
Now I want to go back to page B. The browser's BACK button on page C just
navigates back through the postbacks, so I put a button on this page to
navigate to page B.
However if the user now hits BACK on pa... more >>
Page Formatting Issue - Please Assist
Posted by PCC at 12/4/2003 2:27:47 PM
Hi,
I am using the Infragistics controls on a new web site. I have set up a
main page with three IFrames, one for the main navigator (on the left), one
for the toolbars (on the top) and one for the actual content of the page (on
the right).
When I create a toolbar control and expec... more >>
Web application creation error: ASP.NET app are locked down in IIS
Posted by Matthew Louden at 12/4/2003 2:24:51 PM
I am using Windows Server 2003 with VS.NET 2003 installed, which has .NET
framework v1.1. IIS 6.0 is running, and I attempted to create a new ASP.NET
web application. When I try to create it, it pops up an error message dialog
saying "VS.NET has detected that ASP.NET application and services are ... more >>
flat dropdownlist
Posted by oduhamel NO[at]SPAM club-internet.fr at 12/4/2003 2:23:24 PM
I would like to know how to design a flat dropdownlist (border 1px
solid) to use with asp.net (it seems no possible to modify this
control's style unlike the textbox).
thank's a lot... more >>
forms authentication question
Posted by Craig Buchanan at 12/4/2003 2:15:34 PM
is there a way to exempt a single aspx page in the <authorization> or
<authentication> sections of the web.config file?
thanks,
craig buchanan
... more >>
MsWord With Asp.Net on theserver
Posted by Y.A. at 12/4/2003 1:56:24 PM
I want to start msWord on the server with an a givene file
(.doc), customize the file (update it) then display it on
the client machine -- all this on intranet using asp.net.
I know it's doable with some javascript using ActiveX --
is anyone aware for another way to do it... more >>
I need crypt and decrypt basic sample
Posted by skech at 12/4/2003 1:43:33 PM
Hi,
I read some articles but I don't understand.
I need text crypt and decrypt (with my key) basic sample. (VB.NET asp.net
page)
Thanks
... more >>
Problem with Multiple Validation Controls and one Form Tag.
Posted by Avad at 12/4/2003 1:38:31 PM
I have a following screen. The login is a "user control" with =
validations controls in it. This side I have address book in which =
"name" is required field. But when I click on "add new user" the =
validations controls of the login also gets fired. I want that if "add =
new user" button is cl... more >>
PHP Serialized array
Posted by Ivan Demkovitch at 12/4/2003 12:57:45 PM
Hi!
I have cookie like this (from PHP portion of website):
{s:11:"autologinid";s:32:"0cc175b9c0f1b6a831c399e269772661";s:6:"userid";i:2
;}
I know this is PHP serialized array and wonder if there any way to read it
natively in .NET or I have to parse a string??
TIA
... more >>
Specifying all files except Login.aspx and Join.aspx are restricted to authenticated users
Posted by SamIAm at 12/4/2003 12:55:51 PM
Hi
I have the following in my web.config to specify that all my pages require
authorization:
<authentication mode="Forms">
<forms
loginUrl="Login.aspx"
timeout="60"
path="/">
</forms>
</authentication>
</authentication>
<authorization>
<d... more >>
Changing a form's action in code behind
Posted by Aaron at 12/4/2003 12:31:02 PM
Is it possible to change the location a form posts to (the form has
runat=server)?
Instead of: action="sample.aspx?sessid=xxx&cmd=yyyy"
I want: action="sample.aspx?sessid=xxxx"
Can this be changed in code behind?
Aaron
*** Sent via Developersdex http://www.developersdex.com ***
Don'... more >>
Lotus Notes
Posted by moid at 12/4/2003 12:14:59 PM
I want to Email through Lotus Notes Server. Am i right on this that i wont
be needing any lotus notes based assembly/dll to email through it
I hope i just have to do is that to have smtpserver name to where lotus
notes is installed
Regards
Moid Iqbal
... more >>
Printing from an asp.net page
Posted by Kay at 12/4/2003 12:14:29 PM
Hello,
I have a web form which displays data in a datagrid, infact it is a drill
down datagrid (i.e. a grid within a grid), the amount of data displayed is
quite large, so the grid flows and it is necessary to scroll down to see the
entire grid. On my page I provide a print button which calls ... more >>
Impersonation when calling com dll
Posted by Andreas Bergmeier at 12/4/2003 12:09:03 PM
Hi.
There's a problem in asp.net I didn't find any satisfying anwser to yet.
We're using asp.net to generate a weblayout similar to our windows
clients. Thus we use a com dll which contains our application logic.
So far we have no problem.
Our Problem arises because we try to load configuratio... more >>
Quest: ASP.NET access to Database without any SQL Server...
Posted by lewi at 12/4/2003 12:04:07 PM
I am just starting to use ASP.NET(C#) with VS.NET 2002 Pro on Win2000 Server
and spend only little time with MySQL while working with PHP. Now I am only
using all this for developement/learning and only on the localhost. I would
use SQL 2000 server if I have it but don't have the money to get it ... more >>
Interaction between 2 webforms
Posted by Anita C at 12/4/2003 12:02:52 PM
I have a webform- MainForm.aspx, which has a button amongst others on
clicking which a new window with a webform
opens(this.RegisterStartupScript("Browse Custom Reports Folder","<script
language='javascript'>window.open('ReportsFolderExplorer.aspx', '_blank',
'width=450,height=200,scrollbars=yes... more >>
Delegate overloading
Posted by Edward Diener at 12/4/2003 11:59:45 AM
According to the documentation, delegates can not be overloaded.
Does this mean that a delegate must have a distinct name in all namespaces,
or does this mean that a delegate must have a distinct name in any one given
namespace ? I sincerely hope it is the latter.
... more >>
How do i change background color to transparent
Posted by Ather Ali Shaikh at 12/4/2003 11:51:59 AM
I have developed a pie chart successfully.
But the problem is the background color of the piechart.
When I am using Color.Transparent it black the color
and if I use Color.empty it is also black the background color.
What should I do to make transparent means "No Color" the color at
backgrou... more >>
Event handler for multiple command buttons
Posted by David A. Beck at 12/4/2003 11:41:23 AM
I would to set up a event routine for several command buttons. I need to be
able to identify by the caption or something whick button caused the event
to trigger. I think it's in the "sender" or "e" objects.
Private Sub cbOWN2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Han... more >>
how to package web user controls?
Posted by Laszlo Szijarto at 12/4/2003 11:41:18 AM
Could someone please give me a link to somewhere which explains how to
package web control (ActiveX) .dlls?
I created an ActiveX-type .dll user control. Now this user control has
within it another user control -- i.e., there are dependent .dlls. If I
download the main control, it can't acces... more >>
Parser Error
Posted by demerson NO[at]SPAM hpsj.com at 12/4/2003 11:28:11 AM
I could use some help. It seems a lot of people have problems getting
Parser Errors in their asp.net apps, but my problem is a bit
different:
We have a couple developers working on a project "Intranet", on a
development IIS Server. When I compile a webform it works fine for
several minutes.... more >>
Load Balancing a .NET WebFarm
Posted by Christopher D. Wiederspan at 12/4/2003 11:22:58 AM
I'm wondering if anybody could give me some tips on a good webfarm
load-balancing solution for an ASP.NET application. Here's the rundown:
we've got 3 identical servers that each have identical content. Currently,
we're using dns round-robin to load-balance traffic across the servers. I
won't go... more >>
ViewState
Posted by JezB at 12/4/2003 11:02:20 AM
How can I get to a page's ViewState from inside a business object ? I have a
reference to the calling page but the ViewState property of the Control
class is protected.
Is there something similar to HttpContext.Current.Session that allows a
business object to access the current Session ?
... more >>
Formating a Date as it is entered?
Posted by Russ at 12/4/2003 10:45:47 AM
Is there a way to convert a date that is entered like this 120403 to
12/04/03?
In a access database you can set it so when you enter the field you get
__/__/__ and as you fill in each space only takes 2 digits.
I am looking for that type of funtionality in a form I am designing. The
users ... more >>
ASP.NET is not authorized to access
Posted by Brent Burkart at 12/4/2003 10:45:06 AM
I have an asp.net application written that works on every machine I have
tried it on except for one. This one XP machine throws the following error.
ASP.NET is not authorized to access the requested resource.
Can anyone explain to me why only the one machine might throw that error?
Thanks... more >>
DropDownList SelectedIndex value is not working for the last item.
Posted by Bryan Poteet at 12/4/2003 10:06:02 AM
Hello,
Here is the problem. I have a dropdownlist control on my page and it holds 4
items.
EnableViewState=True and AutoPostBack=False.
When I click the submit button I want to get the Selected Value and Text
from the control.
Here Are the Results
Values in the control
Index - Value
... more >>
Opening MS Word from a VB.NET ASP Page Access Denied
Posted by Yohancef Chin at 12/4/2003 9:51:09 AM
Hi,
Being fairly new to .NET I am looking for a way to call
MS
Word from an event on a webform, and after the user is
finished save that created document to an SQL Server
database. Has anyone done this? Does it seem possible? I
followed the instructions from a sample on the Microsoft
... more >>
How to retrieve image size?
Posted by Leszek at 12/4/2003 9:51:02 AM
Hello,
I need to set dynamically height and width attributes of an image control on
a WebForm. I know how to read the whole image from the hard-drive and use
its height and width properties. I guess it is not efficient as the whole
image needs to be read. I need to retrieve only two parameters... more >>
ASP.NET and Java
Posted by Tracey at 12/4/2003 9:47:42 AM
It's a urgent problem. Any advice would be appreciated
greatly.
My project set up Java processing code and MySQL database
server in a Linux machine. I want to implement
client/server functionality so that user input query
and get result in his browser.
My question is that is it possibl... more >>
Open file dialog in Web App ( C# )
Posted by grzybek at 12/4/2003 9:31:04 AM
Hi all,
I have question, how is the best way in Web Applications
to create file dialog similar to window file dialog.
I need two panels in tree structure with local directories on Web client
and in second
panel data from SQL database in the same structure.
It will be use to copy file in both ... more >>
Documentation
Posted by Jim Heavey at 12/4/2003 8:54:48 AM
Hello, I thought that when I loaded VS.Net, I would get a complete copy of
the documentation for the classes and methods, but I find that not to be
the case.
For instance, I was wanting information on the StackFrame Class, so when I
use dynamic help and bring up the class and review it, I g... more >>
double click and datagrid
Posted by kgs at 12/4/2003 8:42:26 AM
I have datagrid with in a usercontrol.
I have doubleclick event tied to each row to post back
with the id of the control.
Though i get a postback on double click of the datagrid
But double click event handler is not triggered.
here is the code snipped for item bound
public void OnItemBo... more >>
Invalid Cast Exception on Context.ApplicationInstance
Posted by Mark Olbert at 12/4/2003 8:35:24 AM
I have a v1.1 webapp that works fine on two different servers (my development machine and a
Verio-hosted site). However, it blows up on a MaximumASP-hosted site at a particular line:
private void Page_Load(object sender, System.EventArgs e)
{
// snippet
theGlobal = (Global) Context.Applicat... more >>
Session variables in shared class
Posted by David A. Beck at 12/4/2003 8:34:23 AM
I have a shared class as a part of a ASP.NET project. I'm adding routines
that are used on all the WebForm aspx.vb pages. I can't figure out how to
read the session variables in this class. sX = CSTR(Session("XMAN")) tells
me I cannot refere to an instance name of a class from within a shared
m... more >>
VS.net breakpoints
Posted by Dave at 12/4/2003 8:21:41 AM
If a breakpoint is inserted in a *.aspx.vb file by
clicking in the "margin" (using vs.net pro 2002), it is
being ignored. Does anyone know how that might happen?... more >>
Drop down list inside a repeater
Posted by rona NO[at]SPAM discussions.microsoft.com at 12/4/2003 8:17:26 AM
Hi
I'm trying to have a drop down list inside a repeater
where the data for the list is extracted from a database
along with other items but I can't seem to get it to work
for the list.
My html is as follows:
<asp:panel id="Panel1" style="Z-INDEX: 104; LEFT: 240px;
POSITION: absolu... more >>
How to add attachment file to a form
Posted by Zameer at 12/4/2003 8:15:27 AM
Hi All,
I want to know how i can add attachment file to form for a
particular user.Its like user fills his information on
form and he can add an attachment file if he wants.And
later when you click on the User.His information along
with the attachment should be displayed.
... more >>
File Upload
Posted by Goncalo at 12/4/2003 7:58:19 AM
Hi.
You can limit the uploaded file size by changing the
httpRuntime's maxRequestLength in web.config, right?
So, my question is, how can you tell in CodeBehind that
the file 'uploaded' is over that size? I noticed that the
page property isPostBack is 'false'.
Thank's is advance
Gonc... more >>
Placeholder and positioning
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 12/4/2003 7:12:15 AM
Hello Guys,
I am having difficult time with the placeholders. I have
a placeholder which gets loaded with listbox at run time.
I want the listbox to be displayed on a cell in the
table. Now how can I place the listbox which is generated
at run time in the cell. I tried using a Panel in t... more >>
Appending a DataSet
Posted by Philip Townsend at 12/4/2003 7:03:20 AM
Is there any way to manually add a record to a dataset? In my case, I
may need to populate the dataset from a stored procedure or xml file,
but in some cases I may need to manually add an additional record or
row. Any suggestions? Thanks!
*** Sent via Developersdex http://www.developersdex... more >>
how to open a browser window without the close-maxmize-minimize bar?
Posted by feng at 12/4/2003 7:02:46 AM
I need to open a browser window that doesn't have have the
header bar containing the "X" button and min/max buttons.
I know I saw those kind of windows before when I browse
the web, but I don't know how to do it.
Can someone please show me how?
Thanks.
feng... more >>
server is not running asp.net version 1.1
Posted by kunp NO[at]SPAM pox.nl at 12/4/2003 6:01:18 AM
Hi there,
Just posting this because this worked for me after several hours of
frustration.
My webserver running on iis 6.0 was working ok. However my .aspx pages
didn't.
Also copying an project from visual studio to the (remote) webserver
generated an error. (server is not running asp.net ... more >>
datagrid query-binding problem
Posted by reiks at 12/4/2003 4:04:36 AM
I have a datagrid with three template columns with
textboxes in my item template column.
My requiremnt is to bind data from the following query
SELECT sum(qty), count(qty)
FROM sales
to the datagrid
I used the following expression for my textbox:
<asp:TextBox id="Textbox8"... more >>
Adding attributes to page button of datagrid
Posted by sumit at 12/4/2003 3:56:30 AM
Hi,
I want to add one java script function on the click of
page button of datagrid. But how to get UI control of page
button so that i should be able to add attribute for
onClick event.
Please suggest
Sumit... more >>
ByVal and ByRef
Posted by Goncalo at 12/4/2003 1:40:12 AM
Hi.
Can you tell me what's the difference between ByVal and
ByRef in VB.Net.
I'm asking this 'cause i'm passing an object into a
function ByVal, then I change that object and when the
function terminates the original object is changed.
This kind of output is usual when passing objects... more >>
Binding Datagrids To a collection
Posted by Eldon Ferran de Pol at 12/4/2003 1:19:16 AM
I've got a class that inherits from CollectionBase. Is it
possible to bind this to a datagrid. I know that this is
possible with ListBoxess, ComboBoxes etc.
Eldon... more >>
client side browser information
Posted by Tabo at 12/4/2003 12:53:15 AM
How can i get the information of client side browser, such
as browser history, for displaying on the web page? And,
can i update or insert a new history to the browser? if
yes, how can i do that by using ASP .NET?
Thanks for your help!
Tabo... more >>
Page Reload
Posted by Beat at 12/4/2003 12:42:07 AM
How do I make sure, a page is loaded new from the server
every time it is requested?
I do not want the page to be taken out of the client's
cache or to be cached on the server.
your help is ver much appreciated.
Beat... more >>
client browser information
Posted by tabo at 12/4/2003 12:40:23 AM
How can i get the client side's browser information, such
as history? And can i insert new history to that browser?
if yes, how can i do this by using ASP.net?
Thanks for your help!
Tabo... more >>
|