I am attempting to debug some C code using the visualstudio debugger. I seems my choices are to view the source code or view the the disassembly. But what I would really like to view is the source code with all the macro's expended. Is that also possible?
I have search stored procedure which is my performance bottleneck.
In order to get control about what is happened, I added logging for all parameters and also execution time in SP.
I noticed, that when I call SP from MIcrosoft SQL server management Studio execution time is 1.3-1.6 seconds, but when i call it from C#, it takes 6-8 secods (!!!)
Parameters | Time (ms)
"tb *"TreeType:259Parents:212fL:13;14fV:0;lcid:2057min:0max:10sort:-1 | 6406
"tb *"TreeType:259Parents:212fL:13;14fV:0;lcid:2057min:0max:10sort:-1 | 1346
SP is called with LINQ. Login settings are same.
SP uses full text search
What could cause this?
Which route should I take?
A) Using a SharePoint 2010 VisualStudio Project
B) Building a normal asp.net website and incluing my pages using the "Web Part Page" web part in SharePoint
Basically I'll be doing some workflows, like filling out travel expenses forms, with approval and feedback.
I'm looking into creating a GUI program for Windows in C++, I have a good knowledge of C++ in the command line and also in game creation. But I'm not sure where to start with GUI application development.
I have VisualStudio 2010 and have created new projects with a GUI but these templates are complex and leaves me not understanding whats happening and how to modify it.
So I'm asking where do I start? Preferably good websites that you can recommend or tutorials, rather than books being a poor student :)
I'm creating a search form using an asp:button control with the urlpostback set to a results page. The problem is, the asp:button uses Visual Basic and the search results from Google require Javascript.
Is there a way to take the data from an asp: textbox in VB and then send it to another page that uses Javascript and use the data?
Does anyone know if i can use another intellisense "helper" with resharper?
I dont know if its just me, but Resharper's intellisense just seems way worst than visualstudio's intellisense.
I'm trying to rename a namespace. For some reason, ReSharper isn't giving me the option to do so. I right click on it and choose Refactor, but everything except "Convert" is greyed out. I try the key combination CTRL R + R, and it says the command is unavailable. What am I doing wrong?
Here is documentation suggesting that what I am trying to do should work:
http://www.jetbrains.com/resharper/documentation/help20/Refactoring/renaming.html#renameNamespace
I'm using VisualStudio 2008 with R# 4.5
In a prompt we can run:
php filename.php args
But how to set the args in zend studio?
I've searched for this some time,and don't seems to find the example.
I can only debug without args by simply pressing F5
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#.
Im trying to compare these two chars but on win 32 VisualStudio 2008:
if(mychar1 == 'ä' || mychar2 == 'Ä')
Erromess:
Debug Assertion Failed!
File:f\dd\vctools\crt_bld\self_x86\crt\src\xstring
Line 1575
Expression: string subscript out of range
I recently installed the release version of VisualStudio 2010. So far I'm less than impressed with the rewrite and was wondering if I'm the only one.
The thing I dislike the most is the inability to use the old-school MDI windows instead of the dreaded tabbed documents.
For the other side the usage generator seems like it may prove useful in time.
So what do you like or dislike about the changes to VS2010?
I have been playing with this webbrowser control example
I got it working and added some timers using ON_WM_TIMER.
Now I would like to access the m_Browser (CWebBrowser class instance) defined inside the protected CMyBrowserView class into a different class. (for example CMyBrowserApp in the code sample) and use .Navigate and other functions.
How can I do this?
(im using visualstudio 6 c++)
I was under the impression that the express version of Visual C++ 2010 was free for commercial use. However, when I start it up, the slash screen says that the app is for evaluation use only.
What gives?
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!
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'm trying to implement unit testing for my code and I'm having a hard time doing it.
Ideally I would like to test some classes not only for good functionality but also for proper memory allocation/deallocation. I wonder if this check can be done using a unit testing framework. I am using Visual Assert btw. I would love to see some sample code , if possible !
I've created a new C++ project in VisualStudio 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'
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!
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?
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?
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?