SteeveH's Q&A profile
Visual Studio Team System Add New Stored Procedure results in endless dialog loop ???
I had a couple of my devs install CTP4, and now they're trying to use a Database project that's part of our solution, and make changes to it. Specifically they are trying to add some stored procedures. They right-click on the Stored Procedures node, Add -> Stored Procdure, they enter the name hit OK, and it brings up the Add New Item dialog with all the file type choices (procedure, trigger, constraint, etc) with the name they typed in still there (with a "." on the end), if they hit OK it just brings back the same Add New Item dialog over and over again. It doesn't do this on my machine which is also running CTP4, but I have 2 fresh installs on other boxes here that are both exhibiting this behaviour. What could be the pro ...Show All
Visual Studio Team System Re-indexing:TfsIntegration failed
I noticed this SQL job was failing and was wondering if I should be concerned TFSIntegration Mainetance Job. Error: Date 23/04/06 00:00:01 Log Job History (TfsIntegration Maintenance Job) Step ID 1 Server TFS Job Name TfsIntegration Maintenance Job Step Name Re-index Databases Duration 00:00:12 Sql Severity 15 Sql Message ID 0 Operator Emailed Operator Net sent Operator Paged Retries Attempted 0 Message Executed as user: NT AUTHORITY\SYSTEM. Incorrect syntax near the keyword 'File'. [SQLSTATE 42000] (Error 156) Now Re-indexing:TfsIntegration [SQLSTATE 01000] (Error 0) Apr 23 2006 12:00AM [SQLSTATE 01000] (Error 0) Now Re-indexing:TFSWarehouse [SQLSTATE 01000] (Error 0) Apr 23 2006 12:00AM [SQLSTATE 01 ...Show All
SQL Server Sql 2005: Encrypting "data in motion" between client and server
Right-clicking "Protocols for MSSQLSERVER" under the Sql 2005 Server Configuration Manager I find the "Force Encryption" option. Right-clicking the SQL Native Client Configuration, Client Protocols, I find "Force Protocol Encryption" I believe these can be used together to force the connection between a client (running the SQLNC client) and a sql 2005 server to be encrypted. In other words, the data "in motion" can be encrypted. 1. Is my understanding correct 2. Do I need to use a certificate to make this work TIA, Barkingdog The SQL Server Data Access forum is probably your best option to answe ...Show All
Visual Studio 2008 (Pre-release) Problem with DatePicker (Kevin's Bag-O-Tricks - January 2007)
Hi all, I'm having a problem with the DatePicker contained in Bag-O-Tricks. The situation is as follows: 1. I have a DatePicker in my XAML-file. 2. The Value of the DatePicker is bound to the StartDate (DateTime) of my class: Value="{Binding StartDate}" 3. Now, when I run my app, open the DatePicker and click on a date: nothing happens! I put an event handler on 'ValueChanged', and that event only gets called one, when the DatePicker is created and the value is set to the StartDate. It seems that the control doesn't like it when it's Value is set explicitly, because it won't budge from that value. Any ideas on how I can work around this I'm now working with the MonthCalendar, which does not have this problem, but I would like ...Show All
Visual Studio 2008 (Pre-release) Custom EnumConverter not invoked at design-time
I have an enumeration which uses non-standard strings for its values (the choice of strings is not mine). [TypeConverter(typeof(MyStyleConverter))] public enum Style { ... SansSerifItalic, // "sans-serif-italic" SansSerifBoldItalic, // "sans-serif-bold-italic" Monospace // "monospace" } Since the standard EnumConverter doesn't support strings like the ones I have, I had to write a custom converter. The problem is that the XAML compiler doesn't seem to be using my custom converter, but rather uses the EnumConverter. So if I put "sans-serif-italic" in my XAML I get a compile error "Cannot convert string value "sans-serif-italic" to type Style". If I put "sans ...Show All
Smart Device Development File Version Info On Windows Mobile 5.0 for PocketPC...
Hello all, I am currently working on a C++ project for a PocketPC with Windows Mobile 5.0 in Visual Studio 2005. I am currently looking for a way to get file version information, i.e. file version, product version, file modified date, file creation date, etc. The only way I could find was using the functions GetFileVersionInfoSize, GetFileVersionInfo, and then VerQueryValue, but when I ran it, it gave me an error saying: "The specified resource name cannot be found in the image file." I noticed in the documentation that these functions do not work for 16-bit file images, which may be why I am getting the error. Is there another way to get this information (i.e. one that works on 16-bit file systems) If not, what infomation ...Show All
.NET Development checking logged in user priviledges
i have an app that works fine when a user logged in has admin priviledges but not when they are logged in as a guest. anyway that i can check to see if logged in user has admin priviledges using c# and framework 2 I am not sure I can follow now. So do you mean that checking if an account belongs to a specific group does not work Or are you asking why your application does not work with an account that has no administrative privileges ...Show All
Visual Studio Crystal Report Error
Hello, I'm getting Crystal Report Exception on opening a report after it's exported to a file. I've a button on my form that calls following method, which opens a report in Crystal Report Viewer component. The report fails to load only after I use Crystal Report Viewer "Export" button from the viewer. It export the file for me, but when if I click Button to run my report, I get an exception. ----- Method ----------- private void loadReport() { ReportDocument rpt = new ReportDocument(); rpt.Load(@"CrystalReport1.rpt"); crystalReportViewer1.ReportSource = rpt; // show crystal report control crystalReportViewer1.Show(); this .Refresh(); } ----- Method ----------- ...Show All
Visual Basic ON Close OF IDE i Get "an unhandled win32 exception occurred in devenv.exe"
I am getting the following error when I close down the dot net IDE. "an unhandled win32 exception occurred in devenv.exe [2420]" I have tracked it down to when I have a form open in the Designer & then I close the IDE. No run or compile done. All forms are inherited from our own base forms. My solution has 14 projects, hundreds of forms/classes. PC Configuration Brand new HP PC Pentium d 3.4ghx 2.5gm Ram, 80gm HD (51gb Free) Dual Monitor XP with SP2, Office 2003, Toad, etc.. Visual Studio 2005, Component One Controls for Vs2005 I have installed the hotfix that fixes most fo the IDE bugs!. what happens if you take out any plugin's/add'ins you have installed ...Show All
Smart Device Development Device Emulator V2
is RTM available now so that we can get on with mobile development on Vista any updates, anyone V2 RTM has shipped with WinCE6.0. Web release for the same should happen pretty soon but i don't have a schedule as of now. -Thanks, Mohit ...Show All
Windows Live Developer Forums cannot deliver messages to MSN bots
i've been hosting 2 bots with the Incesoft bot provider for the last 2 months. after the Messenger service problems (on Wednesday ), i have not been able to reliably host the bots ( MobileRecordBot@hotmail.com and TextAdventureBot@hotmail.com ). the message i get when trying to communicate is : "The following message could not be delivered to all recipients" i've been trying the last 3 nights to get them working again, and have run out of ideas. the bot program seems to be connecting fine to Incesoft's servers, and using the Incesoft admin tools seems to log the bots in and out properly. also, a small # of sessions will work properly when i leave them running overnight. my own user experience is that i can start a session with ...Show All
Visual Studio Pin, Share, Branch troubles
Suppose the scenario below: Project P1 has a File F1 with 5 versions ( 1 to 5 ) and version 4 is supposed to be shared, branched , modified and finally, merged into version 5. Steps 1.Version 4 of file F1 in Project P1 was pinned. 2.Project P2 shared the file, that had been branched immediately after the share operation. So far, the version of file F1 in project P2 is the 4th one of Project P1. 3.The file F1 in project P2 was checked out , changed and checked in, creating a version 2 of the file in Project P2. 4.The pinned version of the file F1 in project P1 was unppined. 5.After all, the file F1 in project P1 was selected and the Merge Branch operation was executed Normally, VSS should perform a Visual Merge be ...Show All
.NET Development How do I create a nested class with CodeDom?
I can create an assembly ok with classes in a namespace 'spaceX'; e.g. 'spaceX.classY', but I need a nested class 'spaceX.classY.classZ' I create the CodeTypeDeclaration with the name 'classZ' (I tried 'classY.classZ' and it will not compile), then set the TypeAttributes to NestedPublic. I think I need to add this to the namespace 'spaceX.classY' - but when I search in CompileUnit.Namespaces for 'spaceX.classY' it is not found If I add 'spaceX.classY' as a new namespace - there is an error on compiling 'namespace already defined'! So how do I create a nested class using CodeDom (this was so easy using Reflection!) - Tracey You need to associate your nested class with its parent class. A ty ...Show All
.NET Development Interop Thread Leak?
Hi, I'm hoping for a few pointers for tracking down a resource leak. I developed a VB 2.0 indexing application which is using FileNet's Capture COM objects and we're occasionally seeing a fairly serious leak. It doesn't appear to happen consistently (one user has never had one and I can't seem to reproduce it in my test environment), but it does occur regularly in production. I've been using various tools to poke around in a mini-dump (w/ full memory) and I've seen a few potential problem areas, but I can't seem narrow it down any further. Using PerfMon I found that the leak appears to be in private unmanaged memory. When I open the dump in WinDbg, I get this message: This dump file has an exception of interest stored in it ...Show All
Windows Forms ComboBox databinding & custom objects
I've spent several hours looking for an answer to my problem before posting yet another thread on databinding / combo boxes (sorry!). I have a simple form with a text box and a combo box. The text box holds the name of a template and the combo box holds a related piece of data. I started out by trying the databinding using datatables and it works fine: templateBindingSource.DataSource = sessionTemplateDT; uiTemplateName.DataBindings.Add( "Text" , templateBindingSource, "name" ); uiTheatreSuiteCombo.DataSource = theatreSuitesDT; uiTheatreSuiteCombo.DisplayMember = "name" ; uiTheatreSuiteCombo.ValueMember = "location_group_id" ; uiTheatreSuiteCombo.DataBindings.Add( "SelectedValue" , templateBindingSource, "location_group_id" ); ...Show All
