Using Visual Studio 2005 on Vista.

A

Adrian

Hi,

I have installed VS2005 on my new Vista machine and was confronted with
all sorts of problems being reported. Is using VS2005 on Vista a bad idea?
If not, what are the updates / patches which will ensure reasonable
performance?

Thanks
Adrian.
 
J

Jon Skeet [C# MVP]

I have installed VS2005 on my new Vista machine and was confronted with
all sorts of problems being reported. Is using VS2005 on Vista a bad idea?
If not, what are the updates / patches which will ensure reasonable
performance?

Apply SP1 and the SP1 update for Vista, and things should be okay.

Jon
 
?

=?iso-8859-9?Q?Bahad=FDr_ARSLAN?=

Don't forget to run VS2005 as administrator, otherwise you can debug.
 
A

Adrian

Jon,

Thank you Jon. Actually I did both already, but came across a lot of problem
information, making me think I'd been wasting time and money. I will just
use VS on the new Vista machine and see where that leads me.

By the way, I have jus now come up against a different issue. An marketed
application of mine produces different graphs. On the machine, on which the
application is installed, the graphs show up ok, but over the network, the
graphs show up only for a slit second. Any obvious reason for this, that you
know of?

Regards,
Adrian.
 
A

Adrian

Hi Bahadýr,

Yes, I got a warning telling me to do so. Thank you.
You can fix the short-cut to do it for you, but so far I couldn't fathom out
how.
I am new it Vista, and haven't been up all the dark alleys yet :)

Regards,
Adrian.
 
M

Marc Gravell

but over the network, the graphs show up only for a slit second.
Any obvious reason for this, that you know of?

What does "over the network" mean here? Remote desktop? Loading data
over the network, and building the report at the client? Returning an
image from the server? etc... you'd need to give a bit more of a clue
to the architecture...

Marc
 
G

Graeme Bradbury

To get VS2005 to run as admin, right click the shortcut.
Select the shortcut tab, click the "Advanced" button.
Check the run as Administrator option
 
A

Adrian

Marc Gravell said:
What does "over the network" mean here? Remote desktop? Loading data over
the network, and building the report at the client? Returning an image
from the server? etc... you'd need to give a bit more of a clue to the
architecture...

Marc
Hi Marc,

Yes, sorry, you're right. The "network" I am testing on is a very simple
wired LAN (modem + router + few pcs + cables). On this one "network" the
data is on one pc, the application on another. All is fine, however, in this
configuration, the graphs appear for a split second (after displaying),
whereas they don't do that, if the application is run in the machine where
the data resides: the graphs then show up nicely and don't disappear. Hope
this is better.

Thanks,
Adrian.
 
A

Adrian

Bingo!

Thank you.

Adrian.


Graeme Bradbury said:
To get VS2005 to run as admin, right click the shortcut.
Select the shortcut tab, click the "Advanced" button.
Check the run as Administrator option
 
M

Marc Gravell

I meant more at the software than hardware level... i.e. what form do
these reports take? The number of ways of displaying a report
(involving a network at some point) is very large... for instance, it
could be an html page with on-demand images for the graphs, it could
be crystal, or rdl, or a raw bitmap, or pdf, etc.

Marc
 
A

Adrian

Marc Gravell said:
I meant more at the software than hardware level... i.e. what form do these
reports take? The number of ways of displaying a report (involving a
network at some point) is very large... for instance, it could be an html
page with on-demand images for the graphs, it could be crystal, or rdl, or
a raw bitmap, or pdf, etc.

Marc
Hi Mark,

The graphs are drawn on screen (of the application). The data that is
plotted, is retrieved from the "other" PC in the "network". Simple coding
stuff, using e.Graphics.DrawLine(..), first setting up a matrix + some text
(box + some horizontal and vertical lines at intervals + text along axis at
the intervals), then plotting the graph. The matrix and the text stays on
screen, whereas the graph disappears after a split second (if run on machine
in the "network" other than the one from which the data is retrieved).

Adrian.
 
B

Ben Voigt [C++ MVP]

Hi Mark,

The graphs are drawn on screen (of the application). The data that is
plotted, is retrieved from the "other" PC in the "network". Simple coding
stuff, using e.Graphics.DrawLine(..), first setting up a matrix + some
text (box + some horizontal and vertical lines at intervals + text along
axis at the intervals), then plotting the graph. The matrix and the text
stays on screen, whereas the graph disappears after a split second (if run
on machine in the "network" other than the one from which the data is
retrieved).

Adrian.

I think this hasn't anything to do with the network.

Are you using double-buffering? If not, is the drawing code in the Paint
event handler (or OnPaint) or called some other time?
 
P

Peter Duniho

Adrian said:
[...]
By the way, I have jus now come up against a different issue. An marketed
application of mine produces different graphs. On the machine, on which the
application is installed, the graphs show up ok, but over the network, the
graphs show up only for a slit second. Any obvious reason for this, that you
know of?

For what it's worth, you really should have started a new thread for a
new question. The subject of this thread is very specific (as it should
be), and the question appeared to be answered, so I wasn't paying any
real attention to the thread. It was only happenstance that caused me
to glance at one of the newer replies and notice that you'd completely
changed the question.

In other words, when you go off on a tangent and start a whole new line
of questioning in an already-existing thread, you risk unnecessarily
restricting your audience to a much smaller subset of people than those
who are reading the entire newsgroup.

Pete
 
A

Adrian

Peter Duniho said:
Adrian said:
[...]
By the way, I have jus now come up against a different issue. An marketed
application of mine produces different graphs. On the machine, on which
the application is installed, the graphs show up ok, but over the
network, the graphs show up only for a slit second. Any obvious reason
for this, that you know of?

For what it's worth, you really should have started a new thread for a new
question. The subject of this thread is very specific (as it should be),
and the question appeared to be answered, so I wasn't paying any real
attention to the thread. It was only happenstance that caused me to
glance at one of the newer replies and notice that you'd completely
changed the question.

In other words, when you go off on a tangent and start a whole new line of
questioning in an already-existing thread, you risk unnecessarily
restricting your audience to a much smaller subset of people than those
who are reading the entire newsgroup.

Pete

Your point is well taken.
My apologies,
Adrian.
 
P

Peter Duniho

Adrian said:
Your point is well taken.
My apologies,
Adrian.

No apology necessary. The person most affected would be you. :) There
are some secondary reasons that make it nicer for the rest of us if the
threads are kept separate, but the person who stands the benefit the
most is the person asking the questions.

Pete
 
A

Adrian

Peter Duniho said:
No apology necessary. The person most affected would be you. :) There
are some secondary reasons that make it nicer for the rest of us if the
threads are kept separate, but the person who stands the benefit the most
is the person asking the questions.

Pete

Pete,
Thank you for your considerations. As to the annoying problem I was facing,
namely that my graph disappeared as soon as plotting had completed: ... it
was curable by doing a " " text print to a label on the same form in between
plots to intervals. Might you have an explanation for that?
Regards,
Adrian.
 
P

Peter Duniho

Adrian said:
Thank you for your considerations. As to the annoying problem I was facing,
namely that my graph disappeared as soon as plotting had completed: ... it
was curable by doing a " " text print to a label on the same form in between
plots to intervals. Might you have an explanation for that?

Not off the top of my head, no. I'm not even entirely sure what you
mean by "doing a " " text print to a label". Do you mean simply
assigning a string containing a single space to a Label instance's Text
property? Or something else?

I would say that the other replies seem likely to be on the right track.
That is, you appear to have some sort of conflicting drawing going on.
But what that might, I can't say.

As is always the case, you can get the best assistance by creating a
concise-but-complete example of code that reliably reproduces the problem.

You can do that either top-down (start with the code you have, remove
all non-essential items) or bottom-up (start with nothing, create a new
program based on your original, adding in identical features until the
new program has the same behavior as the original, but without anything
extraneous). Either way, in this case I think it's very likely that
you'll find the act of reducing the code to the bare minimum will reveal
what it is about your code that is causing the problem.

But, if it doesn't, at the end of the process you'll have a short,
simple program you can post here that illustrates the problem and which
other people can look at. Without that, any speculation is unlikely to
produce useful results.

Pete
 
A

Adrian

Peter Duniho said:
Not off the top of my head, no. I'm not even entirely sure what you mean
by "doing a " " text print to a label". Do you mean simply assigning a
string containing a single space to a Label instance's Text property? Or
something else?

I would say that the other replies seem likely to be on the right track.
That is, you appear to have some sort of conflicting drawing going on. But
what that might, I can't say.

As is always the case, you can get the best assistance by creating a
concise-but-complete example of code that reliably reproduces the problem.

You can do that either top-down (start with the code you have, remove all
non-essential items) or bottom-up (start with nothing, create a new
program based on your original, adding in identical features until the new
program has the same behavior as the original, but without anything
extraneous). Either way, in this case I think it's very likely that
you'll find the act of reducing the code to the bare minimum will reveal
what it is about your code that is causing the problem.

But, if it doesn't, at the end of the process you'll have a short, simple
program you can post here that illustrates the problem and which other
people can look at. Without that, any speculation is unlikely to produce
useful results.

Pete

"Do you mean simply assigning a string containing a single space to a Label
instance's Text
property?"

Yes Sir.

Adrian.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top