20,285 Topics
![]() | |
I am new to VB.net. I am trying to develop an application Back end MYSQL My SQL statement is giving indexoutofrange exception unhandled. How to handle this exception? Please give me step by step guidelines to solve this. Thanks | |
i want to export datagridview data to crystal report. can u find a solution? hurry | |
Hello guys i want get one value of my enum and then converted into hex but i got a warning Warning 1 Runtime errors might occur when converting 'String' to 'System.IFormatProvider' for example [CODE] Public enum myenum myvalue =0 end enum sub mysub() console.writeline( myenum.myvalue.tostring("X2")) end sub [/CODE] How can … | |
hello everyone,hope you can help me with this, i want to work on a shooting game,and i already have a code for the rotation of the image but i have a few problem First problem(for the [B]tank /ship[/B]): i want the image to AUTOMATICALLY rotate facing the mouse cursor,i know … | |
how can i insert date day and time on status strip m using vb 2005 | |
i thought i finished all but the problem araise about printing...... i used crystal report viewer for viewing and printing.. in vb 2005' i need to set the printing paper size such as for receipts with 10*6 inches..........but when i close and reuse it .it will take the default one...that … | |
hello frends i hv a prom with updateting............. in my form............i hv added a datagridview ......... in backend i m using an sql server...............i want to update the changinges made in datagrid view.................data shown in datagridview is from 2 from.......... i m using an join operation.............. so please anybody help … | |
how can i link form created using vb.net to sql server database. I created a database with sql server 2000 now i want to connect form created in vb.net to sql server database | |
[CODE]objDataSet.Relations.Add("CustomerTable2AccountTable", _ objDataSet.Tables("CustomerTable").Columns("CustomerID"), _ objDataSet.Tables("AccountTable").Columns("CustomerID")) [/CODE] getting this error [CODE]'column' argument cannot be null. Parameter name: column[/CODE] | |
My app uses a verification method for users of downloading a text file which contains game-ID's of the users and checking the file with their game-ID. The problem is, the code I'm using to download it is kinda messing the file up. [CODE=VBNet] Public Sub GetIDList() Dim wr As HttpWebRequest … | |
data type mismatch criteria error .. please help im getting this error .. and i don't know where's the error .. [CODE] Private Sub frmUpdateChapter_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = D:\dbCAI.mdb" con.Open() Try da = New OleDb.OleDbDataAdapter("SELECT * from tblChapter WHERE … | |
hi i was wondering if anyone could help me i have created a SELECT FROM WHERE query to perform a search here is my code [CODE]SELECT EmployeeID, DepartmentID, Forename, Surname, Role, Email, Telephone, Extension, Mobile, Photo FROM Employees WHERE (Forename = ? or ? = '') and (Surname = ? … | |
I have a users domain and user id. I would like to retrieve the full user name. The data is coming from a SQL table for display onto an asp.net page. Anyone know how to get the users name for someone other then the user who is using the asp.net … | |
i have a form with 4 text boxes on them when the user selects add the information from the textboxes saves to my database im just wondering does anyone know how i would make an error message appear if one of the textboxes was blank and stop the new data … | |
Here's the code: [code] Private Sub btdAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btdAdd.Click 'Sets up the connection to the database 'Dim myConn As New OleDb.OleDbConnection() 'Dim sql As String con.Open() Dim cmd As New OleDb.OleDbCommand ("INSERT INTO Contacts(Company, First, Last, Title, Address, City, State," & _ "ZipCode, … | |
Hi, I have created a local SQL database using Visual Studio 2005 (not by SQL Server Management Studio), and located it in the same VB project folder: "E:\MyProject\MyDB.mdf". Now I'm trying to design reports using Crystal Reports 2008, but for SQL Server, it doesn't browse this DB created by visual … | |
Sub CalculateStorageCharge() Dim datedue, datecollected As Date Dim daysoverdue As Integer Dim storagechargetotal As Integer Dim storagechargefeeperday As Integer = 5.0 daysoverdue = DateDiff("d", datedue, datecollected) If (daysoverdue) > 0 Then storagechargetotal = (storagechargefeeperday * daysoverdue) Else : storagechargetotal = (0 * storagechargefeeperday) End If storagechargetotal = CInt(txtStorageChargeFee.Text) End Sub … | |
I have a select statement as below. select * from candidate where resume REGEXP 'JAVA'; i am developing an application for searching resumes. I have a tex box where I can give keywords like Java in about example. The applciation is in MSQL as a back end. I am taking … | |
could you please give me code in c programming of a hangman game, a converter or a phonebook??? pleaseee.... badly needed it.. dont have enough time to do it.. please... | |
Hi! I'm trying to delete an entry from my database, i have the code written to display the details in a listbox but now i need to write the code do the user can select the item they want to delete and then click the delete button to delete it!????? … | |
Hi I am attempting to write a playlist for my media player which is already built. I have found a way to build a playlist for it but it would be helpful if I could save the contents of TextBox1 to a text file without using the save as. I … | |
i have make the simple code log in program with connect database.The below code have something problem.Can someone pro solve the problem.:( [code] Private Sub btnSignIn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSignIn.Click Dim conn As New OleDb.OleDbConnection Dim ds As New DataSet Dim da As New OleDb.OleDbDataAdapter … | |
[code] Private sub btnCompute_click () handles btnCompute.click Dim Total, labor, customer As String labor = cdbl(txthour.text * 35) parts = cdbl(txtpart.text + 5%) Total = labor + parts customer = txtname.text lstResult.Items.add.clear() lstResult.Items.add("customer" & customer) lstResult.Items.add("Labor cost" & Labor) lstResult.Items.add("Parts Cost" & Parts) lstResult.Items.add(" Total Cost" & Total) end sub … | |
Team - Could someone please tell me I haven't lost my mind? I have done relationships in the past but now they don't seem to work. Have I gone dumb? Creating a winform, using VS2008, sqlexpress & vb.net. My dataset looks like this: -------------------------------------------- Table 1 - BranchInformation BranchID - … | |
wondering if there is a way to shorten up this IF statement i have going on.. [code] If my.settings.id <> 1.001 or my.settings.id <> 2.001 or my.settings.id <> 3.001 then do it like this end if [/code] what im looking for is a shorter way, i have tried [code] if … | |
hello .. im having this thesis project and im new in vb.net i am having a problem in using the combobox and textbox that is connected through a database.. (im using microsoft access) i want that when i choose in the combobox .. the textbox will automatically update itself that … | |
I have a dataGridView with 4 columns. 3 of the columns i want to use a combobox. In the datagridview properties from the design view i already set the columns to DataGridViewComboBoxColumns. how do i from the code set the columns values from a dataset? I can get the data … | |
Hi, I needed some help on how to add Validation on text boxes. I wanted validation such as only adding numbers, or max 7 characters for postcode, etc. I wanted a validation on postcode so that if the correct format doesn't appear (ex, LE5 7LD) then a message box would … | |
Hi guys, I have written a simple script to get a bunch of lines from a text file (they will be filenames eventually) which are split by new lines and puts each one into an array.. [CODE] Dim ary() As String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As … | |
hi, can you help me for the search button code that once you do the search, the info will automatically display in a data grid? please, thanks a lot. | |
Is is possible to replace the shutdown.exe with another exe developed in vb.net that can shutdown the system.? | |
I am looking for advise on a new development application we are starting. I have to write 6 programs to create 6 different reports in text and excel formats (CSV). The related GUI application will launch either Notepad or Excel to view the reports. One of the reports will be … | |
Help With Add, Delete, Edit and Update Record (with Datatable Method) I Created a Software with OleDb .mdb database previously Using Dataset Method, but I was unable to Connect Datagrid with it on real Basis, I mean when I Clicked Next Record Button it only Moves in TextBoxes (Which were … | |
Hi Friends, I am doing b.tech(Comp) and my project sunject is online exam. so pls. help me for it, pls. someboby send me the source cpde of it. Mine E-mail Id is SNIPPED Regards, Kiran | |
What's up, I've been working with document.getelementbyid lately and I've created a code to comment on a Youtube video: [CODE]WebBrowser1.Document.GetElementById("comment").SetAttribute("value", "comment here") WebBrowser1.Document.GetElementById("add_comment_button").InvokeMember("click")[/CODE] Anyway, I was wondering how I would rate a video? | |
[CODE]Private Sub btnDelete_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDelete.Click Dim conn As MySqlConnection conn = New MySqlConnection() Dim test As String Dim commandSQL As MySqlCommand If MsgBox("OK to delete parent: " + DataGridView1.CurrentRow.Cells(0).Value + "?", MsgBoxStyle.OkCancel, "Delete Progress") = MsgBoxResult.Ok Then 'delete it from the dataset test … | |
hi experts i want to capture name of last or current using textbox name? how is it possible , plz help me. | |
I am trying to develop an on screen keyboaard for a UMPC. I have everything built and for each button click i have code for my sendkeys, however, i have not a clue where to start when it comes to focusing the application. I need to know how to after … | |
i want to publish my project along with some of the other text files(.txt) . i am able to publish it successfully but the files in the "debug" folder are not getting added.... so when i install and run my project it shows me a error message "FILE NOT FOUND".. … | |
Hi, I have a weired problem. I developed a multithreaded WinForm application using VB.Net, and SQL Server 2008. The application works perfectly fine if I am using Visual Studio IDE to run the same. But, if I run the exe file created by VS the application hangs in case I … | |
Hi, I've been working on a report and it has 2 subreports, one of them can outgrow the region destinated for it (on a preprinted paper), and I want to break the subreport on a new page of the main report (with page header and page footer). How can I … | |
Hello... I Just know how to Expand the Treeview when the user click on the checkbox, but how to uncheck all the child nodes and un-expand the treeview ? so if the treeview nodes is not clicked then unable to expand... For example I have [ICODE]- Parent 1 - Child … | |
[COLOR="Red"]i have written this code to inser data in my database table "member "through the form but it is not working if i start debugging the code it gives no error but when i open my database table to see the inserted data it is not working. please help me … | |
Hi, I have a database table Files with a column Validated type of bit. Default is 0 and when a file is validated the column turn to 1. In my app I have two discs, a red one for 0 and a green for 1, so I would like to … | |
Hi everyone, I'm looking for thoughts on how to copy fields between databases and I just can't seem to get pointed in the right direction. My problem is that I have two databases, one is newer than the other and has been modified (fields added over time). There is an … | |
I have a question about something that I don't understand which doesn't seem to affect anything. I have an application that uses a grid to find and select a detail record. I have two cells that contain phone numbers so I have a private sub that handles grid cell formating. … | |
please I need to perform a silent download in visual studio 2008 please help me :) | |
Hello... Can anybody help me with this? 1. i have the images of our specimen card, located in my hard disk. 2. i want the image of the speciment card to be display in a picturebox when i type in the name. 3. i already made this in Ms Access … | |
How do I get a program to check to see if the computer is shuting down or logging off? I want to run code when the computer is shutting down. | |
Well i don't really don't know how its call but when you click the left upper corner icon it appears like a little menu. close - max - min etc u want to change it This is one pic from a program i have that its not mine [url]http://img718.imageshack.us/img718/4938/his.png[/url] In … |
The End.