[DOTNET] Microsoft Digest Authentication Problem

2002-04-15 Thread Roman Musil
Hi, we've implemented the Digest Authentication (RFC 2617) but it is not compatible with the Microsoft Digest implementation. Do you have any idea where to find the specification of Microsoft Digest Authentication? Cheers, Roman You can read messages from the DOTNET archive, unsubscribe from DOTN

[DOTNET] Installer Bug??

2002-04-15 Thread Srihari Angaluri
I have created an installer project in VS.NET. I added a couple of shortcuts to the executable files, which are installed in a subdirectory under the Application folder. I added these shortcuts in the User's Programs menu. After I install the application and try to access these shortcuts from the

[DOTNET] IDisposable and CodeDom.. oh my!

2002-04-15 Thread Amit Bahree
Hi Guys, This is of no "practical" significance other me having a little time and playing with the various classes in the Framework :). So, I have tried this but my puny little brain cannot figure it out, how can I implment any interface (just for the sake of argument take IDisposable) and implem

Re: [DOTNET] Windows .NET Framework, Japanese version

2002-04-15 Thread Gen
I agree. Looks like they are localized, nothing more than that. Differences I noticed are, 1. The documenation has been translated into Japanese (which is terrible as Fumiaki has pointed out...) 2. There are localized resource DLLs for Framework tools like wsdl.exe, aximp.exe, xsd.exe... under F

[DOTNET] Slightly OT: Generating documentation for web service APIs

2002-04-15 Thread Kevin Dente
I'm starting the process of creating API documentation for a web service API that my company is writing in C#, and am looking for advice on how to generate that documentation as automatically as possible. I've looked into various options, and none of them seem quite right for web service clients.

Re: [DOTNET] updating dataset and dataform

2002-04-15 Thread Shawn Wildermuth
Exactly! Thanks, Shawn Wildermuth [EMAIL PROTECTED] > -Original Message- > From: dotnet discussion [mailto:[EMAIL PROTECTED]] > On Behalf Of Peter Stephens > Sent: Monday, April 15, 2002 9:10 PM > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] updating dataset and dataform > > > Why don'

Re: [DOTNET] updating dataset and dataform

2002-04-15 Thread Peter Stephens
Why don't you just bind the controls on the panel to the dataset? You should be able to use the same currency manager so that when the current record is changed in the grid, the panel's controls will automatically refresh. When the user makes changes via the controls, the data will automatically b

Re: [DOTNET] updating dataset and dataform

2002-04-15 Thread Ethan Smith
How are you populating the detail form? Another query w/ additional fields returned, copying the values from the list dataset, or databinding the detail form to the list dataset? These are all valid approaches, but binding to the same dataset probably requires the least coding, and is the approach

Re: [DOTNET] Measuring performance

2002-04-15 Thread Pradeep Tapadiya
If you don't want the whole process to run under a privileged account, you have a couple of options: 1. You can turn IIS authentication on and configure your ASP.NET application so that the client request thread (not the whole process) runs under the credentials of the client. 2. Within your met

Re: [DOTNET] updating dataset and dataform

2002-04-15 Thread Bob Edwards
Yes, except that the user is not updating through the grid. The user is interacting through a form that represents the data that is in the grid. Imagine you have orders/details. The grid shows an order, and you can click the plus sign to see the details. In my program, when you click on an order,

Re: [DOTNET] updating dataset and dataform

2002-04-15 Thread Shawn Wildermuth
If your updates are not entirely in the DataSet, then the approach to update the database first is fine. The question I have is why doesn't it exist in the DataSet. Wouldn't it make more sense to cache all the data in a DataSet, create a DataView to get the view of the data to bind the grid to.

Re: [DOTNET] updating dataset and dataform

2002-04-15 Thread Bob Edwards
Shawn, You are very patient, but we're not quite there yet. > Why don't you make the changes directly to the DataSet instead of > refreshing it from the Database every time? Right, that is my question. Is there a reason it is better to update the dataset rather than refreshing the db? We want t

Re: [DOTNET] updating dataset and dataform

2002-04-15 Thread Shawn Wildermuth
Why don't you make the changes directly to the DataSet instead of refreshing it from the Database every time? Otherwise, I'd update the database first, and refresh everything in the order you did when the page started. Thanks, Shawn Wildermuth [EMAIL PROTECTED] > -Original Message- > F

Re: [DOTNET] VS.NET key board short cut for properties

2002-04-15 Thread Chris Sells
Alt-Enter or F4. Chris Sells http://www.sellsbrothers.com/ > -Original Message- > From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of > David Ferguson > Sent: Monday, April 15, 2002 1:13 PM > To: [EMAIL PROTECTED] > Subject: [DOTNET] VS.NET key board short cut for properties

Re: [DOTNET] VS.NET key board short cut for properties

2002-04-15 Thread Marsh, Drew
David Ferguson [mailto:[EMAIL PROTECTED]] wrote: > In VB6 you could press > > Ctrl+Shift+ > > to call up the properties window and position on the cursor > on the property that bagan with letter. > > Is there a similar function in VS.NET? Not that I know of. There is of course CTRL+SHIFT+SPA

[DOTNET] VS.NET key board short cut for properties

2002-04-15 Thread David Ferguson
In VB6 you could press Ctrl+Shift+ to call up the properties window and position on the cursor on the property that bagan with letter. Is there a similar function in VS.NET? David You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor

Re: [DOTNET] OT: Politics: Consumer Broadband and Digital Television Promotion Act

2002-04-15 Thread Brad Wilson
Chris Jenkin wrote: > This is bunk. Could affect us all. Write your representative. Super. Can you post stuff like this to the right list[1] next time? Brad - hoping my ISDN can keep up with the inevitable posts... [1] [EMAIL PROTECTED] -- Read my web log at http://www.quality.nu/dotnetguy/

Re: [DOTNET] Evaluate math expression strings?

2002-04-15 Thread Shawn Wildermuth
Aaron, Spurred by your need, I did write a class (Evaluator) to do it for you. Find it at: http://adoguy.com/adonetexamples Thanks, Shawn Wildermuth [EMAIL PROTECTED] > -Original Message- > From: dotnet discussion [mailto:[EMAIL PROTECTED]] > On Behalf Of Aaron Fanetti > Sent: Monday,

Re: [DOTNET] Windows .NET Framework, Japanese version

2002-04-15 Thread Brad Wilson
Richard Kucia wrote: > I want to develop my application in the English VS IDE, but I want the > application to be localized for English, Japanese, and several European > languages/cultures. > When would I use the Japanese version of the framework? How does the > Japanese version of the framework

Re: [DOTNET] updating dataset and dataform

2002-04-15 Thread Bob Edwards
Okay, now I'm confused. Here's what I have: 1. I load the dataset from the db 2. I display the datagrid 3. User clicks on a record and I show details in a panel based on the record selected 4. User updates the panel and clicks a save button 5. I want the datagrid and the panel to be updated with t

Re: [DOTNET] OT: .job files

2002-04-15 Thread Andreas Häber
I guess schtasks.exe should do the job... hth, Andreas Häber - Original Message - From: "Patrick Burrows" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 15, 2002 7:18 PM Subject: Re: [DOTNET] OT: .job files Unless I'm wrong, AT and the Win2k Task Scheduler are two comp

Re: [DOTNET] updating dataset and dataform

2002-04-15 Thread Shawn Wildermuth
No problem. I guess I still don't quite get why you are updating the database then requering it. Are you trying to sync up all the updates that everyone has done? If not, your DataSet should already be what is in the database. Thanks, Shawn Wildermuth [EMAIL PROTECTED] > -Original Messag

Re: [DOTNET] Evaluate math expression strings?

2002-04-15 Thread Aaron Fanetti
Nice. I think I'll go the CodeDom route. It spurred on a couple of ideas that should work well with my particular problem too. Thanks to all! Aaron -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of Shawn Wildermuth Sent: Monday, April 15, 2002 8:46 AM To:

Re: [DOTNET] OT: Politics: Consumer Broadband and Digital Television Promotion Act

2002-04-15 Thread Zane Thomas
Franklin, > I read that and just can't believe I am hearing what I think I am hearing. > Does this mean every time somebody wants to distribute free code or > anything new, that we have to submit the code to a federal agency ... I don't think so, it would be illegal to create code that doesn

Re: [DOTNET] updating dataset and dataform

2002-04-15 Thread Bob Edwards
Shawn, First, thank you for taking so much time to answer my questions. Next, and I don't mean to challenge your answer at all, but I'm trying to understand it, can you say why #2 is better? I have code that updates the db through a stored procedure. I then can requery for the dataset and then a

Re: [DOTNET] updating dataset and dataform

2002-04-15 Thread Shawn Wildermuth
Hmmm I think #2 makes more sense. If were my system, I would wrap the fact that you are updating multiple tables from a single row in a stored procedure. In that way, creating the DataAdapter's Command objects will be trivial (ok, Stored Procs are never trivial). That way you can update th

[DOTNET] DataSet ClassLib keeps getting locked by another process (VS.NET)

2002-04-15 Thread Chesnut, Casey
Got a solution with 2 projects: 1) ClassLib with typed DataSets only 2) Application that references the TypedDataSet ClassLib (References the assembly, and not the project) The problem is that whenever I try to build, I get: 'The file MyDataSet.dll cannot be copied to the run directory. The proce

Re: [DOTNET] OT: Politics: Consumer Broadband and Digital Television Promotion Act

2002-04-15 Thread franklin gray
I read that and just can't believe I am hearing what I think I am hearing. Does this mean every time somebody wants to distribute free code or anything new, that we have to submit the code to a federal agency to approve it and get some code to put into the code? Sounds like they are trying to

Re: [DOTNET] OT: Politics: Consumer Broadband and Digital Television Promotion Act

2002-04-15 Thread Zane Thomas
Chris, > This is bunk. You got that right, from the article you referenced: According to the CBDTPA, any software with the ability to reproduce "copyrighted works" may not be sold in the United States after the Federal Communications Commission's regulations take effect. Even programmers wh

Re: [DOTNET] xml Serialization of Collection Class

2002-04-15 Thread franklin gray
yepthat solved it. -Original Message- From: Marsh, Drew [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 3:18 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] xml Serialization of Collection Class franklin gray [mailto:[EMAIL PROTECTED]] wrote: > What is a default accessor and

Re: [DOTNET] xml Serialization of Collection Class

2002-04-15 Thread Marsh, Drew
franklin gray [mailto:[EMAIL PROTECTED]] wrote: > What is a default accessor and how to I implment it? I am > now trying to serialize a class with has a property of a > class that inherits CollectionBase. It's the CLS term for what is called an indexer in C#. In C# this is implemented like so:

Re: [ADVANCED-DOTNET] Threads and event handling

2002-04-15 Thread David Williams
The only way that I have found to do this, in any language, was to expose a property that the event handler can write to, that the sending thread can monitor. The other solution that I can think of is to write a messaging queue to pass the response on. |-+--

Re: [DOTNET] updating dataset and dataform

2002-04-15 Thread Bob Edwards
Thanks for the feedback but my question must not have been clear. I can update in one of two ways: 1. Update the database and then refill the dataset and then rebind to the datagrid or, 2. Update the dataset, rebind the datagrid and from the dataset update the db The datastructure is somewhat c

Re: [DOTNET] Invoke Static method on a class using Reflection??

2002-04-15 Thread Federico Raggi
Nischal: If the method is static then you don't need to instantiate the class to use it. Federico Raggi Latam Developers Initiative Manager Microsoft Phone: (954)489-4862 Mobile: (954)465-4862 > -Original Message- > From: Nischal Chitta [mailto:[EMAIL PROTECTED]] > Sent: Monday

Re: [DOTNET] updating dataset and dataform

2002-04-15 Thread Shawn Wildermuth
The DataAdapter usually only updates a single Table at a time. If you send a DataSet to the Update (as in dataAdapter.Update(dataSet)), it will attempt to update a table called "Table". Probably not what you want. Do update the database: SqlDataAdapter Da1 ... SqlDataAdapter Da2 ... DataSet d

Re: [DOTNET] updating dataset and dataform

2002-04-15 Thread franklin gray
I would update the dataset and then update the DB using the .update on the adapter passing it the dataset. You may also want to look into .getchanges of the dataset. -Original Message- From: Bob Edwards [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 2:40 PM To: [EMAIL PROTECTED

[DOTNET] updating dataset and dataform

2002-04-15 Thread Bob Edwards
I have a design in which I fill a dataset with two tables and I create a relation between them. The queries to fill the two tables use lookups into other tables (e.g., the main table holds an integer which is an id in a lookup table). I use that dataset to fill a datagrid in a form. Works great.

Re: [DOTNET] Invoke Static method on a class using Reflection??

2002-04-15 Thread Shawn Wildermuth
This works: using System; using System.Reflection; namespace ConsoleApplication7 { /// /// Summary description for Class1. /// class Class1 { /// /// The main entry point for the application. /// [STAThread] static void Main(string[] args) { Assembly o

[DOTNET] xml Serialization of Collection Class

2002-04-15 Thread franklin gray
What is a default accessor and how to I implment it? I am now trying to serialize a class with has a property of a class that inherits CollectionBase. An unhandled exception of type 'System.InvalidOperationException' occurred in system.xml.dll Additional information: You must implement a defa

Re: [DOTNET] Invoke Static method on a class using Reflection??

2002-04-15 Thread Marsh, Drew
Nischal Chitta [mailto:[EMAIL PROTECTED]] wrote: > I have a class A, which has a static method M1(). I want to > invoke this method at runtime without instantiating the class > using Reflection. How can I do it?? I have a feeling what your asking may not be exactly what you're looking for becaus

[DOTNET] Invoke Static method on a class using Reflection??

2002-04-15 Thread Nischal Chitta
Hi All Can someone help me in invoking a static method of my class using reflection? I have a class A, which has a static method M1(). I want to invoke this method at runtime without instantiating the class using Reflection. How can I do it?? Pointer to any resource also will be really apprecia

Re: [DOTNET] Windows .NET Framework, Japanese version

2002-04-15 Thread Steve Holak
Yeah, I've been picking up new languages lately too--it seems like just yesterday I was learning C# , and VB.NET, and . . . Steve Holak Senior Software Architect Brokerage Concepts IS Dept. 610-491-4879 email: [EMAIL PROTECTED] Fumiaki Yoshimatsu

Re: [DOTNET] Browser Hosted Usercontrol Config FIle

2002-04-15 Thread Marsh, Drew
Brian Nantz [mailto:[EMAIL PROTECTED]] wrote: > When embedding a winform Usercontrol into an HTML or ASP.Net > page all referenced assemblies are automatically downloaded. > How can I have the assembly's config file autodownloaded? > > assembly.dll > assembly.dll.config This section[1] of the SD

Re: [DOTNET] OT: .job files

2002-04-15 Thread Hugh Timmons
If you used the At command in Windows NT, you're familiar with the concept of scheduling programs. The At command is still available in Windows 2000, and you can use it to schedule tasks. However, several differences between the At command and Win2K's Task Scheduler make the new tool easier to use

Re: [DOTNET] SoapVRoot

2002-04-15 Thread Marina Zlatkina
I actually found out through an article on msdn, that there is a check box on the activation tab of the properties page for the COM+ app, which allows you to allow SOAP and specify the soapvroot attribute. That created the appropriate directory, and I just had to manually create the proxy for the

Re: [DOTNET] Bug: XML Serialization of class with Arraylist.

2002-04-15 Thread Marsh, Drew
Block, Jeffrey A. [mailto:[EMAIL PROTECTED]] wrote: > No, the only one that I can think of is XmlRoot that names > the root element of the Xml serialization process, if this > doesn't exist, it is the name of the class by default. The > newly discovered attributes need to be applied to the class

[DOTNET] Browser Hosted Usercontrol Config FIle

2002-04-15 Thread Brian Nantz
When embedding a winform Usercontrol into an HTML or ASP.Net page all referenced assemblies are automatically downloaded. How can I have the assembly's config file autodownloaded? assembly.dll assembly.dll.config You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscri

Re: [DOTNET] Bug: XML Serialization of class with Arraylist.

2002-04-15 Thread Marsh, Drew
franklin gray [mailto:[EMAIL PROTECTED]] wrote: > I found my problem. I took out this line which was in many > implimented methods and properties. It works now. Anybody > know why this would cause a problem with serialization? > > Throw New NotSupportedException() Well... if it was in a prope

Re: [DOTNET] OT: .job files

2002-04-15 Thread Donal Devine
No, you are right. -Original Message- From: Patrick Burrows [mailto:[EMAIL PROTECTED]] Sent: 15 April 2002 18:18 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] OT: .job files Unless I'm wrong, AT and the Win2k Task Scheduler are two completely different animals. And I'm pretty sure I'm no

[DOTNET] OT: Politics: Consumer Broadband and Digital Television Promotion Act

2002-04-15 Thread Chris Jenkin
This is bunk. Could affect us all. Write your representative. http://www.wired.com/news/politics/0,1283,51274,00.html You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] SoapVRoot

2002-04-15 Thread Marina Zlatkina
I added this attribute to a componenet and registered with COM+. However, i don't have the soapvroots folder you mentioned in c:\windows\system32 \com. I am working on XP, what are the limitations, and what does it do now? Also, are there any articles or sources you can point me to so I can learn

Re: [DOTNET] Windows .NET Framework, Japanese version

2002-04-15 Thread Richard Kucia
I want to develop my application in the English VS IDE, but I want the application to be localized for English, Japanese, and several European languages/cultures. When would I use the Japanese version of the framework? How does the Japanese version of the framework differ? Richard J. Kucia --

[DOTNET] LB SelectedIndexChanged firing on tab control?

2002-04-15 Thread Matt Tagliaferri
I have a listbox on page 2 of a TabStrip. I set the SelectedIndex of the listbox to 0 in code. When I click on page 2 of the TabStrip, the SelectedIndexChanged fires again, even though the selected index is not changing at the time. Any idea why? PS: I have radio buttons and checkboxes on other

Re: [DOTNET] Bug: XML Serialization of class with Arraylist.

2002-04-15 Thread franklin gray
I found my problem. I took out this line which was in many implimented methods and properties. It works now. Anybody know why this would cause a problem with serialization? Throw New NotSupportedException() You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe

[ADVANCED-DOTNET] Threads and event handling

2002-04-15 Thread Sudha
Hi All, I have a thread which uses System.Timers.Timer to raise an elapsedevent.When the event is raised the event handler is created on a new thread.Is it possible to send any messages(or any other form of communication) from the event handler back to the thread which raised the event? I would a

Re: [DOTNET] SoapVRoot

2002-04-15 Thread Ron Jacobs
This attribute works only on Windows.NET server. It will partially work on Windows XP but there is a bug that will be fixed in SP1 that prevents it from doing everything successfully. This attribute will create a VRoot under \windows\system32\com\soapvroots and create a web.config file that will

[DOTNET] XML Validation

2002-04-15 Thread Saar Carmi
Hi. I have XML file and XSD file. I can use XML Spy to validate the Xml file against the XSD file - it works. If I add both files to a VS project, it seems that the VS doesn't find the XSD file. I am getting the following error: "Visual Studio could not locate a schema for this document." Th

[DOTNET] SoapVRoot

2002-04-15 Thread Marina
Hi, Does anyone have any information on the SoapVRoot attribute, other then what it says in the docs? The documentation says that setting it, allows clients to use the ServicedComponent through a web service, as well as the old fashioned way, but simply setting the attribute doesn't seem to do

Re: [DOTNET] Bug: XML Serialization of class with Arraylist.

2002-04-15 Thread Block, Jeffrey A.
No, the only one that I can think of is XmlRoot that names the root element of the Xml serialization process, if this doesn't exist, it is the name of the class by default. The newly discovered attributes need to be applied to the class that actually uses the ArrayList descendent class, not the c

Re: [DOTNET] WindowsPrincipal performance hit

2002-04-15 Thread Mike Woodring
- Original Message - From: "Ingo Lundberg" <[EMAIL PROTECTED]> > If you use WindowsPrincipal and do an IsInRole every group membership of > your account is resolved. If you, as I am, are a member in *a lot* of groups > this will take time. [snip] > In the process I discovered that > there

Re: [DOTNET] Graphics on MDI forms

2002-04-15 Thread Ian Griffiths
Works fine for me. What context are you using that code in? Here's what I'm doing: protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { e.Graphics.DrawEllipse(Pens.Blue, 10, 10, 300, 300); } This is in the MDI child form class. I just created a perfectly normal form.

Re: [DOTNET] Threading and Enumeration

2002-04-15 Thread Duncan Godwin
Hi, Although enumeration isn't thread-safe, you can use it's SyncRoot as shown below. The alternative is as mentioned in Effective Java, lock briefly, make a defensive copy of the collection, then enumerate. This would obviously depend on the number of items involved, as to which solution is go

Re: [DOTNET] Bug: XML Serialization of class with Arraylist.

2002-04-15 Thread franklin gray
_ _ Can these types of attributes be applied to a class? I have a class that inherits Arraylist and another class that has a property of this class that inherits from Arraylist. I tried to put the attributes on the property, but it failed to serialize. You can read messages from the DOTN

Re: [DOTNET] OT: .job files

2002-04-15 Thread Patrick Burrows
Unless I'm wrong, AT and the Win2k Task Scheduler are two completely different animals. And I'm pretty sure I'm not wrong. Patrick Burrows Anyway I'm drinkin' more. Now Playing: ministry - jesus built my hotrod > -Original Message- > From: Do

Re: [DOTNET] Windows .NET Framework, Japanese version

2002-04-15 Thread Fumiaki Yoshimatsu
Wow, it's good to hear you guys are interested in Japanese somehow... We have to learn English anyway because there are only a few good articles/books in Japanese. Also, Translated version of the Microsoft document just sucks and I can't even search contents because I don't know which English wo

Re: [DOTNET] Bug: XML Serialization of class with Arraylist.

2002-04-15 Thread franklin gray
Just a little syntax change, but it worksthanks. _ -Original Message- From: Marsh, Drew [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 11:58 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Bug: XML Serialization of class with Arraylist. franklin gray [mailto:[EMAIL PROTE

[DOTNET] Graphics on MDI forms

2002-04-15 Thread Richard Kucia
The following line of code works just fine in a WinForms .Paint event: e.Graphics.DrawEllipse(Pens.Blue, 10, 10, 300, 300) unless the form is a MDI parent or child (in which case, nothing appears). How do I draw on these form types? Richard J. Kucia You can read messages from the DOTNET ar

Re: [DOTNET] Typed Dataset

2002-04-15 Thread Chesnut, Casey
You use DataAdapters to fill DataSets (typed or not). For XML to DataSet, there is a ReadXml method. myTypedDataSet.ReadXml(@"C:\typedDataSetInstance.xml"); As well as a couple of other different methods from a DBMS. casey -Original Message- From: David B. Bitton [mailto:[EMAIL PROTECTE

Re: [DOTNET] Bug: XML Serialization of class with Arraylist.

2002-04-15 Thread Marsh, Drew
franklin gray [mailto:[EMAIL PROTECTED]] wrote: > _ > Public Property Array() As ArrayList You need an XmlArrayItemAttribute that tells the serializer what type of object to expect in the ArrayList and how to serialize it. So for your example try this: _ _ Public Property Array() A

Re: [DOTNET] Bug: XML Serialization of class with Arraylist.

2002-04-15 Thread Justin Rudd
>Notice: if I replace the items added to the >arraylist (sub load) with strings instead of >objects, the serialization works. Why does >serialization work with an arraylist of strings and >not objects? The XML Serializer knows what a string is. It does not know what your objects are. Especial

[DOTNET] Bug: XML Serialization of class with Arraylist.

2002-04-15 Thread franklin gray
I posted some examples Friday but they had more stuff in it then they needed. Here is a more basic example of this bug. Below is two classes, code to put on a form with a button1 and the error message I am getting. Notice: if I replace the items added to the arraylist (sub load) with strings

Re: [DOTNET] OT: .job files

2002-04-15 Thread Mattias Sjögren
>Where are the windows 2000 Task Scheduler .Job files stored? I searched >my machine to no avail. In %systemroot%\Tasks. Since that folder is handled by a shell extension, you should use a command prompt to browse to it. To list all files, do a "dir /a" command, since some files might be hidden

Re: [DOTNET] Windows .NET Framework, Japanese version

2002-04-15 Thread Brad Wilson
Brent E. Rector wrote: > My daughter (who's 16) started learning Japanese three years ago. Now we > get to watch and listen to lots of anime in the original language > (whether we want to or not ). Maybe it's a growing trend in the > U.S... Yeah, isn't that strange? I just picked up some CD-ROMs

Re: [DOTNET] Securing testability...

2002-04-15 Thread Marsh, Drew
Justin Rudd [mailto:[EMAIL PROTECTED]] wrote: > I'm very familiar with Mock Objects > (http://abstractadonet.sourceforge.net/mock.html). Cool stuff... and this is much simpler with the System.Data namespace since they actually did factor it all out into interfaces. > My > question was really a

Re: [DOTNET] Geeting Instance VB.NET

2002-04-15 Thread Dan Souk
Not sure how you'd do this in .NET, but in VB6, you'd declare a form variable using the WithEvents keyword, open the form with frm.Show, then set the variable equal to the open form, like m_frm = Forms("MyForm"). In your situation, it looks like you'd need an array of form variables to keep track

Re: [DOTNET] OT: .job files

2002-04-15 Thread Jason Whittington
> See: > AT /? Won't that cause your modem to go off-hoook??? :P Jason You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] Securing testability...

2002-04-15 Thread Ian Griffiths
I ran into exactly this scenario in a Java project. I did what Drew suggests here - I created my own abstraction on top of the queue. (Actually when I started writing it was still up in the air as to exactly which package we were going to use for message queueing - we had to connect a Java syste

Re: [DOTNET] OT: .job files

2002-04-15 Thread Donal Devine
See: AT /? -Original Message- From: Patrick Burrows [mailto:[EMAIL PROTECTED]] Sent: 15 April 2002 16:54 To: [EMAIL PROTECTED] Subject: [DOTNET] OT: .job files Where are the windows 2000 Task Scheduler .Job files stored? I searched my machine to no avail. Here's the deal, I am sick and

Re: [DOTNET] Securing testability...

2002-04-15 Thread Justin Rudd
Hi Drew, > Lots of people do this, it's a well-known testing > pattern referred to as Mock Objects[1]. I'm very familiar with Mock Objects (http://abstractadonet.sourceforge.net/mock.html). My question was really a request for comments. I was wondering HOW people are approaching the problem.

Re: [DOTNET] Securing testability...

2002-04-15 Thread Marsh, Drew
Justin Rudd [mailto:[EMAIL PROTECTED]] wrote: > I was wondering, how many people do this? What are some > other ways that you are accomplishing the same thing? Lots of people do this, it's a well-known testing pattern referred to as Mock Objects[1]. However, you run into a problem using Mock O

Re: [DOTNET] Office .NET

2002-04-15 Thread Tom Archer
With Yukon having a CLR host, I would have to imagine that Office.NET is going to allow for scripting with .NET languages -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of Serra, Manel Sent: Monday, April 15, 2002 6:58 AM To: [EMAIL PROTECTED] Subject: [DOT

Re: [DOTNET] Threading and Enumeration

2002-04-15 Thread Tracy Martin
Thanks... (Somehow I always seem to miss the documents I need to see when I'm searching...) > -Original Message- > From: dotnet discussion > [mailto:[EMAIL PROTECTED]]On Behalf Of > Ethan Smith > Sent: Monday, April 15, 2002 11:40 > To: [EMAIL PROTECTED] > Subject: Re: Threading and Enume

Re: [DOTNET] Measuring performance

2002-04-15 Thread Donal Devine
I have done some research and I have come to the conclusion that the code is running under the ASPNET account and not the IUSR_MACHINENAME account. By default, when a request comes through the ASP.NET engine, the request is made using an ASPNET user account (as specified in the machine.config f

Re: [DOTNET] Geeting Instance VB.NET

2002-04-15 Thread Marina Zlatkina
What about putting them in an array if you know how many you'll have in advance, or in something like an ArrayList if you don't? Would that work? You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

[DOTNET] OT: .job files

2002-04-15 Thread Patrick Burrows
Where are the windows 2000 Task Scheduler .Job files stored? I searched my machine to no avail. Here's the deal, I am sick and tired of the Windows Critical Update Notification Tool (gotta love that acronym) kicking off every day. If they didn't always require a reboot, I wouldn't care. But every

[DOTNET] Securing testability...

2002-04-15 Thread Justin Rudd
Let's say that I have the following (useless) method... public void GetMessage() { Message m = _messageQueue.Receive(); } Now I'm tied to MSMQ (which is not the problem), but it makes it hard to test because I've got to preload a queue with messages before I can test. What if I did this..

Re: [DOTNET] Threading and Enumeration

2002-04-15 Thread Ethan Smith
>From the docs: "An enumerator remains valid as long as the collection remains unchanged. If changes are made to the collection, such as adding, modifying or deleting elements, the enumerator is irrecoverably invalidated and the next call to MoveNext or Reset throws an InvalidOperationException.

[DOTNET] Listview Properties

2002-04-15 Thread Dave Heizer
I cannot find the equivalent of the columnheader position propert to save the order of the columns after a user moves them. I see the sort method and sorting property, but what is the equivalent of the sortkey property so I can sort on columns other than the first? Thanks You can read messages

[DOTNET] Hello all..

2002-04-15 Thread Joe Reich
Decided to pick up C# and actually do something with it so I figured I would join the list again...not that I was ever anything more than a lurker way back when. Just thought I would do the formal "hello" spam before I started just asking a bunch of ill-gotten questions regarding C# and other r

[DOTNET] ANN: Evaluator Class

2002-04-15 Thread Shawn Wildermuth
In response to the runtime evaluation, I've created a quick and dirty expression evaluator class[1]. Please feel free to contact me directly with suggestions/bugs. It works in two ways: Slow (compilation of a single expressions at once): int x = Evaluator.EvaluateToInteger("(30 + 4) * 2"); str

[DOTNET] Threading and Enumeration

2002-04-15 Thread Tracy Martin
Greetings, Does anyone have any information about how enumerators handle changes in the object during enumeration? Or, more specifically, I have a scenario where I have a collection of objects that potentially being added to by separate threads while being enumerated on another thread. Only one t

Re: [DOTNET] Measuring performance

2002-04-15 Thread Mattias Konradsson
>From: "Donal Devine" <[EMAIL PROTECTED]> >Do you have allow anonymous access turned on? - if so IIS is probably trying to run the code under the >security context of the IUSR_MACHINENAME account. Yeah, it's turned on.. what's the solution here? It doesnt seem like a good idea to run the entire a

Re: [DOTNET] Windows .NET Framework, Japanese version

2002-04-15 Thread Brent E. Rector
My daughter (who's 16) started learning Japanese three years ago. Now we get to watch and listen to lots of anime in the original language (whether we want to or not ). Maybe it's a growing trend in the U.S... -- Brent Rector, .NET Wise Owl Demeanor for .NET - an obfuscation utility http://www.wi

Re: [DOTNET] Evaluate math expression strings?

2002-04-15 Thread Duncan Godwin
I don't know if this will help: Function Evaluator In C# http://www.csharphelp.com/archives2/archive289.html Duncan - Original Message - From: "Stephens" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 15, 2002 1:35 PM Subject: [DOTNET] Evaluate math expression strings?

Re: [DOTNET] Using COM from C# (Multible Interfaces)

2002-04-15 Thread Peter Huene
Anders: If IClient2 is defined in the same type library that you imported (which it should be), it should be as easy to do as any other interface cast in C#, like so: ImportedComNamespace.IClient2 client2 = (ImportedComNamespace.IClient2) client1; client2.SomeKickassMethod(); The RCW (runtime c

[DOTNET] accessing the web.config file

2002-04-15 Thread Kerry Whelan
I am trying to access the various sections of the web.config file. I can access the appSettings section using String dsn = ConfigurationSettings.AppSettings["dsn"]; The MSDN Library states that bool nocookies = Session.Cookieless; would allow me to read the cookieless attribute of the sessio

Re: [DOTNET] DataGrid

2002-04-15 Thread Marina Zlatkina
Thanks, turns out my problem was this: I decided to cache the dataset so I wouldn't have to retrieve the data every time. What I did then, was set the cached dataset to a new variable, and then bind the datagrid to this variable. When I set DataSet1 (the original dataset) to the value of what is

Re: [DOTNET] Using COM from C# (Multible Interfaces)

2002-04-15 Thread Morten Abrahamsen
Client tc = new Client(); IClient2 client2 = (IClient2)tc; You need to explicitly cast non-default interfaces ;) Morty -Original Message- From: Anders Molin [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 3:32 PM To: [EMAIL PROTECTED] Subject: [DOTNET] Using COM from C# (Multi

Re: [DOTNET] Measuring performance

2002-04-15 Thread Donal Devine
Do you have allow anonymous access turned on? - if so IIS is probably trying to run the code under the security context of the IUSR_MACHINENAME account. -Original Message- From: Mattias Konradsson [mailto:[EMAIL PROTECTED]] Sent: 15 April 2002 13:39 To: [EMAIL PROTECTED] Subject: Re: [DO

[DOTNET] Using COM from C# (Multible Interfaces)

2002-04-15 Thread Anders Molin
Hi, I have a COM object with 2 interfaces, IClient and IClient2, that I'm using from C#. Using the object with the first interface is easy, I just add it to my project with "Project/Add Reference", and create it like this: Client tc = new Client(); Then I get access to all the functions in the

  1   2   >