20,282 Topics

Member Avatar for
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
39
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
41
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
189
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
117
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
912
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
52
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
262
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
151
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
136
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
184
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
93
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
97
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
620
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
837
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
58
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
111
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
71
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
31
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
201
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
64
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
84
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
101
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
47
Member Avatar for lolwtf

I'm using the ink picture control and I'm having trouble getting my code to work. The inkpicture control is used for tablet pcs when the user draws inside the control. I just want to be able to save it to a jpeg. I've been stuck on this for days :) …

Member Avatar for Nathan_20
0
2K
Member Avatar for ms_654

Please I have a problem in vb.net. The problem is this, I have a combobox, cboSearchBy, with four column names (FileNo, Lessee, Location and TFNo). I need a code that when i select any of the four items in the combox then the data under that column in the sql …

Member Avatar for pritaeas
0
61
Member Avatar for Satyam_1

Hi, i want to total the values in column9 in Patientdatagridview to a textbox1. here is my code but it displayes each value, not the total. e.g. if values are 200, 200, 200 then it should display 600 but here it says 0200200200 Private Sub Button1_Click(ByVal sender As System.Object, ByVal …

Member Avatar for Nour_4
1
13K
Member Avatar for Farah_6

Develop a visual basic program that asks the user to enter an integer positive number, then reverse this number as a single integer and display it in a textbox. For example, if the user enters 235 the output should be 532. If the input is 79534 the output is 43597 …

Member Avatar for rproffitt
0
45
Member Avatar for geetajlo

Hi every1 i have a form with a textboxid, buttonAdd, ButtonSave on it , when i click on the btnAdd it must show the id and when i click update it must really Save . I want to auto generate the id through codes ... can any1 help... I don't …

Member Avatar for Ravi_79
-1
9K

The End.