20,285 Topics

Member Avatar for
Member Avatar for widygui

Hi Everyone. I got a problem when I want to input data into my second row. whenever i try to insert data,the data always appeared in the row. here's my code... private void btnTambahStock_Click(object sender, EventArgs e) { int i = 0, j = 0, k = 0, l = …

Member Avatar for Daemon_CC
0
201
Member Avatar for Brandy_1

Having a problem. Wrote program originally as VB Console using Sub procedures, had to change it to Function. It worked as sub procedures, but now as function it won't calculate correctly, I actually have two that are doing the same thing because of the procedure switch! Grr! Any suggestions? Sub …

Member Avatar for Brandy_1
0
571
Member Avatar for elie.karkafy

I NEED TO WRITE A CODE IN VB.NET , THAT LET ME EXPORT DATA FROM ACCESS DATABASE ( THE TABLE ATTACHED AS IMAGE ) AND IMPORT IT INTO SQL SERVER 2008 R2 . **NB : TAKING INTO CONSIDERATION DUPLICATION ** Example : if you see in the image the access …

Member Avatar for Oxiegen
0
1K
Member Avatar for krunal1986

Hello, I have my VB 6.0 Application and make a Exe and I hosted it on my windows server 2000 it gives me error 'Could not access network location \\mynetworkpath'. earlier when there was Datepicker control was used then also there was error coming but I had registered MSCOMCTL2.dll and …

0
224
Member Avatar for elie.karkafy

how i can compare the data of two datatables ( dt1 , dt2 ) and got the difference in a thrid one dt3 dt1 and dt2 Structure ID Date Time S1 S2 EmpID IN\OUT any help ? thank you

Member Avatar for elie.karkafy
0
352
Member Avatar for RafaelSousa.13

Hey, i'm recently new in this forum, so if i'm doing something wrong, please tell me! I have a problem that is driving me nuts! Here's the thing, i want to know if there is any way of remove checkboxes dynamically, with code. I know that there is a way …

Member Avatar for RafaelSousa.13
0
209
Member Avatar for Nebil

Hi all, I had a little problem when deploying an application having crystal reports as a reporting tool on a client pc. It works so well in my dev pc even installed.Since i'm using Access 2007 i used Microsoft.ACE.OLEDB.12.0 provider. I haven't provided any password or username for the database.But …

Member Avatar for Nebil
0
1K
Member Avatar for Jing_1

Hi everyone, can i check with you, if i want to compare time... how can i do that... i have the following code time_One = Now el_Time = time_One - time_Two Label1.Text = Now.ToShortTimeString If Label1.Text < "06:30:00 PM" Then Label1.Text = "-----" Else Label1.Text = el_Time.ToString End If I …

Member Avatar for Jing_1
0
314
Member Avatar for wish4129

Dear fellows, i have a problem here, is there anyway to implement the drag and drop function for users to reorder the column sequence? i have tried several ways but it still not working, any hints can enlighten me? bottom is part of my code, thanks in advance. [CODE] DataGridView1.AllowUserToOrderColumns …

Member Avatar for Mukesh_3
0
943
Member Avatar for solutionland

hello thank you for your good solution but your solution always assume external workbook to be open, how to work with current opened workbook? Dim oxcel As Excel.Application Dim owb As Excel.Workbook Dim osht As Excel.Worksheet oxcel= New Excel.Application oxcel.Visible = True owb= oxcel.Workbooks.Open(Path) osht= owb.Worksheets(1) now I developing add-in …

Member Avatar for solutionland
0
394
Member Avatar for Samarth_1

Hello, I am a School Boy and a bit new to vb.net 2008. I want to know about Class Form and Class Diagram in simple language. Can Anyone Help me Please? Thanks in Advance

Member Avatar for hericles
0
169
Member Avatar for Deep Modi

I want to know, which programs are installed. and then aftEr if I Get the program theN it should find locatioN of programs... while here the user should not able to do anything accept clickIng on button 1 I mean this whole process should be dOne in background

Member Avatar for Hiroshe
0
197
Member Avatar for Patrick_3

Hello, I am experiencing a very unusual problem. If an exception occurs within my Frm_Load method which handles MyBase.Load, the method simply ends, a nice message is printed to the debug windows explaining the error, and program execution continues. The problem is, I want an error in the Load method …

Member Avatar for PerplexedB
0
243
Member Avatar for Yogesh Sharma

hey frnds, Firstly I pick the records from the databse into the DataGridView, Then I want that If we made changes to the records in the GridView & Click on Update Button, Changes are Reflected into the Datbase .Plz do reply back the ..

Member Avatar for Venkatesh_6
0
6K
Member Avatar for cypress1976

I am trying to export the current record in my app into a PDF. My current code (shown below) is exporting into Crystal Report and then into PDF format but it is exporting ALL records in the database. This program is used for entering in Purchase Requests. Each record in …

Member Avatar for Gayathri1990
0
358
Member Avatar for Exaktor

How do you delete rows from a datagridview. I have a delete button to the right in the datagridview. I want to know how to delete a single row by clicking the delete button.

Member Avatar for ChrisHunter
0
4K
Member Avatar for kerek2

Hi All's, I in a project to write some value into Mifare 1K using ACR122U with VB.Net. The value is Student ID like ' MA091221'....already read the API / SDK but not understand to do it. Can anyone giude me?..Tq

0
99
Member Avatar for arvinrrnhine

Private Sub txtamount_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtamount.TextChanged If String.IsNullOrEmpty(txtquantity.Text) OrElse String.IsNullOrEmpty(txtamount.Text) Then Exit Sub If Not IsNumeric(txtquantity.Text) OrElse Not IsNumeric(txtamount.Text) Then Exit Sub txttotal.Text = CDbl(txtquantity.Text) * CDbl(txtamount.Text) End Sub Private Sub txtquantity_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtquantity.TextChanged If String.IsNullOrEmpty(txtquantity.Text) OrElse …

Member Avatar for cgeier
0
194
Member Avatar for TarkiB

Hi guys, I'm running into an issue that's really frustrating me. It's probably the most common newbie oversight, causing me to get the dreaded NullReferenceException. I've encountered it many times before, but this time it's got me stumped. I'm filling a Datagrid with a table from a database. I'm able …

Member Avatar for arunkumars
0
294
Member Avatar for Samarth_1

I am a bit new to vb.net. I Want to make a custom shaped button in vb.net 2008 professional Edition. I Want to make it by Design and not by Code. Can Anyone Help me Please? Thanks.

Member Avatar for Samarth_1
0
500
Member Avatar for hhm_pro992

Please Help me ! I want to make SCREEN LOCK program(softwar) for my pc! i want when SCREEN LOCK program start, then unable to close by user but i am unable to do this. when i press alt + f4, it's working great but when i press alt + f1, …

Member Avatar for hhm_pro992
0
1K
Member Avatar for enrique.mansilla.908

I'm a newbie to VB.Net. I created a listBox(lstInventory), 4 text boxes (txtDesc, txtRetailPrice,txtOnHand,txtQuantity) and 4 label Boxes(lblSubTotal,lblSalesTax,lblGrandTotal). I just need ways to achieve this project. Mainform on load reads inventory items from the file and updates the list box with error checking. Do not display items in the list …

Member Avatar for enrique.mansilla.908
-1
437
Member Avatar for Riteman

I have created a C# code where I'll input a code to it and it returns me an encrypted entry pass code. Its all working perfectly. Now the question is that, I want to apply this code to every application I create so that only after getting the pass code, …

Member Avatar for hericles
0
279
Member Avatar for renn.lin

hello, i want to ask why my function cant be called here's the function create or replace function hitung_denda (idPinjam number, tggl varchar2) return number is denda number; tgl1 date; tgl date; begin select tgl_batas into tgl1 from peminjaman where id_pinjam=idPinjam; tgl:=to_date (tggl, 'MM/DD/YYYY'); if tgl>tgl1 then select (tgl-tgl_batas)*1000 into …

Member Avatar for cgeier
0
857
Member Avatar for Reverend Jim

I created an app to view and tag all of my home movie files. To play back the video I embedded Windows Media Player in the form. It also allows me to add comments to videos and search based on the comments. While it is functional, I would prefer to …

Member Avatar for Reverend Jim
0
4K
Member Avatar for zabayin

I have One DatagridView. I need to highlights rows which belongs to "ID" For Example ID 1 1 1 1 2 2 2 3 That's it. I need to highlights ID-1 all rows to Yellow Color Then 2 to Lime Color. And 3 to Yellow Again. Here is my Code …

Member Avatar for zabayin
0
410
Member Avatar for Leftic

ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment. Im getting this error every time my program tries to initalize the users nasme, and im not sure how to fix it. I looked a bit on Google, but I couldnt find a solution …

Member Avatar for cgeier
0
436
Member Avatar for Adejola

i need to trigger a reminder from database and pass the result to a msgbox using a button

Member Avatar for Reverend Jim
0
111
Member Avatar for pop_cola

Hi VB.NET gurus, Is there any way to get the name of a Primary Domain Controller (PDC) of a different domain (let's say workDomain) by using a computer that is not part of the domain (let's say home-PC)? If there is, can somebody show me how or point me to …

0
127
Member Avatar for bmufaris

The End.