visual-studio-2008

Change login for report deployment

ぐ巨炮叔叔 提交于 2020-01-14 05:08:09
问题 I'm trying to deploy a report to one of my servers but I get an error stating The permissions granted to user 'User A' are insufficient for performing this operation . However, I am logged into the machine as User B who does have access to deploy the report. How can I force BIDS to prompt me again for login so that I can login as User B instead of User A? 回答1: I was able to solve this issue by going to "Control Panel -> Credential Manager" and then deleting the Windows Credentials associated

how do I create an uninstall file for my windows application

非 Y 不嫁゛ 提交于 2020-01-13 23:12:53
问题 I would like to create an uninstall file for my windows application but I am having a difficult time finding information on them. Could sombody breifly explain the workings of a uninstall file and/or provide me with a link to a walkthrough. vs2008,c#, .net 回答1: If you create an installer for your app using a visual studio installer project, you get the uninstaller with it. This works the same way with the NullSoft installer and WiX. The way this works is the MSI file (installer file) is not

No symbols have been loaded and pdb file missing

淺唱寂寞╮ 提交于 2020-01-13 16:29:51
问题 I'm trying to understand why I get the "The breakpoint will not currently be hit. No symbols have been loaded for this document" message, when try to debug my web site application (note: no web application, in case it matters) So far I found out that the pdb (project debug database) file is as important as the source code, and it should appear in the bin folder, but for whatever reason the file is missing, just some dll's are placed there, actually there is no pdb file in the entire directory

WPF application crash after ClickOnce publish

与世无争的帅哥 提交于 2020-01-13 11:22:01
问题 I have a problem with ClickOnce publishing of a WPF application. If the application is built (debug or release), it is running correctly. Application published by ClickOnce crashes. I tried to change Target Platform. Sometimes this change helps to solve problems, but not every time (1 of 20 cases). I have Visual Studio 2008 and the project has been upgraded from Visual Studio 2005. Any ideas? Thank you in advance! 回答1: On the machine where the application is installed, drill down in the user

WPF application crash after ClickOnce publish

一个人想着一个人 提交于 2020-01-13 11:21:18
问题 I have a problem with ClickOnce publishing of a WPF application. If the application is built (debug or release), it is running correctly. Application published by ClickOnce crashes. I tried to change Target Platform. Sometimes this change helps to solve problems, but not every time (1 of 20 cases). I have Visual Studio 2008 and the project has been upgraded from Visual Studio 2005. Any ideas? Thank you in advance! 回答1: On the machine where the application is installed, drill down in the user

Header correct, but identifier not found

こ雲淡風輕ζ 提交于 2020-01-13 11:04:27
问题 I have two projects (x64). A . Written in C (wxWidgets) --- edit: its in C++! B . Written in C++ A compiles fine, but B (which uses functions of A ) gives several errors when I try to compile. I suggest that the reason for the errors is the same for all, so I mention only the first. It says: strlen: identifier not found In the file which gives the error messages ( wxcrtbase.h ), the following headers are included: #include <stdio.h> #include <string.h>` The files from B include the following

How to change the TrackBar Tick Color in Winforms?

旧时模样 提交于 2020-01-13 05:56:13
问题 I have a winforms app using a trackbar. The BackColor property is available for change, but doing so makes the color of each "tick" almost invisible. I don't see an explicit property to modify the color of the "tick". Is there something I am missing or a way to change the color of the tick? 回答1: TrackBar is a wrapper around a native Windows control. Like most native controls, it draws itself using the system colors as selected by the user. You can't change it yourself. Beyond making your own

How to change the TrackBar Tick Color in Winforms?

社会主义新天地 提交于 2020-01-13 05:56:07
问题 I have a winforms app using a trackbar. The BackColor property is available for change, but doing so makes the color of each "tick" almost invisible. I don't see an explicit property to modify the color of the "tick". Is there something I am missing or a way to change the color of the tick? 回答1: TrackBar is a wrapper around a native Windows control. Like most native controls, it draws itself using the system colors as selected by the user. You can't change it yourself. Beyond making your own

AppDomain, running an assembly .exe or .dll?

ぃ、小莉子 提交于 2020-01-13 05:13:44
问题 While writing this question: AppDomain, handling the exceptions I also thought of a different question. If you would write a plugin app like I wrote above. Would you go about writing the plugins as executables or as libraries? How much control would you have over a dynamically loaded executable that is run through the AppDomain.ExecuteAssembly(String) method? instead of creating an instance of an object using AppDomain.CreateInstanceAndUnwrap(String, String) . Where I currently have an

Why does VS 2008 create PDBs for some RELEASE projects but not others?

可紊 提交于 2020-01-13 04:26:07
问题 I have a solution containing several projects that have migrated from VS 2003, 2005, 2008. When compiling all the projects for the RELEASE configuration, VS 2008 creates PDB files for some projects, but not others. Why? In the Build tab of the Properties page for each project, I can see they all have "Define DEBUG constant" unchecked and "Optimize code" checked. When I inspect the CSPROJ for each project, I do not notice any differences that look like they would change this behavior. What