20,285 Topics
![]() | |
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 = … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 | |
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 … | |
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 .. | |
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 … | |
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. | |
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 | |
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 … | |
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 … | |
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. | |
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, … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
i need to trigger a reminder from database and pass the result to a msgbox using a button | |
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 … | |
i need to the step by steps screenshot and coding |
The End.