Click here to Skip to main content
Email Password   helpLost your password?
Unanswered questions View unanswered questions in the Visual Studio forum    RSS: RSS Feed
Home > Forums > Visual Studio

You must Sign In to use this message board.
 
 
Per page  Date Filter 
 FirstPrevNext
QuestionConfiguring Visual Studio 2008 Help
softwaremonkey
7:42 10 Nov '09  
Hi,

Is it possible to configure Visual Studio 2008 to use the version of MSDN library that I already have installed on my system rather than trying to search online?

Confused

Thanks

Tony
AnswerRe: Configuring Visual Studio 2008 Help
Richard MacCutchan
7:52 10 Nov '09  
In the Express edition you can set this via Tools->Options->Help.

[edit]Sorry, that's "Tools" not "Tolls"[/edit]
Questionvarbinary(max) Visual studio 2008
Schalk Munnik
8:26 8 Nov '09  
I need to read a employee database and display some fields in a windows forms application - that is fine except the varbinary(max) image. I need to move forwards and backwards through the records (some images are null).
The problem I have is using the dataset to obtain the information for the image convertion. I can find loads of code to use a button(s) to get & convert the image - this does not help me.
Help will be greatly appreciated.

Below is some of my code:

Public Class Form1

Private Sub GraduatesBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GraduatesBindingNavigatorSaveItem.Click
Me.Validate()
Me.GraduatesBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.Graduates_DatabaseDataSet)

End Sub

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'Graduates_DatabaseDataSet.Graduates' table. You can move, or remove it, as needed.
Me.GraduatesTableAdapter.Fill(Me.Graduates_DatabaseDataSet.Graduates)
End Sub

Private Sub GraduatesBindingNavigator_RefreshItems(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GraduatesBindingNavigator.RefreshItems

End Sub

Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)

End Sub

Private Sub PhotographLabel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)

End Sub
Private Sub SurnameTextBox_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SurnameTextBox.TextChanged

End Sub

Private Sub FillBysurnameToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Try
Me.GraduatesTableAdapter.FillBysurname(Me.Graduates_DatabaseDataSet.Graduates, SsnameToolStripTextBox.Text)
Catch ex As System.Exception
System.Windows.Forms.MessageBox.Show(ex.Message)
End Try

End Sub
End Class
Questionfile upload
bahar.ghara
1:52 7 Nov '09  
hi
i am sory.my languge is bad.
i have desing a web page , containing a file uploade component,image component, and a button component.
now i want, when select a image wihte file uploade component and press button component ,the image load in the image component.
plaes help me.
AnswerRe: file upload
Richard MacCutchan
5:17 7 Nov '09  
bahar.ghara wrote:
hi
i am sory.my languge is bad.
i have desing a web page , containing a file uploade component,image component, and a button component.
now i want, when select a image wihte file uploade component and press button component ,the image load in the image component.
plaes help me.

Please READ this answer[^]. A number of people have offered you help with this question; try some of their suggestions.
AnswerRe: file upload
Luc Pattyn
5:24 7 Nov '09  
this is not a question about Visual Studio, is it?

Unsure

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


GeneralRe: file upload
Christian Graus
9:53 7 Nov '09  
He's asked the same question in the ASP.NET forum over and over, but no matter how often he asks it, he doesn't respond to questions and has nothing remotely like the ability to comprehend the answers.

Christian Graus

Driven to the arms of OSX by Vista.

Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

Questionabout unable to connect to visual studio local host web server
abolibapat7
22:04 6 Nov '09  
r/s

when i run my aaplication in vs 2005
i get the message

" unable to connect to vs local host web server "

i searched i foun d that thers a file callede webdev.webserver.exe
and i deleted it and copied from another system
it worked fine but only 1 time
now the same problem is occuring again
plz. do help
QuestionOpening Partial Class files
keefb
0:37 6 Nov '09  
Hi,

Is there a simple way or shortcut (if so, what is it Smile ) to open the files/ move to the "next" file containing definitions of a particular partial class?

Currently I'm using "Find All References" when right-clicking the partial class name. If there is a better way, I'd like to find out.

Googling didn't yeild any results for this so I suspect the functionality does not exist.


Thanks.

CCC solved so far: 2 (including a Hard One!)
37!?!! - Randall, Clerks

AnswerRe: Opening Partial Class files
Luc Pattyn
4:43 6 Nov '09  
Hi,

this seems to work:
1. right-click on the class name X and choose "Go to definition"; this brings you to the X constructor.
2. move up in that file to the class statement
3. right-click on that class name X there and choose "Go to definition"; this puts the "partial class X" locations in the "Find symbol results" pane, where they are clickable.

Smile

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


GeneralRe: Opening Partial Class files
keefb
5:02 6 Nov '09  
Thanks Laugh

CCC solved so far: 2 (including a Hard One!)
37!?!! - Randall, Clerks

GeneralRe: Opening Partial Class files
Luc Pattyn
5:07 6 Nov '09  
you're welcome.

Smile

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


QuestionAAHHH #if/else/endif placement in Visual Studio
Mike Marynowski
0:03 5 Nov '09  
This is driving me up the wall and I can't find a solution. The C# code editor property places #region directives, but #if/else/endif directives always jump to the beginning of the line instead of the current indentation level.

What gives? Any way to change the default??
AnswerRe: AAHHH #if/else/endif placement in Visual Studio
Richard MacCutchan
0:26 5 Nov '09  
Mike Marynowski wrote:
#if/else/endif directives always jump to the beginning of the line instead of the current indentation level.

I always think that is the best way, so you can clearly see where some code may be parsed out by the preprocessor.
GeneralRe: AAHHH #if/else/endif placement in Visual Studio
Mike Marynowski
0:32 5 Nov '09  
I disagree. It just looks stupid when you have code indented 5 or 6 tabs (i.e. deep in a nested loop) and the compiler directives are at the beginning of the line. It becomes difficult to see what lines are even affected at that point.

Seeing what code is parsed out is easy because visual studio grays out and collapses the region.

Either way it just looks messy...I much rather have them indented like the region tags.
GeneralRe: AAHHH #if/else/endif placement in Visual Studio
Richard MacCutchan
0:30 6 Nov '09  
Mike Marynowski wrote:
I disagree. It just looks stupid

Yes, but these things are just based on personal preference; as with most things there is no right and wrong.
GeneralRe: AAHHH #if/else/endif placement in Visual Studio
Mike Marynowski
0:32 6 Nov '09  
Of course...I'm not suggesting your wrong...just disagreeing that it is better and citing my reasons.
GeneralRe: AAHHH #if/else/endif placement in Visual Studio
Richard MacCutchan
0:53 6 Nov '09  
Mike Marynowski wrote:
just disagreeing that it is better and citing my reasons.

My bad; my original wording should have said "my preference" rather than "best".
QuestionPreview report in Visual Studio 2003
Hardus Lombaard
22:06 3 Nov '09  
I've created a Crystal Reports report in a Visual Studio 2003 project and I'd like to preview it without running the project everytime. Is there a way to do this?
QuestionVS 2008 is behaving strange!
AliAmjad
2:32 3 Nov '09  
Hello All,

Visual Studio is behaving kind of strange, the problem occurred when we refactored our solution, we just organized our xslt style sheets and placed them in a separate folder but the changes we made to them doesn't reflect unless and until we move them to their previous location. Are we missing something?

AliAmjad(MCP)
First make it Run THEN make it Run Fast!

QuestionVS doesn't start, all of a sudden - "Cannot find one or more components. Please reinstall the application." [modified]
Johann Gerell
23:00 1 Nov '09  
So I just rebooted. Before the reboot, I was running VS 2008 just fine. After the reboot, I get the dreaded "Cannot find one or more components. Please reinstall the application."

I've not uninstalled anything that VS might shout at. I hate this. I hate VS. I hate MS.

Any clues? Cry

EDIT - a clarification: VS tells me absolutely nothing more than the above Cannot find one or more components. Please reinstall the application.

--
Time you enjoy wasting is not wasted time - Bertrand Russel
modified on Monday, November 2, 2009 4:25 AM

AnswerRe: VS doesn't start, all of a sudden - "Cannot find one or more components. Please reinstall the application."
Richard MacCutchan
23:19 1 Nov '09  
Johann Gerell wrote:
I get the dreaded "Cannot find one or more components. Please reinstall the application."


Johann Gerell wrote:
Any clues?

Well without giving us a clue, no. What components is it complaining about?
GeneralRe: VS doesn't start, all of a sudden - "Cannot find one or more components. Please reinstall the application."
Johann Gerell
23:23 1 Nov '09  
Thanks for the reply - I wouldn'thave asked the question if VS had given me any clue whatsoever in the first place... Sigh

It tells me absolutely nothing more than "Cannot find one or more components. Please reinstall the application."

I was hoping someone had seen it recently due to some mysterious behind-the-back auto-update of some important file when Windows update kicked in some night or so.

--
Time you enjoy wasting is not wasted time - Bertrand Russel

GeneralRe: VS doesn't start, all of a sudden - "Cannot find one or more components. Please reinstall the application."
Richard MacCutchan
23:38 1 Nov '09  
Johann Gerell wrote:
It tells me absolutely nothing more than "Cannot find one or more components. Please reinstall the application."

My apologies.

Usually when a poster says this, it means they did not read the error message, and could not be bothered to rerun the test to reproduce it. I've not had this with any of my own systems.
GeneralRe: VS doesn't start, all of a sudden - "Cannot find one or more components. Please reinstall the application."
Johann Gerell
23:40 1 Nov '09  
No problem. I've had my share of questionees not giving enough background, so I can recognise your standpoint.

--
Time you enjoy wasting is not wasted time - Bertrand Russel


Last Updated 10 Aug 2007 | Advertise | Privacy | Terms of Use | Copyright © CodeProject, 1999-2010