Ruby Reading Generated Data?
May 20, 2011
This is the general goal I am trying to achieve:My VB.NET program will generate some Lists that may contain booleans, integers, strings, or more lists. I want the program to output a "file" which basically contains such data. It is important that the file cannot be read by humans Okay actually, fine, human-readable data wouldn't be bad.Afterward, I want my Ruby program to take such file and read the contents. The Lists become arrays, and integers, booleans and strings are read alright with Ruby. I just want to be able to read the file, I might not need to write it using Ruby.
View 2 Replies
ADVERTISEMENT
Mar 10, 2011
In one of my project I have the following lines:
Me.SqlDeleteCommand1.CommandText = "DELETE FROM [CLASS] WHERE (([MAIN FACILITY USED] = @Original_MAIN_FACILITY_USED) " & _
"AND ([START DATE] = @Original_START_DATE) AND ([CentreId] = @Original_CentreId) " & _
"AND ([RowVer] = @Original_RowVer))"
Me.SqlDeleteCommand1.Connection = Me.SqlConnection1
[Code]...
View 1 Replies
Feb 25, 2012
I'm currently converting a Visual Basic application to Ruby because we're moving it to the web. However when converting some algorithms I've run into a problem concerning bit shifting.How I understand it, the problem lies in the size mask VB enforces on Integer types (as explained Here). Ruby, in practice, doesn't differentiate in these types.
[Code]...
View 1 Replies
Sep 10, 2009
I would like you all to give me some links about embeding scripting languages and I would like to ask if it is possible to embed Ruby into a Vb.net application. I only know Vb.net c# and ruby and would prefer not to have to learn c/c++ (even though i probably will have to in the very far future).
View 3 Replies
Apr 19, 2012
I have a finished a software written in ruby on rails. It is possible to convert it to visual basic?
View 3 Replies
Jun 20, 2012
I'm just needing a simple bit of code for vb.net that will allow me to marshal an object into a string, allowing for the saving and loading of this string so I can save my classes, needs to be simple and easy!
View 1 Replies
Jul 5, 2009
How can I play a sound based on waveform data that my .Net program is generating from user input and mathematical functions? By "waveform data" I am mean SPL values in a fixed interval time-series (probably 44.1 kHz). I presume that this requires some kind of streaming buffer arrangement.Note, that this has to be live/real-time, so just creating a .wav file and then playing that will not be sufficient. VB.net is preferred, but C# is acceptable also.
View 4 Replies
Dec 20, 2011
The primary key of the table is generated automatically using the Is Identity and I want to update based on the primary key. There is certainly something wrong with the following code, so I'd like someone to modify it for me.
Try
Dim qry As String
qry = "Update StudentDetails.Programmes set Programme=@Programme,Form=@Form,AcademicYear=@AcademicYear,Class=@Class where ID=ID"
cmd = New SqlCommand(qry, cn)
[code]....
View 2 Replies
Apr 4, 2011
How would I create a list of elements in VB.NET, save it to a .dat file, and make Ruby re-create such list (as an array) with such elements (they will be strings, booleans and integers)?
View 2 Replies
Jul 30, 2011
We are trying to communicate between our two applications, One is in VB.Net and the other one is in ruby. We can easily communicate between two .Net applications but how to communicate between a .Net and ruby application? [code] After creating the Memory Mapped File through the above code how can we read/write it in ruby?
View 1 Replies
Aug 1, 2011
read/write from VB.Net to ruby application and vice versa using Memory Mapped Files?
View 3 Replies
Mar 2, 2012
I have a modbus TCP device that I have managed to connected to through my VB source code.
I want to poll (continueously read) data from certain registers of the device, and store the polled data in a file (text,csv, excel).
View 1 Replies
Apr 2, 2012
Data binding should be an extremely simple thing to manage but I can't find a SIMPLE solution to the following problem.
I have two forms
Form1 contains a 4x4 MSFlexGrid (unfortunately an unmanaged COM object but I can merge cells, which I can't do with a managed Datagrid)
Form2 contains other controls which change the data in the Flexgrid.
I connect the two with a Public 4x4 array. Form2 changes the data in this array. I can update the grid data by reading the array. But how do I bind the Grid to the array so that it auto-updates - which is the whole point of binding isn't it?
View 5 Replies
Nov 29, 2009
I am reading data from a socket (as bytes) and storing this data in a string. Then later i need to access specific bytes within the string and do some math with them. However the bytes that I read back from the string are not what I am expecting.
[Code]...
View 2 Replies
May 2, 2012
I upgraded from async_sinatra 0.5.0 to 1.0 because the latter fixed this problem So far so good. But when I went back to my original app, (as opposed to my test app), which contained authentication, it stopped working. I am using vb.net to make a webrequest, and this worked fine under 0.5.0, but now fails with "The remote server returned an error: (401) Unauthorized."
[Code]...
View 1 Replies
Mar 26, 2012
I've been asked to prepare a proposal for a client for a new development. The finished product will require copying of personal DVDs, e.g. a wedding or christening video, to AVI or similar format.
Is it possible in vb.NET to read data from a DVD and encode it as an AVI file? If so, can you give me some pointers to how I might research this more.
View 10 Replies
Nov 24, 2009
I am working in VB.NET 2003 and here is the issue of the day (for me):
I have an application which is supposed to read data from a CSV file one line at a time then pick out the 9th item ( a number) in the line and then add these numbers together for a total. The problem is the routine does not get beyond the first line. The code is as follows:
Dim total As Decimal = 0
Dim reader As StreamReader
Try
[Code]....
How do I get this routine to advance to the next line of the CSV file and continue to do so until it has read the last line?
View 3 Replies
Mar 16, 2012
how can i display data from a sql database in a listbox?
View 2 Replies
Mar 19, 2010
How can I read data from a HID device (USB RFID Reader)and which acts like a keyboard.
View 4 Replies
May 29, 2012
I need to display the MinAH price and the name of the item listed in the table. If possible, I would also like to make a listbox of all the servers/realms in World Of Warcraft, giving the user the ability to change the realm that they want from the list because the prices will be different. Another thing would be a specific item instead of the ones already listed in the initial table (see link if you don't understand). You can search items on the website, I'm not sure how I could incorporate this so the user can select a specific item.
View 1 Replies
Feb 23, 2009
I have been following tutorial from Bort and writed encrypted string to registry with this
[Code]...
Now I want to read that from registry and get the date witch is encrypted to decrypted to textbox so I can compare it to date.today. How can I get that date from registry. I have used this Tutorial: RSA Encryption in VB.NET and tried to get these trial version tutorials to work together.
View 2 Replies
Jan 25, 2011
I am doing my academic research on ARM MINI 2440 and "i want the code to read the data from sd card and send that data to the serial port.
View 16 Replies
Jun 10, 2011
im having trouble reading in lines of data using arrays and a structure. I believe my main problem is figuring out how to keep track of the lines read in, even if the whole array size isnt used up. Also, To break up each line I am trying to use the split function to seperate spaces, but dont know if im doing so correctly.[code]
View 3 Replies
Jun 16, 2009
i have read a lot about reading data from pdf but still very confused. i have to gather data from a invoice which is in a pdf format and store it in the database now the invoice contains text, tables, signature and barcode. this i have to again print after adding some of my data in another format and hence i need to get the data from the pdf file.
View 1 Replies
Jan 9, 2009
Private Sub frmAttendace51_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'clear data set of any existing data
objDataSet.Clear()
'fill schema
[Code]...
View 3 Replies
Oct 15, 2010
I have a column ("Notes") in a sqlexpress database as nvarchar(1000). It will basically hold notes. It is pulled froma richtextbox control.[code]...
View 2 Replies
Sep 7, 2010
I'm still at it.Have a new delima I have a form with 5 textboxes.1 thru 4 are read only ,and display various data recieved during my process. #5 is a user input,and accepts only numbers. Top Speed.bmp
[Code]...
View 16 Replies
Jan 24, 2012
I'm developing application in VB.NET 2008.I'm reading data from Excel through OledbConnection. Here data are reading sometimes perfectly but sometimes it is missing to read some data.
Example :In Excel ,I have 79 columns in excel and 4 rows , first 3 rows are headers so after import i'll delete that rows and actual data starts from 4, so here i have only one row.After Reading through oledb, that dataset's datatable has only first 3 rows( first row became header and 2 & 3 row only in datatable, its ignoring 4th row)
[Code]...
View 8 Replies
Dec 28, 2009
I need to :
Read data from a file. The file contains the location and file name of a file and the name to which I want to save as (about 27,000). Then I need to Open the File with PDF Pro 9 and save as pdf in a specific loaction with the new name. Where to find some samples of reading, parsing and concatenating data and running a program from within a script?
View 8 Replies
Jun 10, 2011
This is the code i wrote in order to First open a csv file as excel, then find the required three columns, n then read data from them n save the data into another variables showing them in textbox. As about the csv file, it contains many columns out of which my focus is on only 3 columns under title ID, L, Lg.Problem is Excel doesnt actually open but Excel.exe process runs in task manager. But by this point its not the compile error; Compile error comes at 'Next' Statement. It says Compile Error: Next without For!!
Private Sub cmdFind_Click()
Dim xlApp As Excel.Application
Set xlApp = New Excel.Application
[code]....
View 2 Replies