473,513 Members | 3,621 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Crippled graphics...

Jeff Garcia deserves to play!!!

Anyway, why has Microsoft eliminated the "Point" and "Pset" functions in VB.NET from what was already a limited selection of graphical functions in earlier versions of VB? Any chance of doing reasonably sophisticated graphical work in a picturebox control or any other control that supports graphics has been crippled. The "Point" function returns the pixel color at the given coordinates. The "Pset" function allows you to set the pixel color at the given coordinates. I ask you, what two functions could be more indispensable to any graphical tool kit than functions such as these? Yet, Microsoft feels a need to eliminate them. Is this an oversight? Is it malice

I tried allowing the upgrade wizard for VB.NET to upgrade a VB6 project I've been developing. What a mess! It was like hurricane Hugo had passed through. I had about a thousand exeptions to deal with, not to mention that graphics support had been turned inside out and cut down to size which meant that many key procedures could not be upgraded. Moreover, the graphical work I did for the picturebox control in VB6 simply cannot be duplicated in VB.NET by any means I know of. The only thing I can do would be to start from scratch with Visual c++ or do something with OpenGL or ActiveX. It's a shame. The graphics I designed were really quite slick, and fairly simple to code. They consisted of an arrow that moved along a line in response to a MouseMove event. As the arrow moved back and forth so did a field of stars, representing all the constellations in the sky at a chosen location on earth, arc back and forth in time in response to the arrow. This was just a preliminary to something more ambitious, but the point is I could have done all the necessary graphical work with the simple, easily accessable VB6 functions. There's a lot you can do with just the "Point" "Pset" and "Clear" functions

I was fairly happy with VB6, but I'm disappointed in Microsoft's sloppy treatment of VB in its .NET incarnation. Point and Pset are not the only hitches in this latest tinkering, there is also OLE support, debugging, form sizing, etc. But that's for another topic. I want to learn .NET, but thank God I still have my Visual Studio 6.0. That one goes into the vault until something better comes along.
Jul 21 '05 #1
1 1337
Eggbert,

You may have more luck getting this answered in the vb newsgroup. I've added
them to this reply.

--
Eric Gunnerson

Visit the C# product team at http://www.csharp.net
Eric's blog is at http://blogs.gotdotnet.com/ericgu/

This posting is provided "AS IS" with no warranties, and confers no rights.
"eggbert" <an*******@discussions.microsoft.com> wrote in message
news:95**********************************@microsof t.com...
Jeff Garcia deserves to play!!!!

Anyway, why has Microsoft eliminated the "Point" and "Pset" functions in VB.NET from what was already a limited selection of graphical functions in
earlier versions of VB? Any chance of doing reasonably sophisticated
graphical work in a picturebox control or any other control that supports
graphics has been crippled. The "Point" function returns the pixel color at
the given coordinates. The "Pset" function allows you to set the pixel
color at the given coordinates. I ask you, what two functions could be more
indispensable to any graphical tool kit than functions such as these? Yet,
Microsoft feels a need to eliminate them. Is this an oversight? Is it
malice?
I tried allowing the upgrade wizard for VB.NET to upgrade a VB6 project I've been developing. What a mess! It was like hurricane Hugo had passed
through. I had about a thousand exeptions to deal with, not to mention that
graphics support had been turned inside out and cut down to size which meant
that many key procedures could not be upgraded. Moreover, the graphical
work I did for the picturebox control in VB6 simply cannot be duplicated in
VB.NET by any means I know of. The only thing I can do would be to start
from scratch with Visual c++ or do something with OpenGL or ActiveX. It's a
shame. The graphics I designed were really quite slick, and fairly simple
to code. They consisted of an arrow that moved along a line in response to
a MouseMove event. As the arrow moved back and forth so did a field of
stars, representing all the constellations in the sky at a chosen location
on earth, arc back and forth in time in response to the arrow. This was
just a preliminary to something more ambitious, but the point is I could
have done all the necessary graphical work with the simple, easily
accessable VB6 functions. There's a lot you can do with just the "Point"
"Pset" and "Clear" functions.
I was fairly happy with VB6, but I'm disappointed in Microsoft's sloppy

treatment of VB in its .NET incarnation. Point and Pset are not the only
hitches in this latest tinkering, there is also OLE support, debugging, form
sizing, etc. But that's for another topic. I want to learn .NET, but thank
God I still have my Visual Studio 6.0. That one goes into the vault until
something better comes along.
Jul 21 '05 #2

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

Similar topics

10
5924
by: Ken VdB | last post by:
Hi everyone, Is there a reason why the Mid() function only works in one direction in VBScript? This code works in VB6 but not in VBScript? Is there a way around it? I am trying to create an ASP page which produces a fixed width text file for import into a third party legacy application which I don't have control over. --code sample--...
12
2340
by: Sanjay | last post by:
hi, We are currently porting our project from VB6 to VB .NET. Earlier we used to make scale transformations on objects like pictureBox , forms etc.Now Such transformations are made on the graphics object of the form/pictureBox. Should It be better if make a graphics object from my pictureBox in load event handler of the form and store...
14
3079
by: Pmb | last post by:
At the moment I'm using Borland's C++ (http://www.borland.com/products/downloads/download_cbuilder.html#) I want to be able to take an array of points and plot them on the screen. Is there a way to do this? E.g. I want to be able to graph a function. At this point I'm not up to a level in C++ where I want to start learning Visual C++ so I...
10
1191
by: eggbert | last post by:
Jeff Garcia deserves to play!!! Anyway, why has Microsoft eliminated the "Point" and "Pset" functions in VB.NET from what was already a limited selection of graphical functions in earlier versions of VB? Any chance of doing reasonably sophisticated graphical work in a picturebox control or any other control that supports graphics has been...
5
27126
by: Charles A. Lackman | last post by:
Hello, I have created a complete PrintDocument and need to create an image from it. How is this done? e.Graphics.SmoothingMode = Drawing2D.SmoothingMode.HighQuality e.Graphics.DrawString(Line1.Text, FontLine1, TheBrush, Thelocation1, 390 + yPos, AStringFormat) e.Graphics.DrawString(Line2.Text, FontLine2, TheBrush, Thelocation2,...
6
3227
by: Chris Dunaway | last post by:
The method for printing documents in .Net can be confusing, especially for newer users. I would like to create a way to simplify this process. My idea would be implemented using a PrintDocument (much like the current model), but my PrintDocument would have a Pages collection such that each time you need to have an additional page, you would...
12
3568
by: Xah Lee | last post by:
Of Interest: Introduction to 3D Graphics Programing http://xahlee.org/3d/index.html Currently, this introduction introduces you to the graphics format of Mathematica, and two Java Applet utilities that allows you to view them with live rotation in a web browser. Also, it includes a introductory tutorial to POV-Ray.
8
3100
by: Abhiraj Chauhan | last post by:
I need someone to make an example of how to create a graphics window in VB.net 2008. I understand the basics of how to draw a rectangle and lines etc. What I need is an example of how to make a window that goes in a form that does the following: 1. When the application is run, the form has a graphics area within the form (not the entire...
0
7177
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...
0
7394
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7542
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...
0
5701
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...
1
5100
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...
0
4756
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3248
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...
0
1611
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
0
470
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.