19,728 Topics

Member Avatar for
Member Avatar for nosfa

Hello. I have a SQL database called bd with a table called dados. I want to get one row from it. Web.config <add connectionString="Data Source=(local);Initial Catalog=bd;Integrated Security=True" name="bd" providerName="System.Data.SqlClient"/> variable declarations Dim DS As New bd Dim a1row As bd.dadosRow this code in the method won't return anything. In fact …

Member Avatar for Miurei
0
354
Member Avatar for brainne
Member Avatar for jacobsonsanjay
0
286
Member Avatar for VIPER5646

Hi All I have a method to configure a datagridview, meaning changing the column widths, format columns etc. If I call the configuration meathod from the form load doesn't work because the form hasn't been totaly loaded and I dont get the correct size of the datagrid, to be able …

Member Avatar for VIPER5646
0
263
Member Avatar for marky101

Good day! I want to know how to pass a value to reportviewer textbox. I want to pass the value of a datetimepicker to reportviewer textbox. How can I do this? Both reportviewer and datetimepicker are in the same form. any help is much appreciated. Thank you.

Member Avatar for Karunya_1
1
4K
Member Avatar for Steven97.1

Hey guys, I'm teaching myself visual basic using the "Starting out with Visual Basic 2012" textbook and I'm having trouble with a two part programing challenge. I did the first part which was: *"An internet service provicer offers 3 subscriptions packages to its customers, plus a discount for nonprofit organizations …

Member Avatar for tinstaafl
0
624
Member Avatar for LukeJWhitworth

Hello, I am looking to return all the usernames and SIDs of users on a computer or network. Has anyone got any idea how to do this? I know I can return the SID of the current user using the code below: System.Security.Principal.WindowsIdentity.GetCurrent().User.ToString Any help with this would be great! …

Member Avatar for Teme64
0
899
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
309
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
174
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
402
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
317
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
223
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
194
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
433
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
321
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
338
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
185
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
243
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
367
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
98
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
408
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
416
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
134
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
181
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
886
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
601

The End.