Is there any equivalent of the VS7/8/9/10 Edit -> Advanced -> Format Document (Ctrl+K,Ctrl+D) function in the Visual Basic 6 IDE?
I've inherited an old codebase and it is messy in places so I'd like to tidy it up.
...
i got this inside a button inside a datalist
CommandName="<%# Container.ItemIndex %>"
when i click the button, i'm expecting commandname to = 0, then 1, then 2, etc, as the datalist progresses, and i'm using that value in the button click's c#
but i'm getting this error, i'm pretty sure i'm using this exact setup on another page and ...
Hi,
I'm writing a .dll in Visual Basic. When writing code in Visual Studio if I do something like
Console.WriteLine(
it will pop up a tooltip with a bit of documentation for the function. Is it possible to write something in my function/sub that would provide that information to Visual Studio?
Thanks
...
Hi,
VS 2010 solution and Silverlight project builds fine, then:
I open MyView.xaml view in Expression Blend 4
Add sample data from class (I use my class defined in the same project)
after I add new sample design data with Expression blend 4, everything looks fine, you see the added sample data in the EB 4 fine, you also see the data...
Hi All,
I found the CollapseAll macro online that has worked for me in vs2005 and vs2008. However, this half way works in vs2010. It looks like it only collapses the top nodes and not any subnodes that may be expanded? any ideas?
Thanks,
rod.
Sub CollapseAll()
' Get the the Solution Explorer tree
Dim UIHSolutionExp...
I like to use the "UserControl TestContainer" that works great for testing a controls properties during design time. Yet it has limitations. Usually, I just create a Windows Form Application to test the control's run-time interface. It would be nice to combine the two phases. Today, I discovered that the test-container is defined in the ...
While stepping through a script that uses jQuery, I just want to test the code I wrote. I don't want to step into the jQuery file -- I'm not debugging jQuery, just my own file.
Are there any ways to tell a debugger to not step into the jQuery file? I use Visual Studio + Internet Explorer, as well as Firefox + Firebug for stepping thro...
I am using ELMAH to log unhandled exceptions in an ASP.NET Webforms application. Logging is working fine.
I want to pass the ELMAH error log id to a custom error page that will give the user the ability to email an administrator about the error. I have followed the advice from this answer. Here is my global.asax code:
void ErrorLog_Log...
linq to sql visual studio Object-Relational designer generates C# entity class names same as the table names (except pluralizing it).
so if the table name is authors it generates entity class with name "author". If the table name is Customers it generates class with name "Customer". Is there any option that can be set to
make the desig...
Just got a chance to try out a cloud programming environment that let's you develop .net apps within the browser (http://coderun.com/ide/) I found it pretty interesting, since I was able to develop a mockup ASP.net site on an IPad.
With javascript engines in browsers becoming faster and faster, cheap server infrastructure to compile o...
At my company we have a few different web apps that each share some common libraries. The Visual Studio setup looks like this.
Website 1 Solution
Website 1
Shared Library 1 Project
Shared Library 2 Project
Website 2 Solution
Website 2
Shared Library 1 Project
Shared Library 2 Project
Windows Service Solution
Windows Se...
I've spent some time trying to find a way CodeRush could add using when it finds undeclared element that is in the fact class name with no using added. The solution suggested in this answer to my question (Refactor_resolve) does not work (bugged?).
In a process I found out that writing plug-ins for CodeRush is easy, so I decided to code...
I have read around the net that its possible to debug VBScript WSH files Visual Studios 2005 Express (I think Web Edition) but everytime I try cscript.exe myscript.vbs //X the script just executes.
I have tried VS Express 2005, 2008 and 2010 all editions.
I have also tried Visual Studios Premium 2010 which does infact debug scripts as ...
Hi,
I'm in a team that all members have VS2008 installed on their machine, we have tortois svn as source control system.
Is there a solution that I can work with them with VS2010 installed on my machine? Or I have to install VS2008 to work with the other members?
thanks.
...
I actually don't like #region in my code. BUT for some reason call me crazy, I would like to have them in my XAML. I would like whole sections to have a #region-like thing and collapse them (e.g. my <Window.CommandBindings>, <Grid.*Definitions>, <Menu>, <Toolbar>, etc..
Does this exist? If not, how about <RegionCollapse>
...
I am new to c++, trying to debug the following line of code
class cGameError
{
string m_errorText;
public:
cGameError( char *errorText )
{
DP1("***\n*** [ERROR] cGameError thrown! text: [%s]\n***\n",
errorText );
m_errorText = string( errorText );
}
const char ...
i'm a novice teaching myself asp.net in c# via trial and error learn by doing, unfortunately this means lots of errors!
i have a custom errors page now that is basically a 404 so that site visitors don't get that ugly application error message .NET throws, but i WOULD like to be able to see what's going wrong myself as people use the si...
This might sound a bit dumb.
I always had this impression that web.config should store all settings which are suspect to change post-build and setting.settings should have the one which may change pre-build.
but I have seen projects which had like connection string in setting.settings. Connection Strings should always been in web.conf...
Is it possible to add a class as a solution item and use it as a linked item in all the projects in the solution?
Basically I was thinking of creating a class (which will inherit ConfigurationSection) and keeping it as the Solution Item. I wanted to add it as a linked item in all the projects in the solution, so that everyone can use it...
I have a Visual Basic 6 application that I've recently changed to use a couple of C++ DLLs I've written in Visual Studio 2008. The application works fine on my PC, but when we install it on one of our test PCs it tends to crash during shutdown - we see the Win 7 message "Your application has failed" or whatever it is.
I know Win 7 store...