I'd like to read a binary file and use something like std::string that automatically resizes the buffer and such.
I'm using Visual C++. What are my options?
Is there a way to specify, for example 4 distinct values for a varchar column in MS SQL Server 2008?
For example, I need a column called Frequency (varchar) that only accepts 'Daily', 'Weekly', 'Monthly', 'Yearly' as possible values
Is this possible to set within the SQL Server Management Studio when creating the table?
In VisualStudio 2010 we have MSBuild for C++ project. Also we can add additional custom properties files "*.props" to projects, which are just MSBuild scripts.
Is it possible in imported "some.props" file know its directory?
for example there is "project.vcxproj" file and "common.props" file.
I would like to write something:
<IncludeDir>$( [and something for common.props file directory here] )\include</IncludeDir>
What should I write there?
I have panel that I have customized. I use it to display text. But sometimes that text is too long and wraps to the next line. Is there some way I can auto resize the panel to show all the text?
I am using C# and VisualStudio 2008 and the compact framework.
I am developing a small testing website using Django 1.2 in Aptana Studio build 2.0.4.1268158907. I have a Django project that I test by running the command "runserver 8001" on my project. This command runs the project on a small server that comes with Django.
However the problem arises that every time I run this command Aptana opens two instances of the process "python.exe". Upon terminating the command only one of these instances is ended. The other process continues to run and use memory. My server is not online, and the process doesn't seem to do anything that I can find. This happens every time i run the runserver command on my project and therefore more and more python.exe instances will open up through my development period.
Any help discovering either the purpose of this extra python.exe or a way to prevent it from opening would be much appreciated.
Is there any way of removing unused references to assemblies, in a C# project, without the help of Resharper? The MSDN documentation does outline something for Visual Basic, but I couldn't find the same dialogs for C#.
Hi,
I tried to turn on the Activity Monitor using SQL Server 2008 Management Studio (SSMS) through the options window of the application (Tools | Options | Environment | General | At Startup).
I restarted SSMS and I am getting the following message:
"This operation does not support connections to Microsoft SQL Server Standard Edition version 8.00.2249."
I need to be able to monitor the processes and activities inside the database since I am investigating a particular application which takes a lot of time in its database data retrieval access and I am thinking it may be due to some locks or some processes.
How do I resolve this? Inputs highly appreciated. Thanks.
Hi,
I don't see a LINQ option when picking a data source for a grid view - any ideas?
I just upgraded to Visual Web Developer 2010. I see the other options like SQL etc.
Thanks!
I need to debug a winCE application over the ethernet using VisualStudio 2005. I
have connected to the device over the ethernet and now need to run
conmanclient2.exe and cmaccept.exe before I can start debugging.
However, I don't know how to copy these files over the ethernet.
Please guide me.
Thankyou!
OK, so I have started a contract where they are using (gulp) Visual SourceSafe and are looking to move to something better. I have recommended Git. I stumbled across vss2git, which looks useful for migrating from VSS. Has anyone used it?
Many thanks!
Sometimes when I get an Exception while debugging in VisualStudio, all the code lines in the stack trace belong to the System.. name space. It doesn't display my line of code which was responsible for the exception.
Is there a way to be make the stack trace show more lines or to ignore stack trace from the system namespace? Something like Just-My-Code for stack trace?
An expert in highly optimized code once told me that an important part of his strategy was the availability of extremely high performance timers on the CPU. Does anyone know what those are and how one can access them to test various code optimizations?
While I am interested regardless, I also wanted to ask whether it is possible to access them from something higher than assembly (or with only a little assembly) via visualstudio C++?
i'm new to programs so bear with me
For example, Firefox.. I go to the C/program files/mozilla/firefox folder ..but I don't see the images/buttons they used for the default theme of the program
Also, photoshop and other programs: how are the buttons, images, and other media stored (not in a folder from what I see)?
same thing when I made a simple program in visual c++, i don't see where the icon is located at?
thanksvery much
Using VisualStudio 2005
Language: c#
A new to c#
I have software, the software should communicate with gprs devices. So i want to write a protocol, TCP, UDP communication code.
Can any one give some idea for writing a source code and some sample code also.
What are "directoryentry" and "directorysearch" controls in VisualStudio 2008? How do they work? What are there real-world applications? What about their properties?
I hit control + Scroll lock, control + break, and control + every other key on the keyboard.
I have a feeling I am going to see this error in VisualStudio 2050.
Does anyone know how to resolve it when it occurs?
We have succesfully built our TFS 2010 infrastructure and the first VM using VisualStudio 2010. Now I have a very simple question. How I can move a solution from our existing TFS 2008 to the new one 2010?
Is there any tool included in TFS?
Very often I hear: use a profiler and unit test. How do I do that? I would be glad if someone would provide either links to websites with tutorials or recommend a good book. I'm using VisualStudio 2010 Ultimate.
Are there any known issues with visualstudio and code being swapped between projects?
I had a project running in VS2008 and when i went back to it, the code from another project had been swapped in the Program.cs class. I havent made any mistakes, im not talking about some code- i mean the whole project had been swapped out. Its as if the .proj files or .soln files had been swapped from their project folders???
EDIT
Ive restarted laptop, opened the code again and its still showing the wrong code BUT when i execute it, its the right code?!?!?!
When I am running
myProcess = Process.Start("something.exe")
and want to start it using button it doen not find the file - i need to execute it from the same folder where application is how can i do that? Thank you.
System could not find this file - but it is there . in the same folder as application.
Using Visual Basic 2008 Express
Is there a way to configure visualstudio to limit the characters on aspx page to a certain number of characters?
I tried setting the character limit on Formatting and Validation on aspx page. but that didnt work.
I use two monitors. The second one has a browser open. I use Visualstudio in the first monitor and making edits to the web page.
Would love to press a key and instantly see the change in the browser. Basically doing a refresh in the browser behind the scene and still keep window focus in the editor. Instead of keep switching to the browser, refresh, switch back to VS.
Any better ideas than using a keyboard recorder like AutoPilot?