Answer Questions
nrkhakre Model Namespace
Hello, is there a default 'value' of a domain model that i can access from within my T4 templates if i need a decent namespace I guess i am searching for a namespace that is build from the folder hierarchy. Just like when a new class file is added to a project; The namespace in that file is updated according to the folder branche the file lives in. I hope such a default value exists somewhere in the depths of domain models (or maybe the template architecture itself). I really dislike accessing ProjectItems to get such a value in the design i am currently implementing. Thanks in advance, Peter Vrenken Wowza! This sounds really neat.... I guess this answers my question. However, i am wondering if it would also be possible to assig ...Show All
Malin Andersson where to get the plugin
hello, I can't find the VSS 2005 plugin for Visual Studio (I had it before but now I can't remember how I did it before I formatted).... I have a home server with VSS on it.... I commit my changes to it... formatted last night and can't remember how I got VSS plugin for Visual studio... thanks The easiest solution is to do a repair install of VSS 2005. That should ensure that all of the MSSCCI DLLs are registered and registry values are written correctly. If you need to fix the plugin installation manually, follow the steps from these threads: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=298607&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=259526&SiteID=1 ...Show All
MF Recruit Pass parmeters to main function from installation .exe
When I start the aplication, dependig of a parameter, I want open a distinct form . Is there any way to pass a parameter to the main function from .exe installation file Thanks. ...Show All
holy_spirit NullReferenceException in System.Messaging.MessageQueue+MQCacheableInfo
Hi all, I was asked to post this in the WCF forum, so here you are. I have an application that was build for .NET1.1, which uses MessageQueues. Since upgrading to .NET 2.0, I get a NullReferenceException from System.Messaging: at System.Messaging.MessageQueue.MQCacheableInfo.Dispose(Boolean disposing) at System.Messaging.MessageQueue.MQCacheableInfo.Finalize() I already posted this at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=748806&SiteID=1 and some time ago at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=369114&SiteID=1 I can't find a solution to get rid of this exception and I can't catch it :-( Any help appreciated! Best Regards Bernd Ritter ...Show All
ClemensT Design question (data binding) -- suggestions?
Hi all -- if anyone has any ideas on how to solve this, I'd greatly appreciate it. I'm somewhat stumped. Let's say I have a class Home, which has several properties, one of which is a collection of Rooms. Each Room in turn has several properties. The main window UI has Bindings to the Home, and possibly to some of the Rooms. Thus, as the Home's properties change, or as a Room's properties change, the UI is updated. Good stuff! NOW ... let's say that I have a modal dialog that allows you to edit a Room. This is a "standard Windows" dialog in the sense that it has OK and Cancel buttons. From the user's perspective, at least, changes made to the Room occur if and only if he or she presses the OK button. So it would seem ...Show All
MF Recruit streaming webcam video inside WCF
bit of a newbie, I am trying to stream video from a webcam inside a web service. I am having little or no luck finding decent information about using webcams with WCF. Any information would be greatly appreciated. I am using AVICAP32.dll to allow me to preview and record the video from the webcam. I have not tried using the system.io.stream to access the webcam yet. The end result for what I am trying to accomplish is to preview, stream, record, and take pictures at an preset interval. So far the preview, record, and take pictures at interval is working but have not found a way to easily incorperate the video into a stream. I appreciate all the help on this. ...Show All
Donaghy VSS Strategy
Hi, I would like to request for some advise. I need to maintain source code in the following environment: development testing production Is there any best practise/well defined strategy that I can learn from ie, should these 3 environments exist with 1 database within the VSS or as 3 separate databases Currently, I am using VSS 6.0 Thank you Danny. Ordinarly people do parallel development via branching and merging. If you keep them in separate databases, promoting code will be a huge chore. I'm not saying the VSS "merge branches" feature is fun , mind you, but it's certainly better than nothing. You should create them as bran ...Show All
Krutika cannot set a TemplateBinding to my TranslateTransform
Hi, " hope this is not a doubles post. i think i have problems with my "windows mail" - VASTA News Reader." i have a custom usercontrol. in the custom user control, i have defined two dependency properties. For example: // Set the Value for the TransformTranslation X public double TraX { get { return (double)GetValue(TraXProperty); } set { SetValue(TraXProperty, value); } } // Using a DependencyProperty as the backing store for TraX. This enables animation, styling, binding, etc... public static readonly DependencyProperty TraXProperty = DependencyProperty.Register("TraX", typeof(double), typeof(ZisCircleToggleButtonControl), new UIPropertyMetadata(8.0)); //// Set ...Show All
sgGeordie Button action of VSTO
VSTO 1.How to retrieve the active worksheet value when click the button on action function. 2.How to select the worksheet (visible or invisible) when click the button on action function. VBA:- Worksheets("Sheet2").Visible = TRUE Worksheets("Sheet2").Visible = FALSE Please advise. Thank all. There's a conflict in these two statements Dim ws As New Excel.Worksheet ws = Me.applicationObject.ActiveWorkbook.ActiveSheet Don't declare ws as a NEW Excel.Worksheet; remove the New In addition you have this at the top of your Ribbon1 class Private applicationObject As New Excel.Application There is no need for you to do this; since you're creating an Add-i ...Show All
ProSlamBanO August CTP of ADO vNext
Pablo Castro just annouced the August CTP for Ado vNext. You can read about it at http://blogs.msdn.com/adonet/archive/2006/08/15/701479.aspx or download it at http://www.microsoft.com/downloads/details.aspx FamilyId=B68F6F53-EC87-4122-B1C8-EE24A043BF72&displaylang=en . The initial documents do indicate that LINQ to Entities is supported in the CTP. Give it a try and let the teams know what you think. Jim Wooley http://devauthority.com/blogs/jwooley You can get the EF Beta 2 at http://msdn.microsoft.com/data Jim Wooley http://www.devauthority.com/blogs/jwooley The links for the August CTP of ADO.Net vNext don't seem to be working and all searches either return the same non-functioning link or no resul ...Show All
Jimmy_fingers Databinding: What are the difference between Observablecollection and Bindinglist from a aatabinding perspective.
Hi, Windows Presentation Foundation provides the ObservableCollection class for rich Databinding support. Big question is: What about the BindingList <T>. Why using OberservableCollection and not Binding List and is it possible to use it with WindowsForms. Josef Eising I think because they both do different things. ObservalbleCollection is only notifies about changes, however BindingList provide functionaliy to create(cancel) new items, sortinag and so on. BTW you can easely implement INotifyCollectionChanged on top of the BindingList. Actually you can wrap BindingList around using BindingListCollectionView, then the BindingList can be used in WPF data binding scenario. But AFAIK, you can use Observab ...Show All
peansen Bad documentation
From this page: http://www.businessobjects.com/products/dev_zone/net/2005.asp Go to the link on the page labeled "Merge Modules and Microsoft ..." - it takes you a post giving what seem to be workable steps: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=9021 The result of doing the steps follows with this warning: WARNING: No 'HomeSite' attribute has been provided for 'Crystal Reports for .NET Framework 2.0', so the package will be published to the same location as the bootstrapper. The working solution is to use the Crystal Decisions Deployment help file here: http://support.businessobjects.com/documentation/product_guides/cr_net/vs_2005/ As posted solution from this post: http://forums.microsoft.com/MSDN/ShowPost.aspx ...Show All
Mateusz Rajca Change Order of Methods / Properties / Fields / Events
Hi all - Five minutes into my first use of Class Designer and I can't figure out something as simple as changing the order of diagram items... I've tried changing the order in the source code, but that doesn't seem to have any affect on the diagram. Any suggestions Thanks ~ jp Hi Apuhjee, Absolute positioning of class members inside a shape isn't a supported feature. I agree it'd be nice to have though. Part of what makes this a little more complex to support is persisting the customizations, and getting the diagram to reload reliably in the face of code edits (member renames, deletions, etc) that may have occurred while the diagram was closed (or checked out). Not an insurmountable proble ...Show All
akira32 Changing the IDE
I hastily chose the c++ interface, but now want to switch back to the Visual Basic IDE, can anyone tell me how to do this you may need to reset the IDE settings. go to tools > options > Import and Export Settings > Reset all settings. be sure to back it up before hand just in case. Does this work Thank you ...Show All
DalekDAW x:Static works as element but not as attribute with statics from project?!?
I'm running Vista RC1 and playing with x:Static in elements and attributes and noticed a behavior that I'm not sure if it is by design or not. Here's the minimal repro: Start with a Window and let's use a static from the system as its title, using attribute syntax. (The static can come from any referenced assembly in this case, just not from the assembly being compiled): < Window x:Class = " XamlTests.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:s = " clr-namespace:System;assembly=mscorlib " Title = " {x:Static Member=s:Environment.CommandLine} " > </ Window > ...Show All
