20,285 Topics

Member Avatar for
Member Avatar for Kiria_1

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 …

Member Avatar for Dani
0
47
Member Avatar for TimTheCoder

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 …

Member Avatar for rproffitt
0
89
Member Avatar for Edin_2

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. …

Member Avatar for rproffitt
0
86
Member Avatar for Maylene_1

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 …

Member Avatar for Santanu.Das
0
315
Member Avatar for JModak

Debug time Application run good all private sub and Function work properly, but with out debug not run properly please help me

Member Avatar for Bert Pitt
0
685
Member Avatar for azer_16

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 …

0
40
Member Avatar for Mr._307

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 ![Screenshot_2021-10-20_195847.png](https://static.daniweb.com/attachments/4/0df2cab646658f059b798148fb75b026.png)

Member Avatar for Mr._307
0
43
Member Avatar for Katlego_1

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 …

Member Avatar for rproffitt
0
193
Member Avatar for Ernest_10

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

Member Avatar for alex_141
0
119
Member Avatar for Brandon_30

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 …

Member Avatar for rproffitt
0
1K
Member Avatar for MagnusTheRed90

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 …

Member Avatar for Dani
1
58
Member Avatar for SoftBa

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 …

Member Avatar for SoftBa
0
272
Member Avatar for kasmar45

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???

Member Avatar for Reverend Jim
0
168
Member Avatar for Gerard_1631

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 …

Member Avatar for Reverend Jim
0
148
Member Avatar for kasmar45

This code causes an exception: dim box as new mult() box.show <-------- cannot access a disposed object

Member Avatar for kasmar45
1
194
Member Avatar for I_GEVO

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 ![1.png](https://static.daniweb.com/attachments/4/83b5662430989d1e87d8ad82ef1a2851.png) ![3.png](https://static.daniweb.com/attachments/4/7a92fe7a9051f62f3c292b5b8830433a.png) ![Screenshot_13.png](https://static.daniweb.com/attachments/4/cc156d0fa8215abef8802da216cc1a96.png) ![2.png](https://static.daniweb.com/attachments/4/18a4dd6b1d04de74b1629bd70a0ee460.png)

Member Avatar for tinstaafl
0
108
Member Avatar for I_GEVO

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 ![2.png](https://static.daniweb.com/attachments/4/58150e086065570c8858e61e23daa1f9.png) ![3.png](https://static.daniweb.com/attachments/4/434597cdb1cae791efed1e48a774990b.png) ![1.png](https://static.daniweb.com/attachments/4/033b76aa8457667dde038b5e39573e06.png)

Member Avatar for rproffitt
0
111
Member Avatar for Logic_Brown

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 …

Member Avatar for SoftBa
0
632
Member Avatar for Rahul47

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 …

Member Avatar for Rythorian
0
894
Member Avatar for shane1961

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.

Member Avatar for rproffitt
0
62
Member Avatar for Belajar

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 …

Member Avatar for rproffitt
0
113
Member Avatar for Imam_3

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...

Member Avatar for Belajar
0
73
Member Avatar for Alexandra Karen

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/

Member Avatar for rproffitt
0
36
Member Avatar for aichakh

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

Member Avatar for rproffitt
0
220
Member Avatar for Jubed
Member Avatar for joalanemakaka

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.

Member Avatar for Schol-R-LEA
0
67
Member Avatar for සශික

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 …

Member Avatar for anoshmilton
0
2K
Member Avatar for MagnusTheRed90

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 …

Member Avatar for JamesCherrill
0
95
Member Avatar for Hammed_1

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() …

Member Avatar for pritaeas
0
104
Member Avatar for Afrah

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].

Member Avatar for rproffitt
0
48

The End.