[DOTNET] sms application

2002-06-12 Thread Shishir Kumar Mishra
Hi Gurus! How to produce an application to send SMS to mobiles using C# or VB.Net? regards.. Shishir Kumar Mishra Agni Software (P) Ltd. www.agnisoft.com -- Vidya Dadaati Viniyam -- You can read messages from the DOTNET archive, u

[DOTNET] Console window for Windows application

2002-06-12 Thread Rune Christensen 8397
I'd like to implement the following algorithm for when a Windows application wants console window / command line window access: 1. Was application started from a command line window? Yes: select this window and goto 3. 2. Create a command line window and select this 3. Connect the In, Out

Re: [DOTNET] Handling Unhandled Exceptions

2002-06-12 Thread Paul Stevens
Perfect, That's exactly what I was missing, Thanks Pradeep -Original Message- From: Pradeep Tapadiya [mailto:[EMAIL PROTECTED]] Sent: 11 June 2002 08:37 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Handling Unhandled Exceptions Paul, It seems the Forms runtime code adds a ThreadExcept

Re: [DOTNET] ADO.NET and Dispose

2002-06-12 Thread Chris Anderson
> I know that Bob's book and mine (which won't be out for a > while, so buy Bob's : ) both cover it pretty extensively. We > both try and hammer that point home. > > Thanks, > > Shawn Wildermuth Thanks :-) I'll check Bob's out, and look out for yours I've had to really start looking at my develo

Re: [DOTNET] Repost: SQL Server over the Internet

2002-06-12 Thread Avi Nahir
On Tue, 11 Jun 2002 07:05:07 -0600, Greg Reinacker <[EMAIL PROTECTED]> wrote: >Well, if it was my database, and I had my business data in it, I >wouldn't expose my SQL Server directly to the internet. Nothing can be more convincing :-) Thanks, I'll go through web services. Avi. You can read me

Re: [DOTNET] AGAIN: Building a solution with embedded resources

2002-06-12 Thread Jeremy Hopkin
>Yes, I did! The property is set to true. >The project assembly is copied to the main project folder! Only the >localized satelite assemblies are not copied! > >Jan Its probablly cheating, overkill and totally the wrong way to do it but you could just add references in you main project to the loc

[DOTNET] PRB: Error Message When You Build a Solution with Multiple Projects

2002-06-12 Thread Colin Rippey
I've run into a problem with a Visual Studio solution with multiple projects that build to the same output folder. The above error relates to KB q313512, the proposed solution does not work (try rebuilding the solution one more time). Has anyone else run into this problem - any way of solving th

Re: [DOTNET] NotifyIcon and WinForms

2002-06-12 Thread Jeff Roberts
Yes I have tried that. That always returns my window to a non-maximized window state. If I minimized the window from a maximized state, then I want it to restore to a maximized state ! thanks ! You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other Deve

Re: [DOTNET] NotifyIcon and WinForms

2002-06-12 Thread dotNetMailinglist
When you minimise, save the state, and when the user restores, use that state. -- http://www.codevoid.net Microsoft MVP > -Original Message- > From: Jeff Roberts [mailto:[EMAIL PROTECTED]] > Posted At: 12 June 2002 13:08 > Posted To: dotNetMailinglist > Conversation: Re: [DOTNET] Notify

Re: [DOTNET] sms application

2002-06-12 Thread dotNetMailinglist
Talk to your SMS agregator about a HTTP interface etc for sending SMS's. http://www.mobileway.com -- http://www.codevoid.net Microsoft MVP > -Original Message- > From: Shishir Kumar Mishra [mailto:[EMAIL PROTECTED]] > Posted At: 12 June 2002 08:45 > Posted To: dotNetMailinglist > Conve

Re: [DOTNET] Super simple DataAdapter quesiton...

2002-06-12 Thread Mitch Denny
Blake, I've been able to reproduce the problem now, it certainly is wierd - especially since if I login as SA it all works perfectly. So, it could be a permissions issue but I can't think what, but it might also have something to do with populating a DataSet because I noticed some wierd behaviour

Re: [DOTNET] Super simple DataAdapter quesiton...

2002-06-12 Thread Chris Anderson
FWIW when I just tried it, the compiled app worked..it's just the IDE's dataset previewer that failed Merak > -Original Message- > From: Mitch Denny [mailto:[EMAIL PROTECTED]] > Sent: 12 June 2002 14:48 > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] Super simple DataAdapter quesiton...

Re: [DOTNET] Console window for Windows application

2002-06-12 Thread Chris Sells
When we've needed to do that in the past, we built a MyApp.com that would be found from the command line first and then called MyApp.exe with the appropriate command line args. Chris - Original Message - From: "Rune Christensen 8397" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wedne

Re: [DOTNET] Console window for Windows application

2002-06-12 Thread Rune Christensen 8397
Chris, thanks for the reply! However, I would rather have a command line application that can show as a Windows application, with a "dangling" command line window, than having to relate to two different applications. I would like the decision to use command line window to be taken when applicati

[DOTNET] String Bug or somethig I missunderstood?

2002-06-12 Thread Miguel Ángel Chacón
Just execute this lines of code and see the results. If you build a string from a char array like this: {'B','U','G',0,0,0,0}, the resulting string have a length of 8, and if you build a new string adding some words to the first string and you write it you´ll see 'blanks' for the '0' char, like th

[ADVANCED-DOTNET] Generic XML Data Server

2002-06-12 Thread Philip Ruelle
Hi All, I'm going round in circles trying to think of the 'best' way to implement a data server. This data server will be accessed by several systems, some in operation, some 'on the drawing board' and some that haven't even been thought of yet. Probably the best performing solution would be to

Re: [ADVANCED-DOTNET] Data Access API

2002-06-12 Thread Thomas
Thanks Ben! Much appreciated. Thomas On Wed, 12 Jun 2002 09:44:28 +0800, Ben Kloosterman <[EMAIL PROTECTED]> wrote: >I am finding DataSets a godsend basically your DB becomes less important >which is always a good thing. I am writing a Cache of DataTables to extend >this further. >This way I

Re: [DOTNET] Custom Hosts, AppDomains and Domain-Neutral Assemblies

2002-06-12 Thread Mahesh Prakriya
I'm surprised this key exists. I strongly caution against taking any product dependencies on left-over regkeys. We'll likely remove this functionality. The only supported way for this is through the Hosting API for the host to specify for the app. -Original Message- From: Nick Wienholt

[DOTNET] Consuming WSDL on *nix platforms

2002-06-12 Thread Tewari, Vijay
Is there an existing C/C++ library on *nix platforms which can consume WSDL (generated by ASP.NET web services), generate the requisite stubs and operate similar to the stubs in the .net world. Regards Vijay You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to

Re: [DOTNET] UI for Windows service

2002-06-12 Thread Jim Mcgregor
Hi Erik; To save ya having to buy a book from a rather cheeky author : The answer so far as I can see is that you create a service controller in your Windows / Taskbar / Web page app and then you call ServiceController.CustomCommand - This passes a command directly to the service with one p

Re: [DOTNET] String Bug or somethig I missunderstood?

2002-06-12 Thread Curtis Koppang
Are you a C programmer? ;-) A char-zero is not used as the null terminator in a string. Most string implementations (besides C) use some sort of length descriptor to determine the length of the string. To reinforce this point, check out the constructor for string - one takes an array of chars.

[DOTNET] OT: spaces in subject line

2002-06-12 Thread Larry McCoy
Sorry about the off-topic, but ... I've noticed that all of the postings to this list (and the other DevelopMentor lists I am on) have a subject line with five (5) spaces in them. This results in them not being "sorted" properly by subject in my inbox. i.e. All "reply" items start with the su

[DOTNET] Problem with Service and File System Watcher

2002-06-12 Thread Don Davis
Hello all. Relatively new to the realm of Net and C# so please excuse any greenhorn practices. Having trouble with a Service we wrote (c#) which incorporates the File System Watcher. Service is setup to watch for "created" files only. All files are small text files. Each file is opened and "

Re: [DOTNET] String Bug or somethig I missunderstood?

2002-06-12 Thread Miguel Ángel Chacón
Ok, but of which language are we talking about? I´m a VB/Java/C++/C# programmer and my question is about how the string(C#) should be terminated, I thought the zero was the mark, but now I don´t understand anything. What is , then, the implementation of the string(C#)? Some -Mensaje orig

Re: [DOTNET] Problem with Service and File System Watcher

2002-06-12 Thread Scott Boston
The FileSystemWatcher buffer is overflowing. You can handle this event by adding something like this to your code that sets of the FileSystemWatcher: // ProcessOverflow is a method setup to handle FSW buffer overflows. fsw.Error += new ErrorEventHandler(ProcessOverflow); See MSDN for FileSystem

Re: [DOTNET] OT: spaces in subject line

2002-06-12 Thread Bill Schmidt
Larry, Since this is OT, I'm replying privately rather than through the list. You have two separate issues: (1) the 5 spaces, and (2) the Re: prefix. Regarding the second issue, this is just how the list works. How else would you want it to work? It would be confusing to have the replies to a

Re: [DOTNET] String Bug or somethig I missunderstood?

2002-06-12 Thread Marsh, Drew
Miguel Ángel Chacón [mailto:[EMAIL PROTECTED]] wrote: > Ok, but of which language are we talking about? I=B4m a > VB/Java/C++/C# programmer and my question is about how the > string(C#) should be terminated, I thought the zero was the > mark, but now I don=B4t = understand anything.=20 > > Wh

Re: [DOTNET] Problem with Service and File System Watcher

2002-06-12 Thread Steve Holak
One caveat with an automated dumping of files to a directory as part of an app (which is probably not related to your problem, but I'm FYIing you), is that there is a limitation to the number of files that can be in a windows folder--this was discussed on this list last year, I believe; search the

Re: [ADVANCED-DOTNET] Threading is blocking itself or ?

2002-06-12 Thread Craig Andera
> Just for information here are the times for a little prog I wrote > it is > interesting that there is an optomisation in Thread.Start() when starting > mutliple threads to the same delgate. The first one takes 40 ms and later > ones are very quick (occasionaly the second one takes 10ms)

Re: [DOTNET] OT: spaces in subject line

2002-06-12 Thread Mike Woodring
Replies inline below... - Original Message - From: "Larry McCoy" <[EMAIL PROTECTED]> > I've noticed that all of the postings to this list (and the other > DevelopMentor lists I am on) have a subject line with five (5) spaces in > them. [mw] Doesn't happen to me or others I know of. It'

Re: [DOTNET] Problem with Service and File System Watcher

2002-06-12 Thread Justin Harrell
Besides checking out the internalbuffersize stuff, you may want to think about how you are processing the files. Since you said that by commenting out process procedure it sees all the files, it sounds like the buffer is overflowing because the events are not finishing up fast enough to keep that

[DOTNET] What use are WinForms controls hosted in IE?

2002-06-12 Thread Chris Sells
Since web pages are for reach to the least common denominator, what good are WinForms controls hosted in a web page? Not only do they require .NET to be installed on the client, throwing away the reach benefit, they need to be *fully* trusted to fire events, throwing away the sandbox that .NET

Re: [DOTNET] OT: spaces in subject line

2002-06-12 Thread Norton, Eric
> Larry, > Since this is OT, I'm replying privately rather than through the list. Mighty public version of a private message :-) You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] Consuming WSDL on *nix platforms

2002-06-12 Thread Eric W. Sink
I'm looking for this too. I've started by looking at the variety of available SOAP toolkits (1) but what I really want to know is which of those toolkits Just Work with ASP.NET web services. (1) http://www.soapware.org/directory/4/implementations Anybody know? - Original Message - From

Re: [DOTNET] Problem with Service and File System Watcher

2002-06-12 Thread Don Davis
Scott, Thanks!! that was it. Now getting buffer errors. Justin, sounds like your on to something with this thought about threading. (somthing i'm not up to speed on yet). Digging through my code, I found some areas where it can be tweaked for better performance. I was able to make room in the

Re: [DOTNET] ADO.NET and Dispose

2002-06-12 Thread Daniel Morgan
If I read the docs correctly, Close ( ) calls Dispose ( ) for the Connection. However, I would like to know more about the proper way to dispose of resources. - Original Message - From: "Peter Foreman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 11, 2002 1:25 PM Subje

Re: [DOTNET] OT: spaces in subject line

2002-06-12 Thread Blain Timberlake
I get the spaces pretty randomly on my side as well. I have outlook sorting by "conversation" so when the spaces are added in it creates multiple "conversations" I don't see any rhyme or reason behind it at all. =Blain -Original Message- From: The DOTNET list will be retired 7/1/02 [ma

Re: [DOTNET] What use are WinForms controls hosted in IE?

2002-06-12 Thread Jacob Grass
Chris- Our product managers and such were quite excited about this technology because it easily provided a "unified interface" for products. Whereas some products were simple enough that a Web App would suffice, others were too complex for basic web controls. There were specific reasons th

Re: [DOTNET] Problem with Service and File System Watcher

2002-06-12 Thread Justin Harrell
Although I made it sound complicated, if your new to multithreading, its really not. If you use the System.Threading.ThreadPool.QueueUserWorkItem and put your process function in as the workitem right in the created event, although you don't have as much control of the threads in the thread pool a

Re: [DOTNET] OT: spaces in subject line

2002-06-12 Thread Ted
I get the spaces through the subject line randomly as well. I hate it when "new" conversations are started because of it. sigh. On Wed, 12 Jun 2002 15:07:18 -0400, Blain Timberlake <[EMAIL PROTECTED]> wrote: >I get the spaces pretty randomly on my side as well. > >I have outlook sorting by "c

Re: [DOTNET] ADO.NET and Dispose

2002-06-12 Thread Peter Foreman
--- Daniel Morgan <[EMAIL PROTECTED]> wrote: > If I read the docs correctly, Close ( ) calls Dispose ( ) for the > Connection. Yes. > However, I would like to know more about the proper way to dispose of > resources. If an object implements Dispose() then you should call it when you are complet

Re: [DOTNET] sms application

2002-06-12 Thread Jim Stanton
Another tactic would be the .NET My Alerts service. Then the users could choose to recieve the messages as toast or sms messages (or e-mail or ...) http://www.microsoft.com/myservices/alerts/ - Jim -Original Message- From: The DOTNET list will be retired 7/1/02 [mailto:[EMAIL PROTECTED]

Re: [DOTNET] Consuming WSDL on *nix platforms

2002-06-12 Thread Pradeep Tapadiya
You may find the following link useful: http://www.apache.org/~rubys/ApacheClientInterop.html Regards, Pradeep http://www.tapadiya.net/pradeep - Original Message - From: "Eric W. Sink" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 12, 2002 11:31 AM Subject: Re: [DOTN

Re: [DOTNET] sms application

2002-06-12 Thread dotNetMailinglist
.net alerts does not move to SMS directly. Getting provisioned for .net alerts is practically impossible :D -- http://www.codevoid.net Microsoft MVP You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

[DOTNET] Calling Web Services using AsyncCallback

2002-06-12 Thread John Burkhardt
I'm trying to do this for the first time. While I can't send the exact code, here is in essence what I'm doing: public void CallMyService() { MyService service = new MyService(); service.BeginCallMethod( new AsyncCallback(this.CallMethodResultCallback), service ); } public

Re: [DOTNET] Problem with Service and File System Watcher

2002-06-12 Thread Scott Boston
Unfortunately it doesn't guarantee no overflows completely, although passing the processing off to a queue certainly helps. In my application I still have to have watch for overflows even though the files to be processed are loaded into a queue, and then subsequently processed on another thread,

[DOTNET] Diff between Asynchronous calls and threading

2002-06-12 Thread franklin gray
With the discussions of late about Asynchronous calls, I have to ask. What is the difference between it and executing a method in another thread? You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

[DOTNET] WAY OT: Humorous Don Box story...

2002-06-12 Thread Ted
http://www.xent.com/FoRK-archive/summer96/0398.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] Calling Web Services using AsyncCallback

2002-06-12 Thread John Burkhardt
I found a workaround. It does seem to be because of a call on the UI thread. So what I'm doing now is: public void CallMethodResultCallbackProxy(IAsyncResult ar) { this.Invoke(new AsyncCallback(this.CallMethodResultCallback) new object[] { ar }); } And this works. But its gross. So someho

Re: [DOTNET] Problem with Service and File System Watcher

2002-06-12 Thread Justin Harrell
Hmm, that buffer must be populated quite fast be the system, I suppose offloading to a queue and increasing the internal buffer, will get you close but there is no way to guarantee. Oh well :(. To make it completely bullet proof your probably going to have to not rely on the filesystemwatcher and

Re: [DOTNET] OT: spaces in subject line

2002-06-12 Thread Dean Cleaver
I am seeing this (and I am using a piece of software to read the headers from my ISP, so am pretty certain that it's not my software causing it) however Outlook is removing the spaces before they arrive. When I used Exchange server, it didn't remove the spaces - so are the people who are having t

Re: [DOTNET] OT: spaces in subject line

2002-06-12 Thread Bryan Batchelder
Yes, I can verify that as an exchange user I see the spaces being inserted on some emails from the listserv. Weird thing is that it just started happenning 2-4 months ago. I just remembered thinking"weird". --b Bryan Batchelder eBusiness Consultant ConnectWise, Inc. 813-935-7100 x 425

Re: [DOTNET] Diff between Asynchronous calls and threading

2002-06-12 Thread John Burkhardt
> With the discussions of late about Asynchronous calls, I have to > ask. What is the difference between it and executing a method in > another thread? >From the docs that I've read on the subject, the theory that the Async calls are simpler to program against. You don't have to spin up a threa

Re: [DOTNET] WAY OT: Humorous Don Box story...

2002-06-12 Thread Steve Holak
Yeah, but Don usually initiates the stuff. Do you think that mere association with the man brought on all the bad karma? Steve Holak Senior Software Architect Brokerage Concepts IS Dept. 610-491-4879 email: [EMAIL PROTECTED] Ted <[EMAIL PROTECTED]

Re: [DOTNET] Diff between Asynchronous calls and threading

2002-06-12 Thread Justin Harrell
Asynchronous calls are in general using threads, they are just managing the threads for you. You can simulate async calls using the sync ones and your own background threads. That is of course more work, but you have more control over the threads. Justin Harrell Vice President Development Aciss S

Re: [DOTNET] Calling Web Services using AsyncCallback

2002-06-12 Thread Marsh, Drew
John Burkhardt [mailto:[EMAIL PROTECTED]] wrote: > I found a workaround. It does seem to be because of a call > on the UI thread. So what I'm doing now is: > > public void CallMethodResultCallbackProxy(IAsyncResult ar) > { >this.Invoke(new > AsyncCallback(this.CallMethodResultCallback) new

[DOTNET] urlencoding problem with åäö

2002-06-12 Thread Mattias Konradsson
I'm having some trouble with url params being passed through xslt and ending up with the wrong encoding, I managed to track down an discrepancy that I think is the source. When i submitt the string "lkö" for example through a form it gets encoded as "lk%F6" but if I do HttpUtility.UrlEncode("lkö"

[DOTNET] Visual Studio Installation error

2002-06-12 Thread BadreNarayanan V
Hi, I am getting the following error when I try to Open an Visual C# Project. I started getting this error after installing MSDN.NET April 2002 (DVD). "Project could not be opened because the microsoft Visual C# .NET compiler could not be created. Please re-install Visual Studio." I re-installe

Re: [DOTNET] Visual Studio Installation error

2002-06-12 Thread Nicolas Benech
Hello, I had the same problem. Could you be possibly using Visual Source Safe as well? I think (at least for me) this is the key to the problem. Anyway, the solution is (don't bother to re-install .Net there is no need) to delete the .suo file on your local drive and re-open the project. That sh

[DOTNET] ANN: Typed DataSet Generator (Updated)

2002-06-12 Thread Shawn Wildermuth
I have uploaded an updated Typed DataSet Generator[1]. This new version has fixes to the installer and the generator. This generator includes the following features: - Inheritable Typed DataSets - Added Annotation Namespace to Typed DataSet Template - New codegen:useNamespace Annotation to supp

[DOTNET] Microsoft/Terrarium auto-update code

2002-06-12 Thread Dean Cleaver
Have been looking at this, but have thought about what I consider to be a big problem. The directory structure looks like this: StubApp.exe StubApp.exe.config // stores the info on which version to run Version1 RealApp.exe Version2 RealApp.exe Now - what I left out was the config files for

[DOTNET] ANNOUNCE : dbcodegen.com - Tool to generate C# code to call SQL Server Stored Procedures

2002-06-12 Thread Ricky Datta
http://www.dbcodegen.com This tools generates C# code to call existing SQL Server Stored Procedures. It saves you time, money and dumb work. Source code is also available. Enjoy Thanks. Ricky Datta _ You can read messages from the DOTNET archive,