Answer Questions
dotnetprogram Inserting a record with a TimeStamp field
Did anybody make it to insert an object with a TimeStamp field. When I try db.SubmitChanges() throws me: Argument types do not match. If I omit the timestamp field it works (however it won't protect me agains concurrency violations upon update or delete). Here is my timestamp property definition: protected System.Byte[] lastChange; [Column(Storage="lastChange", Name="LastChange", AutoGen=true, IsVersion=true)] public System.Byte[] LastChange { ...Show All
bmac1111 How do you remove outdated history information?
In the Visual SourceSafe help there is a page entitled " How to: Reduce the Size of a Database". One of the things it mentions to do is "If your projects have outdated history information, remove it." But there are no instructions on how to do that. In the file history dialog there is no delete button. There appears to be no simple way to delete unwanted versions. I could delete ALL the history by getting ...Show All
phil green LINQ May Preview wont install on Vista Beta 2 x64
It seems that the May CTP preview of LINQ will not install on Vista Beta 2. Running the installer does not give any errors but when I open up VS 2005 i don't get the options to create LINQ projects. Also when trying to run the "Install C# IDE Support" script it gives an error "Cannot find one or more registry keys to install LINQ Enabled IDE support". It seems that the script is checking for some sub keys in the HKLM\Software ...Show All
BrentLak xaml in IE6 only animates on startup screen on multimonitor
I'm wondering if this is just a problem with my setup or if others have this problem. If you have a multi-monitor setup Take a xaml file like this: < StackPanel xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " TextBlock.FontSize = " 18pt " > < UniformGrid Rows = " 3 " Columns = & ...Show All
Richard Arthur Excute a task once per solution.
If I have a solution with multiple projects in it, and I call (from the command line): MSBuild xxx.sln I know that it will start building each of projects in the solution. My question is: is there a way to make a task run only once, say with the first project keep in mind that I do not know which is the first one, meaning it has to dynamic. Hi, That's right once per project. If you wanted to perform s ...Show All
MiamiwithError25015 How can I debug a late-bound C# DLL in VS2005?
I've created a plugin system that routes calls from clients into the particular .Net assembly they request. This will always be late-bound. I haven't been able to figure out how to debug those plugin DLLs that are late-bound, though. The .pdb for them is generated, in the same dir, but any breakpoint I set in the plugin (whether I attach to the client process or try some other way) always says that the symbols for this page aren't loaded a ...Show All
Mish87879 Outlook addin AutoUpdate
Hello I've developed an Outlook Addin in VS2003 with the COM Addin Shim. It is possible to add some AutoUpdate mechanism like http://www.windowsforms.net/articles/appupdater.aspx or the one from the Enterprise Library. I like to deploy the latest version on the server and let the clients automatically download the latest version. Thanks Marco Marco, You can always roll your own autoupdate mechanism using th ...Show All
Chuck S Team Suite Beta 2 error "Package Load Failure"
I get following error when starting VS Team suite 2005 Beta 2. Has anyone else seen this --------------------------- Package Load Failure --------------------------- Package 'Visual Studio Common IDE Package' has failed to load properly ( GUID = {6E87CFAD-6C05-4ADF-9CD7-3B7943875B7C} ). Please contact package vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable loading ...Show All
eric_bubu How to Freeze Worksheet Panes (C#)
Is there anyway to programatically freeze the panes on a worksheet Specifically - I'm looking to freeze the window at E4. Regards BR Marius.Cotor wrote: Hi, try this code: Excel.Range myCell = (Excel.Range)allrange.Cells[4, 5]; myCell.Activate(); myCell.Application.ActiveWindow.FreezePanes = true; Marius Sorry, I copied this code from my program and I forget to replace variable "allrange ...Show All
coh Direct Printing to LPT Port - Please Help
Hi, This a request for some seriously urgent help please... I have an application that needs to print 2 crystal reports directly to 2 printers attached to a PC. The one report goes to LPT1 and the other to LPT2. The Print needs to be direct ie: the user is not presented with a preview or a print dialog box. The pc is standalone and not connected to any network. Printing a crystal ...Show All
Eric Jonker ClearCase and VS 2005
We have Team Developer and aren't using VSS or the Foundation Server. Our environment is just ClearCase. We are migrating from VS 2003 and now get errors. If I have source control enabled in Tools->Options and load a solution, I get this: "Your source control provider ClearCase is using relative paths or paths that are not on local drives for locating its libraries. Since this might be a security issue, you will not be able to use this pro ...Show All
Bravo2007 My package fails to load in VC++ Express 2005
We have developped an editor package four our custom resource files that works perfectely in VS.Net 2003 and 2005. Unfortunately, despite I have changed my package registration so that it writes the keys under 'VCExpress' in the registry, my package fails to load in VCExpress. The error message is "Package load failure Package 'OxyEdt Pakage' has failed to load properly..." I have a valid PLK, and I checked that my packa ...Show All
Tash Robinson Crystal Reports Newbie. Is this possible.
I'm new to Crystal Reports and want to know if the following can be done. 1. Can you created a Crystal Report dynamically from data contained within objects used in your application 2. If 1 is not possible, can you build an xml file dynamically at run time through code and use this file for the crystal report. 3. When you are viewing a report in the Crystal Report Viewer is it possible to have the user click on a Row/Column entry and g ...Show All
bucketofsquid How to use Generic List in T3
This fails at run time because Entities is unknown despite it is part of my GAT project. Any idea Thanks in advance, Philippe <#@ Template Language="C#" #/> <#@ Using Namespace="System" #/> <#@ Using Namespace="System.ComponentModel" #/> <#@ Using Namespace="System.Collections.Generic" #/> <# /* Retrieve parameters for use in the template */ System.ComponentModel.Design.IDictionaryService svc = (System.Component ...Show All
Dee Long VSS shadow folder permission problem
Hi, I want to apply source control on a shared folder sitting on one of our servers. I used shadow folders to reflect the changes whenever somebody checks in, and it works fine. However we have templates (.ascx) files in this shadow folder and when we try to load these templates from ASP.NEt we get permission errors. Is there any other way to reflect the changes to a shared folder Thanks Hi ...Show All
