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 > march 2004

Filter by week: 1 2 3 4 5

Advice for EPOS application
Posted by Tim Vernon at 3/31/2004 11:41:10 AM
Hi all I'm building an application in VB.Net for entering Order information into our database. I'm comfortable with basic SQL commands and handling variables, but am looking for some guidance for dealing with user-defined sets of data. I'm using the generic Shopping Cart model to describe t...more >>


Efficient way to use Excel from VB.NET?
Posted by Philip Tepedino at 3/29/2004 1:48:44 PM
I'm looking for an efficient way to send a DataTable to Excel. The users of this app use anywhere from Office 97 to Office XP (most are Office 2000) My problem is that, the only way I've managed to do it so far is by copying cell by cell and that seems to take way too long. Another problem I'm ...more >>

Image From Access Database
Posted by T Cordon at 3/28/2004 10:36:54 AM
How can I load an image from an Access DB? Thanks ...more >>

3rd Party Web Data Tools
Posted by Mark Jerde at 3/28/2004 10:15:49 AM
I'm a solo developer and had no idea there would be so much to learn to go from: - VB6 Windows apps using MS Access to: - ASP.NET web apps using SQL Server 2000 via OleDB, written locally and deployed to a web host. (www.discountASP.NET in my case.) There's a lot to grok! <g> I'm fin...more >>

delete record from access database
Posted by MSN at 3/27/2004 3:22:22 PM
VS 2002, vb.net, XP pro, Web forms Is the below code the faster, shortest and easiest way to delete a record from an MS Access database? Dim cnTC As OleDbConnection = New OleDbConnection() Dim adtpTC As OleDbDataAdapter = New OleDbDataAdapter() Dim SQL As String cnTC.ConnectionString = "Pr...more >>

Microsoft Access Database connection
Posted by fred NO[at]SPAM halifax.ac.uk at 3/26/2004 7:17:37 PM
Hi all I am new to vb.net but am fairly competent in Delphi!! Can anyone explain why I can connect to a Microsoft Access database using Delphi with NO code (ODBC) and be using the connection to it's full potential within seconds!!!! YET with MICROSOFT VB.NET I cannot for the life in me cr...more >>

UpdateCommand and DataGrid help needed
Posted by John Smith at 3/26/2004 10:43:54 AM
hi there i`m very new to ms development tools and here comes my problem: in VB.NET 2002 app there is an SqlDataAdapter with this select command " SELECT employes.name, jobs.description, employes_1.name AS chief, employes.id, employes_1.id AS chief_id, jobs.id AS job_id FROM employes INNER ...more >>

Difference between SQLConnection control creating connection object programatically
Posted by Vinita Sharma at 3/24/2004 12:30:54 PM
Hello Everybody, What is the difference between creating SQLConnection object from the toolbox (Data Control) and creating SQLConnection object inside your program i.e. using: Dim cn as new SqlConnection. Which is better. Any help regarding this will be higly appreciated. Thanks, Vin...more >>



Error Syntax error in INSERT INTO statement
Posted by MSN at 3/23/2004 12:48:12 PM
The code below produces an error "Syntax error in INSERT INTO statement" I can't figure out how to look at the completed statement or what it means? Dim tblCL As DataTable = New DataTable() Dim dsCL As DataSet = New DataSet() Dim cnCL As OleDbConnection = New OleDbConnection() Dim adtpCL As...more >>

Insert to MySQL DB from Winforms app
Posted by Russ Green at 3/22/2004 8:48:46 AM
Does anyone have any code samples of insert data into a MySQL db located somewhere on the web from a winforms app? TIA Russ ...more >>

Programatically creating a SQL database if it doesn't exist.
Posted by Matt at 3/22/2004 12:35:06 AM
I need to be able to test an already started MSDE/SQL server for a specific database. If that database doesn't exist, I want to create it. I have the following statement someone provided on site, but if I can't connect to the database, how can I execute the sql command? Dim sql As String...more >>

Connection Problems
Posted by Eric at 3/21/2004 4:00:34 PM
Hi, I am attempting to connect to a MSDE server on another PC on the local network. I eventually want to connect via a pocketpc and CF app, but am testing from the desktop first, as I am running into trouble. I can ping the machine without problems. I installed MSDE with DISABLENETWORKPR...more >>

? about DataColumn
Posted by spamiller NO[at]SPAM nc.rr.com at 3/17/2004 12:09:42 PM
I'm reading F. Scott Barker's book titled "Database Programming with Visual Basic.NET and ADO.NET Tips, Tutorials, and Code" and an example sub is below Private Sub frmHowTo3_3_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim strSQl As String ...more >>

ExecuteScalar producing unexpected results
Posted by peter NO[at]SPAM mclinn.com at 3/17/2004 8:07:51 AM
I have a table named TIM_TICKET_MASTER30, and there are 0 records in the table. I have validated this from the datasource personally. When I run this query I recieve a message saying I have a value of 737968? I don't get it. Dim sConnString As String = _ "Provider=...more >>

Stock Control app
Posted by Victoria Bolton at 3/16/2004 4:57:03 PM
I'm at a loss as to just where to post this question because it sorta depends on the answers. I need to write a POS application that can handle Invoicing, ordering and stock control (amoungst others) I'm using VB.Net, Windows Forms and Sql Server 2000. Our main issue is in trying to design ...more >>

Multiple dBases with MSDE
Posted by Mitch at 3/16/2004 1:12:06 PM
A newbie to databases question. I am developing a windows app that needs to store approx 1000 rows of data every minute. This app will be run 24/7 and that equates to approx 1-2 GB of data each month being stored. The database I'm using is MSDE and I want to develop a way for the app to copy ...more >>

DataGrid default values
Posted by Dave Taylor at 3/16/2004 12:25:25 PM
Is there a way to make the default values for a new row in a DataGrid the same as the previous row? (and if so how? :-) Thanks Dave Taylor ...more >>

Stored Procedures Problem
Posted by webmaster NO[at]SPAM ministorage.net at 3/16/2004 11:54:24 AM
Nothing shows up when I try and execute the stored procedure. I've tried a million different ways, and I figured the Reader would have something in it, but it doesn't even iterate through that. dim objConni as new SqlConnection("user id=ASPNET;Trusted_Connection=yes;server=LUCAS;Initial Cata...more >>

Connecting ORACLE as SYSDBA
Posted by Eidolon at 3/15/2004 9:11:35 AM
We currently use the Microsoft Native .NET Provider for Oracle to do our connections with... For one app we really need to be able to connect to the db as a SYSDBA user. Does anyone know how this can be done using the MS.NET Oracle provider?? Thanks in advance, ...more >>

Global db-connection info
Posted by Ramiro Oliva at 3/14/2004 6:11:53 PM
Hello, What is the best approach to use a global connection object so all the classes in the project can use it? Where should I initialize the connection string (this info is in another database, so I can't use a dynamic property). Thank you! Ramiro.- ...more >>

Table editing using grid
Posted by John at 3/14/2004 2:28:42 AM
Hi I am looking for vb.net code sample to add/edit/delete records in a single column table using datagrid. Would appreciate if someone can please post it here. Thanks Regards ...more >>

Install issues
Posted by Jim Hess at 3/13/2004 2:04:53 PM
I recently installed Visual Studio .NET 2003 on my computer which is running Windows XP Home Edition. After the installation I have two additional users on my computer. Both of the accounts are limited accounts that are password protected. One of the accounts is called SQLDebugger, and ...more >>

Updating Primary Key fields
Posted by Dave Taylor at 3/12/2004 2:12:11 PM
I have a DataTable based on data from a SQL table that has 3 fields which comprise the "Primary Key", the fields are guid_simulation (unique identifier) guid_object (unique identifier) day (integer) The DataGrid is used to display/edit data for all days for a specific combination of guid_s...more >>

Data Table ?
Posted by Freddie at 3/12/2004 9:25:05 AM
Can you sum and group a DataTable? If so how? ...more >>

Get the latest copy of the db server
Posted by norton at 3/12/2004 12:58:59 AM
Hi , In a client/server environment, how can i client application hold a mirror table from db server and update the changed rows once the db server's table is updated? please advise Thx a lot ...more >>

Moving data from SQL, then back.
Posted by Brian Mitchell at 3/10/2004 7:45:10 PM
I have a program that loads simple VarChar data from a SQL table and then I convert it to a class I had made (about 10 string properties) but I am wondering what the best method is to get the data back to the SQL table. If I returned 50 rows of data it is conceivable that the user may add new row...more >>

ODP.NET _HELP
Posted by Blood... at 3/10/2004 10:58:05 AM
why ODP.NET download free... HELP:......... ...more >>

Global object question
Posted by mmartin at 3/9/2004 2:10:53 PM
I'm using Microsoft Visual Basic .NET from Visual Studio. I'm trying to figure out where to create a compound object so I can manipulate it across multiple windows in an application but I'm not sure where to instantiate it at. There are lilke 18 tables in 1 database to be used and some 30 or ...more >>

Clone datarow
Posted by Ian B at 3/9/2004 10:56:57 AM
Hi All, I can edit and add new rows to my table and save them to my SQL server using a simple form created via the Data Form Wizard... What I would like to do is edit an existing row and save this row as a new row. For the like of me I cannot find how to accomplish this. What event do I trap?...more >>

HOWTO: transfer data from mobile users
Posted by mitmed NO[at]SPAM yahoo.com at 3/8/2004 10:39:28 PM
Hello, We want to develop a database system for record keeping. Also we have a number of users who travel with their notebooks collecting new and updating existing data. Mobile users will have the same front-end as office users, but their data will be filtered by their geographical location. ...more >>

Data Grid Problem.
Posted by Steve at 3/8/2004 1:27:30 PM
On a Windows form i have added a data grid. The Code i am using correctly gets the data i need to show in the grid. However when the form is first opend up on the grid all i see is a plus sign. I have to click on this plus sign to expand to see a table name, then click on that table name to sh...more >>

Disappearing objects and code!
Posted by bidalah NO[at]SPAM yahoo.com at 3/7/2004 8:37:42 PM
Hello all, This is an extremely frustrating issue. I have a datagrid that is populated with three different custom datagridtextboxcolumns that I inherited they all work perfectly, while the code exist! The problem is that every now and then, when I switch between the design view and the cod...more >>

Try again - Access DB connectivity
Posted by Jim Hess at 3/6/2004 3:28:14 PM
I'm having a challenge connecting to my Access databases with programs other than Access. For instance, I am in the process of learning Visual Basic .NET. When I try to establish a connection to an Access database from within Visual Basic I can choose the provider, but as soon as I highl...more >>

SQL Statement Problem
Posted by Atley at 3/5/2004 2:26:06 PM
Sorry for the wide posting, but i really need some help and I posted somethind a few hours ago and have heard nothing, so i thought that I would try reacing more developers... I am trying to get a date range from the first of whatever month is previous to the current one to exactly one year pr...more >>

Help with error in Function
Posted by J. Clay at 3/5/2004 2:14:54 PM
I am fairly new to .net so if someone can help me I would appreciate it. I am getting this error on as asp.net page from within a dll. "IErrorInfo.GetDescription failed with E_FAIL(0x80004005)." The error is occurring when I try to read from an Access Database within a function. Here is...more >>

Datareader question
Posted by Mat at 3/5/2004 1:43:27 PM
Can i close Datareader before starting reading data? The connection is used(shared) by many events, which may occurs = concurrently. But i read that the connection can't be used if data reader is not = closed.=20 This mean that while one event is working with data reader, others = events ca...more >>

ACT! api reference?
Posted by Marc Castrechini at 3/5/2004 9:58:00 AM
Has anyone seen a reference for the ACT! api using .NET? I am looking for some easier ways to translate the custom collection objects into datasets. TIA, - Marc ...more >>

[Vb.net question] how to apply online update function into program (the effect just like Norton system work live update)
Posted by chan at 3/4/2004 10:43:59 PM
[Vb.net question] how to apply online update function into program (the effect just like Norton system work live update) The situation is below: I want to develop a program that contains some product information (in the database) for customer choosing. My partner suggest that the prog...more >>

Persistent SQL Server connection questions
Posted by Matthew Speed at 3/4/2004 5:20:09 PM
1. In VB6 it wasn't recommended to create a single connection object to an SQL server and instead create/destroy it as needed. Is VB.Net better in that I can create a single connection to the DB for use during the life of the client? 2. If I create a connection and it sits idle for some peri...more >>

storing data locally?
Posted by dafunk2001 NO[at]SPAM yahoo.com at 3/3/2004 8:44:48 PM
Hi, in a nutshell, is there a quick and efficient way of storing data from a database on each user's machine so that a WinForm application can query/analyze/do whatever it wishes to this local data? the winform app will never need to interact with the original database except the first time...more >>

VB .NET and Jet 4.0
Posted by Jim Hess at 3/3/2004 3:57:19 PM
I'm just getting started using Visual Basic .NET. Currently studying the "Step by Step" book from Microsoft Publishing. Chapter 19 provides instructions on connecting to a Jet 4.0 database. As I follow the instructions, after I choose to connect to the provided Jet 4.0 database that cam...more >>

My access database grows in sized
Posted by Sebastien Giraud at 3/3/2004 9:47:27 AM
Hi, I wrote an application using an Access Database. I've remarked the .mdb files rapidly grows in sized. Is it possible to bypass this problem ? Thanks P.S: my application on used the select/update query, no addition or deletion is made on database. ...more >>


DevelopmentNow Blog