How can i start windows service automatically
i try to develop a windows service. My win service must run if windows 7 stars up. How can i do? ...
i try to develop a windows service. My win service must run if windows 7 stars up. How can i do? ...
Hi, I have one problem and it is some time ago I have added a Webservice proxy class into my application by copying all the generated code (copy paste the text of the .cs content). And it worked! But now I need to change the URL used by this web-service proxy class and I am not sure what and where to change in the code. I would appr...
I'm using a custom build step to generate gSoap code from a .wsdl file during my build. Is there any way to get Visual Studio to skip this step if the .wsdl file has not been modified since the Soap stubs were created? ...
Sometimes when I call ShowDialog on an OpenFileDialog Window in WPF, the dialog closes immediately with a return value of false. I'm calling ShowDialog in response to a button click event. I can reproduce this problem using the sample code for OpenFileDialog on MSDN: // Configure open file dialog box Microsoft.Win32.OpenFileDialog dlg...
Is there any way to shorten the fully qualified function names which Visual Studio (2008) profiler displays? (It is difficult to see what is what is what, when comparing 20 character function names with 120 character names). Thanks. ...
Hello, After spending a good 3 to 4 hours on google trying to find any solution to my problem I haven't had much luck. Basically, we use crystal reports for our .NET applications with a sql server back end, we have many clients each with their own server and so our reports need to have their connections dynamically set. Up until a wee...
I have created an engine that combines searches from the major search engines to create a refined list of results. Main searches restrict the number of results to on average a thousand for the general public or non API subscribed people. I was wondering if anyone had ideas on how to maximize the results from lets say Google where the act...
When I publish my Asp.Net MVC website to the production server (via VS2008), the web.config & castle.xml files are overwritten. The content of these files is obviously different between my local dev environment and the production server. How do I prevent these files from being published? ...
I have a Shell Namespace Extension C++ COM DLL that must have both a 32 bit and 64 bit version installed on a 64 bit machine, because when 32 bit applications perform a file-> open the dialog that is presented is a 32 bit shell. The problem is that both my 32 bit and 64 bit COM objects have the same progid and the VS setup project will t...
Is there any place from where I can download the Visual Studio 2008 sample macros? It turned out that the folder VSMacros80\Samples is empty on my station. Thanks! ...
I've had this issue for some time, but it is blocking me now. Any solution I edit or create is stuck in C++ mode. The Stack Trace shows "Language" as C++ and the watch behaves differently--shows memory addresses, etc. ASP.NET debugging is also effected in that it doesn't work at all. However, this may be unrelated. I've reset my setti...
I'm really sorry if this question has been asked and it is pretty pedantic but is there a way to clear the find and replace history in visual studio 2008? ...
In case when resulting string in "Test Result Details" (TRD) is very long, the Visual Studio 2008 crashes. I fixed this by sending the result data into a file. There is a problem, however, because there isn't a simple way to open such file. Of course, I can manually open folder and then the file, but it isn't very efficient. Now, to the ...
Hi, How do i add a new document type to visual studio? I need to add stringtemplate ".st" type of file, how do i do that? or is that even possible? thank you very much ...
Hi All, According to the following section of BOL: How to: Use Source Control with SQL Server Management Studio If you have a source control client installed you should be able to choose it in the plug-in selection. I have both source control clients for Visual Studio 2005 and 2008 (tfs2005) installed and there's no plug-in to choose ...
I can not find any help on this issue in vs2008 help, Google, or SO. Scenario: I'm looking at a source file in vs2008 SP1; Windows 2003 Server SP2 Standard Edition, 1280x1024. The irrelevant name of this file is index.aspx. What is relevant is that the file has only 65 lines of code. The print is unreadably small--less than 4 po...
Just wondered if anything like that exists? Certainly in Eclipse it does. A small window like the solution window listing all the methods in the active class would be great Any ideas? Thank you ...
The macro 'propdp' creates a dependency property like this: public int MyProperty { get { return (int)GetValue(MyPropertyProperty); } set { SetValue(MyPropertyProperty, value); } } // Using a DependencyProperty as the backing store for MyProperty. This enables animation, styling, binding, etc... public static readonly Dependen...
I'm a C# developer taking my first steps in Windows Mobile development. I've installed Visual Studio 2008 SP1 and the Windows mobile 6 Pro and Standard SDK's. Now I am trying to create a simple winforms application. The problem is that when I set the Target Platform to Windows Mobile Standard, I seem to be missing a lot of controls. For...
I am using Visual Studio 2008 and all the components that come with it as well as Infragisitics for Winforms. I need to design a label that will print to a label printer. None of the controls are databound and will most likely be set in code eg/Label.Text = "My Heading"; as there will be minimal information on the label. One piece of...