am using C#, VS-2005
If we provide the Index of textbox on runtime like below
TextBox Tb=new TextBox();
tb.Name= "Tbox"+ i.tostring();
and get the last Index of Textbox like below.
Foreach(Control ct in panel1.controls){
if(ct.Name.Contain("Tbox" + i.tostring() && ct is TextBox){
Int index= ct.name.length-1;
i...
Hi,
I am a new developer for Umbraco. I am having problem setting up my Visual Studio 2010 as a developer platform for umbraco 4.5.x with TFS and between remote teams.
My current setup is to open the whole umbraco site in Visual studio and tideup with TFS. Obeviusly this means that some of the files and folders gets locked up when comm...
Quick Steps to reproduce problem:
Create a new class, "TestUserControl", that derives from UserControl. Add a ContextMenuStrip from the VS ToolBox. Add the following property on the class...
[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public ContextMenuStrip OwnContextMenuStrip
{
...
Hello,
i have this little problem, i use the Application settings in VS 2010 to configure a path. now it would be convenient if i could add a variable there (its an argument) so it looks like this: C:\EXAMPLEDIR\... is there any way todo this?
Or should i change the settings at startup in code? is this even possible (i would like to avo...
In our company we use ints to store Date values. The logic behind it is quite simple. The int contains the number of days since 1.1.1970. We have our own functions to convert these ints to strings at runtime.
My problem is, that I haven't found a way to tell the debugger to display these values as Dates (strings). I only see 40345 and ...
I've got a file, on which I'm doing some Regex. The file uses ASCII character 218, which is visible in notepad. When I copy the character into my VS2010, it doesn't appear! But it will still cause a compile error if I paste it in the wrong place, and when I run the program, it still appears in the search string when I mouse over it. The ...
I've just stumbled on a Microsoft program that offers Visual Studio Professional, among other things like SQL Server and Windows Server 2008, for free (as in beer). The catch is that you have to be a student.
Anyone know any other places where you can acquire software like this for free - legally that is.
...
Hi,
I installed Enterprise Library 5.0 and, now in context menu, when I click at app.config in project in Visual Studio, I don't have the option:
Edit enterprise library configuration
My coworker has, so it's weird, because we have installed the same version.
But we have option
Edit enterprise library V5 configuration
But...
Hi,
We recently split our current work into two different VS solutions, one which contains mainly the front-end stuff (aspx files, user controls and the like) and the other which contained mainly business logic to compile into assemblies and reference in the first solution.
Since doing this we've been experiencing problems with version...
Microsoft seems to have little discoverable content on the differences between all the different kinds of Visual Studio extensibility. The closest thing I've found to a description of the differences was an MSDN page that had a general "when to use which" list that could have been summed up with "it depends" for all cases.
I am curious ...
Hi, I have created a resource DLL for an IE addon with Visual C++ in Visual Studio 2005, but I cannot access the files (html and icons) within the DLL. I tried with and without a resource file but I still haven't been able to access them.
the /NOENTRY option is set, since it is a resource dll.
to access the resources I use a path similar...
I'm looking for a way in SSIS (2005) to create a CSV file from 2 or more different layout OLE DB sources. Again, the column layout is different for all the sources.
EX.
Source 1
A,1234,ABCD,1234
Source 2
A,ABCD,1234
Final CSV Result File
A,1234,ABCD,1234
A,ABCD,1234
...
Hi all. I want to reinstall my Windows 7 and how can i export extensions from VS 2010 ? And after reinstaling import them?
Is it possible ?
I have lot of ext. will by easy way how to install them after VS reinstall.
Thanks
...
Hi,
I have an error comes up in aspx page:
The state information is invalid for this page and might be corrupted.
What would be the problem?
Regards
...
I'm running windows XP and Visual Studio 8 on a C++ project.
It's obvious from the performance profile of my program that there is a memory leak, and when I downloaded the trial version of Purify it confirmed that I have at least two leaks, although, irritatingly, it would not tell me where they are. However, neither Visual studio's bui...
Hi,
I find this behavior of TryCast in .NET 4.0 / VS 2010 rather confusing.
In my understanding TryCast works like DirectCast, but will return Nothing instead of throwing an exception if a conversion is not possible.
VS 2010 / .NET 4
?TryCast(CType(1, Object), String)
Nothing
?DirectCast(CType(1, Object), String)
"1"
VS 2008 / .NET...
Visual Studio 2010 code analysis fails to run now that we've incorporated a 3rd-party assembly into our project.
Project : error : CA0055 : Could not
load C:\Programming\MyAssembly.dll.
Project : error : CA0052 : No targets
were selected.
Project : error :
CA0058 : The referenced assembly
'TheirAssembly, Version=1...
Hi,
I have recently started working on a legacy application that has most of its business logic in stored procedures spread over two or three SQL Server databases. Currently all code is also edited in the live environment.
As I am new to the codebase, I don't really want to make any changes in the live environment and therefore I'm try...
From code analysis (Visual studio), I got this warning:
Warning 2 CA2000 : Microsoft.Reliability : ... Call System.IDisposable.Dispose on object 'l' before all references to it are out of scope...
So, I changed the code :
Dim l As LiteralControl = New LiteralControl
AddHandler l.DataBinding, AddressOf OnDataBinding
container.Control...
Is there any Visual C++ compiler for linux supporting most of VS Visual C++?
If there is no such what is best alternative for porting\adapting your visual C++ code to?
...