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?
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
What are "directoryentry" and "directorysearch" controls in Visual Studio 2008? How do they work? What are there real-world applications? What about their properties?
I've just finished a functional peace of code and would like to upload it to the internet as freeware. It is just a window form application.
I used C# and Visual Studio 2008.
I wan't to know if it is legal to do this...
Thanks for reading this.
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 visual studio C++?
I've created a new C++ project in Visual Studio 2008. No code has been written yet; Only project settings have been changed.
When I compile the project, I receive the following fatal error:
fatal error LNK1104: cannot open file 'C:\Program.obj'
Under the visual C++, we have " hash_map" and "hash_set". In g++, we have " stdext::hash_map" and " stdext::hash_set". Is there any difference in terms of their respective performance or other factors?
We have succesfully built our TFS 2010 infrastructure and the first VM using Visual Studio 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?
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 Visual Studio 2050.
Does anyone know how to resolve it when it occurs?
Is there a way to configure visual studio 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.
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 Visual Studio 2010 Ultimate.
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
Hi,
I am creating a setup project using Visual Studio. I want to reboot the system after the installation completed successfully.
I want it one time effort. I do not want to modify the setup each time using any external tool/ utility before delivering it to client.
Can I tweak the setup project itself?
How Can I do that?
What is the easiest way of pulling an excisting method out of it's class and into a new class using Visual studio 2010 / Resharper?
Edit: I use Resharper version 5.
I use two monitors. The second one has a browser open. I use Visual studio 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?
As far as I know some company will use Devexpress to speed up the UI design
some company might use the AssistX .
another question:
is there any plugin which can help to keep a eye on our company 's code convention? If someone don't follow the convention, visual studio will warn him ?
Say that I'm writing a test and my caret is here (indicated by "|"):
[ExpectedException(typeof(InvalidOperationException|))]
In Visual Studio 2010, I'd like to press some shortcut that would take me to the next line so that I could start typing "public void Etc()".
Right now, I need to press
Right arrow
Right arrow
Right arrow
Enter
Which is too many key presses IMO. Is there a VS2010 / ReSharper shortcut to aid this operation?
Are there any known issues with visual studio 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?!?!?!
I need a table control where one can edit properties by various ways, just like editing properties in Visual Studio (it's for XML editing). Does anybody know about something like that, written by others, or maybe a solution from MS itself?
I'd like to build an MSI installer that installs a managed DLL and makes it accessible to users from Visual Studio's "Add References" menu in Solution Explorer. I believe I am supposed to add a key into the Windows registry but I cannot see how to tell the VS project for the MSI to do this at install.
How is this done and where should I look for tutorials on this kind of thing?
OK, see the numbers? I can barely see them because my Visual Studio 2010 theme has the backround as almost-black, and the numbers show up in the default color, which is black. I can't figure out which setting changes the color for a number in a .sql file. Does anyone know?
Hello,
i looks for pseudo graphics lib for C++ under Visual Studio, lib like in TurboVision in Borland Turbo C++ or NCurser.. Or can i do it with standart c++ libs ?
Thanks.