So i am currently working on a project about enrollment system and I am having a problem with transferring items from one listview to another. Here's a photo:
I want to be able to transfer from the lower right form's listview to the other form's listview.
im using vb.net 2008 and i would like to ask if is it possible that if i click a data in my listview then it would go to another listview and using a db
I have 2 forms '' Form1 and Form2 ' in Form1 i have a Text field, checkboxlist and a button in Form2 i have a Listview in the textfield the user has to put a forum url..How to merge the urls and transferring them in Form2 listview by clicking the button.url...
In an attempt to find more or less understandable tutorial I have spent the last 2 days googling and reading, and still couldn't find the answer to my question. So that I decided to ask here:I am intermediate in VBA. I have been programming the tool in Excel, that takes some data from Oracle DB and manages it, stores in tables, shows in forms, creates new SQL-Queries, extracts further data from DB etc.
Couple of days ago it was decided that this tool should be a separate executable multi-user application (cause it actually doesn't have to do anything with Excel). Being still a student, I have downloaded the Visual Studio 2010 for free, bought couple of books and that was it... being stuck at the beginning..My problem is: I have absolutely no idea where to start from. I could have started drawing forms with controls, but I am concerned this ain't a right way. What about the GUI? What about the functionality scatch? What shall I start from, having code in VBA?
I'm using a database to store a load of data and some of which is the date from a datetimepicker and its storing the date and time for me. but its not saving the date and time for me its just leaving it blank any ideas
i set up the database vis the database creater in VB 08
call the field Dateout and the other column "Datetime" and i would of thought that would of saved me date and time.
in datetimepicker_value changed section ive got it down as datetimepicker.text as now.date.tostring
I'm currently working with a project where I need to transfer the internal audio (sound from the computer) to another computer and play it back there.
I thought of transferring the audio with a TCP server-client connection since I already have the knowledge of how to do that.
My problem now is that I don't know how I would capture the internal audio and how to be able to play it back as a stream on the target computer. I have searched a bit and many people recommend using MCI but I'm not sure if this will work on an "almost realtime audio stream" connection.
So my question is: What is the best way to grab the audio from the computer and then play back the data on another computer (as a stream)? I want to do it in realtime and not "recording" the sound and then send it to the target computer.
I have the following code in place: Protected Sub btnBuy_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnBuy.Click Session("ShoppingList").add(New OrderInfo(txtQuantity.Text)) Server.Transfer("ShoppingCart.aspx") End Sub
The title of this thread perhaps does not explain my problem correctly.Actually i am developing a financial software for a company.The software is similar to a banking system. The software is being developed using VB 2008 and SQL Server 2008.The company has its branches located at different locations. They are having a centralized SQL Server at their Head Office.The branches are connected to Head Office using a VPN.Now what we are worried about is when the VPN gets disconnected.For that we will be having a SQL server installed at each of the branches.When VPN is connected the the details entered will be directly at the Head Office database,Meanwhile a program will be executed which will get details from the Head Office database at each of the branches in a XML file.When a branch gets disconnected from the VPN another program will get the XML details into the Sql Server installed at the branch. When the branch is connected again Another application will create a xml file from the local server and insert its details into the HO server.The sizes of the XML are reaching upto around 150 to 200 mb. I am using Dataset.WriteXML and Dataset.ReadXMl. I have tested this on my local machine it is taking upto 30-40 secs.I dont know how much it will take when the actual application is installed. How can i speed things up ? Does anyone have any idea on how i can do the whole process more smoothly and faster?
I wanted to write a small piece of vb code to synchronize a few FoxPro dbf tables to SQL tables that having the same structure or at least a few fields that i selected. I had tried a code which I found on the net that running row by row and column by column to update the SQL tables but this code is too slow. In my dbf table it contains around 3000 records at least.
I'm doing a project that requires me to create a book ordering form. I have the books displayed in a listbox named bookselectionlistbox, and when a book is selected, it displays the price of that book in a label named bookpricelabel1. I have a button named addbutton that allows the user to add the book to the shopping cart. The shopping cart is in the form of a combobox named shoppingcartcombobox. Lastly, there is a receipt button that transfers ALL the books from the shopping cart to a seperate label called label3, not just the selected book. The last thing I need to do is have the price of each book also transfer to the receipt section. This needs to be done either on the same label3 on the same line as the book title, or on a seperate label that is adjacent to label3, I have temporarily placed a label there named label5. I am using a case statement for the bookselectionlistbox to say that when a certain book is selected, the bookpricelabel1 will display "$xx". I also have an IF statement under the addbutton label that generates a total price for all the books in the shopping cart, here is an example of the code I used for one of the books:
How do you pass one radiobutton from form 2 to form 3? Iv tried:
Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load If Form2.rbtnPatterned.Checked = True Then rbtnPatterned.Show() End If
But that doesn't work. The radiobutton selected in form 1 doesn't appear in form 2....
I would like everything in listbox1 to transfer to listbox2. I didn't paste my whole project because it is messy and lengthy but I was able to re-create the scenario with this code:
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[Code].....
bottom line, I want everything in listbox 1 into list box 2 when combo box = a and button is pushed. when I try to execute, only one or less go into the second list-box and the rest stays there!
I'm developing a project for gathering customer feedback using a Samsung Q1 Ultra, a cheap touchscreen PC. The project consists of two parts: a PC based application that builds the survey and stores the info on an SQL Server, and a survey viewer on the Samsung device which downloads survey data from the SQL Server and stores it on a SQL Server Compact 3.5 database.
My question is, how best can I transfer survey data from the SQL Server to the handheld device's database? Writing a tonne of code to copy data from one database to another seems overcomplicated - is there a handy function or somesuch that I can use to copy data from identical tables on these two separate databases?
transfer this from a Console app to a WinForms app? I'm still new to this and I want to build on top of this once I get more acquainted with VB.net. I don't know if this may be helpful, but I'm using Visual Studio 2008 (not express).
My assignment involves wrinting an airline reservation brogram where the user can hit a make reservation button and the user can then input passenger name departure city and arrival city, all of this has to print to a multiline textbox, the professor also wants a find reservation button and a cancel reservation button.
Public Class Form1 Sub get_data() Dim passengername As String = InputBox("please enter passsenger name") Dim departure As String = InputBox("please enter departure city")
How would I go about transfering data within textboxes on 1 page, to the same textboxes, but on another new page.
Basically, I already have coding that caluclates distance time, price per litre of petrol (it's a bus firm company application), and put's it into textboxes within a group box on my page. Basically I just want a bit of coding which will transfer this info, to different texboxes, but on a different new page, the idea is that I can then do fresh coding on that page without it interfering the coding on the current page.
I'm trying to transfer only the numbers after the £ Character from Textbox1 into Textbox2. If textbox1 contains numbers before the £ character then it just transfers the first numbers before the £ character which is not required.[code]
I have the following problem: I want to read a text file with definitions in 2 listboxes: one that contains the word and the other contains the definition. This is my code:
define the variables Dim dictionary As String = "C:\some.txt" Dim result As New System.IO.StringReader(dictionary) Dim ary() As String = Split(dictionary, "=")
[code]....
When I run the code I receive " Index was outside the bounds of the array."
I want to transfer my data from one list box to an other and save the data and display it at the same time with the TIME, Name, and the Quantity. For example, if I have a movie ticket, and says I bought one ticket thats 10 dollars. If I did type all the calculations with tax it should be 10.10 for the 10% tax. This will show on first of my list box. Secondly if I press something like Enter, it will show that 10.10 number and also put it in the other lstbox. I have 3 list box. One to show the current transaction, one to show the history of them and the total amount of all transaction.
How can this be done? The .InnerText Property (when used on the containing div element) is giving me the html only. Is it possible to iterate through all the li elements contained and extract their values?