20,285 Topics

Member Avatar for
Member Avatar for sanju_sql

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

Member Avatar for kvprajapati
0
40
Member Avatar for shibin09
Member Avatar for kvprajapati
-1
63
Member Avatar for iamai

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 …

Member Avatar for kvprajapati
0
162
Member Avatar for rude04

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 …

Member Avatar for kvprajapati
0
162
Member Avatar for tanveersml
Member Avatar for RAjushendre

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 …

0
56
Member Avatar for ankita_rose9

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 …

Member Avatar for kvprajapati
0
76
Member Avatar for karabo101

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

Member Avatar for kvprajapati
0
36
Member Avatar for Ciarant

[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]

Member Avatar for kvprajapati
0
65
Member Avatar for Darkicon

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 …

Member Avatar for kvprajapati
0
150
Member Avatar for mercury113

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 …

Member Avatar for apegram
0
77
Member Avatar for student21

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 = ? …

Member Avatar for culebrin
0
104
Member Avatar for glennt

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 …

Member Avatar for glennt
-1
105
Member Avatar for student21

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 …

Member Avatar for kvprajapati
0
167
Member Avatar for Jdugan4

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, …

Member Avatar for kvprajapati
0
110
Member Avatar for Nazir Hussain

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 …

Member Avatar for kvprajapati
0
105
Member Avatar for j_808

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 …

Member Avatar for j_808
0
4K
Member Avatar for sanju_sql

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 …

Member Avatar for sanju_sql
0
82
Member Avatar for jez23

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...

Member Avatar for abhay1234
-3
315
Member Avatar for Miss Confused

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!????? …

Member Avatar for Oxiegen
0
113
Member Avatar for jakewebb

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 …

Member Avatar for jakewebb
0
1K
Member Avatar for ogimy

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 …

Member Avatar for GeekByChoiCe
0
86
Member Avatar for mjltech

[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 …

Member Avatar for NeilClayton
0
106
Member Avatar for bluem1

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 - …

Member Avatar for bluem1
0
165
Member Avatar for jlego

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 …

Member Avatar for jlego
0
98
Member Avatar for mercury113

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 …

0
62
Member Avatar for Sailor_Jerry

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 …

Member Avatar for Sailor_Jerry
0
2K
Member Avatar for hiz460

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 …

Member Avatar for hiz460
0
116
Member Avatar for vbnoob

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 …

Member Avatar for apegram
0
361
Member Avatar for ayame2012

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.

Member Avatar for Oxiegen
0
139
Member Avatar for kinyuadave

Is is possible to replace the shutdown.exe with another exe developed in vb.net that can shutdown the system.?

0
49
Member Avatar for glenntamis

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 …

0
72
Member Avatar for digitalsindhx

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 …

0
131
Member Avatar for kirandeshmukh

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

Member Avatar for abdul shafee
1
100
Member Avatar for Eleqtriq

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?

0
52
Member Avatar for puteraX

[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 …

0
44
Member Avatar for tanvirahmad

hi experts i want to capture name of last or current using textbox name? how is it possible , plz help me.

Member Avatar for kvprajapati
0
48
Member Avatar for matt.clark.228

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 …

Member Avatar for Hollandtech
0
740
Member Avatar for nazgulsecret

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".. …

Member Avatar for kvprajapati
0
88
Member Avatar for ashish81sharma

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 …

Member Avatar for kvprajapati
0
428
Member Avatar for culebrin

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 …

Member Avatar for culebrin
0
473
Member Avatar for Dorayaki

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 …

Member Avatar for Dorayaki
0
141
Member Avatar for holyskylark

[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 …

Member Avatar for kvprajapati
0
149
Member Avatar for pepelara

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 …

Member Avatar for pepelara
0
88
Member Avatar for hjdoran

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 …

0
51
Member Avatar for sbanks_charles

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. …

Member Avatar for sbanks_charles
0
144
Member Avatar for RAVARUNA

please I need to perform a silent download in visual studio 2008 please help me :)

Member Avatar for kvprajapati
0
79
Member Avatar for renegregorio

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 …

Member Avatar for kvprajapati
0
94
Member Avatar for haxor98

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.

Member Avatar for haxor98
0
148
Member Avatar for xfrolox

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 …

Member Avatar for kvprajapati
0
87

The End.