Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 14th, 2004, 06:54 AM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Imar,

Thanks you again for your offer of help. I looked at another forum and a gentlemen there was having the exact same problem as I am having apparently he's problem was caused by the fact he had two forms open at the same time, which of course I have as I have two forms sitting side by side, he solved this by closing one form before calling the refresh, not sure how I am going to do this as I need both forms open continually. What I might try is closing the form doing the refresh and then opening it again.

Will let you know how this goes.

Thanks Again

Louisa

 
Old May 14th, 2004, 07:22 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hmmm, that's interesting.

What you could also do is create a new instance of a connection on your second form. That way, the two forms aren't really bound to each other. So, each Update() method create a fresh instance of a OleDbConnection and executes its SQL statements over this connection.

I think that might fix the issue with multiple forms....

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Shake Your Hip by dEUS (Track 11 from the album: Worst Case Scenario) What's This?





Similar Threads
Thread Thread Starter Forum Replies Last Post
calling javascript as well as codebehind code k.manisha C# 1 November 27th, 2006 08:47 AM
calling javascript as well as codebehind code k.manisha ASP.NET 1.0 and 1.1 Professional 1 November 25th, 2006 01:19 PM
calling javascript as well as codebehind code k.manisha ASP.NET 1.x and 2.0 Application Design 0 November 24th, 2006 04:28 AM
Calling a DLL from the sql code mtrein SQL Language 1 February 12th, 2005 02:10 AM
Multiple queries at one time VBAHole22 SQL Server 2000 2 July 27th, 2003 06:59 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.