20,285 Topics
![]() | |
Hi guys I want to used a dialog box in vb.net to open a txt file, which contains single line of a few character like TFTFFTFT, and store it into array. Then I will open another txt file and compare it content with the first txt file.. How can I … | |
Am trying to implement face detection using the PCA algorithm in C#,I have a button on my windows forms that is supposed to intitiate the learning process once it is clicked. It should use the images in a folder called training to compute the eigen values and eigen vectors so … | |
Hello, i started to learn coding if you call it for c++ (windows forms). I created a button with a Fixed Text and a Button to Copy the text. What i need now is a "Add" button that adds alot of desired numbers and shows them in a second TextBox. … | |
Hi, below is the code in my login button, yet I'm confused what code to put in logout button. I only know few knowledge about vb.net and I am trying to understand it as much as I can. Thank you for understanding! :) Public Class Form2 Private OPConStr As String … | |
Debug time Application run good all private sub and Function work properly, but with out debug not run properly please help me | |
I want to make a calculation where the atribut columns whose rows have benefit values are all placed on the left and all rows with cost values are placed on the right. with the actual calculation formula like this: (0.25x0.49237)+(0.15x0.71842)+(0.15x0.44721)+(0.15x68680) (benefit row atribut column and weight) - (row atribut column … | |
how to convert this into relative path code, since if im gonna install my system to other computer this line of code will get an error since the path of the data source doesnt match the current path if im gonna install it to other computer  | |
hello i am new to the coding world and i am trying to get this login code to only accept the names and passwords in the access database, current any can login. please assist Imports System.Data Imports System.Data.OleDb Imports System.Data.DataTable Public Class Form1 Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal … | |
I wish to read from a closed excel file, a few years ago I found a website using ADO and it worked but now I cannot find this website I have tried over 100 with no success please help Ernest | |
I'm getting an error I'm very new to vb.net and designing an application with visual studio 2019. My application is to Read the registry key open subkey to retrieve displayname and displayversion. I would like to add an array to read multiple key values under the key locations for both … | |
I need an end user license agreement for code shared amongst my home projects with other developers. The EULA needs to include a "pay to the order of x" clause, and also needs to include the ability for me to utilze the code at multiple companies that I could participate … | |
Hi guys, I have one question about Visual Basic and DataGridView behaviour. So, after I type all the text boxes and click on button (save data), I would like user to get focus on that new data. Now, each time button is clicked, DataGridView goes on a first row. New … | |
I want to make several of my textbox.text properties equal to variables. I tried: Dim outcome As New txtResult.Text outcome = "xxxxx" this produced an error. :( first, is this possible and if it is, what am I doing wrong??? | |
Good afternoon, I'm haven't coded in a very long time, and now I have some time in my life I'm actually coding a Quiz application in vb.net using ms access for the question/answer database. This project is what the student will see when their taking the test, and my issue … | |
This code causes an exception: dim box as new mult() box.show <-------- cannot access a disposed object | |
hi, I put a button to run the batch file and everything is fine But when the file works it asks for other files that are complete to run it and I did not know how to merge it together to work properly and these pictures     | |
hi, I put a button to run the batch file and everything is fine But when the file works it asks for other files that are complete to run it and I did not know how to merge it together to work properly and these pictures    | |
I found this peaice of code to import a Access database table to sql server Private Sub btnImport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnImport.Click Dim fileName As String = "" Dim ofd As New OpenFileDialog If ofd.ShowDialog = Windows.Forms.DialogResult.OK Then fileName = ofd.FileName PerformImportToSql(fileName) End If End … | |
![]() | Hello fellas, recently i hit upon an to develop a small program to lock screen. As a part of it, I need to lock taskbar from functioning, i.e should not show up when pressed Start Button, or Ctrl + esc or not even Ctrl + alt + Del. I dont … |
Visual Basic - Visual Studio 2019. My desktop status bar disappears when I open my application. Controlbox = False FormBorderStyle = FixedSingle StartPostion = WindowsDefaultLocation WindowState = Maximized Any help appriciated. | |
I want to ask how to make when we press the value for the combo box. For other textbox can easily appear. So, the user can do input 2 times. Here I attach my code Private Sub combo1() conn.Open() Dim stringsql As New MySqlCommand("select * from supplier", conn) Dim dr … | |
Hi All Masters... I have a datagridview and want to scroll with the mouse move up and down events like a mouse wheel if anyone has sample code i would be very grateful Thanks before... | |
I was wondering if someone can create the printer with raspberry pi ? Will pay the price for the costs of labor, materials, etc. or maybe you can recommend someone to make it? Like this https://exciting.io/2012/04/12/hello-printer/ | |
Hey guys im new here n i need some help uploading image in windows form with vb.net and i don't mean picture box Thnx in advance, its so urgent | |
I want to make a Visual Basic contacts application that stores the names, emails and countries of up to 10 different people and allows the user to lookup an address based on its number. | |
![]() | I had button code to print data in data grid view on vb.net program. But when I click on print all times it show print preview lost first of record. this is my code Dim mRow As Integer = 0 Dim newpage As Boolean = True With dgvreciept Dim fmt … |
Hello, so I have a more complex class in another file, but I have duplicated my trouble on a simpler class which I will show to you. I am trying to base64 encode a path via cipher text, either a good idea or a bad idea. Anyway, I am noticing … | |
Please am new here and I need you guys help am trying to save a fingerprint template into my database (Sql server) but is not working, this is my code Dim fingerprint as Memory stream = new MemoryStream Template.serializ(fingerprint) fingerprint.position=0 Dim be as BinaryReader = new BinaryReader (fingerprint) Dim bytes() … | |
Write the main such that it reads two integers: Start and End and calls the void function of part ‘a’ in order to print the average of integers divisible by 3 in the range: [Start..End]. |
The End.