20,285 Topics
![]() | |
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 … | |
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() … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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, … | |
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 … | |
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) … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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. … | |
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 | |
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 = … | |
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? | |
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 … | |
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 … | |
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 | |
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) … | |
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 … | |
How to read input from a textbox and store the data as first element in 3D array? Please help!! | |
Will u plzz help me for displaying the content from the database in datagridview in vb with backend mongodb? | |
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 … | |
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 | |
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 … |
The End.