Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
VeriSign Code Signing Digital Certificates provides assurance to end users. Read about this and more in the free white paper: “How to Digitally Sign Downloadable Code for Secure Content Transfer.” Learn More!
  #1  
Old September 18th, 2003, 08:35 AM
Fisherman's Avatar
Fisherman Fisherman is online now
Inherits Programmer.Slacker
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Aug 2003
Location: Between my Id and your Ego
Posts: 2,160 Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 6 h 37 m 56 sec
Reputation Power: 104
Send a message via ICQ to Fisherman Send a message via AIM to Fisherman
Angry Picuture Box/scroll bar

Hey all - I gotta question for you. I've got a picture box in which I am displaying the output of some vector drawings before sending them to the printer. Basically, I've just copied my code from my print sub to another sub, and changed printer to picture. I'm trying to add scrollbars to the picture box, and have successfully done so, except that VB erases the diagram every time you move the scroll bar, forcing the user to redisplay the object. Does anyone know of some sort of persistance that would prevent this?
__________________
Fisherman

"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." - A.Einstein

Reply With Quote
  #2  
Old September 18th, 2003, 10:52 AM
zak2zak zak2zak is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Singapore
Posts: 34 zak2zak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via Yahoo to zak2zak
Lightbulb May i comment

May be this helps...
Do U set the AutoRedraw = True
__________________
I May Have Misinterpret U'r Post
Correct Me If I Am Wrong......//
Enjoy Coding..........................///

zak2zak

Reply With Quote
  #3  
Old September 18th, 2003, 11:07 AM
Fisherman's Avatar
Fisherman Fisherman is online now
Inherits Programmer.Slacker
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Aug 2003
Location: Between my Id and your Ego
Posts: 2,160 Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 6 h 37 m 56 sec
Reputation Power: 104
Send a message via ICQ to Fisherman Send a message via AIM to Fisherman
I actually did. I am using the picture.line method, and it apparently does not like it when you use autodraw.

Reply With Quote
  #4  
Old September 18th, 2003, 11:10 AM
zak2zak zak2zak is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Singapore
Posts: 34 zak2zak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via Yahoo to zak2zak
Lightbulb May I comment

U can use the Refresh in the scrollbars scroll() procedure
Code:
Picture1.Refresh

Reply With Quote
  #5  
Old September 18th, 2003, 11:28 AM
Fisherman's Avatar
Fisherman Fisherman is online now
Inherits Programmer.Slacker
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Aug 2003
Location: Between my Id and your Ego
Posts: 2,160 Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level)Fisherman User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 6 h 37 m 56 sec
Reputation Power: 104
Send a message via ICQ to Fisherman Send a message via AIM to Fisherman
hey... it works!!! gracias mi amigo!!

Reply With Quote
  #6  
Old September 18th, 2003, 11:46 AM
zak2zak zak2zak is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Singapore
Posts: 34 zak2zak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via Yahoo to zak2zak
U R WELCOME

Anytime Anyday...........//

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > Picuture Box/scroll bar


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

VeriSign Code Signing




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway