20,285 Topics

Member Avatar for
Member Avatar for NurieDavis

Hi, so i have a bit of an issue trying to select all my ms-access data in DGV with only a button, no typing in textboxes. I have been struggling with for a few days since unfortunately this isn't very popular? I can't seem to come up with anything in …

Member Avatar for Santanu.Das
0
163
Member Avatar for Ferron

Hello I've found a working script for what I want to do: https://www.daniweb.com/programming/software-development/threads/384778/copy-files-from-a-list-in-excel Imports Excel = Microsoft.Office.Interop.Excel Public Class Form1 Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 'get the last saved settings btnCopy.Enabled = False txtExcel.Text = My.Settings.ExcelFile txtSrce.Text = My.Settings.SourceFolder txtDest.Text = My.Settings.DestinationFolder SetCopyButtonText() …

Member Avatar for Ferron
0
313
Member Avatar for A1990

Hi All, I have a problem when trying to change user account password in my project I am using Visual Studio 2013 and SQL Server 2012. This is the code I am using and I don't know to how to adjust it to check for the old password before changing …

Member Avatar for Santanu.Das
0
176
Member Avatar for tashiDuks

Hi EveryOne, I have a following controls in my vb.net form: txtID txtName btnAddNew btnSave This form will be storing a values to the SQL Database (SQL Server 2005). In the txtID textbox the auto id should be generated when ever user clicks on btnAddNew. The ID should be generated …

Member Avatar for Syed Hassan Abbas
0
2K
Member Avatar for jovstudios

Hello Guys, I need your help, ill try to fix this almost 2 weeks, but no success, i want to make a countdown timer from hour to minutes to seconds, example: 01:20:10, using that format, i want to make a countdown timer, and this is my code, but no luck. …

Member Avatar for Santanu.Das
0
450
Member Avatar for Suzie999

In my project I give user opportunity to add or remove a column of a DataGridView. I do not know at runtime how many columns there might be, so in order to remove it or add one at index *n* , I need to know the column index clicked. So …

Member Avatar for Teme64
0
393
Member Avatar for Melon Lord

Hello! I'm new to VB and I'm having trouble finding the correct formula for the Average Discount :'( Option Explicit Dim mcurExtendedPrice As Currency Dim mcurFifteenDiscount As Currency Dim mcurDiscountedPrice As Currency Dim mcurTotalDiscountGiven As Currency Dim mcurBookCount As Currency 'Declare module-level variables Private Sub cmdCompute_Click() Dim intQuantity As Integer …

Member Avatar for zelrick
0
324
Member Avatar for Ritesh_4

Hello I have a VB.NET project (using Visual Studio 2015 Pro) currently found on my PC, and would like to make it shared across my LAN with others so that they can pull a copy on their own PC and work on it, and push their changes to the project, …

Member Avatar for gusano79
0
1K
Member Avatar for zelrick

Hello VB.net I don't know if I am in the right thread; but it is most closer to my problem; Currently I have no idea or a near code to solve the problem; In excel, Developers tab, there is a Visual Basic Application; What I'm trying to do is color …

Member Avatar for ddanbe
0
226
Member Avatar for y0yie_333

i now can save a fingerprint template from database using this code.. Dim fingerprintData As MemoryStream = New MemoryStream Template.Serialize(fingerprintData) fingerprintData.Position = 0 Dim br As BinaryReader = New BinaryReader(fingerprintData) Dim bytes() As Byte = br.ReadBytes(CType(fingerprintData.Length, Int32)) Dim cmd As SqlCommand = New SqlCommand("INSERT INTO fininger_table VALUES(@FIRSTNAME, @LASTNAME, @FINGERPRINT)", conn) …

Member Avatar for rubberman
0
6K
Member Avatar for VIPER5646

Hi all I have a table with a Masked column. How can I INSERT or UPDATE data into the masked column at run Time with out Loading the column into a textbox. The column is as Folows ID Process 1 StartY CompleatY 2 Start_ Compleat_ Thanks in advance.

Member Avatar for VIPER5646
0
196
Member Avatar for Suzie999

I load some data into a datagridview, I use a loop to do that. When I need to load new data I get rid of old data like so... foreach (DataGridViewRow row in dataGridView1.Rows) { dataGridView1.Rows.Remove(row); ; } Now I try to add new rows, because new data might different …

Member Avatar for Suzie999
0
281
Member Avatar for Quazy

Hello I hope someone can show me a path to get in right direction. I need a datagridview with offset columns, as shown on the photo. I have tried to add three datagridviews next to each others, but this messes up horisontal scrolling when I add data to them. Hopefully …

Member Avatar for Quazy
0
439
Member Avatar for JustineAubrey

Hi, I'm trying to create cascading comboboxes, and my code isn't working. I've looked at other threads and I don't know why it isn't working properly. The first combo box displays System Names and the second combobox should populate the all Locations of that specific system chosen. When I run …

Member Avatar for Zahraa_1
0
327
Member Avatar for papadakiss

Dear sir, I have basic knowledge of VB .net I want to sum records (integer) of a column in a table if I give a specific value (text) in a field. Dim ds As New DataSet Dim AccessConn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=p:\inquiries.mdb;") Dim sql As String = "Select SUM(orders_amount) FROM …

Member Avatar for tinstaafl
0
340
Member Avatar for steven509

I need help generating a timestamp the same way you generate one in flash (actionscript) [code]new Date().getTime()[/code] That's how you generate it in actionscript, it returns a 13 character int. eg 1202497647515 [code] Dim date1970 As Date = "#1/1/1970 12:00:00 AM#" Dim datenow As Date = Date.Now days = DateDiff(DateInterval.Second, …

Member Avatar for JonyGreen
0
189
Member Avatar for Mheljun

I'm creating an inventory system which should display the products that needs to be restock. If the quantity of the product is only 10 it should display a message that says you need to restock now. But I don't know how to do that I'm sorry, hope u guys understand. …

Member Avatar for Santanu.Das
0
247
Member Avatar for rony001

I have a text box , Combo box and a dgv in a form . I want to insert text box input and Combo box selected item into dgv. combo box is bound to database table column. can someone provide me with a link or sample code? Thanks

Member Avatar for Santanu.Das
0
1K
Member Avatar for kayecng

I want to show the total qty of these query (total qty from datagridview where ActualQty value will update the values of Used Column) `SELECT COUNT(Software) AS ActualQty FROM tblswlogs WHERE Software='MS EXCEL'` and (**Total** will appear in textbox) `SELECT MAX(used + initialqty) As Total FROM tblswlist WHERE Software = …

Member Avatar for mcglk
0
368
Member Avatar for OTOSystem

I am looking to find a way of reading a value in from the device manager - to see if a Bluetooth devce (always the same one) has the value of TRU for 'is connected'. Any ideas?

Member Avatar for VatooVatoo
0
100
Member Avatar for Mr.M

Hi Dw. I have a very huge text file with size "662 MB" and its can't be opened by a notepad on my computer so I created a program to only read the last line because there is a software that is writing to this file some counts, so I …

Member Avatar for Reverend Jim
0
1K
Member Avatar for Programmer592

Hey guys. So I'm currently building an app and I'm having a bit of trouble. So I have an Excel file and it reads it and opens it fine(I imported microsoft.office.interops.excel but what I want to know is how to loop through column A and pick out the rows that …

Member Avatar for Programmer592
0
416
Member Avatar for digiway

Hi, I select S.No, name and mark from sql database table. This table contain n number of rows. I want to add(+)/Plus the mark and display in the (n+1) row of datagridview how can i do this. Thank You

Member Avatar for ddanbe
0
228
Member Avatar for mridul.ahuja

I have a website with the url to be entered in TextBox2 . I want to extract names, email ID and mobile numbers of people from the website. The url in TextBox2 contains the names and the email IDs, however the mobile numbers are present on another webpage (profile page) …

Member Avatar for mridul.ahuja
0
423
Member Avatar for shrikeps

I have data that I want displayed in a listview. Problem is when I read from a file with System.Text.Encoding.GetEncoding("Windows-1252"), it shows up in listview with Zoë instead of Zoë as it should. How can I make my listview code to show the correct diacritics in the view? This is …

Member Avatar for gusano79
0
137
Member Avatar for Modini

How to read input from a textbox and store the data as first element in 3D array? Please help!!

Member Avatar for Mr.M
0
182
Member Avatar for Anupam_4

Will u plzz help me for displaying the content from the database in datagridview in vb with backend mongodb?

Member Avatar for Rakhmat_1
0
896
Member Avatar for wilsonchama

Hi guys, I am trying to save the items in a listview to Access database. The listview has two columns; "Description and Price". For example, If a user adds three Items (products) in a listview and clicks a command button, I want these items to be saved in a database …

Member Avatar for jwenting
0
621
Member Avatar for sing1006

cmd.CommandText = "UPDATE tbl_System SET S_Name='" & TextBox2.Text & "', S_Function='" & RichTextBox1.Text & "', S_Failure='" & RichTextBox2.Text & "' WHERE EquipTag='" & Tbl_SystemDataGridView.CurrentRow.Cells(0).Value & "' i think this is correct format for update query but i still get error for this

Member Avatar for sing1006
0
262
Member Avatar for Mr.M

Hi Dw. How to check if the running process has been injected by another process or there is another process running as another process. What I mean is, let's say the explorer has been injected by another process and both these processes run as one process and the explorer process …

0
115

The End.