20,284 Topics
| |
Can anyone help me by giving out a complete tutorial on the step by step way a connecting to a database using VB? | |
I currently have the following bits of code: [CODE=VB.NET]Public Class MainFrm Private _storage As New List(Of StopwatchStorage) Public TotalParticipants As Integer Private participantLbl As Label Public participantName As TextBox Private participantClock As Label Private participantContinuation As New Stopwatch Public ParticipantStop As Button Private participantContinue As Button Private participantTimer As Timer … | |
Hi i have the following code. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim con As New OleDbConnection Dim da As New OleDbDataAdapter Dim ds As New DataSet Dim dsnewrow As DataRow Dim cb As New OleDbCommandBuilder(da) Dim a As String con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\DB.mdb;Jet … | |
hi everybody! i already know how to save in excel using openfiledialog. but what i want to happen is that when i save another file, i want it to be saved in my existing file but in a different sheet. can you guys help me? this is my code for … | |
Hello, I'm need to create a small report to be send automaticliy from VB.NET Windows application. I have wrote below code which is workin on my private PC, and with Gmail settings, such as username + password + smtp.gmail.com, etc... But with, my work informations, like my proxy ID + … | |
Hi all, I need my form to automatically select the first entry in the datagrid view when it is loaded. I am having trouble finding the correct way to code it. [CODE] Private Sub CustomersForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim cust = From customers In … | |
Hello Once again i need help. I have a webbrowser So once webbrowser is completed then it should add the specified value in [TEX]<input type="file"> [/TEX] value in php. Eg: Webbrowser link is [url]http://tinypic.com/[/url] When webbrowser is completed then this [url]http://screensnapr.com/e/LCgzhP.png[/url] value will be our specified value. I tried using … | |
Hi, My dev computer is 64 bit Windows 7. I use the IntPtr variable in several classes throughout my application. When I compile the .msi file on my 64 bit computer, then install and then run it in a 32 bit environment I get 'System.MissingMethodException: Method not found ...get_HWND' error … | |
Doing a program that requires 2 web forms, and the program stats "We have elongated the window so you can see that the order information was passed as a set of Request parameters appended to the URL." Can anyone give me an example? I have no idea how to append … | |
hello im working with vb 2010 and ms access as data base, just newbie.im trying to save the loged out date and time to my access table by selecting from tblloghist wherein my column SystemUserID is equal to my textbox SysID(located at my form) then it will save the timelogedout … | |
Guys how do I change the size and location of the controls at runtime by dragging and dropping. I want the users to be able to modify them. Thanks | |
need some help here what i want is when the user inputs the username and password, his/her information will be showed in the textbox located at the mainform which shows the users information like where he live and his occupation. please help me on how to show users data in … | |
help pls the image of my button is not showing at runtime | |
For a school project I need to make a timer with a bell sound that sounds every 60 seconds in VB, I cannot work out how to make the bell sound on the 60th second, I am not getting any errors in the VB console, so I assume that I … | |
Unable to cast object of type 'System.Byte[]' to type 'System.Drawing.Image'. hi i got this error message [CODE] Private Sub DataGridView1_RowHeaderMouseDoubleClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellMouseEventArgs) Handles DataGridView1.RowHeaderMouseDoubleClick 'DataGridView1.DataSource = bs Dim i As Integer i = DataGridView1.CurrentRow.Index txtConID.Text = DataGridView1.Item(0, i).Value txtLname.Text = DataGridView1.Item(1, i).Value [COLOR="Red"]PictureBox1.Image = DataGridView1.Item(2, … | |
Hello everyone, Please can someone help me to debug this error? It has been giving me a huge headache since last night. Anytime I try to add new record into my database, this error message keeps coming up: "Error: INSERT INTO Customer(Cust_ID, Name, Address, Username, Password) VALUE(?,?,?,?,?,?)". I don't know … | |
Private Sub btnCheckIn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCheckIn.Click DatabaseConnection.ConnString() Try Dim litems As ListViewItem = New ListViewItem() DatabaseConnection.ConnString() DatabaseConnection.DataOpen() DatabaseConnection.Add("INSERT INTO CheckIn(CheckInDate, Deposit, Staying, CheckOutDate, Amount, Balance, Roomnum) VALUES('" & txtCheckIn.Text & "','" & txtDeposit.Text & "', '" & txtStaying.Text & "', '" & DTCheckOut.Text & … | |
now; web.Navigate("http://www.yougetsignal.com/tools/web-sites-on-web-server/php/get-web-sites-on-web-server-json-data.php?remoteAddress=" + TextBox1.Text) this my code.and web.document.complete ListBox1.Items.Add(web.DocumentText) but result [CODE]{"status":"Success", "resultsMethod":"database", "lastScrape":"2012-01-22 08:05:08", "domainCount":"46", "remoteAddress":"mikrofiltre.com", "remoteIpAddress":"188.124.8.186", "domainArray":[["afatogullari.com", ""], ["anadolukarikaturculerdernegi.com", ""], ["anadolukarikaturculerdernegi.org", ""], ["dekopol.com", ""], ["efesplaygrounds.com", ""], ["ezelhijyen.com", ""], ["gurtuna.com.tr", ""], ["krossdekorasyon.com", ""], ["kucukerler.com", ""], ["mikrofiltre.com", ""], ["mikrofiltre.com.tr", ""], ["omakbobinaj.com", ""], ["otokivanc.com", ""], ["oyunparkiicinherseyburada.com", ""], ["ozlemtokerim.com", ""], ["payeplast.com", ""], … | |
Hi I want to make a url contol program. url list in the listbox and search button if vocabulary in the url then listbox 2 add item example: url:[url]http://example.com[/url] vocabulary : "car" search: The car vocabulary in the documenttext ("source code") add listbox1 to listbox2 but I don't want slowly.I … | |
Hi friends., Actually I use datagrid to show my result from XML file.I load my data from XML file easily.But i need Sorting method for that and i don`t know how to solve it Please give me solution for that My code is [CODE] Imports System.Data Imports System.Xml Imports System.IO.StringReader … | |
Hi there, I was trying to edit a excel document and save under different name and my coding for this is as follows. [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'Open Dim MyExcel As New Excel.Application MyExcel.Workbooks.Open("C:\Test\WalkAir.xlsx") 'Extract MyExcel.Sheets("sheet1").Activate() MyExcel.Range("A99").Activate() MyExcel.ActiveCell.Value = TextBox1.Text MyExcel.SaveAs("C:\Test\alkAir.xlsx") MyExcel.Workbooks.Close() … | |
I currently have two stopwatches ( running in a VB 2010 program. What I would like to do is combine their values together and have their results outputted in a string formatted as 0:00:00. I tried the Add method and the + method but this fails. This is in short … | |
Hi Every body by seeing this video i tried but it is not working [url]http://www.youtube.com/watch?v=kg-z8JfOIKw[/url] i used shockwaveflash to play a movie but when i execute only a blank screen will be their it is not playing the movie guide through the code really i am confused totally | |
I figured I'd ask this here before I go back to other sites. I'm trying to dynamically create a set of stopwatches and buttons. Each stopwatch will be controlled by a button which is also dynamically created. However, each time I code it, I always ended wiring both buttons to … | |
Hi, I have attached a printscreen version of my excel template here, Now I just want to know, using vb.net code, on how can I import this data from a specific cell, including the header itself so I can insert it into mysql database. Thanks | |
Hi all- I'm working on an assignment for class and I would like some help. I have to create a calculator. In order to do the calculation, when the math operator is entered, there is a space on either side, so that I can split by the white spaces. [code] … | |
I created on Employee master form. The details which i enter in this form is saving to sql table. But if i use Wild characters example in Name field if i enter "Varghese D'Costa", then the following error comes : Line 1: Incorrect syntax near 'Costa' Unclosed quotation mark before … | |
i i have a listbox and 1 button in my application thing i want is when i click on some listbox item auto press that button or when i click on some item in list box it remove selected items from list box just with mouse click | |
Hi, I am learning about the search capability in an array. I wrote a code that stores three names (first & last) and I want to: - Make the user select a number (from 1-3) by using a (combobox) - If the user select the proper number then a message … | |
which one cannot be considered as a counter variable? [CODE] counter = counter +1 counter = counter -1 counter = counter +3 counter = counter *2 [/CODE] |
The End.