and another at http://www.cybercom.net/~zbrad/DotNet/MySql/
> -Original Message-
> From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of
> Beauchemin, Bob
> Sent: 04 May 2002 07:07
> To: [EMAIL PROTECTED]
> Subject: Re: [DOTNET] ANN: GPL MySQL Driver for ADO.Net
>
>
> Hi Reggie,
Hi Reggie, thanks for the info.
There is also another one at http://www.mattculbreth.com/eidmysql that may be a little
further along. It's beta 3, production available May 10. It does not appear to be GPL.
Bob Beauchemin
[EMAIL PROTECTED]
-Original Message-
From: Reggie Burnett [mailt
Just got home... ;-)
The OleDb data provider and the Odbc data provider use the resource dispenser
architecture, popularized by MTS, but also available outside of
MTS/COM+/EnterpriseServices. In any OLE DB provider or ODBC driver, pooling works the
same way. The only configurable parameter, on
Quick announcement:
You can find a pre-alpha version of a native MySQL driver written entirely
in C#. Many features are currently functional, but this driver has not been
tested completely yet and is not even fully implemented yet. It could eat
your data and not even say thank you!
Features th
For the OleDb Managed Provider, the pool depends on the particular OLEDB
Provider. I am sure Bob B. will chime in on this one. He's knows this
stuff cold...I don't: )
For the SqlClient Managed Provider, the pool indeed depends on
indentical connection strings. The scope of the pool is per conn
Not tried the RTM version but when I was using beta2 and
the various release candidates I didn't seem to have any
trouble on a PII 350MHz machine with 128MB memory.
Yeah it could sometimes be slow but not to a degree that
interfered with using it.
Simon
--
Hi folks,
I'm trying to come up with a scalable connection
pooling strategy. I know that .NET has connection
pooling built in to the SqlConnection and
OleDBConnection objects, but I'm not sure exactly how
it works. The documentation says if the same
connection string is used, the same pool is us
The improvement was very dramatic with moving to your code. I think I see
why my code was so slow, I completely forgot about the boxing overhead. It
makes quite a bit of difference.
Erick
- Original Message -
From: "Erick Thompson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday
Sean,
Thanks for the code, this looks like it should be much faster. I may create
a strongly typed byte ArrayList, which would reduce the memory copies from
O(n) to O(log n), if I get enough time.
Erick
- Original Message -
From: "Sean Greer (SBI-Chico)" <[EMAIL PROTECTED]>
To: <[EMAIL
Dean,
Hopefully this will point you in the right direction (you write the xml
file to the WebRequest's RequestStream):
string xml = myXmlTextReader.GetRemainder().ReadToEnd();
//TODO: Consider UTF8 here instead of ASCII
byte[] buffer = Encoding.ASCII.GetBytes(xml);
myHttpWebRequest.Get
I have a project where I need to post XML files to a secured server.
They provided a perl sample, which isn't much use to me, and also this
HTML:
That has been tested, and it works. Now, I have managed to communicate
with the server correctly and get responses, I just don't know how to
"
Here's my stab at this problem...this is off the top of my head and has not
been thoroughly tested, but it does work against my pseudo web service. :-)
YMMV
byte[] arrBuffer = new byte[0];
using(BinaryReader reader = new
BinaryReader(webResponse.GetResponseStream()))
{
byte[] arrScratch =
Much appreciated Drew.
Dino
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
Marsh, Drew
Sent: Saturday, 4 May 2002 10:46
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] UTF-8 Problems with XML
Dean Cleaver [mailto:[EMAIL PROTECTED]] wrote:
> Are these co
Hi Daniel,
We've started to work on this at http://www.dotnetremoting.cc/projects [open
source .net remoting projects]. Some weeks ago, Jonathan Hawkins (the
program manager for .NET Remoting) announced that they will probably release
such a channel/sink combination to gotdotnet.com so we stopped
Check out Red Gate Software's "Advanced .NET Testing" tool:
http://www.red-gate.com/load_testing.htm
Cheers,
Duncan Smart
=
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Dean Cleaver [mailto:[EMAIL PROTECTED]] wrote:
> Are these control characters standard, or is this a bug?
Standard in unicode, but not necessarily processed correctly by all
applications. It's called a byte-order mark(BOM). To get rid of it,
construct an instance of UTF8Encoding passing false to
If I set the encoding to be UTF-8, the XmlTextWriter places 3 "control
characters" at the beginning of the document, and that is enough to
cause the recipient system to reject the post. Setting the encoding to
null means these characters are not present.
However setting the encoding to null means
I actually have VS.NET on a PII/266 and 256Mb and for most cases it is quite
adequate. But you mention migrating to Win2K. I am running XP Professional.
And yes if I had my wish I would first get more memory.
Kevin
-Original Message-
From: Jeff Penrod [mailto:[EMAIL PROTECTED]]
Sent: Fri
I have been running VS.NET on my PII/266 notebook with 160mb RAM with Win2k
pro. Works great. Only a tad slower then my Athlon 800 at home. Definitely
useable.
Jeff
- Original Message -
From: "Jeff Penrod" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 03, 2002 2:43 PM
Sub
I ran the RC0 version on a PIII/450 with 256 MB of ram. It wasn't super
speedy, but if you turn off the dynamic help, it works out fine. If you have
256 or less, I would recommend getting another stick of memory, as that will
help more then a faster CPU.
Erick
- Original Message -
From:
I am unfortunately stuck with PII/450. Microsoft states that this is the
minimum requirement for running Visual Studio.Net. Does anyone have any
experience running VS.NET on a PII/450? I would like to know if its worth
the cost of migrating to Win2K and adding additional memory.
Thanks,
Jeff
Your answers confirmed what I suspected to be true. However I agree with J.
Keith Wedinger, this would be a
nice enhancement
Richard Spence
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of
Keith Wedinger
Sent: Friday, May 03, 2002 12:51 PM
To: [EMAIL PROT
The HTTP_USER_AGENT string will contain all versions present on the
machine.
And when there is a new version of the CLR...
1. The ClrVersion property on HttpBrowserCapabilities will hand back the
latest version.
2. There will be a method on the browser capabilities object to get back
a collection
I can't speak for future versions, but when I had RC0 and the release
version of the runtime installed, both version numbers appeared in the
HTTP_USER_AGENT string. Also, ClrVersion only returned the first one
(the earlier one). This means that user could have a newer version
installed and you w
I'm downloading binary files from the Stream returned by a HttpWebResponse
object. The stream returned does not support seeking or look aheads. I have
no idea when the length of the stream will be (HttpWebResponse.ContentLength
cannot be trusted). What is the fastest way to get the stream into an
I guess I didn't understand your question. Perhaps someone else can help
you.
Richard Spence
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of
Richard Grimes
Sent: Friday, May 03, 2002 1:31 AM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Dataset problem
-
So what is going to happen when the next version of the CLR comes out?
Because we can have side by side execution, the HTTP_USER_AGENT string is
going to get ugly. Or, will it only show the latest version installed? Same
question on the HttpBrowserCapabilities object.
Erick
- Original Messag
Ah yes, I see. Thank you.
--
Peter
> -Original Message-
> From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of
> Murphy, James
> Sent: Friday, May 03, 2002 2:14 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [DOTNET] try...finally vs. nested using statements WAS:
> From C# to VB.NET
Justin Harrell wrote:
> IE is also the only browser that allows CLR client deployment too,
> right?
For all intents and purposes, you aren't really going to be realistically
running code _inside_ the browser in any browser, over the public Internet,
with the SP1 security changes (unless you can
Yes but it doesn't protect the case when an exception is thrown in
cmd.Dispose(). In that case cn.Close() will not be called as Kirk said.
Jim
> -Original Message-
> From: Peter Stephens [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 03, 2002 5:13 PM
> To: [EMAIL PROTECTED]
> Subject: [
My sample below which uses try...finally does handle the case properly if
there is an exception thrown in either the command constructor or the
connection creation.
For example if the connection is properly constructed with no exceptions
then cn is not null and cn.Close() will be closed no matter
IE is also the only browser that allows CLR client deployment too,
right?
Justin
-Original Message-
From: Brad Wilson [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 5:07 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Detecting DotNet from the browser
Nikhil Kothari wrote:
> The
Patrick Burrows [mailto:[EMAIL PROTECTED]] wrote:
> Is there a way to detect whether or not the DotNet runtime
> has been installed on a user's machine from the Browser? I'd
> like to write a web page that detects if it is installed or
> not, and then either direct them to a download page for the
Hi All,
I know that remoting does not have any built-in facilities for security. I've been
thinking it would be an interesting and informative pet project to try to incorporate
Windows security with a remoting channel. My conceptualization of the solution:
1. Create a managed wrapper
Nikhil Kothari wrote:
> The HTTP_USER_AGENT string contains the version of the CLR installed on
> the user's machine. If you're using ASP.NET, you can use the ClrVersion
> property of the HttpBrowserCapabilities object to get the version of the
> CLR.
This only works if the user browses to your
The following works in ASP.NET:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim uaStrings = Me.Request.UserAgent.Split(New Char() {";"})
Dim s As String
Dim found As Boolean = False
Dim fv As String
The HTTP_USER_AGENT string contains the version of the CLR installed on
the user's machine.
If you're using ASP.NET, you can use the ClrVersion property of the
HttpBrowserCapabilities object to get the version of the CLR.
Nikhil Kothari
ASP.NET Development
-Original Message-
From: Jaco
That is just part of the USER_AGENT server variable, available from
Request.ServerVariables["USER_AGENT"]. You can then parse the string and
find out the CLR version.
Adam..
-Original Message-
From: Jacob Grass [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 4:46 PM
To: [EMAIL PROT
Shows how much I know about the Web. . . Anybody have a Winforms question?
Jacob A. Grass
> -Original Message-
> From: Mike Woodring [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 03, 2002 3:52 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [DOTNET] Detecting DotNet from the browser
>
>
That's not amazon.com detecting the CLR version on your machine, it's that
you're using a version of IE that sends that information as part of its
browser caps. Amazon.com is just echoing that information back to you.
-Mike
http://staff.develop.com/woodring
http://www.develop.com/devresources
-
I believe when the runtime is installed it injects some text in the User
Agent header sent by IE, which you can read server side.
Justin
-Original Message-
From: Patrick Burrows [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 4:40 PM
To: [EMAIL PROTECTED]
Subject: [DOTNET] Detecti
I know it's possible, but I am not sure how. . . If you follow this Amazon link [1],
for example, it will tell you what version of the CLR you have installed (at least it
does on my machine) . . . Not sure how they get it though. .
Note, this is an intentionally bad link that will bring up A
Is there a way to detect whether or not the DotNet runtime has been
installed on a user's machine from the Browser? I'd like to write a web
page that detects if it is installed or not, and then either direct them
to a download page for the dotnet install, or the download page for my
app.
--
P
David Ferguson [mailto:[EMAIL PROTECTED]] wrote:
> How do I declare a static variable in a member function in C#?
Function level static declaration isn't supported by C#. You'll have to make
it a member of the type.
Check out this section[1] of the SDK for more info, specifically:
It is not p
How do I declare a static variable in a member function in C#?
In C++ I am use to the following...
class Foo {
void DoIt() {
static int counter; // this counter is only seen in this
// function. Its value is retentive.
...
To my knowledge you are correct on the reader.
The single connection is letting the app run continuously where the
system was not affected as adversely before due to the jobs ending and
restarting interrupting the process.
A few things to check for next:
1) The ODBC job should not be taking ove
If it's very important to eliminate the caching of images (not pages), you
could return the images via an aspx page (set Content-Type to an image), and
then change the url returned in the page every time. That way, the returned
page wouldn't refer to the cached image.
This would only work if the
I find my favorite features in RegexD besides the basics are the
tooltips that show groups and named groups, seeing how replaces and
splits are going to turn out and the code generation for splitting the
code into my project when I'm happy w/ the regex.
Chris Sells
http://www.sellsbrothers.com/
Imtiaz ALAM [mailto:[EMAIL PROTECTED]] wrote:
> To use MSHML in VS.Net, we don't need to add AxControl. I got
> the reference from Project Add Reference Dialog..
Well you only said:
> I don't want to use any Ax Control.
So I totally didn't understand what you meant. MSHTML is an ActiveX contro
I'm developing an application that in design and concept
worked very much like outlook in the office suite. The
application supports plugins. The last few weeks I have
been looking into the n-tier based design approach of
applications and feel that it's something that my
application should utilise
To use MSHML in VS.Net, we don't need to add AxControl. I got the
reference from Project Add Reference Dialog..
TIA
Imtiaz
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Count me amongst those that would love to see this feature added. I
would love to have full Intellisense when writing embedded C# script in
my ASPX pages.
J. Keith Wedinger
Senior Software Developer
Sterling Commerce
[EMAIL PROTECTED]
-Original Message-
From: dotnet discussion [mailto:
Intellisense just isn't provided for .aspx of .ascx files, only for the
codebehind pages...
On Thu, 2 May 2002 13:58:04 -0700, Richard Spence <[EMAIL PROTECTED]> wrote:
>I've noticed Intellisense doesn't appear to work when programming ASP.Net
>user Controls. Perhaps I've omitted something.
>If
From: Imtiaz ALAM [mailto:[EMAIL PROTECTED]] wrote:
> I am trying to automate our intranet sited. I don't want to
> use any Ax Control. I manage to read the site content using
> WebRequest/WebResponse, now I want to map it to
> IHTMLDocument2. Any Idea on how to do it or is there any
> better way
Hi
I am trying to automate our intranet sited. I don't want to use any Ax
Control. I manage to read the site content using WebRequest/WebResponse,
now I want to map it to IHTMLDocument2. Any Idea on how to do it or is
there any better way of getting this done..
TIA
Imtiaz
You can read messages
This is nice. Gerry shaw wrote a similar tool
http://www.organicbit.com/regex/fog19.html. Its not quite as
pretty though. We have somthing similar in Visual Perl - it uses perl
regex syntax however.
Ian
>RegexDesigner.NET [1] is a powerful visual tool for helping you
>construct and test
I was under the impression that the DataReader is only for reading and that
there is no way to control cursors, etc.
-Original Message-
From: Steve Miller [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 2:34 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Accessing AS400 data through
Anyone else noticed that if you create cs files in visual studio, it puts
all of your using statements above the namespace:
using System;
//blah
namespace MyNamespace {}
While trying to use Nant and CSC to compile some of my projects, I start to
get the "Type or Namespace 'foo' does not exist in
AFAIK, there are none. However, I have done a P/Invoke and it is fairly
straightforward.
> -Original Message-
> From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf
Of
> David Ferguson
> Sent: Friday, May 03, 2002 1:52 PM
> To: [EMAIL PROTECTED]
> Subject: [DOTNET] Are there any C
It would be my assumption that being that the DataReader is maintaining
state it may be attempting to use a client side cursor.
Steve Miller
G. A. Sullivan
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
Christopher Castelot
Sent: Friday, May 03, 2002 1
We had a similar problem using ODBC drivers on an HP3000 once. It had
something to do with how the HP was trying to process the SELECT. The
setting that we had to play with was client side versus server side
cursors. If you are using a client side cursor then the mainframe will
try and send all
Take a look at the ILLink sample from Serge Lidin on www.gotdotnet.com.
http://www.gotdotnet.com/community/user/viewprofile.aspx?userid=00037FFE
82117F34
"The utility [is] intended for linking multiple managed modules or
assemblies into a single module or assembly."
> -Original Message-
>
>
>Encoding windows1252Encoding = Encoding.GetEncoding(1252);
>
>
Ahh, GetEncoding is what I was overlooking. Thanks.
Kyle
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Ok. This is the deal. Using a single connection and the DataReader I brought
the entire production data base to its knees simply by doing a select
statement to see if an item already exists on the database. I had to abort
the process after an hour when management screamed because of performance.
(
There is no static linking available in C#. If you want this type of
dependency, make the source containing the class you wish to use a part
of the executable.
J. Keith Wedinger
Senior Software Developer
Sterling Commerce
[EMAIL PROTECTED]
-Original Message-
From: dotnet discussion [ma
Are there any C# WNet wrappers in the Framework, or third party.
Thanks...David
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
I would like to use one stand alone class from a compiled assembly,
Utility.dll, of utility classes.
I would prefer that my application, MyApp.exe, not be dependent on the
existence/location of the source assembly.
How can I tell C# to grab the relevant MSIL from Utility.dll and put
it in MyApp.
When configuring an HTTP handler, the documentation states that the "path attribute
can contain either a single URL path or a simple wildcard string". Is the actual
grammar for that "simple wildcard" format published anywhere? (I'm trying to
determine the limits of configurability here.)
TIA
Kyle Alons [mailto:[EMAIL PROTECTED]] wrote:
> I wish it were that simple, but it doesn't work. It writes a
> question mark char (ascii 0x3F) to the file. I originally
> looked at the ASCIIEncoding class, but the docs state that it
> only supports chars through 0x7F (7 bits). Any other ideas?
Mattias,
I've checked it - it's a metafile.
What should I do with it?
Thanks... Alex
On Fri, 3 May 2002 18:00:35 +0200, Mattias =?iso-8859-1?Q?Sj=F6gren?=
<[EMAIL PROTECTED]> wrote:
>Alex,
>
>>I get exception: "A generic error occurred in GDI+".
>>I am pretty much sure that I get a valid IPic
Hello everyone:
I have encountered a rather perplexing problem re: visual inheritance.
I inherit from a form that has existing menu items.
If I add a menu item in the derived form, it will disappear from the design
view when I close and re-open the design view.
However,all the initialize code r
On Fri, 3 May 2002 13:21:35 -0400, Marsh, Drew <[EMAIL PROTECTED]> wrote:
>Kyle Alons [mailto:[EMAIL PROTECTED]] wrote:
>
>> What it writes to the file for the copyright character is
>> UTF-8 encoding (two bytes). What is the trick to get it to
>> write the single character 169 (copyright char i
Kyle Alons [mailto:[EMAIL PROTECTED]] wrote:
> What it writes to the file for the copyright character is
> UTF-8 encoding (two bytes). What is the trick to get it to
> write the single character 169 (copyright char in codepage
> 1252)? Thanks.
You need to go about creating your File and Stream
Given the following code:
string x = "Copyright © 1999";// contains copyright symbol, char 169
(0xA9)
StreamWriter f = File.CreateText(@"c:\t.out");
f.WriteLine(x);
f.Close();
What it writes to the file for the copyright character is UTF-8 encoding
(two bytes). What is the trick to get it t
Hi,
I would like to know if it is possible to explicitly force a thread to run
in a particular AppDomain. Is it possible to make an AppDomain switch
without getting a proxy to an object created in that AppDomain?
Any help greatly appreciated.
Thanks in advance,
Ram.
You can read messages from
> I believe I'm OK security wise as the string is created in a
> data translation layer that converts a persistable object to
> a Sql string.
:-)
I just always consider that since I was last burnt by it
> The Sql string represents a parameterized call to a stored
> procedure and is passed to a
Alex,
>I get exception: "A generic error occurred in GDI+".
>I am pretty much sure that I get a valid IPicture.
Perhaps it's not a bitmap, but some other kind of picture (e.g. an icon).
See what IPicture.Type returns. If it's an icon, use Icon.FromHandle() instead.
Mattias
===
Mattias Sjögre
Well, yes, but I would also argue that, in this particular case it's not
only performance that is a concern but also complexity.
The fact that exception handling is generally expensive is hardly a
justification for making it even more so. And even programmers who know so
will continue to use expe
Also, gcConcurrent does not have much to do with svr or wks CLR.
It just controls whether or not GC should happen on a concurrent thread
Pradeep
http://www.tapadiya.net/pradeep
- Original Message -
From: "Willy Denoyette" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 03,
Nice. I never need to know the contents of the structure, its just used to
hold session info. My code now works.
Many thanks
Kevin
>Just declare the return type as an IntPtr and treat it like a handle. If
>you need to look at the contents of the LDAP struct, use
>Marshal.PtrToStructure().
>
>
David,
All those interfaces you found in AxHost are for the general purpose of
hosting OCX controls. Keep in mind the the ocx control hosted inside is
WebBrowser, which in turn is the host of MsHtml. MsHtml was designed
specifically to allow a component hosting WebBrowser to customize MsHtml by
s
How do I set the client location and size in my UserControls? I want to
implement a border and have a custom client location and size.
Reggie
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Hi Chris:
I believe I'm OK security wise as the string is created in a data
translation layer that converts a persistable object to a Sql string.
The Sql string represents a parameterized call to a stored procedure and is
passed to a Sql command object.
The big drawback to this approach is no a
Please ignore my last posting, sometimes you get to lazy to scroll notepad
window down ..
sorry ..
// patrik
- Original Message -
From: "Patrik Löwendahl" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 03, 2002 5:21 PM
Subject: Re: [DOTNET] RegisterPostBackScript
> That
VB.NET still supports late binding (without having to explicitly use
reflection).
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
Rolls, Robert
Sent: Thursday, May 02, 2002 11:59 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Dynamic Objects.
hmm If I w
That part works fine, but its the registration of the post back hidden
fields and javascript that doesn't work as it should ..
The docs tells you all about adding the attribute, not how to force the
rendereing of the __doPostBack js function...
// Patrik
- Original Message -
From: "Mitc
Hi Chris,
I get exception: "A generic error occurred in GDI+".
I am pretty much sure that I get a valid IPicture.
How can I find a more specific error than what I get?
Thanks... Alex
On Fri, 3 May 2002 08:37:57 -0500, Chris Sells <[EMAIL PROTECTED]>
wrote:
>Jon Flanders showed me this:
>
>
Ignore my previous note. I was confusing closing the DataReader with the
Connection. Having the one connection definitely increases the performance,
I am not sure by how much yet though.
-Original Message-
From: Christopher Castelot [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 10
I haven't tried this yet, but if it works, which I think it might, it's cool. Thanks
Jim. You the man
-Original Message-
From: Jim Arnold [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 4:29 AM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] dataset.GetChanges on deleted rows
A
Initially I was opening and closing the connection every time. I changed
things around so that I could reuse the connection but it seems to me that
using the DataReader I can not keep the connection open. While using one
connection the following error is thrown:
{"There is already an open DataRead
Erick Thompson [mailto:[EMAIL PROTECTED]] wrote:
> This should be faster. I'm not sure about the Insert method
> as far as performance goes but this method shouldn't cause
> any unneeded string allocations. However, I'm sure it could
> be improved on.
>
> public static string DoQuotes(string sqlP
This works for me.
Dim p As stdole.IPicture
p = CardBitMap.Get(index)
Dim bmp As Bitmap
Dim ip As IntPtr
ip = New IntPtr(p.Handle)
bmp = Bitmap.FromHbitmap(ip)
-Original Message-
From: Moderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED]] On Behalf Of Alex Yakhnin
Sent
ACT has MS compatible script engine support, and u can create any COM object
using VBScript (last time i used, it did not support JSCript, but there is
no reason y it can not in future versions). u just have to remember that
since it is service, it runs under the security of the either Local Syste
Try GetPostBackEventReference or GetPostBackClientHyperlink. See "Generating
Client-Side Script for Postback" in the docs.
-Original Message-
From: Patrik Löwendahl [mailto:[EMAIL PROTECTED]]
Sent: Fri 5/3/2002 9:37 AM
To: [EMAIL PROTECTED]
Is there any possibility to add references to my actual project with code
from Custom Visual Studio Editors? (maybe a IServiceProvider). I know
there is a References property in the VSProject object model, but this is
another environment.
There must be a service doing just that task. For example t
According this page [1], "Object-remoting scenarios are not supported
for partially trusted code applications."
[1]
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetse
c/html/Aptcatypes.asp?frame=true
-Original Message-
From: Steve Albert [mailto:[EMAIL PROTECTED]]
S
Just declare the return type as an IntPtr and treat it like a handle. If
you need to look at the contents of the LDAP struct, use
Marshal.PtrToStructure().
Mattias
===
Mattias Sjögren
[EMAIL PROTECTED]
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to ot
Have created asp.net server control. Want to register custom events (other
than click) for the content rendered. This nice little method
RegisterPostBackScript on the Page class, is supposed to to that. But what
do you know? They've marked it private ... *grumble*, wehn taking the
webcontrol textb
Chris,
I think I've figured this one out. Based on this Q article [1], you can
add a site to the Trusted Sites zone at the machine level [2]. I've
found that the easiest way to do this is to (temporarily) add the site
to Trusted Sites from the IE UI. This will create the appropriate
registry k
Check the ViewState property . . .
Steve Holak
Senior Software Architect
Brokerage Concepts IS Dept.
610-491-4879
email: [EMAIL PROTECTED]
"Joseph J. Sarna
Jr." To: [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
1 - 100 of 113 matches
Mail list logo