Visual Studio is an integrated development environment (IDE) from Microsoft.
-3
votes
2answers
14 views
Visual Studio 2010: how can I shutdown laptop using button?
I'm trying to make an application that shutdown my laptop using a simple button.
Is this possible to do? And how do I do it?
Thank You
6
votes
0answers
2k views
+50
Getting Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error
I know there are a lot of questions related to same topics at stackoverflow, but here i have some different issues:
I used the installer class to reserve a port and bind it with hash on win7/Winxp:
...
0
votes
0answers
8 views
Visual Studio WCF Client creates classes with missing properties, adds ExtensionData property instead
I have a WCFService that returns sundry types of Data in this kind of a way:
[DataContract( Name="Amazing", NameSpace="http://schemas.myorganisation.com/DataContract1")]
Public class AmazingDto
{
...
0
votes
1answer
121 views
How to set CMAKE_INTDIR or CMAKE_CFG_INTDIR to remove the project configuration?
Now I am using CMake to create a VC 10 project. One issue I have found is that the path of the output library or execute program is connected with the project configuration (debug or release). In ...
1
vote
1answer
25 views
Using ASMX Web Reference in Windows Service
Is it possible to create a windows service where Web References are used?
I've written a windows service file which compiles up until I add my web references. The .vb code enclosed runs as a .aspx ...
0
votes
1answer
29 views
Console isn't printing the character i want, it prints a block
for my c++ object oriented programming class i wrote a small game but i am having a problem with console. In the game we used console to print some blocks to given coordinates thus we can make some ...
2
votes
2answers
1k views
warning C4819: How to find the character that has to be saved in unicode?
I have seen the following warning recently through my VS2010.
Warning 21 warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in ...
2
votes
3answers
55 views
using if else with eval in aspx page
Is there a way to use an else if on the following eval on the aspx page .
Currently my div is as follows :
<div class="tooltip" style="display: none"> ...
0
votes
0answers
5 views
Populating a GridView table in VS2012 as webpart with SPList Only Title column has value
I am trying to populate a gridview table with a list from a SP2010 website as a webpart to be used on a different SP site. So far the code I have is:
SPSite mySite = new SPSite("Sharepoint list ...
10
votes
7answers
459 views
VS 2010 designer error 'Could not find type XYZ' in Windows7. Works fine in XP
I'm stuck on a problem in VS 2010 C# .NET. I've had a project on Windows XP that includes forms, classes and a handful of my own custom components. These components are simple extensions of built-in ...
0
votes
1answer
9 views
SharePoint 2010 WebPart .g.cs files not being generated by Visual Studio 2010
I've inherited a SharePoint 2010 project that was originally created in another environment using a different version of Visual Studio (2012). My issue is that the .g.cs files for some WebParts are ...
0
votes
0answers
12 views
NHibernate? Error when accesing my release build
I've finished (?) a development on a website that wasn't mine.
It uses NHibernate which I'm not famillir with.
My developpement seems to work fine on debug mode, but when I publish my release build, ...
0
votes
0answers
5 views
Java controls UI automation with visual studio automation engine
I am looking for a way to automate Java applications with visual studio but i heard it is not supported for now. Is there any other way to automate java applications. Is there any wrapper class for ...
0
votes
2answers
47 views
C2011: 'struct' type redefinition and C2027: use of undefined type
In a file named types.h, I have defined
struct entry {
entry( int a, int t ) : addr(a), time(t) {}
int addr;
int time;
};
In another file I want to use the struct like this in compress.h:
...
0
votes
0answers
13 views
Visual Studio 2010: Database does not contain information
Recently I made a new project in Visual studio 2010.
My application is a basic login form, now to make it look nicer I added a Local Database.
In my form I made a button to add the content of two ...