all groups > dotnet framework > july 2003
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
Problem deserializing 2dim and jagged array..
Posted by wyrd NO[at]SPAM attbi.com at 7/31/2003 7:46:37 PM
I've been trying to track down a deserialization error I've been
getting for a while now, and I think I found the cause. The error I
was getting is when trying to deserialize from a file.. and yes I'm
using StreamingContextStates.File. Here's the error;
"The object with ID 4097 was referenced ... more >>
Installed 1.1, but 1.0 still in the GAC
Posted by Ray Price at 7/31/2003 6:39:11 PM
Is this normal? I would expect it to remove and place
1.1 in the GAC. Am I missing something, I am kind of new
to this.
Thanks
Ray... more >>
TcpListener: How do you know when TcpClients disconnet?
Posted by Hans Olav Stjernholm at 7/31/2003 3:47:14 PM
Hi!
I'm using the TcpListener to allow incoming tcp connections. But I haven't
found any way to figure out whether (or when) a remote TcpClient (gotten
from AcceptTcpClient) disconnects.
Any clues?
'Hans Olav.
... more >>
Closing Console Window from code.
Posted by Peter R. Fletcher at 7/31/2003 1:39:48 PM
I believe that I need to use a Console Application because I need (for
various reasons) to pick up parameters passed to it on the "command
line" by another application that I didn't write and don't have the
source for. It doesn't seem to be possible to do this from a regular
Windows Application,... more >>
public scripting languages
Posted by Ben Harper at 7/31/2003 12:59:54 PM
Hi..
I'm looking for a scripting system for .NET, but cannot find anything that
suits my needs, which are these:
- Generates IL.
- Supports the .NET framework (ie can reference classes in any assembly),
and is fairly object orientated.
- Small code (ie compiler must be able to run all the time... more >>
Cryptography - Signing File
Posted by Allen Holman at 7/31/2003 12:32:22 PM
I am attempting to write software using the compact
framework that duplicates on a PDA the file signing we
are using on PCs.
So far, I have been able to write software that computes
an identical 20 byte SHA-1 hash on either the PC or PDA.
However, I have been unable to sign the hash an... more >>
HttpWebRequest object does not send Port in the host header
Posted by Ruchita Ghaskadvi at 7/31/2003 11:24:58 AM
Hi,
I have identified the problem in my situation which is
HttpWebRequest object does not send port in the Host
header. In my case, server requires this information from
client. According to HTTP 1.1 specifications (which is
default for HttpWebRequest object), a Host header is of
the fo... more >>
DirectoryInfo.GetFiles
Posted by Paul K at 7/31/2003 11:20:32 AM
I seem to be running into a problem with the
DirectoryInfo.GetFiles method. If I use this method with
a search pattern on a few files there is no problem, but
as soon as the number of files grows somewhat large, it
seems to lock up. For example, I iterate through the
array returned by th... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
StreamReader.Read moving position more than count argument specifies
Posted by Brett Gerhardi at 7/31/2003 11:07:22 AM
Hi all, I am trying to go to the end of a file and read x amount of lines
from the end. For some reason I am finding that the StreamReader.Read is not
truthful about the way it should work. I am simply trying to read in blocks
of the file from the end using read and seek and record each newline
... more >>
Class Library - What is Entry Point?
Posted by Erik Jensen at 7/31/2003 10:36:31 AM
I am trying to call a .NET c# class library with 2 methods
in it from InstallShield. I made a method to do a file
creation.
The installshield has taken 'void DLL_NAME::METHOD_NAME()'
as its call to the method. However it says my DLL has no
entry point.
My dll is arranged like this:
... more >>
1.1 Framework Bug on IIS5 and IIS6 using Copy Project?
Posted by katie_gibson NO[at]SPAM ieee.org at 7/31/2003 10:27:25 AM
This did not happen with Framework 1.0.
When we do a 'Copy Project" of our asp.net application via Visual
Studio 2003 using FrontPage Extensions to our servers that have either
IIS 5 (deployment server) or IIS 6 (test server) with the 1.1
framework, we get the following error:
"An error occ... more >>
Regex (?(expression) yes|no) How to use this?
Posted by Edu at 7/31/2003 2:41:28 AM
Hi ,
I need an exemple of how to use these following 2 Alternation Construncs:
(?(expression)yes|no)
(?(name)yes|no)
Source:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconalternationconstructs.asp
I'm trying to understand how to use them but no luck ... more >>
proxy with authentication when remoting.
Posted by Tau at 7/31/2003 1:17:11 AM
I am doing remoting to an object hosted in IIS. I Set up
my remote object like this:
**************************************************
Dim channel As New _
System.Runtime.Remoting.Channels.Http.HttpClientChannel
RemoteObject = CType(Activator.GetObject(GetType
(Ipps2cb), "http://*.*.*... more >>
Microsoft Application Center Test
Posted by Sara T. at 7/30/2003 10:36:55 PM
Where can I get Microsoft Application Center Test to test performance of
application written by VS.NET ?
I know that it comes from VS.NET Enterprise and Architectect but where else
?
... more >>
Downloading a file...
Posted by Ian Gordon at 7/30/2003 10:16:45 PM
Hi,
I have 2 problems when downloading a file from my ASP.net app to the client
PC. At the moment I'm doing it with the following code:
Response.ContentType = "application/octet-stream"
Response.AddHeader("Content-Disposition", "attachment; filename=" +
strFileToDownload)
Response.Writ... more >>
A structs IsEmpty method.. how do you implement one?
Posted by wyrd NO[at]SPAM attbi.com at 7/30/2003 7:28:25 PM
Structures in the .NET framework have an IsEmpty method
(Rectangle.IsEmpty for example). Does anyone know how these methods
are implemented?
Thanks in advance.... more >>
Microsoft Index Server
Posted by Clive at 7/30/2003 4:06:06 PM
Hi,
I have an ASP.Net application and I want to have a search
section on it.
Does anyone know if...
1 Can I call Microsoft Index Server to do my search.
2 Can I conrol the style/format of the way the results
page.
Thanks,
Clive. ... more >>
Error Reading Configuration Settings
Posted by Guogang at 7/30/2003 3:49:01 PM
Hi,
I am deploying a project to a laptop. It works fine on my development
computer, and I have tested once a few weeks ago.
However, this time, the program can not start at all. After some digging, I
find that it stops right at the following line (this line is part of the
function called by... more >>
Virtual paths, IIS, .NET
Posted by bax NO[at]SPAM kleinbuendel.com at 7/30/2003 3:09:43 PM
I have a default web site in IIS, maps to http://localhost. From
Visual Studio, I create a new web application, save it to
http://localhost/myApplication.
In IIS, myApplication appears as a new application. Just as I would
expect. My understanding of IIS now is that if I reference a file from
... more >>
Access Denied
Posted by Developer at 7/30/2003 2:41:50 PM
We have 3 intranet applications on a webserver. Everyday when the users of
these applications visit the respective website they are getting an error as
follows:
System.IO.FileLoadException: Access is Denied: 'Company.Common'.
Here 'Company.Common' is the name of the dll. Each of these 3 appl... more >>
Read CLR Header
Posted by Rick at 7/30/2003 1:15:01 PM
I need to programmatically determine if a DLL is a .Net
DLL or not. Is there a way to see if a DLL has a valid CLR
Header? Or is there another way to tell if it's a .Net DLL
or not?... more >>
Upgrade .Net Framework 1.0 into 1.1
Posted by Saravanan Rathinavelu at 7/30/2003 1:06:55 PM
Hello, What's the impact to my existing code written in
1.0, and what's the procedure to migrate to 1.1, can
someone help me in doing so.
The initial development was done using .Net Framework
1.0.3705 and Visual Studio .Net 7.0.9466.
Do i need to upgrade the VS .Net to 2003?.
thanks
... more >>
Regex - Getting the name of a capture?
Posted by Lee Chapman at 7/30/2003 12:35:53 PM
I am thinking about using a regex to parse a string of data. My regex is of
the form
(?'m1'string1)|(?'m2'string2)|(?'m3'string3) etc.
I can get a match through Match.Captures[0], but I can't seem to find anyway
to get the 'mx' information from the Capture object. Is this possible? I
do... more >>
Specify Assembly Version
Posted by Matt Churchyard at 7/30/2003 12:29:18 PM
Is there any way of specifying the version number of an library assembly
created
outside visual studio and compiled using vbc.exe?
I do not have access to any microsoft .net development tools but need to be
able to
add version numbers to the libraries which can be viewed in the file version
... more >>
problem with inserting into sorted DataView/DataTable
Posted by Dave Combs at 7/30/2003 11:40:39 AM
Hi,
I've looked around, found nothing, and was wondering if
anybody had encountered the following problem.
I've got a DataView on which I set Sort = "name ASC".
That's fine--I've verified that the underlying DataTable
has all the rows in the original (unsorted) order, and
the rowViewCache... more >>
windows users
Posted by José Achig at 7/30/2003 10:55:11 AM
¿How I can know when the windows users (operating system users like
Administrator, Guest, ...)login and when they logout? Is there any class
that help me in this task or how I can do it?
... more >>
Problem - Serializing ArrayList After OpenFileDialog
Posted by dylanspence NO[at]SPAM hotmail.com at 7/30/2003 10:47:12 AM
This is a sample application of the problem.
I need to serialize an arraylist of strings and read it back in. It
works, except for when I have the user select file from the
OpenFileDialog. The string returned ('FileName') will not serialize
out, eventhough it shows up in the collection. I h... more >>
ASPX Pages not viewable
Posted by Lee Hopkins at 7/30/2003 10:31:06 AM
We have just purchased .net ent. edition for our company.
I have installed .net on my desktop where I do the
developing of our aspx, and vb.net applications. the
Network people installed the 1.1 framwork.
I have just built my first page. a few labels/text boxes
and a button or two for testi... more >>
Cryptography - File Signing
Posted by Allen Holman at 7/30/2003 6:29:40 AM
I need to sign files with the same technique on both my
PC and my PDA. Below is the code I currently have on my
PC.
--------------------------------------------------------
public bool SignFile()
{
bool bSuccess = false;
try
{
FileStream fileStream = null;
SHA1 hash = new SHA1C... more >>
COM interop & networks
Posted by Keith at 7/30/2003 3:21:00 AM
I have written a .NET component that I am wanting to
consume via VBA in Excel. During testing, I used the
regasm tool to create the COM Callable Wrapper (CCW) and
succesfully managed to implement the component in VBA on
my local machine.
Several people in the company need to access the ... more >>
ANN: Future of .NET, Whidbey, Orcas
Posted by Thomas Scheidegger [MVP] at 7/30/2003 2:54:24 AM
Some new details to the next .NET and Visual Studio.NET versions:
http://www.microsoft.com/presspass/press/2003/Jul03/07-29InnovationListPR.asp
New 'Roadmap' up to 2005 !
http://msdn.microsoft.com/vstudio/productinfo/roadmap.aspx
--
Thomas Scheidegger - MVP .NET - 'NETMaster'
... more >>
IList implementation
Posted by Rodney at 7/29/2003 6:35:14 PM
I want to create a class that implements IList, but who's Add and
indexer only accepts and returns objects of a specific type (not the
generic 'object').
I believe Microsoft have done this somehow in the
StatusBarPanelCollection, which implement IList but only allows you to
add StatusBarPanel... more >>
Tuff one I need help capturing text from application screens launched with System.Diagnostics.Process.Start
Posted by Brad Shook at 7/29/2003 4:56:14 PM
Ok here is what I a trying to do. I am trying to emulate an operator having
to do repetitive tasks on a 3rd party program. Here is what I am doing so
far. It works.
Start Code
Dim myProcess As Process = System.Diagnostics.Process.Start("C:\ca\wb.exe")
myProcess.StartInfo.WindowStyle = Process... more >>
equivalent of Java Media Framework for C#
Posted by Rob Durant at 7/29/2003 2:25:57 PM
Hi,
I was always impressed by the simplicity of playing cds in Java using the
Java Media Framework - what is the equivalent within C#? and what classes
should I be using to play files (I literally just want to create a simple
small C# windows application that plays CDs).
Thanks.
Rob ... more >>
referencing objects
Posted by Jack Fox at 7/29/2003 2:04:02 PM
How do I reference an object within a procedure? I tried to accomplish this
by boxing a "cell" object, but that doesn't work. My cells can each have a
subcell, and I need a way to initialize them down the chain.
object oTempCell = oCurHeaderCell; // I tried "boxing" the cell
Make... more >>
Pre-BeginRequest Event
Posted by Ryan Senechal at 7/29/2003 2:01:29 PM
I'm looking for an event that fires before
Application_BeginRequest. I was wondering if there is an
event I could catch before the application would have a
chance to throw a 404 error. Any help is appreciated.
-Ryan Senechal... more >>
Icons
Posted by Matt Pilgrim at 7/29/2003 1:30:04 PM
Could someone please point me the correct direction
regarding the following:
Creating a single Icon for use with vb.net windows forms
and the host application.
Where to place this icon so that it is deployed and used
for all things related to this application.
Thanks in advance,
... more >>
FTP Port IP address
Posted by Keith M. at 7/29/2003 12:46:27 PM
I use a Socket to send the FTP Commands to the Host and
the localendpoint gives me an address of 127.0.0.1, which
is fine but when I send the PORT command I need a new IP
address. That is where my problem is. If i create a new
Socket it still has the same IP address 127.0.0.1. When I
us... more >>
Embedded resources and extended namespaces
Posted by Philipp Seidel at 7/29/2003 12:41:02 PM
Hi there!
I did not know, where this topic fits in, so I put it here.
I have a minor problem with embedded resources, which puzzles me quite a
lot. I'd be glad if anyone can help me on this:
I've added a few files (images) to an assembly as embedded resources.
Within the project folder th... more >>
ExecCommand and DHTMLEDLib.DEInsertTableParamClass
Posted by dd at 7/29/2003 11:23:02 AM
Cannot figure it out. If somebody can help, I'd appreciate it.
I am using DHTML Edit control from C# for editing HTML pages. I am trying to
insert a table into an HTML page and I keep getting an error. Here is the
code:
DHTMLEDLib.DEInsertTableParamClass oTableParam = new
DHTMLEDLib.DEInsertTab... more >>
compiler error: vbc : Command line error BC2001 : file 'system.drawing.dll,' could not be found
Posted by Pablo Villa at 7/29/2003 10:29:55 AM
I'm trying to compile a simple vb file from a Quick Tutorial
This sample contains three imports:
Imports System
Imports System.Drawing
Imports System.Windows.Forms
The command line is :
vbc hellogui.vb /reference:system.dll, system.drawing.dll,
system.windows.forms.dll /tar... more >>
Programmatically Selecting An Item in a Listview
Posted by Jin Kim at 7/29/2003 9:48:18 AM
I'm trying to select an item in a listview using C#
and .NET Compact Framework. Is there anyway to do this by
passing in the index of the item I want selected?
Thanks... more >>
Unhandled exception in FileStream when writing to a full disk - bug in framework?
Posted by amit NO[at]SPAM notalvision.com at 7/29/2003 4:01:00 AM
Hello,
I just ran into a weird problem with FileStream. The problem occurs in
the following scenario:
- I create an instance of FileStream and use it to write to a disk
which have just a small amount of free space.
- When the disk gets full, FileStream throws an IOException. I catch
and pr... more >>
.NET Framework on Windows 98
Posted by Muhammad Ather at 7/28/2003 10:01:18 PM
I made an application on ASP.NET. Now i want to deploy
that on windows 98 machine. On installing the .NET
Framework it gives me the error of "can not install on
windows 98". I guess that may be some dll's are missing.
Can anyone advise me that it is possible that i can deploy
the applicati... more >>
.net and 98
Posted by John Peter at 7/28/2003 5:13:47 PM
Hi,
i have made a small application(with only 10 lines of
code) in visual studio.net which uses system.web.mail, it
works fine on windows XP,
i have copied the folder on a WINDOWS 98 machine and i
have installed .net redistributable 1.1 on 98 machine.
but when i run that .exe on 98 it give... more >>
Converting from IMAGE to ICON
Posted by Tom at 7/28/2003 4:39:12 PM
I have a system.drawing.image variable that I want to convert to
system.drawing.icon. As easy as this should be, I have searched and
searched and found no way to do this. Anyone got the answer for me?
Tom
... more >>
MCAD Books
Posted by Nick Sedrak at 7/28/2003 4:38:45 PM
Hi:
I am preparing for MCAD exams, and I am wondering if anybody is willing to
sell me the folllowing books:
Microsoft ASP.NET Step by Step
Microsoft ADO.NET Step by Step
-------------------------------------------------
MCAD/MCSD Self-Paced Training Kit: Developing XML Web Services and ... more >>
Viewing "Hidden" Files in IDE
Posted by Steve Harclerode at 7/28/2003 3:06:29 PM
I have 2 web projects. One of them lists all files, including the codebehind
files and .DLL, and the other web project doesn't. I know I've seen some way
to turn on and off viewing these "hidden" files, but for the life of me I
can't find it in the IDE menus, or BOL.
Could someone help me out?... more >>
"internal" scope constructors used in references (VS 2002/2003 compiler bug?)
Posted by Michael Lang at 7/28/2003 2:58:08 PM
This occurs with both Visual Studio 2002 and 2003, framework versions 1.0
and 1.1 respectively.
I have a DLL containing a class such as:
============== CODE ===================
namespace MiddleDLL
{
public class MyClass
{
private OtherDLL.SupportClass _cls;
public MyClass(string... more >>
IIS 6.0, Windows 2003, SQL Server 2000 Integrated Authentication error (null user)
Posted by Julie Cooper at 7/28/2003 2:15:32 PM
Hello,
I have been attempting to configure an intregrated (AD and Windows)
authentication between two servers running an ASP.NET/SQL Server 2000
environment for months. I have not been able to make this work as
documented, no matter what KB articles I follow or how much I upgrade
software.
... more >>
|