[DOTNET] Geeting Instance VB.NET

2002-04-14 Thread Joao Santa Barbara
Hi people :) Supose that you have a button that opens a new form every time you press it Private sub command1_click ( byval E as .. ) Dim frm as new Form1 frm.show () end sub my question is how do i get the other open instances ??? i open several windows and i need to know som

Re: [DOTNET] installers and scripts

2002-04-14 Thread kojiishi
I guess below is what you are looking for. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro 7/html/vxwlkwalkthroughusingcustomactiontoprecompileassermblyduringinsta llation.asp -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of dave

[DOTNET] installers and scripts

2002-04-14 Thread dave wanta
hi all, does anyone have any examples of implementing a windows install and some custom vb scripts? any links to any online docs? Thanks, dave You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

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

2002-04-14 Thread Fumiaki Yoshimatsu
Hello folks, Yes, I am a Japanese and this is just the begining of the "Return of the Jed, oops, Japanese". ;-) I'm kidding. We Japanese see two postings on the site. One is said to be Microsoft .NET Framework, and the other is Microsoft .NET Framework Japanese Version. The size is slightly di

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

2002-04-14 Thread Thomas Tomiczek
Same here - dotNET japanese was suddenly installed :-( Does this mean I have to learn this language now? Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) -Original Message- From: Brent E. Rector [mailto:[EMAIL PROTECTED]] Sent: Montag, 15. April 2002 04:17 To:

[DOTNET] Mark F Bean is away on vacation.

2002-04-14 Thread Mark F. Bean
I will be out of the office starting 14-Apr-2002 and will not return until 18-Apr-2002. I will respond to your message when I return. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] Transactions and CommandBuilders

2002-04-14 Thread Shawn Wildermuth
I agree Peter. That is a better approach. I don't like the optimistic concurrency code that it generates. I haven't built my own, but I usually use stored procedures that do optimistic concurrency with timestamps instead. Much smaller SQL statements for the most part. Thanks, Shawn Wildermut

Re: [DOTNET] Transactions and CommandBuilders

2002-04-14 Thread Peter Stephens
> Shawn Wildermuth spake: > > That may be true, but it doesn't make any sense. We're talking about > disconnected data. Why would you only want inherit a transaction from > the select? But the built in command builder (via the associated data adapter) requires a select statement to determine

Re: [DOTNET] How can DataSet not to save calculcated columns?

2002-04-14 Thread kojiishi
Never mind...I figured DataColumn.ColumnMapping = MappingType.Hidden does it. -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of kojiishi Sent: Monday, April 15, 2002 12:25 PM To: [EMAIL PROTECTED] Subject: [DOTNET] How can DataSet not to save calculcated c

Re: [ADVANCED-DOTNET] Implementing ITypedList

2002-04-14 Thread Jay Glynn
I've seen this article, but most everything that I have found is using PropetyDescriptors in regards to property grids and components. I'm using it in the application to control how the data is displayed in a grid (or any data bound component actually). I like the idea of controlling the columns t

Re: [ADVANCED-DOTNET] Implementing ITypedList

2002-04-14 Thread Xavier Musy
Override GetValue and SetValue on the derived PropertyDescriptor class. Both of these methods will hand you objects contained in your ITypedList. In these methods, you can use the Name prop (or other custom discriminator) to do your custom access/mutation of on your objects. You'll want to overr

[DOTNET] How can DataSet not to save calculcated columns?

2002-04-14 Thread kojiishi
I have a typed dataset, generated from XSD. Some of columns in the dataset are calculcated columns; i.e., expressions in Expression property. As I save this dataset to XML, I can see all calculated results are written to the XML. Since they are re-calculated, for the size of XML and time to save/

Re: [DOTNET] Using BitVector32

2002-04-14 Thread Ed Stegman
You didn't mention if the string is comprised of one word, or of a document containing many words. If it's many words then I'd take a different approach. Use 3 BitVector[] arrays. 1. BitVector[] wordsIndex Each bit corresponds to a word in your doc. If the word contains any upper case characte

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

2002-04-14 Thread Brad Wilson
Brent E. Rector wrote: > For some reason, Windows Update keeps insisting that I should install > the Windows .NET Framework, Japanese Version. This is in addition to and > a separate download from the SP1 update. It's doing this on all my > systems strangely. Anyone know what's up with it? There

Re: [DOTNET] Typed Dataset

2002-04-14 Thread Shawn Wildermuth
The typed DataSet simply presets the schema for a DataSet. You can fill typed datasets in the identical way you would from the database. Normally I create a DataAdapter per table in the DataSet or typed DataSet. This works fine. If you need an example, reply and ask for one and I'll craft one u

Re: [DOTNET] Transactions and CommandBuilders

2002-04-14 Thread Shawn Wildermuth
You are correct. Thanks a lot. (You've allowed me to cover this in my forthcoming book. I appreciate the help). Thanks, Shawn Wildermuth [EMAIL PROTECTED] > -Original Message- > From: dotnet discussion [mailto:[EMAIL PROTECTED]] > On Behalf Of N. Sean Timm > Sent: Sunday, April 14, 2

[DOTNET] Typed Dataset

2002-04-14 Thread David B. Bitton
Is there a utility for created typed objects from database table structures? I know that I can use xsd.exe to create a dataset inherited class, but it appears as if it needs to be deserialized from XML. Now, I understand I could do a FOR XML in my stored proc, but I'd like to bring it back in nat

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

2002-04-14 Thread David B. Bitton
All you have to do is hit the targetUri w/ a browser and you'll see they're using Apache SOAP, which is Java. -- David B. Bitton [EMAIL PROTECTED] www.codenoevil.com Code Made Fresh DailyT - Original Message - From: "Simon Robinson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Frida

[DOTNET] Windows .NET Framework, Japanese version

2002-04-14 Thread Brent E. Rector
For some reason, Windows Update keeps insisting that I should install the Windows .NET Framework, Japanese Version. This is in addition to and a separate download from the SP1 update. It's doing this on all my systems strangely. Anyone know what's up with it? -- Brent Rector, .NET Wise Owl Demean

[DOTNET] Need info on implementing complex databinding

2002-04-14 Thread Brian G. Vallelunga
Can someone on this list point me to a reference for having my control support complex databinding? I need to enable my control to have the ability to do: myControl.DataSource = ... myControl.ViewItem = ... myControl.ItemValue = ... I've looked around, and can't find anything except an article o

Re: [DOTNET] Transactions and CommandBuilders

2002-04-14 Thread N. Sean Timm
,- [ Shawn Wildermuth wrote: ] | My use-case is a multi-table DataSet where I am updating | the database from the DataSet. Since the tables are related, I want a | single transaction to filter through all the updates, though different | DataAdapters (using one DataAdapter per table). `-

[DOTNET] Is there an equivalent to Win32 (un)named events in .NET?

2002-04-14 Thread Brad Wilson
Subject says it all. Couldn't find anything, but probably not looking in the right places... Brad -- Read my web log at http://www.quality.nu/dotnetguy/ You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.co

Re: [DOTNET] Static libraries and managed C++

2002-04-14 Thread Tomas Restrepo
John, > Should I put my managed classes into a separate managed C++ project (one > that compiles into a standalone assembly)? I don't know what else to > try. I think that could be one approach. The problem might be that the compiler does indeed need to use #using on the library to correctly pro

Re: [DOTNET] HttpWebReqponse - raw headers?

2002-04-14 Thread Tracy Martin
I'm sure you are correct about that line being a protocol response rather than an actual header. I just needed the same information I used to get using HttpQueryInfo with the HTTP_QUERY_RAW_HEADERS_CRLF flag, which includes the HTTP/1.1 line. So, I built that line manually, from other informatio

Re: [DOTNET] Is there an equivalent to Win32 (un)named events in .NET?

2002-04-14 Thread Brad Wilson
I wrote: > Subject says it all. Couldn't find anything, but probably not looking in the > right places... Nevermind, I see it now. *smacks head* Brad -- Read my web log at http://www.quality.nu/dotnetguy/ You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to

[DOTNET] Static libraries and managed C++

2002-04-14 Thread John Bush
I have a largely unmanaged C++ application that's broken up into several static libraries. I have added a managed C++ class to one of these libraries (let's say it's a.lib) and then referenced that managed class from some other managed code in b.lib. The libraries all compile successfully. Howeve

Re: [DOTNET] HttpWebReqponse - raw headers?

2002-04-14 Thread Brad Wilson
Tracy Martin wrote: > Thanks for the response... Since posting, I've come across the fact > that the ToString method of the Headers property is overloaded and > returns the headers - except for the first line. That's because the first line isn't part of the headers, it's part of the HTTP protoco

Re: [DOTNET] HttpWebReqponse - raw headers?

2002-04-14 Thread Tracy Martin
Thanks for the response... Since posting, I've come across the fact that the ToString method of the Headers property is overloaded and returns the headers - except for the first line. So, what I end up doing is building that first line manually, then appending the rest: sHeaders = "HTTP/" & oResp

[DOTNET] Broker pattern implemented in c#

2002-04-14 Thread Andreas HÃ¥kansson
I was told to look up the Broker Pattern (Enterprise Architectual Pattern) since it possibly it's what I'm looking for to make some of my classes to act as collections when they are infact working towards the database instead. Does anyone have ANY examples on how to implement the Broker Pattern i

Re: [DOTNET] HttpWebReqponse - raw headers?

2002-04-14 Thread Deepak Rao
If you just need to know what the headers are, then try this HttpWebRequest myHttpWebRequest = (HttpWebRequest)WebRequest.Create("http://localhost/";); HttpWebResponse myHttpWebResponse = (HttpWebResponse)myHttpWebRequest.GetResponse(); for(int i=0; i < myHttpWebResponse.Headers.Count; ++i)

Re: [DOTNET] Transactions and CommandBuilders

2002-04-14 Thread Shawn Wildermuth
That may be true, but it doesn't make any sense. We're talking about disconnected data. Why would you only want inherit a transaction from the select? My use-case is a multi-table DataSet where I am updating the database from the DataSet. Since the tables are related, I want a single transacti

Re: [DOTNET] Transactions and CommandBuilders

2002-04-14 Thread Peter Stephens
> Shawn Wildermuth spake: > > I just want to confirm this. CommandBuilders and transactions are > incompatible, right? Since the CommandBuilder generates and destroys > Command objects on the fly as needed, I assume there is no way to attach > a transaction to the commands. I want to update a d

[DOTNET] Calling vararg unmanaged methods

2002-04-14 Thread Leon Finker
While going through excellent Serge Lidin's IL book, which shows that vararg unmanaged methods can be easily called from IL. I tried finding a way to call unmanaged vararg methods from C#. The following seems to be the way to do it (if need be, to interface with legacy C methods): class C {

[DOTNET] Transactions and CommandBuilders

2002-04-14 Thread Shawn Wildermuth
I just want to confirm this. CommandBuilders and transactions are incompatible, right? Since the CommandBuilder generates and destroys Command objects on the fly as needed, I assume there is no way to attach a transaction to the commands. I want to update a database with standard optimistic con

[DOTNET] HttpWebReqponse - raw headers?

2002-04-14 Thread Tracy Martin
Greetings, I'm playing with HttpWebRequest and HttpWebResponse, and I can't seem to find a way to get the raw header stream. I thought perhaps GetResponseStream, but that returns the actual internet resource, not the headers. I want to be able to log the raw headers for certain retrievals - and

Re: [DOTNET] C# to VB.NET Migration Tool?

2002-04-14 Thread Teo Lachev
Impressive! Thanks very much, Zane. = On Sat, 13 Apr 2002 10:07:29 -0700, Zane Thomas <[EMAIL PROTECTED]> wrote: >Teo, > >Ooops, accidentally hit ctrl+enter > >http://www.aspalliance.com/aldotnet/examples/translate.aspx > > >Zane > >You can rea

Re: [DOTNET] AGAIN: How to define OUT parameter in Managed C++ interface for interop with C#?

2002-04-14 Thread Thomas Tomiczek
Thanks Leon, saved my day :-) I sometimes can not believe what stupid errors I can make. The paranthesis () were the "significant change" - wight. Suddenly it compiled and C# also sees it as out parameter. Thanks. Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) -Or

Re: [DOTNET] Evaluate math expression strings?

2002-04-14 Thread Alexandre G. Valente
Hi, if you want to dinamically compile the expression, you can use something like this: private object CreateMyMath(string sExpression) { StringWriter sw = new StringWriter(); // Source Code sw.WriteLine("using System;"); sw.WriteLine("using System.Collections;");

[DOTNET] CodeDom

2002-04-14 Thread Saar Carmi
Hi. I would I define a static constructor using CodeDom? I used CodeConstructor and set its attribute to MemberAttribute.Static, but the output was not static. Saar You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://disc