I use the following code to change the parameters in my StatuStripLabel
Dim ItemImage As System.Drawing.Image = iImage
Dim item = New ToolStripStatusLabel(sText, ItemImage)
item.BorderSides = ToolStripStatusLabelBorderSides.All
item.BorderStyle = Border3DStyle.RaisedOuter
item.LinkBehavior = LinkBehavior.HoverUnderline
...
I have create a procedure to open dynamicaly a StatusStripLabel for my child window, also when i close the child window the label in Status Bar is closed as well.
Now that what i want is to click once the StatusStripLabel and the child window minimized (hide) and when i click it back the child window restored.
Also when i minimize the ch...
For example, input values are Cost = 1250, Salvage = 150, Life 5.
Then the output I want is:
$500.00
$300.00
$180.00
$108.00
$12.00
However, the program outputs:
$500.00
$500.00
$500.00
$500.00
$500.00
P.S. This is for the DDB
Also, how could I add numbers before each values like
1 $500.00
2 $300.00
3 $180.00
4 $108.00
5 $12.00
Thank yo...
Hi,
My colleague and I are both using VS 2010 and we have created a web application each. We can both publish our own applications to a ftp (web host's) and it works fine. However, if my colleague send me his solution and I run it locally on my machine it works but when I try to publish it I get promped for password and I enter it (same...
I have tried writing a simple program to get information from a website. I can't compile as I get the LNK2019 error for InternetReadFile, InternetOpenUrl, etc. and e.g.
1>GetInternetInfo.obj : error LNK2019: unresolved external symbol _imp_InternetReadFile@16 referenced in function _main
I assume that means I did not define these fun...
ive started exporting some of my frequently used blocks of code to custom snippets
is there a way to get these to show up in intellisense and not have to use the snippet browser from the context menu or snippet manager at first i thought this was connect to resharper but they still dont come up when i disable the resharper intellisense ...
Hi everyone. I'm encountering a very strange problem: Mu 9800GT doesnt seem to calculate at all.
I've tried all hello-worlds i've found in the internet, here's one of them:
this program creates 1..100 array on hosts, sends it to device, calculates a square of each value, returns it to host, prints the results.
#include "stdafx.h"
#inc...
Hello !
I would like to know how can i transform a .NET 4.0 VS 2010 C# project intro a 3.x .NET version? I just made an app for someone and i don't think he has the .NET 4.0 platform installed . Any ideas?
...
I am trying to attach VS2010 debugger to Linqpad so that when I use classes from my c# project I can add breakpoints and have Linqpad execution halt.
But this does not work, Linqpad happily executes and finishes without hitting my breakpoints.
Now, I read a bit on Linqpad and it executes every "query" in its own process, does this in a...
I would like to know if there is a programmatically hook into the visual studio editor, so that I can determine whether or not someone is typing in the editor.
Thanks!
...
How to automatically indent source code in visual studio 2010?
I have used Ctrl + K , Ctrl + F, but it does not works, is there any other way/plugin could do this work?
...
While using Team Foundation Server sometimes we have to delete our projects entirely and make them again from scratch. But while mapping, everytime we have to map our projects to a different folder. Deleting the old folder does not work at all, it creates another one while mapping. I guess there is a list that Visual Studio keeps about t...
I'm iterating through a solution and its projects and items and need to retrieve the path to the items on disk.
I can retrieve the project file name from Project.FullName and can get a project items path using ProjectItem.Properites.Item("FullPath").
However, for an item in the solutions 'Solution Items' folder, the items Properties m...
Is it possible to compile an assembly to either:
only include certain code parts
OR
Allow access to certain code based on a credential?
I have an assembly that is redistributed. Certain applications will only use/have access to certain functionality and other will need more.
...
namespace ConsoleApplication8
{
public class Foo<T>
where T : IFoo, IFoo2
{
public Foo(T fooThing)
{
}
}
public interface IFoo
{
string Name {get;}
}
public interface IFoo2
{
string Name2 {get;}
}
}
The Template Parameter Collection Editor in VS 2010 ...
I am trying to create a "Quick Edit" adornment which would help the user in providing the information below.
This is the Nafestis Info text in a .vb class file
#Region "Nafestis Information Block"
'**<!--Scroll over to the line above this one to use the quick editor**'-->
'**<name>Create a JSPF page from a config file</name>
'**<prefix...
According to MSDN here and discussed here, we can use MSTest.exe to run tests from command line - which is sweet and faster than running within the IDE (especially slow if you are working on a big solution like me).
My question is how can I use MSTest.exe to run all tests in my solution? The command only have the /test option to filter ...
I'm use ReSharper 5.x which have a feature when i hold Ctrl and hover mouse over Class or methods (Or anything into codes), an underline is shown and when i click, ReSharper automatically opens code-file of that class or method (Function exactly like Go to Reference in Visual Studio code files context menu item).
How i can disable this ...
I just installed VS 2010 and had no errors, but whenever I'm in the code editor and try to select text, either by CTRL-A, SHIFT-ARROW or click and drag the program crashes.
Here is the debug info:
EventType : clr20r3 P1 : devenv.exe P2 : 10.0.30319.1 P3 : 4ba1fab3
P4 : uiautomationprovider P5 : 4.0.0.0 P6 : 4ba1f837...
Hello,
I have been looking into OpenCV and GpuCV, I have successfully managed to make a small program using OpenCV following http://opencv.willowgarage.com/wiki/VisualC%2B%2B_VS2010 and was wondering what I need to add in
Include Directories
Library Directories
Source Directories
Additional Dependencies
to get a simple GpuCV to work? ...