20,284 Topics
![]() | |
Using Microsoft Visual Basic Express 2010 This is the code i used: Dim b As Integer = TextBox1.Text Dim c As Integer = TextBox2.Text Dim a As Integer = b * c MsgBox(a Why does this visual basic code not work and how do i fix it to make it … | |
One of the problems with datediff function is that even if the two dates are 31-12-2011 and 01-01-2012,it will show the difference as 1 year.How to overcome this problem???? | |
Hi! I need to disable a key in vb.net, such as the e key. So i would open my application and tab off of it, and go to internet explorer and try to go to google and it would come out as goolg . How would i do this? | |
Hi all, I am writing a service to get a count from a table on an SQL server. THe SQL box is in the same domain, and the service is runnign under the same account as the SQL box. The box service is running on is Win 2008 in the … | |
Hi, I am hoping you guys could help me with this. I am trying to loop number into something like this. 0 12 345 6789 here is my code: Dim i As Integer Dim j As Integer j = CInt(TextBox1.Text) For i = 0 To j label1.text = i Next … | |
I wonder if someone can point out where I'm going wrong with this code. My aim is to control the visibility of an UpdatePanel with a CheckBox. The CheckBox is located on the same form, but not adjacent to the UpdatePanel. ScriptManager is present, but when browsing, checking the CheckBox … | |
Hi guys, So I'm making a random sentence generator that takes subjects, predicates, etc. from user input, stores them, and then randomly chooses one value from each category and prints it in a textbox. Or at least, that's how it's supposed to work. But I just can't seem to get … | |
i created a dll file using vb.net then it has a shared function that will execute a stored procedure of mysql but my code is something long and when accessing it, it has a big risk that it can produce an error if there is an incorrect string input, i … | |
I have added three images to ImageList..I want to show tooltip....On listview item... [code] Public Class Form2 Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ListView1.View = View.LargeIcon ListView1.LargeImageList = ImageList1 For lcount As Integer = 1 To 3 ListView1.Items.Add(lcount.ToString, lcount - 1) Next End Sub … | |
hi, im making a program and i need it to start when the computer sarts could someone give me some guidance thanks for reading (and hopefuly answering) Jack | |
Hi All, new to this quality forum. Beginner in VB hoping to become a professional, hopefully one day ;) got this code from googling: Private Sub DataGridView1_CellValueChanged(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellValueChanged If e.RowIndex <> -1 AndAlso e.ColumnIndex = Column1.Index Then Dim cell As DataGridViewComboBoxCell = … | |
Hey guys. I'm new to this vb.net programing, and was trying to build an Email-client where you can change the SMTP server, adress and password and then it saves it to a config. But my problem is right now that, the textbox wont accept any inputs. So if anyone could … | |
hi all.. i have the option to save the contents of the listview that was saved into text file. now i would like to load the text file into datagridview in vb.net but i have no idea how to do it as this is my first time in doing it … | |
how to filter textbox text? i use this code to copy webbrowser text in textbox3 TextBox3.Text = WebBrowser1.Document.Body.InnerText it show all text in textbox like this crypo.freeforums.org Advanced search Board index ‹ Socks Change font size E-mail friendPrint view User Control Panel (0 new messages) • View your posts Arcade … | |
hallo programers ok this code will save data withc is URL from textbox and load it to listbox , but i want it save first name of uRl like google then in other textbox put URl and save so when its load data its shows only name like Google not … | |
please help me i need to create a hash table using a multiplication method and i need to create an array of linked list **so how i can to create array of linkedlist in vb or c# ????** | |
Hi guys, I'm quite unsure of what i'm doing here and could use some guidance. I've searched but haven't found any links that were focused enough. My objective is to connect my application to a database for the first time. I've never done this before so it's essentially a learning … | |
Hi. I am having connection issue while connecting to using below string provider=IBMDADB2;Data Source=XXXX.XXXXX.COM:5000;Database=C2RCU0;Uid=s858;Pwd=cccc Getting error like database not found. But What i found was connection to mainframes it self was not happenning. Do i need to provide any other information or what i am missing here.. sConnection As String … | |
Hey , i am new to visual basic.NET , i want to recognize a barcode device in VB.NET , further have to generate some barcodes using VB.NET and recognize barcodes through barcode device. so anyone can help me... Thank you | |
Hello Friends... I need help on regular expressions.... I tried the following way but it did not work for me....please help me to create a regular expression... ^.*(?=.{8,})(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(^[a-zA-Z0-9@\$=!:.#%]+$) My requirement is -> Min 8 to 15 characters - this I will do with the length validation or by including in … | |
Hi I am wrinting a program which takes customers details and their order details, each order line is added to a DGV and eventually saved to a MDB, a Crystal Report Viewer than queries the information back and displays it in the format I setup in the report i created, … | |
I'm developing a VB.NET application that is going to be checking if a table has been changed and if it has get the data and send it off to another application. I was looking into ways for an application to know that there has been new data added to the … | |
I am having problems trying to center some text. I created a printdocument and it has a company name and title and then other information I have the information fine but I wanted to center the company name and I can't seem to do it correctly here is what I … | |
halo guys, I having problem executing the SQL statement in the visual studio but when in the MySQL it work fine. Here are my code. Dim sql As String = "SELECT * FROM (SELECT @row:= @row + 1 AS rowNum, std.* FROM Student std ,(SELECT @row:= 0) r) AS t … | |
i want to create column headers now in my first array have this http://uitm.x10.bz/!/1.png array CSC238,8.00-9.50 MAT183,1.00-2.00 ECO120,2.10-4.00 BEL311,4.10-6.00 MAT183,8.00,9.50 then second array, i want to do like this http://uitm.x10.bz/!/2.png array 8.00-8.50 9.00-9.50 10.00-10.50 11.00-11.50 12.00-12.50 1.00-2.00 2.10-3.00 3.10-4.00 4.10-5.00 5.10-6.00 6.00-7.00 7.00-8.00 8.00-8.50 9.00-9.50 hope can help this problem … | |
hi, i started using VB 2008 recently (with perl background, its a big leap) and having a problem with database. i am trying to access a database that is attached to a different form. i managed to get my code to work if i was writing on the same form. … | |
Hey,,I tried the following code to retrieve data from an excel file,apply query and save the result of query to another excel file. Now there are two problems: One,I am getting the required data but some reduntant unwanted data too. Second,It only works if the excel file, from which the … | |
Hi there. I'm having trouble passing variables between Forms. Let me explian my self by an example. I have a Form1, the user types a "Client ID" in a textbox if it's not a valid one, it opens a Form2 in which the user selects the correct "Client ID", once … | |
Hi, I have a form in VB which is scrollable (using autoscroll) and when I currently click 'print', it only prints what I can see; it takes a screenshot of the viewable information. Here's my code: [CODE]Private Sub btnPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrint.Click Dim settings … | |
I have this code which displays a login form, i want to encrypt the password before it stores into the sql database and should also be able to verify the pwd when a user logs in. Please help me, it'll be very greateful of you, Thank you. Private Sub Login_Click(ByVal … |
The End.