all groups > dotnet general > may 2005 > threads for wednesday may 18
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
VB.Net Maths Bug?? Please Help.
Posted by Scott Gunn at 5/18/2005 9:19:55 PM
Hello All,
In VB.Net 2003 why is this the result to a simple maths calculation?
3.53 - 3.52 = 0.00999999046325684
Its not just this one either try this:
1.001 - 0.001 = 0.999999999999989
Coding example:
Dim Calc1 As Double = 3.53F
Dim Calc2 As Double = 3.52F
Msgbox(Calc1 - Calc2)
... more >>
Disposing in a sealed class
Posted by Buddy Ackerman at 5/18/2005 9:18:38 PM
I have taken over an application that has a sealed (singleton) class for database access. I want to add a private
SQLConnection class variable and open the connection it whenever it is instantiated and close it when the class it
disposed. I do this so that I can call mutiple methods within the... more >>
.NET and OpenSource....
Posted by HamorSth at 5/18/2005 8:47:16 PM
What does "open source" mean in the .NET platform while almost all
"non-obfuscated" codes are "Open-Source"? Just yesterday i got an add-in for
my ".NET Reflector" which saved the entire disassembled-to-C# "mscorlib"
library for me in .cs files, and i now have a project on my computer that
was o... more >>
page break style with aspx form
Posted by Scanner2001 at 5/18/2005 8:26:10 PM
I am trying to insert a printer page break inside of a form. I do not
seem to be able to do this.
My form contains 3 asp panels. Each of the panels have dynamically built
content, and they are dynamically displayed based on certain conditions.
What I want to do, and I thought this would ... more >>
C# to VB.NET IClonable
Posted by AMerrell at 5/18/2005 4:30:40 PM
Hello,
There is a C# funciton I'm trying to translate that clones some event handlers.
public virtual object Clone()
{
...... Instance of a Custom Collection .......
myCol.ItemAdded = this.ItemAdded;
myCol.ItemRemoved = this.ItemRemoved;
... more >>
Directory.Exists returning wrong results
Posted by JohnFol at 5/18/2005 3:01:09 PM
I have mapped a drive letter p: to a server\share. Within the drive is a
direcotry. If I Start/Run p:\Dir I can see the files.
Now, in code I do the following:
? System.IO.Directory.Exists("p:\Dir")
and get false.
Any ideas?
... more >>
Windows Basic Authentication without IIS
Posted by maltobelli at 5/18/2005 2:23:14 PM
I am building a small 2-tier smart application (my first .NET app) that will
be used by some users in our department on a shared terminal. It is required
to authenticate their username and password against LDAP/directory services,
so we know who is really entering the information.
All the ... more >>
About the listbox control
Posted by Brian at 5/18/2005 1:53:24 PM
Hi, All,
I'm using MS.net 2003 and using a windows.forms.listbox control for my
window application but I don't know why the Horizontal Scrollbar could NOT be
shown even if I set HorizontalScrollbar = true. The text info in listbox
already beyond its right edge. How can I see the hidden part ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Cryptostream with complex files
Posted by ghause at 5/18/2005 1:36:04 PM
I'm using a crypto stream to encrypt/decrypt files. It works fine with simple
files like .txt but butchers pdfs and xls. Is there a solid way to
encrypt/decrypt files that are more complex than plain text?
Thanks... more >>
Strange Results testing .Net vs. COM vs. Classic ASP ...
Posted by RichDef at 5/18/2005 1:30:05 PM
Hello everyone!
I have been running some tests of a component that simply returns an image
path based upon some logic and a simple select statement to an Access db. The
component had to be available to Classic ASP apps and ASP.Net apps from a
central location. Performance is a great concern... more >>
.NET Framework VB
Posted by Sharrukin Amiri at 5/18/2005 12:41:24 PM
does any of the OS have the .NET Framework installed? or do we have install
it for the customer in order to run our .NET apps?
Sharrukin
... more >>
Components / Assembly
Posted by CapnOdie at 5/18/2005 12:41:01 PM
Greetings All,
Please aid a newbie to the .net world. I cannot find a good description of
either a component or an assembly. Can you give me a brief description of
both and how they are used??
With Respect,
--
CapnOdie... more >>
Where can I report a bug in the IDE?
Posted by Ken Baltrinic at 5/18/2005 12:30:28 PM
I am experiencing two consistent bugs in the VS IDE and would like to know
where to report them to Microsoft.
... more >>
Accessing the Global.asax
Posted by BillG at 5/18/2005 12:10:03 PM
I have a solution that has 3 projects in it. A web application called
USITracking. A project library holding my business logic classes and a
project library holding my data logic classes. From my business logic
classes how can I assess the global.asax?
... more >>
Help or comments appreciated.
Posted by Brad Jones at 5/18/2005 11:26:42 AM
<Previously posted in microsoft.public.dotnet.framework.windowsforms>
Hi all. Any suggestions here would be appreciated. Thanks for reading.
I'm primarly a C++ developer but I've been trying to complete development on
a C# application with the following basic requirements:
- The app runs in ... more >>
vb to vb.net functions
Posted by Mike D at 5/18/2005 10:39:03 AM
I am used to using vb function like replace, inst, cstr etc. What is the
best way to find vb.net equivalents or does it matter if I continue to use
the old functions?
Mike... more >>
ASP.NET requirements? This CAN'T be true
Posted by Scott Lee via .NET 247 at 5/18/2005 10:27:14 AM
(Please pardon me if this is a duplicate --- not sure if message=
posted)
Hello,
I have been working my tail off developing an ASP=2ENET=
application=2E Now that the project is nearing completion, an=
anti-microsoft type has complained that "much of =2ENET in a web=
server environment... more >>
HANDLES NOT BEING RELEASED
Posted by Mark Escandon at 5/18/2005 10:11:03 AM
I'VE POSTED THIS BEFORE BUT I STILL HAVE THE PROBLEM-
I wrote a database client with vb.net. It runs fine for about a week and
then I loose all connectivity. Windows NT displays a system error "no more
internal File identifiers".
I checked my program carefully to make sure that every odbc a... more >>
Help File Authoring
Posted by Ron L at 5/18/2005 9:00:05 AM
I am at the beginning of a new project, and want to have my developers work
on the Help files as we are developing the new application forms. Since
most of my previous work has been in the ASP arena, I am not familiar with
Help file authoring tools and process. Can anyone point me to a good ... more >>
Free Beta not free?
Posted by Jon Gabel at 5/18/2005 7:16:59 AM
I received an invitation card with a magazine for a "free" copy of
Visual Studio 2005 Beta 2. The card says "Enter this code and receive
free shipping." I went to the specified site,
www.microsoft.com/getthebetas, and after I entered all of the
requested information I was asked for a credit card... more >>
issue with split function in vb.net
Posted by NewToThis at 5/18/2005 6:10:09 AM
I am trying to use the split function to bread up lines in a file I am
reading from. Some lines are working just fine, but a couple of the lines
don't split up the way I would have thought.
Here's part of the code.
Dim strDelim As String = "*~"
Dim delimiter As Char() = strDelim.ToCharArra... more >>
Debugging problems in VB .NET 2003
Posted by Roman (CZ) at 5/18/2005 5:40:04 AM
Hello,
I am trying to debug my very first VB.NET 2003 application (I am upgrading
from VB 6.0) and it seems to work differently from VB 6.0 debug:
When I change the design of my splash page (e.g. change the size and delete
some controls) and then click on debug, my splash page appears and ... more >>
imagelist problem with treeview and listview
Posted by brunchto at 5/18/2005 2:11:01 AM
Hi,
I've this code:
Dim ImageList1 As New ImageList
ImageList1.Images.Add(Image.FromFile("..\images\statusOK.bmp"))
ImageList1.Images.Add(Image.FromFile("..\images\statusKO.bmp"))
TV.ImageList = ImageList1
Dim rootNode As New TreeNode("Test", 0, 1)
... more >>
Is there a substitute for SmtpMail?
Posted by thejackofall at 5/18/2005 1:49:30 AM
Hi.
I need to send emails, but I can't use SmtpMail because SMTP is turned off
on the server. Is there a stand-alone mail software or product I can
incorporate into my application which does not use SMTP?
Thanks in advance.
J
--
Be Cool!... more >>
Assembly linking
Posted by Atul Godbole at 5/18/2005 12:00:00 AM
Suppose an assembly "Main" is using class "A" from another Assembly "Dep" as
follows :
A a = new A();
a.MethodOne();
At what time is the call to MethodOne linked to the actual MSIL (method
body) of the method? Does this occur when "Main" is build or does it happen
when main is loaded an... more >>
oledb DataAdapter and DataTables
Posted by Chris Mayers at 5/18/2005 12:00:00 AM
Hi,
Anyone know if it is possible to change the RowState of a DataRow in a
DataTable. I have a DataTable that has been built up from a combination of
reading from a database and some user input. What I want to do is to 'trick'
it into writing new rows into a different (but with the same fieldn... more >>
|