20,284 Topics

Member Avatar for
Member Avatar for uzn

This is the error when i try to execute my code "Procedure or function 'Get Customer data' expects parameter '@Name', which was not supplied." [CODE]objCommand.CommandType = CommandType.StoredProcedure objCommand.CommandText = "GetCustomerData" Dim ObjParam1 As New SqlParameter("@Name", SqlDbType.VarChar, 2000) ObjParam1.Value = ID.ToString() Dim da As New SqlDataAdapter(objCommand) Dim dt As New DataTable …

Member Avatar for crapulency
0
166
Member Avatar for sindhila

hi i need an vb.net program for access database, in an sql query for append (single column) .txt file into existing .mdb table , i used this code but is not working [CODE] Pth2 = My.Application.Info.DirectoryPath STTConn2.ConnectionString = "Provider=Microsoft.jet.oledb.4.0; Data Source=" & Pth2 & "\LugatWordsOk.mdb; User Id=admin; Password=;" STTSql2 = …

Member Avatar for lolafuertes
0
115
Member Avatar for Kiseki

hi guys, just wondering is it possible to set all the textbox align to center within a form using just only one line of code? Rather than using [CODE] 123TextBox.TextAlign = HorizontalAlignment.Center 456TextBox.TextAlign = HorizontalAlignment.Center [/CODE] for every Textbox. Thanks.

Member Avatar for Kiseki
0
842
Member Avatar for rkckjk

I have the following code in which it supposed to remove rows that have the first column checkboxes checked, but it only removes one row at a time. If you have more than one checkbox checked, you have to click the command button each time to remove the row. It …

Member Avatar for MegaSofijanov
0
3K
Member Avatar for ciwiaf

hi guys, i'm having a problem manipulating the datagridview. i have an access database named "ETB.mdb" and a table inside it named "ETB" it is a read-only database and it has to stay that way, anyway, what i'm trying to do is to retrieve the data on the database put …

Member Avatar for lolafuertes
0
83
Member Avatar for tonyfingures

Hi! I am trying to create a program that can calculate the cost of a internet package once selected and also give a discount. So far, my code only works with doesn't exactly gove me the correct results. Below is my code. Please assist me in identifying the problem. An …

Member Avatar for lolafuertes
0
607
Member Avatar for mihird

I am stuck at one multithreaded app. Basically I am trying to update one control from background thread. There are two forms. 1) frmMain 2) frmLog frmLog has one list box (lstStatus) and one function as following [icode] Public Sub SetStatus(txt as string) as string lstStatus.Items.add(txt) End Sub [/icode] frmMain …

Member Avatar for mihird
0
102
Member Avatar for jennylyn

Will you please help me to solve this problem.. this is the code.. [CODE]Imports System.Data.OleDb Public Class Form6 Dim conn As OleDbConnection Dim cmd As OleDbCommand Dim strSQL As String Dim dr As OleDbDataReader Private Sub Form6_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load conn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data …

Member Avatar for lolafuertes
0
434
Member Avatar for Hittam
Member Avatar for Nirvin M

What is the use of GDI+? Can I use it for creating custom controls to use in Vector Graphics program?

Member Avatar for lolafuertes
0
158
Member Avatar for swathys

hi, below is my code. i want to get grand total based on boothID but i seems my code does not functioning. I still get same GRANDTOTAL even i have different BoothId in the sql. How do i do that. Do i need to add something in my code. PLEASE …

Member Avatar for swathys
0
90
Member Avatar for ampLife

Dear DaniWeb Programmers, please help me with my problem. im trying to fetch rows in 3 TABLES using JOined Queries im tried the query first in MS ACCESS and it worked but when i tried to show it in Crystal report it wont show its data. Heres the code below: …

Member Avatar for ampLife
0
249
Member Avatar for ranuraj

How to connect the vb.net2008 from database through coding? please send me coding.

Member Avatar for roottybrian
0
59
Member Avatar for NH1

I need a way to put a dataGrid inside a comboBox. The only way i could figure out how to do it is "using data bound items". The problem with that is that it only shows one column in the dataGrid. I need to be able to set it so …

Member Avatar for Momerath
0
127
Member Avatar for uzn

HI, I'm getting the object refernce not set to an instance of an object error in the code below. I couldnt figure it out, where I'm going wrong. Please help. [CODE] Public Function GetConnection() As SqlConnection Dim connectionString As New SqlConnection() Dim Conn As String = Nothing Conn = ConfigurationManager.ConnectionStrings("connectionString").ConnectionString …

Member Avatar for uzn
0
143
Member Avatar for uzn

Hi, I'm working on searching error files based on time. I have 2 folders which have permanent and temporary error files in it, and the only difference between permanent and temporary error files is creation time. I’m searching for error files in these 2 folders and my search should only …

Member Avatar for uzn
0
124
Member Avatar for ukfreak

Hi, Can anyone help me on the requirements below? I dont have any idea on an inventory system...please help!!!! Objective Create an inventory system that allows records of company inputs and outputs, tht's viewable through daily, weekly, monthly, yearly report as well as online control over items. Aim To simplify …

Member Avatar for prvnkmr194
0
102
Member Avatar for dheerajlonely
Member Avatar for tukky

I have a list view control on one of my forms in my program. If i click on a selected item and click on the delete button it gets removed. But i want it so that if i havent got an item selected i click on delete i get a …

Member Avatar for auxius
0
95
Member Avatar for Mr.BunyRabit

Hey There all you clever people. Its Ruan here. I am using vb 2010, and i really would like to Just open, not modify a word document. Now i have browsed the internet, and this is what i have found.. in project menu>refferences> select .. microsoft word 9.0 object library …

Member Avatar for AndreRet
0
2K
Member Avatar for izyrider

I have a combo populated with: [code] With Me.cboOwner '// populate cboOwner .DataSource = dtMyCos .DisplayMember = "CoName" End With [/code] DtCos datatable contains: CoID int CoName string So far so good! Then I have a second combo cboIssuer that needs to contain all the items in cboOwner **PLUS** an …

Member Avatar for AndreRet
0
102
Member Avatar for zarifin99ska

i have button add and the coding, but everytime 1 click the button, a messagebox said that syntax error INSERT INTO. all database column name and the textbox name is true. i checked many times. this is my code [CODE] Try 'add data inside the database con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data …

Member Avatar for zarifin99ska
0
86
Member Avatar for swathys

hi, how do i format the currency value. i have used [COLOR="Red"]Format(GrandTotal, "0.00") [/COLOR] but i still got output like this [COLOR="Red"]60917.3972[/COLOR]. How can i make it to 60917.40

Member Avatar for swathys
0
116
Member Avatar for swathys

hi, how do i get latest transaction from sql database. All the records is saved in sql database and i use different application to grab the data from sql base on transaction. I use SELECT statement but i don't know how to make it unique variable/ID. 1st user might have …

Member Avatar for swathys
0
147
Member Avatar for arch_mah

In the MDI main form I am loading one child form (i.e Login Form)at the center of the MDI form. I want without closing the child form(Login form)no one can access the MDI main form.. After login only the login page should close and MDI form should enable true.. Before …

Member Avatar for Rodge1230
0
659
Member Avatar for VBPRGM

Hi, I am using visual basic express 2008 . and i am adding few rows to the database using some stored procedure. it is working fine. after adding the row i am displaying in a grid using dataset . fine.but when i close the program and reopen the program i …

Member Avatar for lolafuertes
0
104
Member Avatar for dorothy.v

[COLOR="Green"]*help me with this code i cant withdraw. *the balance inquiry didnt appear in the form4 *in my database, do i need to put the withdraw field? [/COLOR] <form 6> [CODE] Imports System.Data.OleDb Public Class Form6 Dim conn As OleDbConnection Dim cmd As OleDbCommand Dim strSQL As String Dim dr …

Member Avatar for lolafuertes
0
289
Member Avatar for Cavemankrug

Hello, I'm kind of new to this but have successfully launched a database UI before but this time I am using the Datagridview to display by data. I do this by OLEDB and establish my connection (see code below) and bind too two different datagrids: [CODE][/CODE] Public Sub FindTroubleshootingTable() Dim …

Member Avatar for lolafuertes
0
105
Member Avatar for TheDocterd

Hi all If I am at the wrong place please excuse as I am new at this IT Discussion Community. My problem is that I want to convert an application that is written in VB6 to VB.NET using Microsoft Visual Studio 2008. The conversion completes but there are compile and …

Member Avatar for lolafuertes
0
250
Member Avatar for dorothy.v

error message: No value given for one or more required parameters. that falls in dr = cmd.ExecuteReader need help Imports System.Data.OleDb Public Class Form1 Dim conn As OleDbConnection Dim cmd As OleDbCommand Dim strSQL As String Dim dr As OleDbDataReader ' Dim ctr As Integer Private Sub Form1_Load(ByVal sender As …

Member Avatar for AndreRet
0
209

The End.