Trouble Checking For Characters Using VB.NET And Visual Studio 2005
Hello all,
I'm working on a function that takes in values in feet, inches, and fractal amounts in this format to begin through a system of textbox controls: 125' 2 1/2", strips un-needed characters (I currently have a separate function called RemoveIncorrectCharacters that uses replace to take out any characters that may be incorrectly entered by character reference of common characters available in a standard keyboard). I am using a split function and string arrays along with this to accomplish filtering the string and converting the value to decimal inches in my function. For the display in my application I have a function that takes the decimal inch value I have stored in the db and converts it to this format: 125' 2 1/2" and that is currently working properly.
The problem I am having is properly determining whether or not the character exists in the string I am working with as this function executes and as I break the string apart to process. The particular line of code in this function that I believe I am not getting right refers to this statement residing in each of my if else's: (tmpFootValStr.IndexOf("'") < 0).
I'm fairly new to the software development environment so I am new to this type of string manipulation I am attempting to incorporate into my function so for anyone who has any advice or input thanks in advance; it is greatly appreciated.
Public Function ConverToDecimalInches(ByVal LenString As String) ' First take the string and run it through a character stripping method ' that will take out all characters not needed for Feet and Inches input RemoveIncorrectCharacters(LenString) ' The newly converted string minus un-needed characters ' is assigned to the Global class variable strTempLentextCheck LenString = strTempLentextCheck ' First an array is declared here to take in the string and split the string Dim tmpStringArrayFirstRead() As String = Split(LenString, "'", LenString.Length) '' Variables to hold and process feet values Dim tmpFootVal As Double = Nothing Dim tmpFootValStr As String = tmpStringArrayFirstRead(0) ' Array string for the first read Dim tmpStringArraySecondRead() As String = Nothing ' Variables to hold and process inch values Dim tmpInchVal As Integer = Nothing Dim tmpInchValStr As String = Nothing ' Array string for the first read Dim tmpStringArrayThirdRead() As String = Nothing ' Variables to hold and process fraction values Dim tmpFractionVal As Double = Nothing Dim tmpFractionRightVal As String = Nothing Dim tmpFractionLeftVal As String = Nothing Dim tmpFractionValStr As String = Nothing ' This is used to identify the quote character ' and assign that value to a single string variable Dim tmpQuoteString As String = Chr(34) ' if the apostrophe exists in the string which will ' reside in the first spot of the array that it ' was previously stored in tmpStringArrayFirstRead If (tmpFootValStr.IndexOf("'") < 0) Then ' The Feet value stored in tmpFootValStr has 1 ' subtracted from it's length to take the apostrophe off tmpFootValStr = Replace(tmpFootValStr, "'", "") ' That string value is assigned to an integer variable tmpFootVal = tmpFootValStr ' Divide by 12 to get the decimal inch value out of the feet entered tmpFootVal = tmpFootVal / 12 ' This takes the second half of the string that was split ' and stores that temporary value in the tmpInchValStr tmpInchValStr = tmpStringArrayFirstRead(1) ' Now using the previous value tmpStringArraySecondRead ' is used to split that section of the string where a quote or ' Chr(34) exists tmpStringArraySecondRead = Split(tmpInchValStr, Chr(34), tmpInchValStr.Length) ' assign the first position of this new array to ' the temporary Inch string variable tmpInchValStr = tmpStringArraySecondRead(0) Else tmpFootVal = 0 ' If this is the case there should only be 1 spot ' in tmpStringArrayFirstRead containing the ' whole string entered by the user tmpInchValStr = tmpStringArrayFirstRead(0) ' Now take that value and split it into another array ' according to a Qoute if it exists tmpStringArraySecondRead = Split(tmpInchValStr, Chr(34), tmpInchValStr.Length) End If ' if the apostrophe exists in the string which will ' reside in the first spot of the array that it ' was previously stored in tmpStringArraySecondRead If (tmpInchValStr.IndexOf(tmpQuoteString) < 0) Then ' Replace the quote at the end of the inch amount entered ' and assign the value to a string tmpInchValStr = Replace(tmpInchValStr, tmpQuoteString, "") ' The string value is assigned to an integer once the quote is gone tmpInchVal = tmpInchValStr ' tmpFractionValStr is set to the second position ' of the tmpStringArraySecondRead- tmpFractionValStr = tmpStringArraySecondRead(1) Else tmpInchVal = 0 tmpFractionValStr = tmpStringArraySecondRead(0) End If If (tmpFractionValStr.IndexOf("/") < 0) Then tmpStringArrayThirdRead = Split(tmpFractionValStr, "/", tmpFractionValStr.Length) tmpFractionLeftVal = tmpStringArrayThirdRead(0) tmpFractionRightVal = tmpStringArrayThirdRead(1) Dim tmpRight As Integer = tmpFractionRightVal Dim tmpLeft As Integer = tmpFractionLeftVal tmpFractionVal = tmpLeft / tmpRight ElseIf (tmpFractionValStr.IndexOf(".") < 0) Then tmpFractionVal = tmpFractionValStr Else tmpFractionVal = 0 End If decimalinches = tmpFootVal + tmpInchVal + tmpFractionVal Return decimalinches End Function
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Code Change From Visual Basic.net - Visual Studio 2005
I am working on a tuturial that i have for Visual basic.net ( for now )
I am working with Visual Studio 2005.
I have been working on a code to change the text color by the name put into
the text box.
Visual Basic .Net code.
Label2.ForeColor = Color.FromName(TextBox1.Text)
i get the error
Name 'Color' is not declared.
I was wondering if someone can show me how things would be in Visual Studio.
thank you
Visual Studio 2005 BUG
I installed VS 2005 and i tried to create a new project but it didnt work I got an error :
(Exception from HRESULT: 0x8007007B)
As I looked for it in google i found that i causes because of "&" character in the path of project. That was true my username has "&" character in its and path was for ex: C:Documents and SettingsX & Y.....
I defined the project and templates directories as another path which doesnt have a "&" in it. But it still doesnt work
Do you know this problem and how can I solve it?
Visual Studio 6.0 && 2005
can visual studio 6.0 and visual studio 2005 exist on the same pc. I just received my VS2005 and I am hesitant in installing it.
Visual Studio 2005
Hello Everybody,
I have an AAS degree as a Programmer/Analyst that I received about 2 1/2 years ago but I never went out and pursued that career because the job market was next to nothing and I was already making pretty good money at the time. I have been programming Databases like mad for the past year (for my own enjoyment) and I am thinking about changing jobs.
So this leads to a couple of questions.
I am pretty green in the programming lingo. I am using Visual Studio 6.0 Professional and I am wondering if it is pretty much outdated. Should I go out and buy Visual Studio 2005, and if so, should I be getting the standard or pro edition? What are the differences between these two editions? I basically want to do database programming with VB, C#, and maybe C++ using the jet engine. Plus I want to be able to use all of the components that are offered in 6.0 Professional.
Plus, what exactly is .NET and what is the difference between Visual Studio .NET and the other versions?
I appreciate any response but please keep it pretty basic. Everything looks like a sales pitch on the Microsoft website so I would like to hear from some experienced people.
Thanks,
Fat_Lip
Visual Studio 2005
Hi, I would like to know does MS Visual Studio 2005 can be use to develop a web based application by VB.Net? I only saw it could be write by asp.Net, but have no idea for vb.Net.
Pls help this newbies to solve her problem. thanks.
Visual Studio 2005
Does Visual Studio 2005 Stasdard Edition interface a with the full version of SQL server (i.e not the express version)?
VISUAL STUDIO 2005
Hello -
We have converted one of our Web Applications to the latest version of Visual Studio.Net and all made upgrade of third party tools - ActiveReports and Infragistics. In testing out the application, it seems fine. However, I would like to add a new form to my application and the Web Form Designer Generated Code (#Region) does not appear. In researching this further, I also noticed that it doesn't belong to a namespace. The code begins as such.....
Partial Class frmtest
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
End Sub
End Class
Why has this happened in the new version?
Visual Studio 2005 And ODBC
when I want to define my ODBC connection string:
dim mydbconn as odbcconnection = new odbcconnection(".......")
the odbcconnection does not show as a valid statement, odbc is available but all the documentation (pulled from .net framework developers guide on MSDN.COM) shows that odbcconnection is a valid statement. I just want to get started connecting to an MS Accesss database using odbc..
Questions About Visual Studio 2005
i just got the 2005 beta, its based on visual basic .net
when i compile a program, it works on my machine, but not in others.
They get a hex error, something like 008673, you know what i mean.
does anyone know why? any possible compiling reasons?
New To Visual Basic Studio 2005
Hi everyone!
I'm new to visual basic studio. Is there anyone who could help me with a problem (which is huge for me!) but probably small for your guys.
I found out how to make a certain form open when clicking a button. Good for me!!!
But it stopped when I tried to put a combo box on a form. I have a data connected to my project. also made a dataset that would suit filling needs for combo list.
I made a custom query inside tableadapter.
Just how can I see all the data.
I Access that was easy as it could possibly be.
Thanks for your comments in advance
I'd appreciate your help very much.
Be well!
Visual Studio 2005 Beta 2
I have a copy of Visual Studio 2005 Beta 2 version. It appears t work fine for my purposes which involve learning Visual Basi and designing applications for my own use. Are there limitation in this version that I should be aware of or that should inclin me to upgrade to the Standard or Professional editions?
Thanks
Visual Studio 2005, Asp.net , Sp_setapprole
I have a DB mssql server 2000 that works with application roles. I need to read some data from an asp.net page, but I don't know how. I know this is not the correct forum, if somebody can help me, it will be great.
regards.
cmn
VB 6 Code In Visual Studio 2005
I have some VB6 code, but i dont have the VB6 IDE/liscense. However, I do have Visual Studio 2005 (.NET). Can I use VS 2005 to compile and run the VB6 code?
Visual Studio 2005 Standard Edition
Hi,
We have an application which converts all the documents(.doc,.rtf,.xls etc.) attached to an Lotus Notes Document to PDF and then merge all the docs into a single PDF and then attach into Lotus Notes Document again.We are currently using VB6 for this .
But,now we want to convert this application to Visual Basic 2005 Standard edition.
Is there any compatibility issue here ?
Is the coding in VB2005 similar to VB6 ?
What else should we watch for ?
Thanks,
Vishal
Building Web-sites With Visual Studio 2005 Pro
Hi,
My department have a licence for visual studio 2005 professional. I currently only use VB6. What features in it are good for developing web-sites with visual basic included. I know there wasn't much in VB6 for this.
Thanks.
Moving A VB 6 Project To Visual Studio 2005
I have a project develpoed in vb 6.0 & have used report,datagrid,and other data binding tools in it. Now I want to open my project with Visual Studio 2005.When I try to open the .vbp file, it asks me if I wish to upgrade to .net platform but stalls in between during conversion.Says sth like :
" upgrade failed. Exception occured: could not load referenced components:
Microsoft Data Report DEsigner 6.0.1.0.0.,MicroSoft Data Environment Instance......etc.
In the end it says," It is recommended you install VB 6.0,with all referenced components,and ensure the application compiles and runs before upgrading."
I already have Vb 6.0 and have compiled and run the application before trying to upgrade.
Please help me regarding this "seemingly" complicated issue.
How To View VB Code In Visual Studio 2005
I am an Access programmer who is very proficient in VBA. I am trying to help someone out with a VB application they have and I am very confused. I hope someone can just point me in the right direction. I have reviewed many forums here at Tek-tips and on the internet and there is so much information that I don't know where to start.
This application has an Access backend but the screens are all VB. I am not sure but I think VB6 was used. I have the source code and the database.
How can I view this code? I ordered a trial version of Visual Studio 2005. When I open the project, which is an .exe file, I see the database tables. But when I open the source code .frm files, I see the VB code in a top-down screen, as I would in the VBA modules in Access. I expected to see a GUI interface with buttons, etc. like I do in Access. I used VB6 many years ago and I know it didn’t look like this top-down code.
I would appreciate any info as to where to look to see the source code and be able to run the screens against the database.
Thanks so much.
Alexis
Visual Studio 2005 Upgrade Decision Help
Now that Visual Studio 2005 has been out a while I'm hoping that someone can
give me some insight on what version to upgrade to (standard or
professional). I went out on Microsoft's site and looked at the comparison
chart and didn't find anything really significant between the two versions
from my perspective. I have Visual Basic Professional 6.0 and have written
a few standalone programs. No network, no databases just a few simple
programs for myself and others that perform simple but very specialized
tasks. Right now I believe that upgrading to the Standard Edition is
probably my best bet but I also thought upgrading to XP Home Edition instead
of XP Pro Edition was the right decision too (grin). Can anyone give me a
hard reason why it would be better to to upgrade to the pro version over the
standard version?
Visual Studio 2005 Standard Edition
Hi,
We have an application which converts all the documents(.doc,.rtf,.xls etc.) attached to an Lotus Notes Document to PDF and then merge all the docs into a single PDF and then attach into Lotus Notes Document again.We are currently using VB6 for this .
But,now we want to convert this application to Visual Basic 2005 Standard edition.
Is there any compatibility issue here ?
Is the coding in VB2005 similar to VB6 ?
What else should we watch for ?
Thanks,
Vishal
<Chit Chat> Visual Studio 2005
With the new version of Visual Studio headed quickly in our directions I was wondering how many of us loyal VB 6.0 programmers are going to make the change? I know I am, but what are your thoughts?
*On MSDN I read Visual Studio 2005 offers 'REMOTE' debugging! Did I not understand that correctly?
How Can I Create Textboxes Array In Visual Studio 2005?
Hi everyone,
I'm new in Visual studio 2005.
In Visual basic, if I copy the textbox, it will ask if I would like to create array for the textboxs but It does not ask me such question in Visual Studio 2005.
Can anyone kindly help me to create array for textboxes?
Dawn
FREE Microsoft Visual Studio 2005 Beta 2
http://msdn.microsoft.com/getthebetas/country/
Two strings walk into a bar. The first string says to the bartender: 'Bartender, I'll have a beer. u.5n$x5t?*&4ru!2[sACC~ErJ'. The second string says: 'Pardon my friend, he isn't NULL terminated'.
(RESOLVED)accessing Excel 2003 From Visual Studio 2005 Express
can someone assist i am trying to access excel 2003 from Visual Studio Express 2005 express i am using the code below which opens excel but then gives me an error of com exception was unhandled and highlights the code line " owb= oxl.workbooks.add", any ideas.
VB Code:
Public Class Form1 Public Sub New() ' This call is required by the Windows Form Designer. InitializeComponent() ' Add any initialization after the InitializeComponent() call. End Sub Private Sub Button1_Click(ByVal sender As System.Object, _ByVal e As System.EventArgs) Handles Button1.Click Dim oXL As Excel.Application Dim oWB As Excel.Workbook Dim oSheet As Excel.Worksheet Dim oRng As Excel.Range ' Start Excel and get Application object. oXL = CreateObject("Excel.Application") oXL.Visible = True ' Get a new workbook. oWB = oXL.Workbooks.Add oSheet = oWB.ActiveSheet ' Make sure Excel is visible and give the user control ' of Excel's lifetime. oXL.Visible = True oXL.UserControl = True ' Make sure that you release object references. oRng = Nothing oSheet = Nothing oWB = Nothing oXL.Quit() oXL = Nothing Exit SubErr_Handler: MsgBox(Err.Description, vbCritical, "Error: " & Err.Number) End Sub End Class
Edit: Added [vbcode][/vbcode] tags for clarity. - Hack
Window Vista Home Edition, Can VB4 Thur Visual Studio 2005 Be Installed On It?
Windows Vista home edition, Can VB4 thur Visual Studio 2005 be installed on it?
I am thinking about purchasing a new computer. Maybe a office depot special or
something like that. Most now have Windows Vista on them .
Can Visaul Basic 4, Visual Studio 6, Visual Studio net 2002, & 2003 upgrade and
2005 be installed on that machine without some kind of problem. Maybe I should build
my own system an stick with Win XP?
thank you,
Visual Studio .net 2003 And Auto Code Checking
Hi,
I am using visual studio .net 2003 and the auto code checking is causing me a problem, for some reason its underlining in red
<Form>
<Headerstyle>
<AlternatingItemStyle>
etc...
The code works as I want but why the red lines, someone said it may be that my project has been set to expect a lower version of IE so it's warning me of possible problems. Is this correct and is there a way of turning this off if need be.
Thanks for your help
Joolz
VB.net beginner
2005 Management Studio Date Between Over
select tarih_onay from v_siparissureci
where tarih_onay between '2006-03-21 09:26:00' and '2006-10-03 10:36:00'
Gives error
Msg 296, Level 16, State 3, Line 1
The conversion of char data type to smalldatetime data type resulted in an out-of-range smalldatetime value.
the data in database is formatted as yyyy-mm-dd hh:mm:ss But I have detected that managemend studio 2005 sends the value as yyyy-dd-mm hh:mm:ss .Is there a setting for sql manger studio 2005 to send the value as yyyy-mm-dd hh:mm:ss
Thanks ...
SQL Server Management Studio 2005
I've heard that you can use SQL Server Management Studio 2005 against a SQL Server 2000 database.
1. Is this true? Can I use it to create new tables, views, etc., while staying in 2000 format?
2. Does it fix a lot of Enterprise Manager's (ahem) deficiencies?
3. Does it play nicely with older tools?
4. Finally, the Management Studio Express edition seems to be a free download. Does it ever expire? Is it missing significant parts from the non-Express edition?
Feedback appreciated. Thanks.
LB
Edited by - LarryBlake on 6/19/2006 10:52:54 AM
Vb Studio 2005 Query On Clicking On Keypress.
i want to write a program, that runs in the background, whilst i am working in another window. i want to press a keyboard shortcut, for example ctrl+s (probably what i will use) and i want teh mouse to click in 4 different set places. i have no idea how to even attempt this in vb... as i dont know the code to make the mouse move and click., or how to make it run in background, or even do somethign on shortcut!! HELPP!!
Trouble Downloading VB 2005
I am loading a Visual studio 2005 and am having some trouble
Well actually they MSDN part
I already loaded the Visual Studio discs
Now i am the MSDN discs, it loads and gets to a point were a pop up occurs
this pop up says:
Error 1305.Error reading from file: D:Program
FilesMSDNMSDN8.0Common1033\_vsmsdn.hxq.
Verify that the file exixts and that you can access it
and gives me the options Retry and Cancel
i click retry and it continues and then i get the same pop up
but this time when i click retry it makes no progress
I went throuth the files and I dont have
_vsmsdn.hxq
part
What should I do?
I need to get this loaded befor Thursday so any help at all is much appreciated.
Edited by - Kramer Kosmo on 12/26/2006 9:50:35 PM
Visual Studio 6 And Visual Studio .Net On The Same Drive?
Can you install VS.net and VB6 on the same Drive? I already have VB6 and might install VS.net. I'm wondering if there are any conflicts, do they install in different directories or do you even have a choice other than just upgrading what you already have? I would like to keep both if possible.
Checking SQL 2005 Connection
We have a SQL 2005 database that needs to be updated at certain times with data created from production systems.
However, due to network instability, the connection drops and my scheduled tasks fail, or the network text file is unavailable, also because the connection has dropped.
How do I check the connection at the time that the scheduled task runs, and what possible error messages could be returned ? Ideally, I would like to fall into a timer routine to keep checking the connection, and only once it has succeeded, can the scheduled task close ?
Private Sub mnu_ImpOpenRFCs_Click()
Dim Linestr As String
Dim VarStr As String
Dim StrNew As String
Dim RFCStr(8) As String
Dim i, j, a, b, t
Dim Switch As Integer
MainMenu.Db.Open "Provider=SQLOLEDB.1;Server=HOCBG01;Database=RFCIncidents;Trusted_Connection=Yes"
MainMenu.List1.Clear
MainMenu.List1.AddItem "Connection made with HXXDBG01"
MainMenu.List1.Refresh
With MainMenu.RFC_Current
.CursorLocation = adUseClient
.CursorType = adOpenDynamic
.LockType = adLockOptimistic
.ActiveConnection = MainMenu.Db
.Source = "Select * from dbo.CBG_RFC"
.Open
End With
Open "\Hohelpdskcbg_daily_reportCBG_RFC.txt" For Binary As #1
MainMenu.List1.AddItem "\Hohelpdskcbg_daily_reportCBG_RFC.txt opened for read"
MainMenu.List1.Refresh
Linestr = Space(LOF(1))
Get #1, , Linestr
Close #1
Screen.MousePointer = vbHourglass
Thanks
Microsoft Visual Studio 6/Visual Basic 6 Sp6 RELEASED!!!!
Microsoft released Service Pack 6 for Visual Studio 6, download the latest(and final) service pack if you have VS6/VB6 installed.
Official Page
Official Page of sp6
List of Fixes
See the fixes from sp4 and sp5
Direct Download
Click here to download it (About 62mb)
Download it, it has many fixes included!
As BrianS told me: VB6 SP6, its only 26mb and VB Runtimes sp6 its only 1.02mb
Enjoy the new service pack! It is the LAST!!!!!
Linking To DLL's Created In Visual Studio From Visual Basic
Can anyone give me some usefull tips or links on how to link to routines writen in C++ from Visual Basic
I am aware of the
Declare Function CloseHandle Lib "testdll.dll" (ByVal hObject As Long) As Long
type notation, but I am curious on what I have to do with my DLL to allow this notation to work.
Any suggestions or links would be a great help, thanks!!!
Dumb Question About Visual Basic / Visual Studio...
From someone who has been programming as long as I have, this has got to be a dumb (DUH!!!) question. But if I don't get it answered, I'm going to continue to run around in circles. The problem stems from what appears to be a simple name change, and the fact that I only upgrade my software infrastructure here every few years, so I miss what's going on.
VB6 appears to be the last (terminating) version of Visual Basic. There will be no VB7. But, clearly, the language itself is not being terminated -- just called something else, or is being "assimilated" (resistance is futile) or absorbed into a larger platform, losing its identity as a stand-alone programming environment.
How does Visual Studio relate to Visual Basic? Is the "next generation" version of Visual Basic now being called Visual Basic.NET? Is VB.NET part of Visual Studio? If I get Visual Studio, is VB.NET automatically part of that package? Or is Visual Studio one thing, and VB.NET something else entirely, ordered as two separate things? If I want to keep programming in VB (as a programming language/environment), do I now have to get Visual Studio instead?
Sorry to bother the more enlightened souls here with a DUH question -- but I gotta ask SOMEBODY...
Thanks. You folks have been a GREAT help here.
Newby : Visual Basic And Visual Studio
Hello,
I'm new at this group .
I used to program with Sybase Powerbuilder tool .
I want to learn VB and have to buy the development tool .
Wondering what the difference is between VB and Visual studio .
I want to make programs that will be able to go on the net and use databases . Programs like stockmanagement over the net , etc ...
Witch program do I have to buy to start ?
Thanks for any info .
Ronnie
Trouble In Replacing Characters
Hi;
I want to find a specific character in a string and replace it with another character within " signs
ex:
string is X*NEM*
new string X"#"NEM"#"
how can I do it
if you help me I would be very pleased thank you ....
Having Trouble With Reading Characters Of A File
I have written a program that is supposed to read the number of lines in a file and the number of characters in that file. The line count works but the number count is way off. Can't figure out what I have done wrong, any help would be great.
Code:
Dim file As String
Dim textline As String
Dim counter As Integer
Private Sub cmdexit_Click()
'Exit the program
Call Unload(frmstats)
End Sub
Private Sub cmdstatistics_Click()
'Count the lines and letters in the file
counter = 0
Open "C:" & txtfilename.text For Input As #1
Do While Not EOF(1)
Line Input #1, textline
counter = counter + 1
lbllinesanswer.Caption = counter
Loop
Close #1
'It's this Part that does not work right
Open "C:" & txtfilename.text For Input As #1
Line Input #1, file
lblcharanswer.Caption = Len(file)
Close #1
End Sub
Thanks
Mark
Visual Basic 2005
Does anybody know if their is a version of VB8 (2005) that doesn't have .net framework?
Help With Visual Basic 2005
Ok first
in the form where the timer was placed
in its percedure i have it call my code up in the module
OK my problem is that
i have a splash form and i set the interval for 6 second(6000 (MilliSeconds))
The problem is it doisnt do Anything.
Public Function Timer11() As Object
Dim Timer1 As New Timer
Timer1.Interval = 6000
Timer1.Enabled = True
If Timer1.Interval = 6000 Then
Form1.Show()
frmSplash.Close()
Timer1.Enabled = False
End If
Return 0
End Function
here is where the code is being called
Private Sub Timer1_Tick(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles Timer1.Tick
Call Timer11()
End Sub
Visual Basic 2005 Help
I was asked to develop a program using visual basic 2005 called sliding puzzle.
How to develop?
Visual Basic 6 Or 2005?
i have vb 6 and 2005 but i dont know what is it the differences?
somebody can explain me?
visual basic 2005=visual basic 6+something? or dont contain the whole vb6 command and object?
Visual Basic 2005
I have the following code and it displays the first 4 lines of data from the car.txt file just as I want. However, I have two other cars to display. I know I need to add a do/loop command but anyway I try to add it, I just get errors and no data. Please advise how those would be added so additonal vin numbers can be displayed in the Combo Box from the car.txt file. Thanks for your help. Jo Ann
Private Sub DisplayRecord()
'Read and display the next record.
Dim vinString As String
If vinStreamreader.Peek <> -1 Then
vinString = vinStreamreader.ReadLine()
Me.ComboBox1.Text = (vinString)
Me.Label4.Text = vinStreamreader.ReadLine()
Me.Label5.Text = vinStreamreader.ReadLine()
Me.Label6.Text = vinStreamreader.ReadLine()
End If
End Sub
Visual Basic 2005?
i have a question, will activex controls that work with vb 6 work with Visual Basic 2005?
also when is Visual Basic 2005 expected to be released?
Checking For Non ASCII Characters
Hi,
How would I be able to parse a file and check for non ASCII characters?? I want to parse files that come from a mainframe to ensure that there are all ASCII characters in them.
Any help would be appreciated.
|