Thanks..Ijust want this only..I need a vbs script to
be executed in .net...
Thanks a lot for this..
--- Mitch Denny <[EMAIL PROTECTED]> wrote:
> George,
>
> What sort of script? You can write out a WSH script
> and
> execute it like this in C#:
>
> // Declare locals.
> Process ru
I suggest you find a way to work like - or with - dotnet247 (I'm not
affiliated, of course).
They are very well integrated with Google. This has two facets: First, when
I do a regular google search, they ofter appear with relevant data. And,
when I'm at their site and do a search, it's google on
In the following message
http://discuss.develop.com/archives/wa.exe?A2=ind0201C&L=DOTNET&P=R1973&m=39
477
Ivan mentioned writing a wrapper class and adding the Add method? I'm not
exactly sure what I need to do? anybody like to explain in simple English.
Could you not derive from Hastable and ad
George,
What sort of script? You can write out a WSH script and
execute it like this in C#:
// Declare locals.
Process runner = null;
StreamWriter writer = null;
// Write out the script.
writer = new StreamWriter("runme.vbs");
writer.WriteLine("Ca
I think my requirements are different..
I want to know how to write and execute a script in
.net
--- Shawn Wildermuth <[EMAIL PROTECTED]> wrote:
> This isn't quite what you want, but it might get you
> started...
>
> http://www.codeproject.com/csharp/runtime_eval.asp
>
> Thanks,
>
> Shawn Wilderm
This isn't quite what you want, but it might get you started...
http://www.codeproject.com/csharp/runtime_eval.asp
Thanks,
Shawn Wildermuth
[EMAIL PROTECTED]
> -Original Message-
> From: The DOTNET list will be retired 7/1/02
> [mailto:[EMAIL PROTECTED]] On Behalf Of george antony
> Se
hi all
Can any one tell me how to write and execute a script
in .net
regards
george
__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
You can read messages from the DOTNET archive, unsubscribe from DO
least recently used would be similar to last used - close enough for me
anyway.
Normally weaklinks sound good but my concerns with using weaklinks are
1. I can't control which Datatable will be cleaned up, I would like to give
some preferences to which tables get cleaned up.
2. I don't want to
Calling Dispose() on the message objects did the trick. I'm still concerned
about my ability to run low on virtual memory. Message should clean up after
itself when GC'd, including unmanaged resources, no? And, IMO, running out
of virtual memory is a pretty good clue to fire up the Finalize calls
Hi,
I am trying to use an OleDbDataAdapter and DataBuilder with a recordset to
update and insert rows into a table in Oracle. All the documentation and
examples I can find are all for SQL Server(using the SqlDataAdapter
variant). I can get my code to work on Access (with the OleDBData*
classes),
Murphy, James [mailto:[EMAIL PROTECTED]] wrote:
> If you
> let the GC handle it you cache my grow larger than you'd dare
> let it if you managed it yourself.
So you're saying you think you can write better a memory manager than the
GC? =)
Seriously though, this is exactly what weak references a
Murphy, James wrote:
> I understand that the refinement over using weak references would be to
> dictate the objects that get collected rather than letting the GC decide.
As I see it, these objects will never get out of gen 0 unless they're being
held during GC, which should be rare enough (don'
Phill Tornroth wrote:
> At any rate, my problem is that if I get XML like the stuff shown below:
> Result="FAILURE_UNKNOWNUSER"/>
> The '&' character in the post causes the data to get chopped in half (I'm
> assuming this is because the '&' character is a field delimeter in http)..
It should
Greg,
I think what you would rather do is to bind your controls to a business
object rather then a dataset. This way the property procedures can have
business rule logic that fires when the data in the control is changed.
Later I will send you an example of business objects that support data
bin
Hi,
I am trying to use an OleDbDataAdapter and DataBuilder with a recordset to
update and insert rows into a table in Oracle. All the documentation and
examples I can find are all for SQL Server(using the SqlDataAdapter
variant). I can get my code to work on Access (with the OleDBData*
classes),
I am not sure what i am doing wrong but this seems to be not working. I am
trying to access Java class using CAS COM Brdige using VB.NET. Problem is
all i get back is "System.__COMOBject". Following is how my code look like:
Dim strValue As New ComBridgeJavaServices.JavaServices()
This is it [1], and it's now October
mw
[1]
http://www.amazon.com/exec/obidos/ASIN/0201734117/qid%3D1017292091/sr%3D2-1/ref%3Dsr%5F2%5F1/103-1781157-5050265
> -Original Message-
> From: Kevin E. Kenny [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 5 June 2002 9:21 AM
> To: [EMAIL P
I think the book was originally titled Essential .Net by Don Box and was
in very early draft form at the PDC last year - I have a copy. I believe
it's now called something else and is due out in September 2002 and
annoyingly I can't find the reference to the blasted thing anywhere now.
I had its
Hi,
I am using a UITypeEditor in my Propertygrid Control, Is there a way to add
items to that Editor( I am using Combo box in this case) at runtime.
If so can u pls give me an example.
Help will be appreciated
Thanks
Livi
_
MSN
Chris Sells [mailto:[EMAIL PROTECTED]] wrote:
> No one I know is working on such a book.
Hmmm... I coulda sworn. Wishful thinking I suppose. ;)
Later,
Drew
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develo
Effective C# is already available ;)
http://www.sellsbrothers.com/spout/#effcsharp
Regards,
Serdar Kilic | skilic.com
- Original Message -
From: "Shawn Wildermuth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 05, 2002 6:38 AM
Subject: Re: [DOTNET] Effective.NET book..
No one I know is working on such a book.
Chris Sells
http://www.sellsbrothers.com/
> -Original Message-
> From: The DOTNET list will be retired 7/1/02
> [mailto:[EMAIL PROTECTED]] On Behalf Of Marsh, Drew
> Sent: Tuesday, June 04, 2002 12:46 PM
> To: [EMAIL PROTECTED]
> Subject: [DOTNET]
Hello Bob:
Not sure why, but the response you posted came out garbled.
thanks, Greg
On Tue, 4 Jun 2002 15:27:47 -0700, Beauchemin, Bob <[EMAIL PROTECTED]> wrote:
>QSBEYXRhU2V0IGlzIGEgc2VyaWVzIG9mIGNvbGxlY3Rpb24gY2xhc3NlcyBiYXNlZCBvbiB0aGU
g
>QXJyYXlMaXN0LiA7LSkgVGhlcmVmb3JlLCB0aGUgb25seSB0aGl
If you program in terms of interfaces like ICollection and IEnumerbale,
which are supported by both ArrayList and the child collections of DataSet,
you can interchange either implementation where appropriate. This would
make either solution 'flexibility-neutral'.
Nick
- Original Message ---
Hello All,
I have a question about WinForms. I'm writing this C# app. that is
supposed to display a group of machines and the way they are connected to
each other. I've never done any image representation within a GUI before
and I would like to seek some advise on what would be the best way
A DataSet is a series of collection classes based on the ArrayList. ;-) Therefore, the
only thing that you gain by using a DataReader to populate an ArrayList is that you
don't allocate the (relatively) small bits of storage used to store column
definitions, table definitions, etc. If your Arra
This is new. I run the MFC wizard with all the defaults, set all the
right switches to get it to compile with managed extensions, did a
#using on System.Windows.Forms.dll, #undef'd MessageBox and run the
following line of code in OnAppAbout:
System::Windows::Forms::MessageBox::Show(S"Ain't .NET c
Richter's ".NET Framework Programming" deals with the topic in great depth,
and cover the behaviour of unhandled exceptions in all different types of
applications (WinForms, ASP.NET). This is the best reference I have seen on
the topic.
Nick
- Original Message -
From: "Paul Stevens" <[E
Jeez, I was afraid you were going to say that. It is the client machine.
The whole reason I was doing the factory pattern was so that I would not
have to distribute new builds of the component to the client. Oh, well,
give and take I guess. Thanks for your help, Mike, I sincerely
appreciate you ta
Hey.. Ugly one.
I have a webmethod that takes a string (which is actually XML), and parses
it.. does some stuff, and returns a success or error code to the caller.
(For the record, the reason it's a string instead of an XmlDocument
parameter or something similar is that originally we couldn't gua
I understand that the refinement over using weak references would be to
dictate the objects that get collected rather than letting the GC decide.
That way you could institute the most recently used policy. Assuming that
makes a difference. It might but in that case if you keep your cache too
sma
Willy Denoyette [mailto:[EMAIL PROTECTED]] wrote:
> And of course you can call Delete on the ManagementObject
> to delete the files like:
>
> queryCollection = query.Get();
>foreach( ManagementObject dataFile in queryCollection ) {
> // delete file object in the collection
>
I have a data grid, bound to one field. when I do the sql statement,
I get no rows back. what I would like to do, is display a friendly message
"N/A" when this occurs.
below is the data grid definition.
in the sql statement, I did a retrieval with isnull(field,"N/A") on that
field. only the head
> Maybe I'm misunderstanding the documentation, but it seems to
> be saying
> that if I have a weak reference to an object, the GC doesn't see that
> object as any different from an object to which I have no reference,
> even though I might want it to leave weak-referenced objects alone
> unless m
I think Don Box (formerly of DM) is working on Effective C#, but I am
not sure about .NET on the whole. Maybe someone has already written a
book with that title.
Thanks,
Shawn Wildermuth
[EMAIL PROTECTED]
> -Original Message-
> From: The DOTNET list will be retired 7/1/02
> [mailto:[EM
And of course you can call Delete on the ManagementObject to delete the files like:
queryCollection = query.Get();
foreach( ManagementObject dataFile in queryCollection ) {
// delete file object in the collection
dataFile .Delete();
}
Willy.
- Original Messag
You might try Ja.NET [1], from Intrinsyc. There's a review of it here
[2]. I haven't used it myself...
[1] - http://www.intrinsyc.com/products/bridging/janet.asp
[2] - http://www.devx.com/dotnet/articles/ir051402/ir051402-1.asp
Greg Reinacker
Reinacker & Associates, Inc.
http://www.rassoc.co
Joel Mueller wrote:
> Maybe I'm misunderstanding the documentation, but it seems to be saying
> that if I have a weak reference to an object, the GC doesn't see that
> object as any different from an object to which I have no reference,
> even though I might want it to leave weak-referenced objec
Which machine is getting the exception (client or server; and if server - is
it crashing the server or is the exception getting serialized back to the
client for processing).
My guess is that you don't have the assemblies in the right spot. Since the
MBV type needs to be deserialized on the clie
Hello:
What are the advantages and disadvantages of eschewing the DataSet in
favour of using a DataReader to populate objects and adding the
objects to an ArrayList? I'm wondering about the performance/flexibility
tradeoffs.
thanks, Greg
You can read messages from the DOTNET archive, unsubscrib
I'm sorry, but I'm a bit confused by this. Ben just got done saying that
he needs a mechanism whereby objects that were accessed least-recently
are removed first, then you tell him that the garbage collector behaves
more-or-less the opposite of what he needs, but that he should go ahead
and use we
So to understand you correctly, you have your own custom tool to help modify the code
generated by the XSD to class generator? I thought about replacing or not using this
tool because it didn't do everything I wanted. What do you mean by maintaining
metadata in the schema, using your own name
Peter Foreman [mailto:[EMAIL PROTECTED]] wrote:
> Wow Drew!
>
> I think it is time you wrote a Scott Meyers-esque Effective
> .Net book. Ever considered it? I would urge you to do so
> for the good of the rest of us :-)
Heheh, thanks for the kind comments! I have considered writing a book
nume
I did... plus rewrote in C#. You also didn't need the XMLTextReader (but
wasn't gonna say anything...).
Anyhow, thanks again!
Karen
- Original Message -
From: "franklin gray" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 04, 2002 15:38
Subject: Re: [DOTNET] XML to st
As far as I know, the apartment model cannot be changed for the
system-defined ThreadPool class.
Pradeep
http://www.tapadiya.net/pradeep
- Original Message -
From: "Zoltan Csibi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 04, 2002 4:02 AM
Subject: [ADVANCED-DOTNET]
Actually, throw out the try catch block. I don't know what I was thinking putting
that in there.
-Original Message-
From: Karen Healey [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 3:30 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] XML to string and vice versa
Thank you! T
Thank you! That worked. I haven't played with System.IO.StringReader so I
assumed that I could not use DataSet.ReadXML.
Thanks again!
Karen
- Original Message -
From: "franklin gray" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 04, 2002 15:20
Subject: Re: [DOTNET]
Heartily agree!
At least so Blog/web content along those lines. :)
Jim
> -Original Message-
> From: Peter Foreman [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 04, 2002 3:17 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [DOTNET] Converting a datatable to a string
>
>
> --- "Marsh, Drew"
such as
Public Function CreateDS(ByRef XMLString As String) As DataSet
Try
' Create Dataset from xml string
Dim oDS As New DataSet()
Dim MyStringReader As System.IO.StringReader
Dim MyTextReader As Xml.XmlTextReader
MyStr
--- "Marsh, Drew" <[EMAIL PROTECTED]> wrote:
> This avoids the overhead of IEnumerable and IEnumerator and allows the MSJIT
> will optimize away bounds checking on the array.
Wow Drew!
I think it is time you wrote a Scott Meyers-esque Effective .Net book. Ever
considered it? I
would urge you
Karen,
Try Dataset.ReadXml
Jon Finley
> -Original Message-
> From: Karen Healey [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 04, 2002 2:13 PM
> To: [EMAIL PROTECTED]
> Subject: [DOTNET] XML to string and vice versa
>
>
> Hi,
>
> I've created a dataset and then I write the datase
Hi,
I've created a dataset and then I write the dataset to a database by
taking the XML string of the dataset and storing that as one column in the
database (because the dataset is variable).
In other words, I call GetXml on the dataset, and store this string.
Now I want to go the other way...
Wil, your SoapExtension has access to the proxy or service object using
the SoapClientMessage.Client or SoapServerMessage.Server properties (you
need to downcast the SoapMessage parameter to ProcessMessage). You can
put this value in a property or field and access it that way.
alex
-Original
I'm curious why you say that it is necessary to make sure that a user
stays within his original server. The original poster mentions that he
would be using load balancing with a dedicated state server. Is there a
reason other than state management that you want him to keep his users
requesting t
Halcyon Software offers a .NET to Java (N2J) Bridge:
http://www.halcyonsoft.com/products/iHUB.asp
I've never used it, though.
On Tue, 4 Jun 2002 04:55:52 -0700, Farhan <[EMAIL PROTECTED]> wrote:
>is it possible to call Java classes from ASP.NET? I know this is very
>generic question but i am n
David B. Bitton [mailto:[EMAIL PROTECTED]] wrote:
> new sk00l
Heheh... cool. ;)
First, if you just need signaling you might want to consider firing WMI
events. It's abstract and easy to hook into with System.Management, though
there will be a slight learning curve if you've never used WMI befor
Very interesting
Thanks for the code, I'll give that a whirl and see how it plays
out.
=Blain
-Original Message-
From: The DOTNET list will be retired 7/1/02
[mailto:[EMAIL PROTECTED]] On Behalf Of Marsh, Drew
Sent: Tuesday, June 04, 2002 2:16 PM
To: [EMAIL PROTECTED]
Subject
FileNotFoundException if I remember correctly (I dont have access to the
code right now). I should also mention that the MBR is an object factory
that is attempting to return the MBV object through an interface.
Stan
On Tue, 4 Jun 2002 10:04:42 -0600, Mike Woodring <[EMAIL PROTECTED]>
wrote:
>
I said:
> Note: I'm using a literal string for the filter, but you need
> to escape path
> quotes at the WMI query level.
I meant: "you need to escape path *separators* at the WMI query level."
Later,
Drew
.NET MVP
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subs
Hi all,
I now understand how to use ADO.Net using a local database in my WinForm: I
have a DataAdapter, DataSet, DataGrid etc.
My question is: How do I scale up to an Internet scenario using SQL Server?
I speak about Internet scenario meaning that it's not Intranet - my users
are ordinary around
Blain Timberlake [mailto:[EMAIL PROTECTED]] wrote:
> Correct, and this way has been working for me, but for some
> reason I recall seeing an example that did it in a much
> simpler manner, but I can't find it to save my life. Thought
> someone else might have seen something on it.
You could use
Drop a ToolTip control on the form and the Button will then have a ToolTip
property. The ToolTip control supports the IExtenderProvider interface, by
which it let's the designer know that it can extend properties to controls
that are in the same container.
Seang
-Original Message-
From:
They do it you add a tooltip control to your form.
-Original Message-
From: Jeff Roberts [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 8:10 AM
To: [EMAIL PROTECTED]
Subject: [DOTNET] Why don't Buttons have a ToolTip property ?
Why don't the standard push buttons have a tooltip
Why don't the standard push buttons have a tooltip property ? This would be a nice
feature to have ! No ?
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
new sk00l
--
David B. Bitton
[EMAIL PROTECTED]
www.codenoevil.com
Code Made Fresh Daily
- Original Message -
From: "Marsh, Drew" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 04, 2002 1:30 PM
Subject: Re: Remoting, I think
> David B. Bitton [mailto:[EMAIL PROTECTED]]
David B. Bitton [mailto:[EMAIL PROTECTED]] wrote:
> I'd like to have an app running in the foreground, and handle
> calls coming in from an ASP page. How would I allow code
> from ASP to interact w/ a running app (a WinForms app)?
> Would I use remoting? And if so, how?
When you say "ASP" do y
What I was thinking was the ability to change front end behavior by the asp
pages via a "command console"
.
--
David B. Bitton
[EMAIL PROTECTED]
www.codenoevil.com
Code Made Fresh Daily
- Original Message -
From: "Browning, Don" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday,
A little deployment package I've been debugging looks to keep growing
each time I uninstall and reinstall it.
I create the package on my machine. The /Release directory contains
3.5MB of data (all the little MSI installer stuff it puts there, etc...)
of data.
I copy that to Machine B and instal
It sounds to me like your looking for an ISAPI filter of some sort, but I'm a little
unclear from your post. Do you want the app to automatically intercept incoming http
requests, or do you want the asp page to forward calls on to you app...
Don
-Original Message-
From: David B. Bitt
Greg Gates [mailto:[EMAIL PROTECTED]] wrote:
> I wrote the following routine to convert a datatable to a
> string. However, I am wondering if this is the most efficient
> way of doing it in .NET.
>
> private static string DataTableToString(DataTable table,
> string delimiter) {
> if (table.Rows
David,
I guess what you are asking is what is the best way of inter-process
communication between two .NET applications running on the
same machine? Using .NET remoting with binary formatter over
TCP is simple and efficient. Look at www.gotdonet.com for
examples.
Regards
Pradeep
http://www.tapad
Ok, in that case, you may be able to use XSL transforms to take the XML
and format it. Although to be honest, I know very little about that, so
maybe someone else here knows if that is possible and if so how it should
be done.
On Tue, 4 Jun 2002 09:38:58 -0700, Greg Gates <[EMAIL PROTECTED]>
wrot
I found a really nice tutorial at
http://www.syncfusion.com/FAQ/WinForms/FAQ_c100c.asp#q645q
I now can trap link clicks by using the BeforeNavigate event. Now I just
need to figure out how to trap button clicks.
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe
Hi Marina:
The string representation of the data is imported into a third party
payroll application. The payroll app only understands delimited strings,
not XML.
thanks, Greg
On Tue, 4 Jun 2002 09:24:34 -0700, Marina Zlatkina <[EMAIL PROTECTED]>
wrote:
>I don't know the purpose for which you
Our app is using Java in conjuntion w/ ASP. I call my Java classes via
SOAP. The Java code is running on a seperate machine (though that is only
for resources sake) under Tomcat 4 and Apache SOAP 2.2. Once you fine tune
the interop, it works like a charm!
--
David B. Bitton
[EMAIL PROTECTED]
w
I'd like to have an app running in the foreground, and handle calls coming
in from an ASP page. How would I allow code from ASP to interact w/ a
running app (a WinForms app)? Would I use remoting? And if so, how?
--
David B. Bitton
[EMAIL PROTECTED]
www.codenoevil.com
Code Made Fresh DailyT
I don't know the purpose for which you are doing this, but have you
considered using the table's XML representation? You could use the DataSet
GetXml method, load that into an XmlDocument, then find the node
corresponding to your table, and use that. It would be much easier to
query the data using
Sure, it's possible. Just make sure the type you're returning is marked
[Serializable]. What kind of failure are you getting
(SerializationException, FileNotFoundException, etc...)?
-Mike
http://staff.develop.com/woodring
http://www.develop.com/devresources
- Original Message -
From: "
It's possible.
Peter
- Original Message -
From: "Stan LaRue" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 04, 2002 5:18 PM
Subject: [DOTNET] Remoting question
> Could someone please tell me if it is possible for a method in a
> MarshalByRefObj to return a marshal by
Could someone please tell me if it is possible for a method in a
MarshalByRefObj to return a marshal by value object? I've tried but I can't
seem to make it work. So I am assuming it is not possible.
Stan
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to ot
Hello everyone:
I wrote the following routine to convert a datatable to a string.
However, I am wondering if this is the most efficient way of doing it
in .NET.
private static string DataTableToString(DataTable table, string delimiter)
{
if (table.Rows.Count == 0) {return String.Empty;}
Stri
Hi,
I´ve been working with web services in VS.NET for some time now but recently I started
getting an error that is preventing me from creating any sort of web project!! The
error I get doesn't really tell me anything:
"The default web access mode for this project is set to file share, but th
Is there any way to communicate between SoapExtension and
web service on the server or SoapExtension and web service
proxy object on the client? I am trying to implement an
encryption extension that uses a different key per
session. Unfortunately, I can't figure out a way to have
the web service
The main disadavantage will be that the .NET web service implementations
do not support "streaming" at all :-)
Regards
Thomas Tomiczek
THONA Consulting Ltd.
(Microsoft MVP C#/.NET)
-Original Message-
From: tatochip [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 4. Juni 2002 15:34
To: [EMA
Ah, quite right. For the archives, to confirm this for myself, I wrote
a little C# code:
using System;
class Class1
{
static int x = 0;
[LoaderOptimizationAttribute(LoaderOptimization.SingleDomain)]
static void Main(string[] args)
{
x += 5;
If you're talking about real streaming - like audio or video - then I
doubt any XML+HTTP-based approach is going to work well. Instead, I'd
recommend using one of the technologies specifically designed for
streaming. If you want to leverage web services, set it up so that you
can send a SOAP messa
OK, I have a workaround, but really don't know why it works this way.
The workaround is the following :
1. Bind graphically the control to : "Table1.Field1",
2. Edit auto-generated code to update to :
this.txtBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text",
this.myDS, "Table1.ChildRe
i've found a solution.
thanx anyway.
Peter Laan <[EMAIL PROTECTED]> wrote: Lets see if I understand your problem. You
are conserned that the person who
writes the client might accidentaly code it wrong and create a writable
document when it shouldn't. Correct?
I was about to suggest that the
Prashanth,
I haven't had a chance to play with the .NET compact framework, but in
Embedded Visual C++ 3.0, each emulator had its own directory structure on
the hard disk that simulated the directory structure you would find on the
target device. This allowed you to place configuration files, etc
Robert,
A general philosophy that can be applied is to aquire resources
late and release early, however it really depends on the nature
of the problem you are trying to solve. Sometimes its best to
do alot of upfront initialization to make response times a
little snapper in other points of execut
Its because the code is being run in the emulator - which for all
intents and purposes is a separate machine, and cannot communicate with
your PC except through the normal means any other pocket device can
(i.e. ActiveSync, etc)
Just copy your XML file to the file system on the emulator.
--b
Br
Greetings
I use IIS for hosting remote objects. I have the windows application client.
When I try to create remote object, this exception occured :
System.Net.WebException: The remote server returned an error: (407) Proxy
Authentication Required.
Regards
Tantra
You can read messages from the
Actually, the LoaderOptimization flag controls how the JIT-compiled code for
types is handled. But it won't affect the observable nature of having types
loaded separately into each appdomain from the standpoint of a developer and
their expectations with respect to the scope of static fields. The
We needed to print a label to formatted specs and went through a slew of
potential solutions until we settled on ScriptX from Mead & Co
(http://www.meadroid.com). Works very well, with pretty much any kind of
printer you can think of, and of course does more than just labels. Very
professional g
Just add multiple catch statements:
Dim a As Integer = 1
Dim b As Integer = 0
Dim y As Integer
Try
y = a\b
Catch y As DivideByZeroException
Debug.Writeline("DBZ")
Catch x As Exception
Debug.Writeline("Exception")
Finally
End Try
Will catch on the first catch. . .Any
Hi,
I am developing a small Prototype in .Net Compact Framework targeting
Pocket PC 2002 using .Net CE Beta1. In the application I am reading an
xml configuration file present on my local hard disk. But this throws an
exception DirectoryNotFound. I am using Emulator for testing. Is it
something
thats simple enough ! thanks
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
> Is it possible to catch more than 1 type of exception ? I am calling a
> method that can throw different types of exceptions, how do I catch them
> all ?
try
{
}
catch (ExceptionType1 e)
{
}
catch (ExceptionType2 e)
{
}
catch (Exception e)
{
}
finally
{
}
--
Steve Johnson
3t Systems
You can
Is it possible to catch more than 1 type of exception ? I am calling a method that can
throw different types of exceptions, how do I catch them all ?
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Correct, and this way has been working for me, but for some reason I
recall seeing an example that did it in a much simpler manner, but I
can't find it to save my life. Thought someone else might have seen
something on it.
=Blain
-Original Message-
From: The DOTNET list will be retired
1 - 100 of 132 matches
Mail list logo