microsoft.public.dotnet.languages.vb.upgrade Archive - July 2002
Post a message to this list
Messages
Page: 1
Bug or am I an Idiot? (5 replies)
microsoft.public.dotnet.languages.vb.upgrade
I have got a problem when I do a division. I have the following code ********************************* Dim mgn As Single Dim temp As Single Dim result As Single mgn 23.976 temp 1.8 result mgn / temp ********************************* Result should be 13.32 but in Visual Basic.Net the result is 13.3200006 When I make the variables double I get 13.3199999999 which is also wrong. What am I doing wrong...
Using ADO (not ADO.net) in VB.NET - PLEASE PLEASE PLEASE HELP ! (9 replies)
microsoft.public.dotnet.languages.vb.upgrade
Hi All I've been stuck on this for days..... Anyone knows if it is possible to use ADO in VB.NET and bind text fields and other components to a data source? Thanks
VB6 Code convert (4 replies)
microsoft.public.dotnet.languages.vb.upgrade
Anyone know how to convert the following VB6 code to vb.net I use it to fill a RTF Text box. When it hits the 2nd .SelText it errors out "An unhandled exception of type 'System.InvalidCastException' occurred in microsoft.visualbasic.dll" "Additional information: Cast from type 'Field' to type 'String' is not valid." Thanks Heath With frmQuoteSearch.DefInstance.txtNoteText(i) .SelBold True .SelText...
ListView vs AxListView (2 replies)
microsoft.public.dotnet.languages.vb.upgrade
What's the difference between ListView and AxListView?
How to determine why a form is closing ? (2 replies)
microsoft.public.dotnet.languages.vb.upgrade
The documentation says: "If it is necessary to determine why the form is closing, you will need to create an overloaded version of the Closing event with custom code to determine the caller. " But does not show a sample of how to do this. Can anyone send me a fragment ?
DataBase Searching in VB.NET (2 replies)
microsoft.public.dotnet.languages.vb.upgrade
Im converting a VB6 database program in VB.NET and im doing this from the ground up. However some things that I could do in VB6, I cant do in VB.NET and one of those problems is searching though the DataBase. Code I used in VB6: Dim searchstr$ searchstr$ SearchBox.Text Data1.Recordset.FindFirst "Description " Chr(34) (searchstr$) Chr(34) If Data1.Recordset.NoMatch Then beep End If So how would I c...
The Char DataType (3 replies)
microsoft.public.dotnet.languages.vb.upgrade
I am confused about the new Char data type. Reading the documentation, seems to me that I can store only one unicode character per Char variable. But if I need to store an entire phrase in Unicode format, where should I store it, in a String variable or in a Char variable? I can't see where can be useful to store only one unicode character per variable. I thank you for any insights. Regards, Chris...
Show a form without focus (4 replies)
microsoft.public.dotnet.languages.vb.upgrade
Hi, I need to show a secondary form (form2) from another form (form1) but I need to keep the focus in the first form (form1). I want to make something like a ToolTip window I can do that in VB6 with this code: ShowWindow Form2.hWnd, SW SHOWNOACTIVATE How can I do it in VB.Net Esteban
ADODB.Parameter.Append(param) error (4 replies)
microsoft.public.dotnet.languages.vb.upgrade
While I was learning how to use ADODB.Commands I found it easier to build up the parameters first and then append them to the command object, and I carried on because although it's verbose and slightly more time consuming the code is a lot more readable particularly if you want to set differing values depending on an If..Else. etc..It doesn't seem to work in VB.Net. Today I converted one applicati...
Variant vs. String data type, is not Variant less efficient? (50 replies)
microsoft.public.dotnet.languages.vb.upgrade
Under what circumstances is using a Variant data type more efficient than using a string data type IF the data is always going to be string? I was raised in the belief that using Variant was always slower. For example, the "Data Types" topic in the MSDN Oct 2001 library states: "If you know that a variable will always store data of a particular type, however, Visual Basic can handle that data more...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification