all groups > dotnet framework > september 2006 > threads for september 29 - 30, 2006
Filter by week: 1 2 3 4 5
ObjectDisposedException if USBtoSerial Port is unplugged
Posted by rfw68 at 9/30/2006 3:17:02 PM
Hello,
I'm writing an Application for a serial device, which is using a
USB-to-Serial Converter. I'm polling that device for new data every 500 ms.
So this is working fine.
But if the customer unpluggs the USB-to-Serial Converter, I get an
System.UnauthorizedAccessException on the next w... more >>
Error opening database
Posted by Steve Barnett at 9/30/2006 2:12:17 PM
I've developed a test application on my PC that uses the JET Engine. The
connection string is very basic and is constructed as follows:
connectionString = String.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source='{0}'", modelName);
On the development PC, this works fine. On a test PC,... more >>
How to pass a Dataset as a parameter to a WebService
Posted by Poornima at 9/30/2006 1:10:06 AM
I need to pass a DataSet from my windows application in vb.net to a
webservice .
Thanks In Advance
... more >>
HTMLTextWriter... and to read?
Posted by Andrea Raimondi at 9/30/2006 12:00:00 AM
Hello,
I'm using dotNET 1.1 and I found this wonderful class, HTMLTextWriter,
which is half of what I need :D I also need an HTMLTextReader but,
judging from the help files, it's not there.
Any suggestion on what the correct class name may be?
TIA,
Andrew... more >>
SQL Connection Query
Posted by Poornima at 9/29/2006 11:36:01 PM
Hi
I have a windows application in VB.net which creates a dataset and
updates the dataAdapter by connecting to the SQL Server 2005 and sends
the dataset as a parameter to my webService.My code is
Dim strCon As String
Dim sValue As String
Dim strQuery As String
... more >>
Installing .net framework 3.0
Posted by David Houliston at 9/29/2006 2:53:02 PM
The uninstall tool indicates that all previous installs have been
uninstalled. The download of 30MB but then just as the installation starts I
get the error log:
[09/29/06,21:45:35] VS Scenario: [2] CPrevProductInstalledCheck failed :
<font face=Verdana size=8pt>
Thank you for participatin... more >>
DataGridView vertical scrollbar freeze
Posted by Oyvind Eriksen at 9/29/2006 2:25:37 PM
Hello.
I have an application that includes a DataGridView.
This application load data into a DataTable based on mpeg audio files which
the application validates.
Since this can take some time (specially if you choose several large files)
the void which load the data runs on a seperate thread.... more >>
Floating Point Calculation Problem
Posted by DJ at 9/29/2006 1:16:01 PM
Hello,
In an application that worked fine until recently I have started to have
problems with calculations involving two doubles. For example: -24.708 +
26.0 = 1.2920000000000016, however, -24.708 + 8.0 = -16.708. What would
cause this? I don't think the numbers are so large that it wo... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
listbox drop style
Posted by GS at 9/29/2006 12:09:16 PM
in visual studio 2005 express VB I found mention of drop style for listbox
but so far my searches came up empty as to how and what they are.
I was to set height and I figure I can probably do something with setting
height during the focus events to simulate drop down list
However if there ar... more >>
String -> StringBuilder Optimization
Posted by Michael D. Ober at 9/29/2006 9:52:06 AM
OK, I can't figure out a way to optimize the following VB 2005 code using
StringBuilders:
Public Const RecSize as Integer = 105
Private buffer As String
Public Sub New()
init
End Sub
Public Sub New(ByVal value As String)
buffer = LSet(value, 105)
End Sub
Public Sub init()
... more >>
regex expression
Posted by GS at 9/29/2006 8:09:25 AM
what is a good general regex expression for html <img ....> tag?
I tried
"<img [/:.a-z =0-9\""_;&]*\->", RegexOptions.IgnoreCase)
but it is not quite working
thank you for your time
... more >>
ASP.NET web farm with Oracle - design and deploy
Posted by yoram.ayalon NO[at]SPAM structuredweb.com at 9/29/2006 8:08:29 AM
We have a web application running on classic ASP, where the session is
maintained in the Oracle DB, so every page redirect/form submit can
switch servers without any problem
we are looking now at writing a .NET application on the farm using same
Database. a couple of questions/notes:
- I u... more >>
Is new & free in CLR heap fast?
Posted by Hyun-jik Bae at 9/29/2006 12:00:00 AM
I am a newbie in C# programming. I've been working in C++ language for some
years.
The new/delete statement in C++ is rather slow so it is recommended using
static data structure in some cases which require very fast performance as
you know. However, there's no way but using value type class ... more >>
Algorithm of lock (obj) { ...} statement in C#
Posted by Hyun-jik Bae at 9/29/2006 12:00:00 AM
What is the algorithm of lock(obj) { ... }?
The statement above roughly makes me guess that the lock/unlock algorithm in
CLR is inefficient because it adds a critical section for each CLR object
instance.
Am I right? Please reply. Thanks in advance.
Hyun-jik Bae
... more >>
|