Hi guys,
my first post here. I need your help.
i am getting this "Member not Found" error everytime the loop sees an empty cell..
What am I missing?
Thanks!
Private Sub SwitchCommentButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
Hi, I'm new to vb.net so I hope you can give me some guidance.
I am dealing with the data in excel using VS. Currently, I have problem trying to put my column data (starting from D column to x columns that user specified in textbox) into different arrays as I want to manipulate them...
hello I am having trouble figuring out a method to compare two values that seem to be the same, but the number of decimal places is affecting the logic and I am not sure how to format the values correctly.
One of the values is an entity record field = 100.00000000000000000000
The other value...
I am finding a record in the entity model, by using a DataKeyName that contains the id of the record.
I want to be able to save the record in a variable to save all the values in a max column in a data table.
This what I have so far:
Dim myContext As New OLTPEntities
Dim...
I'm trying to make a class that produces a facsimile of the textbox from Winforms in Console. I have a loop within this class that is reading keypresses as ConsoleKeyInfo. What I want to do is to take a keypress and test whether it corresponds to an actual character. For example, the A key...
Hello,
I have created a VB.net program that allows the user to download a word template and some data. The program then uses the macros within that document to fill in the correct locations. Then the user can save the file and close out word. When the user closes word my VB.net program uploads...
I know that you guys probably get this question alot..and trust me when i say I have been doing plently of searching..and i am stumped... invokes and threads have really been getting on my nerves ... anyway I am building an special irc client... it all connects that is not the issue.. what...
Hi all,
Having created an order viewer with a view to creating invoice reports for the Northwind database, I have encountered an issue. When the Binding Navigator was instantiated, it was automatically set to move through the product list. I wish it to navigate using the OrderID value. Can I...
Hi, I've got a problem with my spelling program where I'm not able to display the correct score at the end of the test. Also, after somebody's help with that, I'd greatly appreciate help from someone to show me how to then save that score into access. Thanks.
Btw, the 'Test' form is the form...
I'm currently using VB.net at college and need some help around an issue. The basic idea behind our project is to create a 'Student Portal' so that both students and users can access and perform certain actions inside (This is all console based btw).
The issue I've come to is that I need to...
Is it possible to convert code from vb.net to vbscript? I have, basically, a windows form in vb.net but it is only a dialog box. The dialog box just has a few labels on it, two buttons, and two textboxes. When the user hits "okay" (button) it uses the "System.IO.StreamWriter" to write a text...
I really am trying to figure this out but just cannot get it right. I have 2 tables, "tblSalesMain" and "tblRepMain".
I am trying to return to a combobox a reps first and last name instead of an "ID". For example, when a sale is selected it will show all of the info of the sale in different...
I have a list(Of Strings) List. I need to save each item in the list to a table in a database.
I could Iterate through the list and save each item to the database. But if I have 10 items in the List then I have to do 10 calls to the database.
Is there a better way to do this so I don't have to...
Hi
I am a newbie for vb.net. I am trying to related two tables in a DataSet. I have looked through a lot of threads but could not find the answer I want. Say, I have two tables:
table1 : "ID", "ID in table 2"
1 3
2 4
table2 : "ID"...
Hello, i'm trying to decrypt a previously encrypted password from my database on visual studio 2012 (vb.net) but when i do the comparaison between my Textbox(Named TXT_Password) and the decrypted password i'm getting a value named System.Byte[] on the side of the Query, here's the code...
Hi,
I want make a Console Application in VB.NET which will logoff all (but not an Administrator) users connectend to Windows 2003 Server machine via RDP Connection.
I wrote an application which is restarting Server machine, but when there're logged in users, Server got suspended.
Code of my...
This is my first post so hope I get it right, and hoping someone can help me
The part of my application I am having a problem with is a mail merge function that replaces pre-defined text in a string with data from a SQL Database.
This function is used for sending out personalised emails...
how to save ListBox in vb.net
Dim files() As String
files = Directory.GetFiles("C:\", "*.mp3")
Dim file As String
For Each file In files
ListBox1.Items.Add(Path.GetFileName(file))
Next
output :
00001.mp3
00003.mp3
00005.mp3 ....
want to save all item wth Only filenam to another folder.
I tried the code pasted below but it does not seem to work in vb.net. However, this creates only one text box and not where I exactly want it to be. My objective here is to create 5 text boxes under the respective labels. There will then be a button which will take in all the text inputs...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.