visual-studio-2008

Why does VB.NET Jet 4.0 app crash if Office not installed?

喜欢而已 提交于 2019-12-24 08:24:57
问题 I'm working on a VB2008 project that references two Access databases using Provider=Microsoft.Jet.OLEDB.4.0; It would seem if the user does not have MSOffice on their machine, the program crashes with a "XXX stopped working" on startup on Vista and Win7. I thought that Windows had XP and above had Jet functionality built in? Does anyone know why this is happening? What are the correct project/publish/prerequisites required please? TIA 回答1: There is absolutely NO Jet support for x64

Visual Studio adding OvalShape and RectangleShape tool references to a project

不打扰是莪最后的温柔 提交于 2019-12-24 07:46:12
问题 Trying to add a 'box' to a form at design time, I looked up the msdn and it clearly states that I should be able to do this using the OvalShape and RectangleShape control tools in my Visual Studio 2008. shape container Now it should be found under the visual Basic PowerPacks, but all I have listed is Pointer and PrintForm, how do I add it? 回答1: You might have to add a DLL reference to your project... 来源: https://stackoverflow.com/questions/2440912/visual-studio-adding-ovalshape-and

C# adding a resource error and calling function

这一生的挚爱 提交于 2019-12-24 07:38:21
问题 Hey all i am new at C# and i am trying to add a resource to a .dll file. It gives me the error of: Error 1 Source file 'C:\Documents and Settings\Administrator\Local Settings\Application Data\Temporary Projects\bluRemoteProg\Resources\HIDLibrary.dll' could not be opened ('Unspecified error ') bluRemoteProg What am i forgetting to do? David UPDATE Got it working but how do i call a function from the form menu? I've tried: PS3_BluMote.PS3RemoteDevice.Connect(); and PS3_BluMote.PS3RemoteDevice

In SSMS, when editing a stored proc, how to get the line and error numbers to match?

大憨熊 提交于 2019-12-24 07:35:21
问题 Terribly worded question above (trying to be short). Lets try that again: In Microsoft SQL Server Management Studio, when you are editing an SP and execute the sp in the same window, errors show up at the bottom of the screen you can double click to highlight the code causing the error. However, this never lines up, usually being anywhere between 6 to 13 lines from the actual error, usually lower. It will highlight things like comments, etc. Anyone know how to get these to line up? What

provider named pipes provider error 40 - could not open a connection to sql server 2008

寵の児 提交于 2019-12-24 07:34:55
问题 SQL Server Name : ECARE432 Instance Name : SQLEXPRESS app.config contains: <connectionStrings> <add name="TimeTracker.Properties.Settings.myecareConnectionString" connectionString="Data Source=ECARE432;Initial Catalog=myecare;Persist Security Info=True;User ID=sa;Password=ecare123@" providerName="System.Data.SqlClient"/> </connectionStrings> I have developed my first application in WPF (C#) with VS 2008 & SQL Server 2008. It works fine on my system. After deployment, it doesn't work on other

Is is possible/a good idea to edit workflows in Visual Studio?

别说谁变了你拦得住时间么 提交于 2019-12-24 07:33:19
问题 I've been doing a lot of editing in MS Dynamics CRM 4.0 using the web designer. I'm wondering if there is a more efficient way to edit workflows and wondering if VS 2008 could be used (and if it is more efficient). If so how? Thanks! 回答1: It is possible to create workflows in VS 2008, but it's impossible to edit workflows created by CRM. Those workflows are named No-Code Workflows, they are not supported in any ways by Microsoft and they are hard to build, deploy, and maintain. Take a look at

Missing code coverage tab in VS localtestrun.testrunconfig?

半世苍凉 提交于 2019-12-24 07:27:27
问题 I am relatively new to unit testing and was attempting to add some code coverage to my unit tests. Yet i can't find the code coverage tab in Visual Studio 2008 in the localtestrun.testrunconfig, is there any missing Add-in or tool? Thanks, DMS 回答1: As I understand "Code Coverage" is available only in "bigger" editions of Visual Studio 2008. In other words, this feature is NOT available in the "Visual Studio 2008 Professional Edition". Which edition of Visual Studio 2008 are you using ? MSDN

How do I fix a “Unable to add data connection. The IVsDataConnectionDialog could not be initialized” error?

吃可爱长大的小学妹 提交于 2019-12-24 07:16:49
问题 I'm getting an error in Visual Studio 2008 anytime I try to create a data connection in the Server Explorer: "Unable to add data connection. The IVsDataConnectionDialog could not be initialized" Also, the existing data connections are disabled and their icon is a red-slash-circle. So far, the only advice I've found is here: msdn_microsoft_Forums_vbide_thread Choices there include: Reinstall VS2008 Reinistall .net 3.5 sp1 rename registry for vs2008 user settings ..but I've tried each

How do I make a Microsoft Word document “read only” within a SharePoint document library?

家住魔仙堡 提交于 2019-12-24 07:10:12
问题 How do I make open “read only” the only option within a SharePoint document library? When using either Word 2003 or 2007 and saving the document as a template or modifying the file properties as “read only” doesn’t prevent modification of the file in a SharePoint document library. Modifying the document library permissions to only allow “read only” access doesn’t work either. What works is to use a SharePoint URL link list to access the files within an external server directory, but that

Code Instrumentation on an ASP.NET Web Application

▼魔方 西西 提交于 2019-12-24 07:07:41
问题 I'm fairly new to .NET development in general. I would like to do some instrumentation on my web application to tune performance, especially in relation to caching. I've written a lot of custom dynamically generated UserControls which I'd like to try caching in different ways--possibly by ASPX Page declaration or programmatically. I also have a lot of Oracle queries that depend on each other and I'd like to look into caching results of those to see what will offer the best performance gains.