VS 2008 : "Data Must Be XOR'ed Before Separated"
Jul 20, 2009
I'm still trying do read some data from a serial port device. After a lot of "surfin' the web", I finally found some documentation. It says that "All info must be xor with 0xDF before seperated".
View 1 Replies
ADVERTISEMENT
Jan 23, 2011
I'm brand new to visual basic and I've been given an exercise to extract data from a text file. I can get the lines of data to read in and can get the names out using the following code. How can I extract the department i.e. sales and finance also using the mid and instr functions? I also need to be able to list list the people by department using a dropdown combo box.
[Code]...
View 3 Replies
May 22, 2011
I need to be able to write some data sepererated by commas (3 Datas) then go to next line. I am using the following code:
CODE:
Dim textfile As String = "C:Documents and SettingsAll UsersDocumentsDesktop CalendarSaved SchedulesSchedules.txt" My.Computer.FileSystem.WriteAllText(textfile, Me.ComboBoxMonth.Text, False & Conrolchars.Newline)
View 5 Replies
Mar 19, 2010
I am having trouble turning a set of data from a .txt file into arrays, basically, what i have in the text file is:
Eddy vbtab 20
Andy vbtab 30
James vbtab 20
View 3 Replies
Feb 26, 2011
i have this MDI parent and A Menu..... in a file menu, i have a log-in... when you click the log-in, the log-in system will show...my problem is when i click CANCEL then click it again it will be separated in the MDI PARENT and form another window..
here's a picture of it:
View 2 Replies
May 22, 2012
This is my first 'serious' VB2008 project. Attempting to write a comma separated file. vis:
[Code]...
Is there a better method for outputing the data, rather than having to concatinate all the elements into a string and then writing it? In the 'good old VB6' days a Print statement followed by each value and a separator would do the trick. I can't seem to find the appropriate override for the WriteLine method.
View 4 Replies
Dec 3, 2010
i want to send two e-mails with VB08 and make them seperate.First mail is the contains of textbox1.text and textbox2.text to an e-mail and the second is and automated message that have to be sent to textbox3.text (where the user type his email) and i have so far managed to do exactly what i want except a little problem.The automated message will include the first e-mail address (the one that recieves txtbox1 and 2) and the txtbox3's e-mail which will make the user see my e-mail that i recieve my sheet on attached in the e-mail he/she recieves.Is it possible to make them seperate? im using the following
[code]...
View 1 Replies
Jul 11, 2011
I have a string like
human, roti, makan, ghar, house, language, english, india, US, master, teacher, html, code, asp, jsp
i need code for find the input string.
View 3 Replies
Jan 26, 2011
I am writing a code to search through the entire listbox items and highlight them whenever user enters text in textbox. I am looping through textbox items which are entered using a 'comma' . But the code fails to add it to selected indices when user types multiple items using comma. It works fine for single items.
Private Sub TextBox1_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyUp
If (e.KeyCode = Keys.Enter) Then
ListBox1.BeginUpdate()
[code]....
View 2 Replies
Jun 11, 2010
I am trying to write a vb2008 program that allows a user to select an airport from a combobox and then once the value has been selected it searches a comma separated text file once it has found the airport selected ( always the first column in the file) in the file it populates 8 other textboxes with the row data from the file. The idea is to select the airport and then it calls up the radio frequencies associated with the airport.I assume you have to call the data into an array and the search thorough the array until the combobox.selectedvalue = the value in the array, but i am unsure how to do this Ideally I would like to be able to the user to add data to the file thats why I used a combox, but I am having trouble trying to get the boxes to populate so first things first.
[code]...
View 12 Replies
Apr 4, 2010
I need to extract a html table and show the data in comma separated format. Below is a similar html table from which I need to parse data.
View 4 Replies
May 30, 2011
I decided on a comma separated data file, saved as a text file. This is for data that will not change. After loading the data from the text file; then throughout the lifetime of the program the data can change. The data can then be saved back to a different binary file. The idea is to have a save state system going.Does anyone have a suggestion or is opposed to the idea. Is there a simpler way to organize something like this?
View 6 Replies
Apr 30, 2009
When I look at a file on my hard disk, e.g. test.csv, when I look at the Properties of the file, it is officially known as, "Microsoft Office Excel Comma Separated Values File", and file types of .pdf are listed as "Adobe Acrobat Document", etc. etc. All of this information can be seen in Windows Explorer too when my folders are displayed by Details. How do you get at this "type of file" information with .NET?
View 2 Replies
Feb 12, 2010
I used a built in function to create comma separated string using List easily.(It is not split and join but new function) I'm not able to recollect or find it. If some one knows about it and uses it please post a link to that. Framework - .net 2.0
(It is not Join or split - I know about this, .net has new built in function to create CSV format)
Check Jacob G Answer below for what i was looking for let me know your thoughts on it compared to join ;)
And whoever gave me -ve rep need to keep some patience and not hurry
View 7 Replies
Feb 7, 2011
how I can get the value of the ninth column. Columns are separated by spaces.
The value im getting will be added to a int so say int = 2 then the column is 32 then the int will be 34
View 1 Replies
Jan 5, 2010
I have a program that opens a FormReportViewer. I get an error when I close my program...COM object that has been separated from its underlying RCW cannot be used.
View 2 Replies
Dec 13, 2011
I'm designing an ATM where I have to allow a user to "insert" his card and then conduct transactions. After the first user is done, without closing the application, another user should be able to use the ATM. However, whenever I try to log the second user in, I get the following error: COM object that has been separated from its underlying RCW cannot be used.
My code for the opening screen is as follows:
Imports System.Data.OleDb
Public Class StartScreen
'Form-wide variables
[code]....
View 3 Replies
Mar 30, 2009
How could I have streamwriter write a , terminator for every space?
For example if I have a line that reads "Hello World!"
I would like streamwriter to write Hello , World
View 2 Replies
May 8, 2012
code that cuts off text from TextBox1 to TextBox2? I want to cut off and paste three words separated by '; '.
For example:
I have 10 words separated by '; ' in TextBox1.
[Code].....
View 3 Replies
Jan 24, 2012
I'm trying to write two regex's - you'll need to tell me if they're even possible. Both are based on VB.net syntax.
Regex 1:
The string I'm testing against -
Size on disk: 25,754,900,936 bytes
It has a handful of leading spaces, but the text is ALWAYS the same. I'm trying to extract out just the number (25,754,900,936).
I've tried a handful of regex's, but I can't get everything on one line. The commas are messing me up and returning multiple matches (For example, d+W+ gives me four matches, one for each set of numbers separated by commas.)
The best I've done is [0-9/,]* but that gives me 25 empty matches and one match (On match 19) of the number. I need this to match on match 1.
[Code]....
View 2 Replies
Apr 20, 2010
Not sure if I am using the correct term, but it's not child/parent since they aren't nested objects. In my application I've got a User, UserUserGroup, and UserGroup objects which are pretty standard, UserUserGroup is a linking object with corresponding IDs. I am using Linq-to-SQL so unforunately it doesn't used nested objects, but it still knows the relation.
[Code]...
View 1 Replies
Dec 21, 2009
I am trying to build an employee time clock that is seperated into tiers(Data,Business,Presentation) but i am not sure on how to do this and would like to discuss the matter. This is what i have so far.
[Code]...
View 10 Replies
Feb 11, 2010
Is there a built-in function in VB.NET which would take an array of strings and output a string of comma separated items?
Example: function( { "Sam","Jane","Bobby"} ) --> "Sam, Jane, Bobby"
View 5 Replies
Jan 27, 2012
I have a number of classes that all implement the same interface. e.g.
Public Class IncidentAsset
Implements IModelWithIdentity
Private _assetId As Int16
Private _otherAsset As String
Private _asset As Asset
[Code]...
Is there a better way of doing this in VB.NET using .NET 2.0?
View 1 Replies
Jan 25, 2010
i m using vb.net 2005 i create a window form separated by two side. One side i have a list box and other side i have a webbrwser.in listbox some id is present. if i click a button then first pick the 1st id and it is append with a url and the respective page will display. in that page an add button is present.whenever i click that then the second id from list box will be encountered.
View 1 Replies
Apr 16, 2012
am trying to populate an array like so:
Dim tmpArray As String = ""
Do Until x = Form1.arrayCal.Length
tmpArray = tmpArray & "," & x
[code].....
View 2 Replies
Mar 7, 2012
I have a list of integers and I want them to display with comma separated thousands. I'm using ASP.NET and VB.NET. Some examples:
What I'm putting in:
0
10
[code].....
View 2 Replies
May 13, 2011
I am using combobox containing string like "01322-Abcdefg".Assigning datatable as datasource to it.[code]But this will only suggest initial characters only ( eg : 01322 ),In my case i want user to suggest value even if he/she type next set of characters
View 1 Replies
Apr 4, 2009
i have here a .txt format wherein It show like this:
n,1.alex.valantines@palazzoli.it,"Sent successfully"
neha,21.neha.singh@gmail.com,"Sent successfully"
kab,2mkab@2mkab.com,"Sent successfully"
mickey,69mickey@sbcglobal.net,"Sent successfully"
[Code]....
What my problem is that, how can I load this .txt file to a datagrid and arrange it in a 3 columns. That .txt file is auto generated that's why i cannot do anything about the textfile.
View 1 Replies
Feb 3, 2012
i have code for loading a text file (comma separated) into my DGV:
If Not DataGridView1.LoadTextFile(TextBox1.Text, ErrorList) Then
Dim sb As New System.Text.StringBuilder
sb.AppendLine("Failed to load text file, see error messages below.")
[Code]....
I'm wondering...is it possible to run this code if the user was to drag and drop the text file onto the datagridview, rather than having to navigate via buttons etc...it'd make it a much nicer method!
View 2 Replies