Groups | Blog | Home


Archived Months
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
all groups > vb.net data > november 2004

Filter by week: 1 2 3 4 5

DAO or oleDB
Posted by Maileen at 11/30/2004 10:47:04 PM
Hi, I would like to know which technology is the fastest one for reading a MS Access DB. In the past i used a lot of time DAO and I'm used to noz, however, I've read that OleDB is faster tha DAO... so in which way is it fastest ? I tried to used it and what I see it's that it asks more lin...more >>


Query across multiple databases/SQL Servers
Posted by no.one NO[at]SPAM no.where.com at 11/30/2004 10:37:11 PM
Is it possible to run a single query that pulls data from multiple tables in multiple databases, perhaps also from multiple SQL Servers? Any input would be appreciated. Thanks! RichardF...more >>

Show Image from a path in a database
Posted by Jeremy Dillinger at 11/30/2004 9:49:25 PM
I am attempting to create an application that will pull inventory data from a database. One thing I would also like to do is add a picture box to the window. We have the file path to all the imags stored in the database (ex. "/images/case1.gif" ) How would I bind this image box to the database...more >>

Using Stored Procedures in Access
Posted by Daren Hawes at 11/30/2004 3:35:15 PM
This is a multi-part message in MIME format. ------=_NextPart_000_0003_01C4D6F2.3D1EE0C0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi I need some help with Stored Procedures in Access. Can I do them like MS SQL Server? I need to update some data and ...more >>

Problem copying Datatable---long post with code
Posted by james at 11/29/2004 12:00:04 PM
Sorry for posting a long post, (the code) but, I am having a problem copying one data table to another new table in another Access database that has the same table schema. You will notice that I do not list exact column names etc. because this routine needs to be generic so I can use it to copy...more >>

get table structure
Posted by Maileen at 11/27/2004 7:02:57 PM
Hi, I would like to know how can i get the table structure (fields name) from MS access DB ? thanks a lot, Maileen...more >>

User Control Property
Posted by David Gacek at 11/27/2004 2:38:04 AM
Anyone know how to ... make a user control property that shows up in the property pages and allows one to select a value from a set of values ? like a combobox for example ? ...more >>

VS.net BUG
Posted by David Gacek at 11/26/2004 12:17:55 AM
Try to create a new windows form app named prn and you will get this error --------------------------- Microsoft Development Environment --------------------------- Projects and solutions cannot be named '.' or '..', nor can their names contain any of the following characters: / ? : & ...more >>



Error loading data
Posted by hubertSVK at 11/25/2004 8:03:40 PM
this code seems to be causing an error, can anyone help me Dim rstLoad As New ADODB.Recordset rstLoad.Open("SELECT * FROM recept") <------------------ERROR Do Until rstLoad.EOF ListView1.Items.Add(rstLaod.GetRows) rstLoad.MoveNext() Loop rstLoad.Close() ...more >>

access problem
Posted by dzemo at 11/25/2004 11:31:06 AM
I use access file for database. in one table I have column with number (decimal 18,2) type. When I modify data manually it work file. But when I write data using program made in VB.NET (oledbCommand) thought parameter I have problem with decimals. 20,00 work fine but 2,20 writes like 22. Why? Th...more >>

Which SQL var type
Posted by Jon at 11/24/2004 1:50:31 PM
I have a stored procedure with an input parameter declared as numeric(15,2) .... what would be the best way to declare it for an SQL Param, like below? New SqlClient.SqlParameter("@SpclHndCode", SqlDbType.Float, 0) The obvious choices seem to be float, decimal or money...any suggestions on ...more >>

how to include access db in solution build?
Posted by njp at 11/23/2004 2:34:33 PM
Hi, I can't find info on how to include an executable copy (I guess that's what it should be) of an Access database in the solution's build. The solution contains 1 windows application project. Do I include the .mdb as a file somehow? Should I have created a database project? Appreciate any he...more >>

sql string systax problem
Posted by Stephen at 11/23/2004 2:02:09 PM
Hi Guys Could someone be so kind as to look at the following sqlstatement and tell me why i keep getting exceptions?... I'm going crazy... I cant get the syntax down for the datediff function in the sqlStatement. Everything works when I delete the dateDiff Function from the statement ( but no ...more >>

listview/treeview and acess DB
Posted by hubertSVK at 11/22/2004 7:35:17 PM
I would like you to help me ... I'm a beginning vb.net programmer and I need an advice ... I'm creating a DB application and I need to read data from the Access table with MS Jet 4.0 into Listview (nead to get 2 columns from the table) and into the treeview (I need to get there the list of tables...more >>

DataRow.Add problem, is it a bug?
Posted by Alpha at 11/22/2004 6:29:25 PM
Could any one help? "myDt" is used throughout the project and just only the statement below generate an exception My snippets: Dim myRow As DataRow myRow = myDT.NewRow() myRow .Item("sysitem_id") = 10 myRow .Item("sysitem_name") = "Item 1" myDT.Rows.Add(myRow ) <------------------...more >>

Problem in developing newsreader in vb.net
Posted by balu at 11/22/2004 11:08:47 AM
Hello, I am developing a Newsreader in vb.net and i am getting a problem in posting article to newserver for a particular set of newsgroups. i developin g this newsreader using nntp commands.I need vb.net code for posting a article . I getting a problem in defining a article format. Kindly ...more >>

Problems with the contructor/new() method in the subclass
Posted by Antuane at 11/21/2004 10:51:31 PM
I've got a class as follows, PUBLIC CLASS BaseClass Sub New() End Sub Sub New(byval cName as String) End Sub Sub New(byval cName as String, nAge as Int16) End Sub END CLASS PUBLIC CLASS Person Inherits BaseClass END CLASS ** Coding If suppose i try the following p...more >>

Invalid Unicode Characters written by VB.NET dataset
Posted by Shaun Merrill at 11/21/2004 12:53:48 AM
How can I prevent my VB.NET dataset from writing invalid unicode characters when using the WriteXML method? This results in an XML document that will neither validate nor transform. Some of my data is unknown HTML content. I see that the method has replaced the greater-than's and less-than'...more >>

newbie; Update not working
Posted by Allen at 11/20/2004 4:17:42 PM
Hey all I'm new to .net trying to update a database with a new calculated values. I keep getting this error. An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll Additional information: System error. Public Function Debit(ByVal iStudentID As Intege...more >>

Snapshot of data from Access2003 from a disconnected network db
Posted by me at 11/20/2004 9:21:50 AM
This is a multi-part message in MIME format. ------=_NextPart_000_000C_01C4CEE2.5DE36190 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, How do you create a snapshot/read only view of the complete data from = Access2003 from a disconnec...more >>

Excel using ado.net - operation must use an updateable query
Posted by Tom wilson at 11/19/2004 1:30:48 PM
This is driving me nuts. I'm trying to update an Excel spreadsheet using ADO.Net and Oledb in VB.Net. The connection is open, the adapter is connected and the dataset is loaded. Here's the code in question: myDataRow = myDataSet.Tables(0).Rows(RowNum) myDataRow(ColumnCount)...more >>

How to create a new table name...
Posted by Brian W at 11/18/2004 9:31:08 AM
I would like a data adapter to pull information from Someone answered a question for me on this Newsgroups, a little over a week ago and I was wondering if anyone could clarify for me. I am attempting to use one dataset to do all the data retuned from all my data adapters. I have a data adapte...more >>

Binded text fields don't update the database
Posted by Ville Mattila at 11/17/2004 8:27:22 PM
Hi there, I've been playing with VB.NET and ADO for a week now and find the different data handling functions very easy and nice. Anyway, I'm afraid that I haven't understood the data binding things correct. I'm using MySQL Connector/.NET to access my database from the application. The q...more >>

Problem in developing newsreader in vb.net
Posted by .net at 11/17/2004 7:15:18 PM
Hello, I am developing a Newsreader in vb.net and i am getting a problem in posting article to newserver for a particular set of newsgroups. i developin g this newsreader using nntp commands.I need vb.net code for posting a article . I getting a problem in defining a article format...more >>

Problem in developing newsreader in vb.net
Posted by .net at 11/17/2004 7:10:03 PM
Hello, I am developing a Newsreader in vb.net and i am getting a problem in posting article to newserver for a particular set of newsgroups. i developin g this newsreader using nntp commands.I need vb.net code for posting a article . I getting a problem in defining a article format...more >>

retrieve last entered data
Posted by Kishan Hathiwala at 11/16/2004 12:06:31 PM
can anyone tell me how to retrieve the last data entered in mdb in vb.net ...more >>

Date Formate when using ds.WriteXml
Posted by Robert Scarborough at 11/16/2004 1:48:02 AM
I have a Table in a Typed Dataset which contains a Date field called EventDate. I've ensured that the field is defined as Date as opposed to DateTime in the Typed Dataset. When I generate an xml file from an instance of this typed dataset using the ds.WriteXml method, all the dates come out f...more >>

Masked edit control
Posted by necrobiotic NO[at]SPAM hotmail.com at 11/14/2004 12:48:00 AM
Hello there! I create a dataform using the dataform wizard, and I want to replace a textbox with the masked edit control. I place a masked edit control to my form but there isn't a datasource property !!! If I expand the (Databindings) -> Text property and select "objdsClient - Client.PostalCod...more >>

vb SQL join dataset field access
Posted by Sebastian Kenny at 11/13/2004 10:29:24 PM
I'm new to VB.NET. I'm usging an SQL select join in the following way: ---------------- strConn = Application.Get("DB_CONNECTION_STRING") Dim MySQL As String MySQL = "Select * from Users u, Banks b where u.UserID=? and b.BankID = u.BankID" Dim MyConn As New Odbc.OdbcConnection(strConn) D...more >>

Version Control -How to save the records ?
Posted by Agnes at 11/12/2004 11:19:58 AM
My client got Two branches in two different cities. Now, the database server will be placed in City A , the user will input the data in City B. they use the lease or VPN to connect it. I got a problem on 'version control' design, We need to keep each version of the docuement and saved them into ...more >>

dataset.Merge not working
Posted by SQLScott at 11/9/2004 2:29:04 PM
I am at a loss as to why my Merge method isn't working. I know the "source" dataset has data, but when I merge it to the "target" dataset it has no rows or data. This should be fairly simple enough but I am drawing a blank. Any help is greatly appreciated. Here is the code (I am not ...more >>

MySQL Connector?
Posted by Jeremy Dillinger at 11/9/2004 12:29:46 PM
I am trying to design a program that will use data from a MySQL database. Currently all the data is being used with PHP scripts from a website. I am also trying to build a software solution that can use the same data. I have gone through all the data connectors in Visual Basic.net and none of the...more >>

ado.net hell of a time!!
Posted by Tym at 11/8/2004 9:00:36 PM
Moved up from DAOon VB6 to ADO.Net on VB.Net 2003 Slowly getting there.... but... Old VB6 code: Dim rsRec as Recordset Dim sCRIT as String Scrit = "Field1 = 'TEXT'" rsRec.FindFirst sCRIT If rsREC.NoMAtch then msgbox "Not Found" Exit Sub End If Debug.Print rsRec.AbsoluteP...more >>

Another newbie question...
Posted by Tym at 11/8/2004 2:25:00 PM
Trying to ge to grips with the wat vn.net or rather ado.net qorks in vb..... I have a table in a database which I loaded into a dataset... No rocket science there.... I use SQL to insert a new row into the database table How do I get the dataset to refresh itself with the new table cont...more >>

dataset find error
Posted by Alejandra Parra at 11/8/2004 1:49:04 PM
I have this code DataSet.Tables(0).DefaultView.Sort = "str_CveAlumno,str_CveDato" Dim xValues(1) as Object xValues(0) = sAlumno xValues(1) = sDato iDRow = DataSet.Tables(0).DefaultView.Find(xValues) If iDRow < 0 Then xDataRow = xDataSet.Tables(0).NewRow xDataRow.Item("str_CveMateri...more >>

Contents of Combo not visible
Posted by dan artuso at 11/8/2004 11:49:13 AM
Hi All, This problem just started today, the combos in question were working fine until now. They continue to populate okay, the contents are simply not visible. I can scroll down and make a selection and it will show up in the text portion, I just can't tell what I'm selecting! Here is the...more >>

OleDbDataAdapter, OdbcDataAdapter, OracleDataAdapter, SqlDataAdapter
Posted by Randy at 11/8/2004 10:50:39 AM
I've heard that ODBC is inheritantly slow. Are the other adapters faster than the ODBC one when moving large chunks of data? Or do they all use the same underlying mechanism to transfer data? Essentially, I'm trying to find out which one is the fastest... Thanks ...more >>

List Control --- Selecteditem?
Posted by Alpha at 11/5/2004 11:23:16 AM
Hello, My List Control can show the items as expected. However, when I want to get the selected item text using: txtDeptDesc.Text = lstDepts.SelectedItem.ToString I've just got: "System.Data.DataRowView" in txtDeptDesc.Text but no error occurred. Here's my snap: D...more >>

Configure Data Adapter Wizard Failing
Posted by Jeff Dillon at 11/4/2004 9:53:42 AM
The Configure Data Adapter wizard works on 20 other tables in my SQL2000 database, but fails on the following with an error "There were errors configuring the data adapter" Granted it's an oversize table, but what are the limits? Also, can I "view" the errors configuring the adapter? I've ...more >>

Create a "composite" table?
Posted by Brian W at 11/4/2004 8:49:16 AM
I have tree tables that are linked, I would like to create one composite table that uses elements of the tree tables the tables are like this: Foods Ingredients Recipe IngredientsID FoodID-------FoodID FoodName RecipeID-...more >>

How to create image column in datagrid from dataset ?
Posted by Ken Yu at 11/1/2004 3:38:10 PM
Hi, I have one question, I have one database table used to store image (blob), i want display the image in datagird direct from dataset, i check tablestyle in datagrid doesn't have image column, how can display the image in datagrid ? Tks a Lot ! Ken ...more >>

where can i find more information about how to create Custom Control ?
Posted by Ken Yu at 11/1/2004 2:08:59 PM
Hi, Where can i find more information about "How to create Custom Control" ? Tks a Lot ! Ken ...more >>


DevelopmentNow Blog