Re: [DOTNET] Braindead Winforms ComboBox

2002-04-12 Thread Brian G. Vallelunga
To address your comments... #1. I believe the lack of ability to select text with the mouse in the ComboBox is a known bug. I have seen others say it will be fixed in the future. #2. When you are just trying to bind a ComboBox, use SelectedItem if the values are a simple list of text items. If t

Re: [DOTNET] Using XML/XSLT to generate WinForm reports

2002-04-12 Thread Stuart Celarier
One thing that comes to mind is that the output of XSL-FO does not seem to be stylable with CSS2. I don't think that RTF and PDF (e.g.) are stylable in the CSS2 sort of way, please correct me if I am mistaken. I think that CSS2-style styling is important for electronic display, since it allows th

Re: [DOTNET] ObjectSpaces

2002-04-12 Thread Beauchemin, Bob
There's been discussion of how to enable ObjectSpaces to work on the RTM version. The instructions consist of using the platform SDK Orca tool to change the version of .NET required, in the .msi file. Then, it will install. There's more detailed instructions at Objectspaces newsgroup. Bob Beau

Re: [DOTNET] COM Interop: Not seeing COM Interfaces in OLEVIEW after regasm?

2002-04-12 Thread Sam Gentile
Thanks for your very response and excellent answer. I can grok this but why is this (IDispatch) the default? I know you are just the messenger, but when are we going to get rid of this VB3 behavior? I should not have to do extra work to get an early bound interface out of COM Interop. This should

Re: [DOTNET] Beginner-level ATL Server question

2002-04-12 Thread Tom Archer
My code compiles, but obviously I'm still not doing something correct as the service fails to work. Here's the code if you could look over it briefly: CMyFirstATLServerWebServiceService Service; BSTR bstrReturn; HRESULT hr = Service.HelloWorld( L"Calling Web Service...", &bstrReturn ); i

Re: [DOTNET] Beginner-level ATL Server question

2002-04-12 Thread Tom Archer
Thanks Leon! The typedef isn't being generated by the wizard for some reason. I added it and now my code works. Thanks! -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of Leon Finker Sent: Friday, April 12, 2002 4:14 PM To: [EMAIL PROTECTED] Subject: Re: [D

[DOTNET] Braindead Winforms ComboBox

2002-04-12 Thread Peter Stephens
Is it my imagination or is the ComboBox seriously broken? Maybe it is just my "luck" that I am trying to use it in a way no one else is using it... Problem #1: When in DropDown mode (not DropDownList) even you can select and manipulate text with the keyboard (Shift+End to select, etc) the mouse i

Re: [DOTNET] VB6 -> .NET interop slow?

2002-04-12 Thread Sam Gentile
Cool! I'm glad it worked out for you! Sam Gentile Co-Author Wrox Professional Visual C++.NET (ISBN 1861005962 ) [EMAIL PROTECTED] www.project-inspiration.com/sgentile http://www.project-inspiration.com/sgentile/DotNet.htm BLOG: http://radio.weblogs.com/0105852/ http://www.project-inspiration.com

Re: [DOTNET] Another likely VS.NET bug

2002-04-12 Thread Hugh Timmons
You can report it to MS at http://support.microsoft.com/support/feedback/ -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Simon Robinson Sent: Friday, April 12, 2002 7:27 PM To: [EMAIL PROTECTED] Subject: [DOTNET] Another likely VS.NET bug Just for the

Re: [DOTNET] VB6 -> .NET interop slow?

2002-04-12 Thread Sills, Adam
Mr. Nathan, thank you very much! There are basically 4 different classes being created in my code.. I have so far converted 2 of them to work with interfaces when dealing with com (and marshalled the non-vb data types correctly), and I now have it performing about 10% worse than it originally perf

[DOTNET] Another likely VS.NET bug

2002-04-12 Thread Simon Robinson
Just for the record... If when compiling MC++, you get warning no.C4277 (imported item XX. exists as both data member and function member), and you hit F1 to get the help for that warning, VS.NET displays the help topic about the Task List window instead of a help for that compiler warning. (btw

[ADVANCED-DOTNET] Implementing ITypedList

2002-04-12 Thread Jay Glynn
I'm trying to implement ITypedList on a collection class. I am having a hard time in creating the derived PropertyDescriptor class. I am able to bind the collection class to a grid (UltraWinGrid) and dislay the columns that I have created PropertyDescriptors for, but am unable to edit the data fro

Re: [ADVANCED-DOTNET] Component Categories for .NET?

2002-04-12 Thread Vikas Apte
We use application config file, i.e. developer will add enteries for their plugin's under specified well known section in the config file. We don't use this techinque for the requirement you are looking for, but we use it for ISAPI filter plugin's. >From: Shawn Van Ness <[EMAIL PROTECTED]> >Rep

Re: [DOTNET] Partition II Metadata Spec question

2002-04-12 Thread Sumanth Rao
Syncfusion's Obfuscator already features packaged obfuscation. They allow you to treat a bunch of assemblies as one unit and treat that unit as one for obfuscation. If your purpose is obfuscation of some critical piece of code, then I would recommend that you take a look at them before attempti

Re: [DOTNET] Collections Editor question

2002-04-12 Thread Chris Sells
What's the "collections editor?" Chris Sells http://www.sellsbrothers.com/ > -Original Message- > From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of > Reggie Burnett > Sent: Friday, April 12, 2002 6:27 PM > To: [EMAIL PROTECTED] > Subject: [DOTNET] Collections Editor questio

[DOTNET] Collections Editor question

2002-04-12 Thread Reggie Burnett
Do I have to derive from CollectionsBase to get the collections editor to properly edit my types in the IDE? That doesn't make sense. I should be able to use a simple built in array class to hold my objects and then use an attribute to tell the compiler what object the editor to construct for th

[DOTNET] installer

2002-04-12 Thread dave wanta
hi all, i'm working on an VS.NET Setup and Deployment installer project, and am missing something obvious. I have to execute some custom .vbs scripts from inside the installer. Inside of these scripts I need access to the install directory, where the files are getting installed to. Right now i'

Re: [DOTNET] ANN: CollectionGen updated

2002-04-12 Thread David Glauser
I was just sitting here thinking how nice a set of typesafe collections would be for this project, but feeling too darned tired to crank them out. Woot! David -Original Message- From: Patrik Torstensson [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 16:04 To: [EMAIL PROTECTED]

Re: [DOTNET] ANN: CollectionGen updated

2002-04-12 Thread Patrik Torstensson
Nice work Chris! - Patrik > -Original Message- > From: Chris Sells [mailto:[EMAIL PROTECTED]] > Sent: den 13 april 2002 00:56 > To: [EMAIL PROTECTED] > Subject: [DOTNET] ANN: CollectionGen updated > > > Due to popular demand (for new features : ), I've updated > CollectionGen [1]. Th

[DOTNET] ANN: CollectionGen updated

2002-04-12 Thread Chris Sells
Due to popular demand (for new features : ), I've updated CollectionGen [1]. There are three major new features: -Support for hash tables. -Support for extensibility so that you can override the built-in templates or provide whole new ones. -Support for turrets syndrome when switching between mul

Re: [DOTNET] StrongNameIdentityPermissionAttribute with Security. Demand Confus ion

2002-04-12 Thread Mike Woodring
Well, after realizing I could pad things with extraneous whitespace (hex 20) I was able to paste together the IL for two different serialized strong name identity perms to create a dll that ildasm confirmed had to strong name identity permissions applied (demand, not linkdemand). But when I run m

[DOTNET] ASP.NET: Successfully identifying a control on a Web Form, while iterating through the controls collection

2002-04-12 Thread Rod Falanga
In VB6 you could iterate through the controls on a form, by doing something like this: Dim ctl as Control For Each ctl in Controls If Typeof Ctl is TextBox then 'do something End If Next It looks to me as though doing something like the following in VB.N

Re: [DOTNET] StrongNameIdentityPermissionAttribute with Security. Demand Confus ion

2002-04-12 Thread Mike Woodring
That was the first path I started down, but it turns out not to be that easy to do. The IL for the attribute ends up looking like this (just the start) .permissionset linkcheck = (3C 00 50 ... // <.P.e.r.m. for a SecurityAction.LinkDemand (or .permissionset demand for a SecurityAction.Demand).

Re: [DOTNET] Beginner-level ATL Server question

2002-04-12 Thread Leon Finker
You should see a typedef: typedef CMyFirstATLServerWebServiceServiceT<> CMyFirstATLServerWebServiceService; - Original Message - From: "Tom Archer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 12, 2002 4:00 PM Subject: [DOTNET] Beginner-level ATL Server question > I

Re: [DOTNET] StrongNameIdentityPermissionAttribute with Security. Demand Confus ion

2002-04-12 Thread Jason Bock
On Fri, 12 Apr 2002 16:11:10 -0600, Mike Woodring <[EMAIL PROTECTED]> wrote: >Well, I tried to work around it by annotating the method with the >PermissionSetAttribute and pointing it to an xml file containing a >serialized permission set containing two StrongNameIdentityPermissions; but >the res

Re: [DOTNET] StrongNameIdentityPermissionAttribute with Security. Demand Confus ion

2002-04-12 Thread Mike Woodring
Well, I tried to work around it by annotating the method with the PermissionSetAttribute and pointing it to an xml file containing a serialized permission set containing two StrongNameIdentityPermissions; but the result was the same - an empty permission set in the assembly. FWIW - I get the same

Re: [DOTNET] Partition II Metadata Spec question

2002-04-12 Thread Brent E. Rector
Actually I'm working on application obfuscation (i.e. a closed set of assemblies) - for example, an EXE plus its set of private assemblies. I guess this is meta-obfuscation. I can obfuscate all public members as long as I chase down all references in the client assemblies and update them appropri

Re: [DOTNET] NEWS: Google with .NET Api!

2002-04-12 Thread Erick Thompson
Very very cool. Yet another reason why Google is the best thing out there. Of course, I wish they would mention pricing for more then 1000 queries/day. Erick - Original Message - From: "Thomas Scheidegger" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 12, 2002 11:08 AM

Re: [DOTNET] Partition II Metadata Spec question

2002-04-12 Thread Brent E. Rector
I think my brain is now working for the day Never mind. -- Brent Rector, .NET Wise Owl Demeanor for .NET - an obfuscation utility http://www.wiseowl.com/Products/Products.aspx -Original Message- From: Brent E. Rector Sent: Friday, April 12, 2002 2:41 PM To: [EMAIL PROTECTED] Subj

Re: [DOTNET] Partition II Metadata Spec question

2002-04-12 Thread Serge Lidin
Of course you can have foreign TypeRefs, which are resolved by full name (namespace.name). TypeRefs are always resolved to TypeDefs by full name. Resolution scope only indicates in which TypeDef table this full name should be sought. For example, if TypeRef has a ModuleRef as the resolution sco

Re: [DOTNET] Adding web reference on local web server

2002-04-12 Thread Weakliem, Gordon
Just a shot in the dark, maybe enabling disco would bring it back. I'm not familiar with the book you cite but there was a change between the last pre release version and RTM that disables disco by default. My guess is that the local server link is using disco to discover webservices hosted loca

Re: [DOTNET] Partition II Metadata Spec question

2002-04-12 Thread Brent E. Rector
One last question (for the day ), am I correct in understanding that if I have a TYPEREF resolution scope of anything except 0 or 1, the decoded token will correctly reference the appropriate type? That is, there's no heuristic like the foreign typeref where I must compare namespaces and names and

Re: [DOTNET] Reading a File

2002-04-12 Thread Nischal Chitta
Hi Thanks for the feedback. The spaces in the string are intended and my format. So I am sure they are spaces. And moreover this code returned me overflow exception for(int i=1;ihttp://discuss.develop.com.

Re: [DOTNET] DataGrid

2002-04-12 Thread Jason Lavigne
Here is a MS example in VB[1]. ASP.NET is not like windows forms or console applications when it comes to where data is remembered between call. In order for the server to know what data should be displayed either session state is needed or you must specify the DataSource on all page requests. Not

Re: [DOTNET] VB6 -> .NET interop slow?

2002-04-12 Thread Adam Nathan
public Decimal Amount { [return: MarshalAs(UnmanagedType.Currency)] get { ... } [param: MarshalAs(UnmanagedType.Currency)] set { ... } } -Adam -Original Message- From: Sills, Adam [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 11:58 AM To: [EMAIL PROTECTED] Subject: Re:

Re: [DOTNET] Using XML/XSLT to generate WinForm reports

2002-04-12 Thread Erick Thompson
I always thought that SVG was mainly an alternative to flash. I can see how it could be used as a reporting language, but I still like the look of XSL:FO, as it leverages the same XSLT skills that I already need. Is there some reason why xHTML + CSS + SVG is a better option? Erick - Original

Re: [DOTNET] Using XML/XSLT to generate WinForm reports

2002-04-12 Thread Erick Thompson
The ten foot pole comment wasn't meant to reflect on the quality of FOP (which I have heard good things about), but more about the problems of integrating in a JDK 1.2 library to a managed winform application. That is what I wouldn't touch with a ten foot pole :) This seems like a perfect place f

Re: [DOTNET] StrongNameIdentityPermissionAttribute with Security. Demand Confus ion

2002-04-12 Thread Mike Woodring
He he - I almost posted a note just like yours :-) Then I realized my top level test app should have caused a failure and didn't... -Mike http://staff.develop.com/woodring http://www.develop.com/devresources - Original Message - From: "Jason Bock" <[EMAIL PROTECTED]> To: <[EMAIL PROTECT

Re: [DOTNET] Reading a File

2002-04-12 Thread Stuart Celarier
The problem really sounds like Unicode character string being treated as if it were an ANSI string. Just removing the spaces (actually, probably a NUL character, '\0') is not going to be very satisfying, as it will break the moment a Unicode character comes along that doesn't map directly to an AN

dotnet@discuss.develop.com

2002-04-12 Thread Graeme Foster
I've not tried this, so forgive me if it's wrong... (presumably Bitmap will serialize OK, if not, the following doesn't directly apply) You're using different format specifiers for the GetData and SetData. In one you're using a string, in the other you're using a type. Try using either:

Re: [DOTNET] Partition II Metadata Spec question

2002-04-12 Thread Brent E. Rector
I knew that (at one time in the distant past it seems...) Thanks again. -- Brent Rector, .NET Wise Owl Demeanor for .NET - an obfuscation utility http://www.wiseowl.com/Products/Products.aspx -Original Message- From: Serge Lidin [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002

Re: [DOTNET] Partition II Metadata Spec question

2002-04-12 Thread Brent E. Rector
Ahh okay. There is a reference to the "COccManager" TYPEREF in a parameter to a global method (AfxEnableControlContainer ) but maybe at runtime AfxEnableControlContainer is never called. Method #154 --- MethodName: AfxEnableControlContainer (060

[DOTNET] Impersonation

2002-04-12 Thread Jim Graf
Hi all, Quick question. Why when ASP.Net is running with impersonation true, does the user have to have write/modify authority on the web application folder? TIA Jim You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http

[DOTNET] Adding web reference on local web server

2002-04-12 Thread Stuart Celarier
I am trying to add a web reference in VS.NET, so I right-click on the project in the Solution Explorer and select Add Web Reference. and up pops the Add Web Reference dialog box. Now I've got two sources that tell me there should be a "Web Reference on Local Web Server" hyperlink in the left pane

Re: [DOTNET] Partition II Metadata Spec question

2002-04-12 Thread Serge Lidin
In this case, this TypeRef could be a relic left behind by MC++ compiler -- one of those internal intermediate types compilers introduce, but usually purge on the final stages. An undefined TypeRef is a harmless bloat of the metadata: as long as the type is not referenced, it's not loaded, so

Re: [DOTNET] Partition II Metadata Spec question

2002-04-12 Thread Serge Lidin
Resolution scope of a nested TypeRef is another TypeRef (encloser). If a TypeRef has scope 0 (type defined somewhere in this assembly), 1 (in this module), ModuleRef (in another module of this assembly) or AssemblyRef (in another assembly), such TypeRef can't possibly refer to a nested type. T

Re: [DOTNET] .Net Application Architecture

2002-04-12 Thread Steve Miller
Check out http://www.gastix.net. Yet another N-tier example. - Original Message - From: "Steve Loughran" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 12, 2002 1:12 PM Subject: Re: [DOTNET] .Net Application Architecture > - Original Message - > From: "Simon De

Re: [DOTNET] NEWS: Google with .NET Api!

2002-04-12 Thread Sam R. Akhtar
Big things start with small successes? > -Original Message- > From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of > Sam Gentile > Sent: Friday, April 12, 2002 3:29 PM > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] NEWS: Google with .NET Api! > > > I agree that its cool but at

Re: [DOTNET] Partition II Metadata Spec question

2002-04-12 Thread Brent E. Rector
Oh another question in this nebulous area... Let's assume I do run into a TYPEREF containing a nil resolution scope. Say there isn't an EXPORTEDTYPE table in the prime module because this *is* the prime and only module of the assembly and it doesn't contain the table. Assume then, I decide to pro

[DOTNET] Event logging

2002-04-12 Thread Michael Hurwitz
Sending messages into the event log seemed to me to be a fairly normal thing to want to do, but apparently it is not since there seems to be many people having problems with it... As I am. I apologize in advance for this being long, but there is a bit of code necessary to get the point across. T

Re: [DOTNET] NEWS: Google with .NET Api!

2002-04-12 Thread Andreas Häber
That's pretty cool! :) *Wondering where I can use it* :-) Andreas Häber - Original Message - From: "Thomas Scheidegger" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 12, 2002 8:08 PM Subject: [DOTNET] NEWS: Google with .NET Api! > Google with .NET / C# Api > > http:/

Re: [DOTNET] DataGrid

2002-04-12 Thread Marina Zlatkina
The DataGrid object is bound to a data source in the designer. But I have also tried explicitly setting the DataSource property again in that event handler, which didn't change anything. The strange thing is, if after I get this empty DataGrid, I click the button that gets me the data in the first

[DOTNET] Credit card black list

2002-04-12 Thread Jason Lavigne
I know this my not be a question for this list but this group always has the answers so here I go. Is there a public database (or web service) to check a credit card number against to see it the number is a "known" bad/fraud card? TIA Jay You can read messages from the DOTNET archive, unsubscr

Re: [DOTNET] DataGrid

2002-04-12 Thread Jason Lavigne
Are you keeping state on the DataGrid? If not, you need to specify DataGrid1.DataSource with something before your DataGrid1.DataBind() call. HTH Jay -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Marina Sent: Friday, April 12, 2002 4:04 PM To: [EMAIL

Re: [DOTNET] Partition II Metadata Spec question

2002-04-12 Thread Brent E. Rector
Well, as far as I can tell, and I've looked everywhere, there is no symbol COccManager defined. This is a single module .EXE assembly produced by the MC++ compiler. But, even if I interpret this case using resolution scope 1 (this module), the symbol just isn't present. I even dumped all metadata

[DOTNET] DataGrid

2002-04-12 Thread Marina
Hi All, This is probably something simple, but I can't get the DataGrid on my WebForm to allow editing. I have the Edit/Update/Delete column, and I have the event handler for EditCommand event defined. But whenever any of the Edit buttong are clicked, the page refreshes with an empty DataGrid

[DOTNET] Beginner-level ATL Server question

2002-04-12 Thread Tom Archer
I'm trying to get started with ATL Server and evidently have an old demo that was created with a beta version of Visual Studio.NET where I'm having a problem. The first step is to to create an ATL Server Web Service (done that) The next step then tells me to use the Add Web Reference from the Pr

Re: [DOTNET] StrongNameIdentityPermissionAttribute with Security. Demand Confus ion

2002-04-12 Thread Jason Bock
On Fri, 12 Apr 2002 13:55:26 -0600, Mike Woodring <[EMAIL PROTECTED]> wrote: >I tried that and, oddly enough, if you put more than one >StrongNameIdentityPermissionAttributeon a method, the compiler produces an >empty permission set. Looks like a bug to me, but I have to stop looking at >it for

Re: [DOTNET] StrongNameIdentityPermissionAttribute with Security. Demand Confus ion

2002-04-12 Thread Jason Bock
On Fri, 12 Apr 2002 15:11:16 -0400, Marsh, Drew <[EMAIL PROTECTED]> wrote: >Dave Serrano [mailto:[EMAIL PROTECTED]] wrote: > >> The next question, does anyone know of a way to union >> permissions in the attribute? >I not 100% certain, but I *think* you can apply more than one instance of >the

Re: [DOTNET] StrongNameIdentityPermissionAttribute with Security. Demand Confus ion

2002-04-12 Thread Mike Woodring
I tried that and, oddly enough, if you put more than one StrongNameIdentityPermissionAttributeon a method, the compiler produces an empty permission set. Looks like a bug to me, but I have to stop looking at it for a while... -Mike http://staff.develop.com/woodring http://www.develop.com/devreso

Re: [DOTNET] Disable generation of code behind in IDE

2002-04-12 Thread Sam Gentile
Who's decided its a bad thing? And why? With MC++, its the only way to do Web Forms. >From: Brad Wilson <[EMAIL PROTECTED]> >Reply-To: dotnet discussion <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [DOTNET] Disable generation of code behind in IDE >Date: Fri, 12 Apr 2002 10:08:11 -06

Re: [DOTNET] XML Serialization of Class - with working example.

2002-04-12 Thread franklin gray
I forgot to note that the code I pasted in the emails can be cut and pasted into a new winform project and ran to illustrate what I am talking about. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] Disable generation of code behind in IDE

2002-04-12 Thread Brad Wilson
Richard Birkby wrote: > I know that Code-Behind is unnatural for classic-ASP developers due to it's > compile-first mentality, but has everyone but me decided it's a Bad Idea?. I use code-behind sometimes, but it's not necessarily for "compile early" behavior. You can always use helper classes.

Re: [DOTNET] Reading a File

2002-04-12 Thread Jim Stanton
Try your loop as for(int i=1;imailto:[EMAIL PROTECTED]]On Behalf Of Nischal Chitta Sent: Friday, April 12, 2002 3:27 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Reading a File This happens quite often. You post a question, then everything seems to work your way. Following is something I did

Re: [DOTNET] NEWS: Google with .NET Api!

2002-04-12 Thread Brad Wilson
Simon Robinson wrote: > [...] from what I can see google haven't claimed anywhere that they've > actually implemented their web service with .NET [...] Most assuredly they would not have done that. They're a Linux shop. Brad -- Read my web log at http://www.quality.nu/dotnetguy/ You can read

Re: [DOTNET] Reading a File

2002-04-12 Thread Steve Johnson
Just curious, did you design this format, such that you know that those are indeed spaces between the chars? Or, is this unicode text with nulls showing as spaces in an ascii editor? If it is unicode, you can read it with a TextReader set to Encoding.Unicode. -- Steve Johnson 3t Systems You ca

Re: [DOTNET] NEWS: Google with .NET Api!

2002-04-12 Thread Sam Gentile
I agree that its cool but at the end of the day it is just a one way Search API with a SOAP call. See Peter's links to James Snell's suggestions on how it could be really useful. The amount of hype on Radio sites for what is eesntially a search api escapes me...I know cool things could evetually b

Re: [DOTNET] Reading a File

2002-04-12 Thread Nischal Chitta
This happens quite often. You post a question, then everything seems to work your way. Following is something I did to achieve it with a small hiccup. Can someone let me know how I can get a character array to be built as a string. In essence FileStream fs = new FileStream("C:\\First.txt",FileMo

[DOTNET] XML Serialization of Class - with working example.

2002-04-12 Thread franklin gray
Only difference with this and the broke example is the type of object added to the arraylist in the sub New. Why is it that a simple custom object will not serialize, but a string will when added to a custom arraylist? Imports System.ComponentModel Public Class C Inherits ArrayList Im

[DOTNET] XML Serialization of Class - with broke example.

2002-04-12 Thread franklin gray
Why is it that this doesn't work? (I will follow up with another email with an example that does workonly difference is the type of object that gets added to the arraylist). Imports System.ComponentModel Public Class C Inherits ArrayList Implements IBindingList Public Sub New

Re: [DOTNET] NEWS: Google with .NET Api!

2002-04-12 Thread Peter Drayton
It's included in the SDK [1]. There's a newsgroup [2] for questions, too. And naturally the blogging world is all a-flutter with the news, talking about it, talking about talking about it, and porting Google API samples to every known language [3-8]. :-) --Peter http://www.razorsoft.net/weblog [

Re: [DOTNET] StrongNameIdentityPermissionAttribute with Security. Demand Confus ion

2002-04-12 Thread Marsh, Drew
Dave Serrano [mailto:[EMAIL PROTECTED]] wrote: > The next question, does anyone know of a way to union > permissions in the attribute? I noticed the > 'StrongNameIdentityPermission' has a method to union > permissions but this is not available in the > 'StrongNameIdentityPermissionAttribute' clas

Re: [DOTNET] StrongNameIdentityPermissionAttribute with Security.Demand Confus ion

2002-04-12 Thread Dave Serrano
Thanks Jason. That basically confirmed what I was thinking: the framework ('System.Windows.Forms') is the reason for the exception. The next question, does anyone know of a way to union permissions in the attribute? I noticed the 'StrongNameIdentityPermission' has a method to union permissions b

Re: [DOTNET] VB6 -> .NET interop slow?

2002-04-12 Thread Sills, Adam
Okay I'm stuck.. How would I set a MarshalAs attribute on a set property? I've got it on the get property just fine, but how do I set what type to marshal as in the set property? Thanks Adam.. -Original Message- From: Sills, Adam [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002

Re: [DOTNET] NEWS: Google with .NET Api!

2002-04-12 Thread Chesnut, Casey
is their a url to the wsdl? -Original Message- From: Jason Lavigne [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 2:29 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] NEWS: Google with .NET Api! Very cool. Jay -Original Message- From: dotnet discussion [mailto:[EMAIL P

[DOTNET] Test

2002-04-12 Thread Priya Ghate
Just test mail. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] Reading a File

2002-04-12 Thread franklin gray
how about doing a replace on 4 spaces with some character that wouldn't be in the text. Then do a replace on all spaces with no character. Then do a replace on that first charater with a space. -Original Message- From: Nischal Chitta [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12,

Re: [DOTNET] NEWS: Google with .NET Api!

2002-04-12 Thread franklin gray
ahcool. -Original Message- From: Bryan Batchelder [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 1:26 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] NEWS: Google with .NET Api! It's a web service interface to their search database. So you can directly query their systems,

Re: [DOTNET] NEWS: Google with .NET Api!

2002-04-12 Thread Jason Lavigne
Very cool. Jay -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Thomas Scheidegger Sent: Friday, April 12, 2002 2:08 PM To: [EMAIL PROTECTED] Subject: [DOTNET] NEWS: Google with .NET Api! Google with .NET / C# Api http://www.google.com/apis/ You can r

Re: [DOTNET] NEWS: Google with .NET Api!

2002-04-12 Thread Simon Robinson
Cool service . I'm going to enjoy writing programs to use that. As a minor pedantic point - I've only read it quickly so may have missed something - but from what I can see google haven't claimed anywhere that they've actually implemented their web service with .NET - only that .NET is one of the

Re: [DOTNET] NEWS: Google with .NET Api!

2002-04-12 Thread Sam Gentile
Well, if you listen to Dave Winer and the Radio folks it will enable a whole new revolution in ... Color me skeptical >From: franklin gray <[EMAIL PROTECTED]> >Reply-To: dotnet discussion <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [DOTNET] NEWS: Google with .NET Api! >Date: Fri, 12

[DOTNET] Something interesting ...

2002-04-12 Thread Priya Ghate
Hi, I am not sure if this is OT. Pardon me if it is. But I found this one interesting and worth sharing. http://www.winsupersite.com/showcase/office_ngo_preview.asp Thanks, Priya You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists

[DOTNET] Reading a File

2002-04-12 Thread Nischal Chitta
Hi All This might be a very easy question for you guys. I am newbie so please excuse me. I have a .txt file which contains characters like the following: N I S C H A LB I L L G A T E S S T E V E B A L M E R Note each space between each letter of each word and later 4 spaces between each w

Re: [DOTNET] .Net Application Architecture

2002-04-12 Thread Steve Loughran
- Original Message - From: "Simon DeMonfort" <[EMAIL PROTECTED]> Sent: Thursday, April 11, 2002 7:16 AM Subject: .Net Application Architecture > There seems to be two different ways to architect a .Net web application. I > can either use .Net's OO features and build a glorious object mod

Re: [DOTNET] VB6 -> .NET interop slow?

2002-04-12 Thread Sills, Adam
Okay I'll try that. I just noticed, a few of the classes in question are also MarshalByRefObjects, would that make any difference? -Original Message- From: Adam Nathan [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 2:06 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] VB6 -> .NET i

Re: [DOTNET] HTTPException

2002-04-12 Thread Sills, Adam
You can't. The maximum post length is set up in the machine.config file, and the only way to get ASP.NET to accept posts greater than the default size (2mb) is to beef up that value to something more acceptable and then do the size checking yourself. Still if someone uploads something bigger than

Re: [DOTNET] Using Custom Performance Counters

2002-04-12 Thread Willy Denoyette
Yes there are. Check following for more details: http://www.gotdotnet.com/team/upgrade/v1/aspnet_account_readme.doc Willy. - Original Message - From: "Stefan Finch" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 12, 2002 5:18 PM Subject: [DOTNET] Using Custom Performan

[DOTNET] HTTPException

2002-04-12 Thread Appuswamy Kannan
Hello I have an ASP.NET application where I have a functionality to upload files. I need to perform some basic checks on the size of the file etc. When I tried to upload a file of size 40MB, I get an error message (page not found) generated by a private method of HTTPException class. The na

Re: [DOTNET] NEWS: Google with .NET Api!

2002-04-12 Thread Bryan Batchelder
It's a web service interface to their search database. So you can directly query their systems, without having to do HTML screen scraping. It's really quite cool. Bryan Batchelder eBusiness Consultant ConnectWise, Inc. 813-935-7100 x 425 > -Original Message- > From: franklin gray

Re: [DOTNET] NEWS: Google with .NET Api!

2002-04-12 Thread franklin gray
I am a little confused as to what this does. I read the little paragraph on it. Anymore documentation? -Original Message- From: Thomas Scheidegger [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 1:08 PM To: [EMAIL PROTECTED] Subject: [DOTNET] NEWS: Google with .NET Api! Googl

Re: [DOTNET] NEWS: Google with .NET Api!

2002-04-12 Thread Sam Gentile
Yah, and if you want to go see the extreme usefulness of this, go to all those Radio sites with a Google search box on their name. Now that's wicked revolutionary -) >From: Thomas Scheidegger <[EMAIL PROTECTED]> >Reply-To: dotnet discussion <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: [D

Re: [DOTNET] Weird debug occurrence... Managed debug fails after unmanaged debug???

2002-04-12 Thread Steve Holak
Hey, not too strange; there was one guy on this list that smoked his hardware with some C# code that spawned too many threads, or so the legend goes . . . Steve Holak Senior Software Architect Brokerage Concepts IS Dept. 610-491-4879 email: [EMAIL PROTECTED] Andrew Cher

[DOTNET] NEWS: Google with .NET Api!

2002-04-12 Thread Thomas Scheidegger
Google with .NET / C# Api http://www.google.com/apis/ You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] VB6 -> .NET interop slow?

2002-04-12 Thread Adam Nathan
> Now, I initially assumed it was that I hadn't generated a type library and > "early bound" my Object variables to the appropriate types. So I exported > the typelib, no more CreateObject, etc, and it's still slow (no visible > improvement). Because .NET classes only expose their members via IDi

Re: [DOTNET] Web Service Session State

2002-04-12 Thread Marina Zlatkina
Thanks, Yesterday I found more info on this as well, and with experimentation, had to exactly what you said. I'll take a look at the article you suggested. Marina You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.

Re: [DOTNET] XML Serialization of Class

2002-04-12 Thread Block, Jeffrey A.
Did you try to explicitly tell it the type of the class? Your CostElement class must also adhere to the default constructor and public get/set accessors limitations. Jeff Block -Original Message- From: franklin gray [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 1:33 PM To: [EM

Re: [DOTNET] Weird debug occurrence... Managed debug fails after unmanaged debug???

2002-04-12 Thread Andrew Cherry
Same setup as me... It must be me. I knew I could cause TV reception to change by walking by, but making a computer not work... *Shrug* Thanks, Andrew -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Mike Woodring Sent: Friday, April 12, 2002 1:40 PM T

Re: [DOTNET] VB6 -> .NET interop slow?

2002-04-12 Thread Sills, Adam
> All of this will cost you. Interop is not free. There's a whole level of indirection to go through. Yeah, I just find it strange at times. For instance, we had a DTS package that used some VB classes that simply do some simple data transformation and return it to the VBScript in the package. We

Re: [DOTNET] VB6 -> .NET interop slow?

2002-04-12 Thread Sam Gentile
This is really an Adam Nathan kind of question but I'll over my limited observations and guesses and maybe he'll pop along-). As I understand it, any kind of Interop layer, whether it be wrapped MC++ classes, P/Invoke or COM Interop will require an "interoperability transition" to happen. This, o

Re: [DOTNET] Weird debug occurrence... Managed debug fails after unmanaged debug???

2002-04-12 Thread Mike Woodring
I've reproduced your scenario in terms of project types and order of debugging, etc. But I can't reproduce the flakey behavior. Breakpoints continue to always work, as does stepping, etc... This is on XP Pro with SP1 of the .NET framework applied. -Mike http://staff.develop.com/woodring http:/

  1   2   >