473,809 Members | 2,712 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to display progress bar in windows form during execution of DTS package?

H

I want to display progress bar during execution of windows form. When I execute DTS package the form will idle till the DTS package finishes

Please help me in this regard. its an urgen

Thank
owais

---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
Jul 21 '05 #1
2 9742
Since the time DTS takes may not be known, you may have a progress bar
similiar to this one:
http://msdn.microsoft.com/msdnmag/is...s/default.aspx
"owais" <sohail29@-NOSPAM-hotmail.com> wrote in message
news:eJ******** ******@TK2MSFTN GP10.phx.gbl...
Hi

I want to display progress bar during execution of windows form. When I
execute DTS package the form will idle till the DTS package finishes.

Please help me in this regard. its an urgent

Thanks
owais

---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
Jul 21 '05 #2
I assume you're using the SQL DTS type library. Here's just an idea: One way
would be to have the progressbar based on the records count rather than the
time taken. In the OnStart event of the DTS package, you can retrieve the
tables and the records in each table that you are going to be copying over.
Then, in the OnProgress Event (which will be fired for each record being
copied) you can then update your progress bar either for each record (for a
small number of tables and records) or every so many records depending on
the size of the database being transformed.

hope that helps..
Imran.

"owais" <sohail29@-NOSPAM-hotmail.com> wrote in message
news:eJ******** ******@TK2MSFTN GP10.phx.gbl...
Hi

I want to display progress bar during execution of windows form. When I execute DTS package the form will idle till the DTS package finishes.
Please help me in this regard. its an urgent

Thanks
owais

---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
2204
by: Martin Mrazek | last post by:
Hi, I check data validity in html form by JS. Something like for (i=0; i<document.form.elements.length; i++) { chechkValidity(i); } Unfortunately, the form has about two thousands elements (it is statistical questioning form for companies) and execution of this one cycle takes about twenty seconds.
5
2138
by: James Morton | last post by:
I have a Static DataSet in a class file that I am using globally between a few forms. The main form populates the dataset through a menu option which invokes ReadXML in the class file to populate the DataSet. The ReadXML is a rather lengthy operation with >5mb xml files (I am reading in the schema and ignoreschema on read). This has presented several problems 1) What kind of progress bar can I show during load since I can't increment...
4
13004
by: Raed Sawalha | last post by:
Dear, I have windows form , the form is using a class to do all tasks needed like this private void btnProcess_Click(object sender, System.EventArgs e) { btnProcess.Enabled = false; MailBoxRenamer oMailBox = new MailBoxRenamer(); //How Can i make the progress bar moving while rename processing is underway pBarCtrl.Visible = true; oMailBox.RenameAll();
3
3432
by: Rich Wallace | last post by:
Hi all, I'm writing a simple SQL Server DTS management VB.NET web app for our first level support group. I'm adding in the capability to execute a package but I was curious if there was a way to track the progress of the package once it's running and display the progress via progress bars and step executution text? Does anybody have any examples or ideas on how to accomplish this? TIA -Rich
3
3795
by: Vinay | last post by:
Hello I am trying to update a Progress bar on a form. I am able to update it via using a simple clock timer, but as soon as I perform a long operation G1 (generation of a report) in a separate form, it stops updating it, but keeps on incrementing the Progress bar values in the background and displays the updated Pbar after finishing the operation G1. My requirement is that it should update during the execution of operation G1. On...
2
433
by: owais | last post by:
H I want to display progress bar during execution of windows form. When I execute DTS package the form will idle till the DTS package finishes Please help me in this regard. its an urgen Thank owais ---
2
2014
by: A.Carter | last post by:
I am developing a windows application with Visual Studio 2003 using C#. The application is complete so naturally I went to create a setup package. I added a setup project to the solution and I went through the appropriate steps in attaching the solution dependencies. After completing the setup package, I attempted to install the application on a co-worker's computer. Usually, the installation consist of several screens which directs the...
5
6938
by: CCLeasing | last post by:
For an application I'm creating I want to create a 'fake' progress bar. By fake I mean a progress bar that looks like it's doing something but actually isn't. I know philosophically this isn't sound. But my little app is a 'fake' app and is designed to look like another - hence this seeming crazy situation of needing to fake a progess bar. PROBLEM.
0
3111
by: jags_32 | last post by:
Hello We use MFG-PRO as our ERP system which in turn uses Progress databases. In the old version of SQL 2000, using DTS packages, we used to set the code page via command prompts and execute DTS packages within that command prompt to fetch data from our double byte ERP databases. In SSIS, we are able to connect and fecth data from NON Double Byte databases, however, when we set the code page first and execute via a command prompt the...
0
9601
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10378
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10115
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9198
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7653
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5687
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4332
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.