Answer Questions
GaryTrip UpdateSource and UpdateTarget documentation is mssing.
Would like to know what they do, how to use them, but... ms-help://MS.MSSDK.1033/MS.WinFXSDK.1033/cpref30/html/T_System_Windows_Data_BindingExpressionBase_Members.htm We appreciate the feedback and are super glad to know that someone cares about the docs! You should see this fixed for RC1; it is our goal to have all of the APIs documented by then. In the meantime, you might find the docs for the BindingExpression subclass helpful ( http://windowssdk.msdn.microsoft.com/en-us/system.windows.data.bindingexpression.updatesource.aspx and http://windowssdk.msdn.microsoft.com/en-us/system.windows.data.bindingexpression.updatetarget(VS.80).aspx ), along with the Databinding Overview ( http://windowssdk.msdn.microsoft.com/en-us/ms752347. ...Show All
Whoisit Multicast with UDP Transport Sample
I'm trying to use the UDP Transport sample to perform a multicast from a single server app to multiple clients. I'd like the server to broadcast the message on a subnet to any clients that just happen to be listening. My problem is that I can't find any documentation on how to do this using the UDP transport sample. Any ideas or suggestions Thanks. Bruce Bukovics Thanks for the response. I'll give that a try. Bruce Bukovics Author of .NET 2.0 Interoperability Recipes http://www.apress.com/book/bookDisplay.html bID=10116 as a matter of fact, we are using WS-Eventing for the pub/sub right now. so far looking very good. as for our case, the live data we use msmq multicast for the quick deliver but we all ...Show All
DannoCoy Data binding to a control's own properties - best practicies?
Hello, I'm just getting started with WPF and Xaml, and I'm trying to figure out the proper way of dealing with what I thought would be a common situation. If I have a control, for example something simple that is supposed to just show the name of a colour on a background of that colour: <UserControl x:Class="WPFTest.Test" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <TextBlock Text="{Binding Path=Color}"> <TextBlock.Background> <SolidColorBrush Color="{Binding Path=Color}"/> </TextBlock.Background> </TextBlock> </UserControl> Firstly, is ...Show All
jjvkm Add method of Workbooks class failed
The following code works fine with executed stand alone, but errors when the hosted within IE. The workbook with the VSTO Customization are deployed to a Web Site if the user opens the workbook with in IE (as opposed to saving the file) the following code fails. If the file is saved locally the code works. CODE: Dim wb As Excel.Workbook = _workBook.Application.Workbooks.Add(Microsoft.Office.Interop.Excel.XlWBATemplate.xlWBATWorksheet) ERROR TEXT: Add method of Workbooks class failed ************** Exception Text ************** System.Runtime.InteropServices.COMException (0x800A03EC): Add method of Workbooks class failed Server stack trace: Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProx ...Show All
StevenR2 SQL query to LINQ
I have SQL query: Select * from c_payments Union all Select * from m_payments How can I do the same in LINQ Union requires the same type T for each argument. Try projecting or casting into compatible types. I think Matt means .Concat() not .Contact() . You'll also want to use .Contact() instead of .Union(), since 'union all' in SQL is really a concatentation. Thanks for advice but... Error 5 The type arguments for method 'System.Query.Sequence.Union<T>(System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IEnumerable<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly. How can I resolve this error ...Show All
Koalalalala Channel Model
Hi, Im trying to dig a bit deeper in the channel model. I can't seem to find a satisfactory explanation on: What is the relation between a ChannelListener, Channel, ChannelDispatcher and EndPointDispatcher. What is the construction sequence when you open a host (also taken into account the channeldispatcher and endpointdispatcher). How is it that a channeldispatcher (linked to a channellistener) can have multiple endpoints. Many thanks in advance for some pointers. Regards, W. Jansoone http://windowssdk.msdn.microsoft.com/en-us/library/ms734665(vs.80).aspx is a nice doc to look at that talks about ChannelDispatcher & EndpointDispatcher. Here is my own quick summary. ChannelListeners and Channels ar ...Show All
Alvin Kuiper Visual Brush Help PLZ!!
Hello all, I have this ticker I made and it works fine. A ticker element slides onto a StackPanel and stops at the StackPanel's x coord divided by two. Then it pauses (timer) and then slides off the StackPanel. At that point a new ticker element slides onto the StackPanel. Like I said, works great, but when I try to VisualBrush it onto a simple 3D shape (XAML) it never slides in or out, rather is just streaches itself from huge to normal size and then when it is supossed to leave it streaches itself huge again. SO, basically the 3D shape is never empty, it ALWAYS contains the ticker element. Anyone know how to solve this Thanks, in advance, Victor Hello all, thanks to Anthony we got this to ...Show All
KonRi Cannot access assembly from end user computer
I am creating a simple excel application and saving the assembly on a network folder. When i try to access this from end user's machine i get the "The Current .Net Security policy does not permit the customization to run. Do not change the security policy in your computer. ...." 1.I have ran caspol.exe and granted full trust to the assembly on the end user's machine. 2. When i look at the details of error, it shows the dll is loaded from correct network folder. 3. I have also verified in Framework 2.0 configuration it shows my dll under Local Intranet_Zone. 4. The solution works correctly on my development machine. I am using Visual Studio 2005,VTSO 2005 and Framework 2.0 Thanks in advance for helping me with this. Hi Rez ...Show All
davidw Using Drillthrough with a tableadapter & stored procedure
It took me forever to figure out how to use drillthrough with a tableadapter and stored procedure, so I just though I'd share. The drillthrough examples on gotreportviewer.com and elsewhere read data from an XML or from a custom object collection, but no examples showed how to get drillthrough to work with a db, table adapter, and a stored proc, which seems like it would be a much more common usage. So here's my final drillthrough method: protected void ReportViewer1_Drillthrough( object sender, DrillthroughEventArgs e) { LocalReport drillthroughReport = ( LocalReport )e.Report; MyReports_GetRepDetailsTableAdapter repTableAdapter= new MyReports _GetRepDetailsTableAdapter (); DataTable dt = repTabl ...Show All
Shamirza Sndcastle: why XML docs needed for 3rd party dlls
Just downloaded and installed Sept CTP for Sandcastle and the Sandcastle help file builder GUI. Immediately ran into either one of two problems - errors about "can't find assembly" on a dependency - insisting on following all the dependencies. - error about not being able to find a .xml file for a 3rd party dll (for which I don't have). Questions - why must all dependencies be resolved - I only want to document the top level classes - why must all the dlls have xml files I got things working by faking out a shell of a .xml file for the 3rd party dll, but unclear on why this these requirements on dependencies/xml files exist. Neil T. Ahh, was not clear on the role of dependencies. Not a lot of docum ...Show All
E Jensen Changing image displayed by image shape programmatically
Hi all, The dsl i am working on uses an image shape. I would like to change the image displaed by the image shape at runtime. Is it possible Freddo I cannot think of any way that you can change the image dynamically at runtime. Sorry. I will let you know if I find out about a way to do this. Thanks, Bhavin. Hi Freddo, One way you can try is to create your own geometry (inherited from ImageShapeGeometry) for the image shape(see here ), and override the DoPaintGeometry() method to draw different images at runtime. Regards, Steven Hi Steven, You are right. However, I found that by simply overriding the ShapeGeometry property of my imag ...Show All
SPWilkinson Dotted Border
Hi! Is it possible to set dotted style of Border Something like " Rectangle.StrokeDashArray" Hi there, why wouldn't you simply add a Rectangle with Background = Brushes.Transparent and set its StrokeDashArray It's a bit of the overhead, but it fits the purpose. There's no straightforward way of doing this, unfortunately. Part of the problem is that Border allows non-uniform widths, and it's unclear what it means to dash in that case. If you are trying to replicate FocusRect-type functionality, let me know and we go down that rabbit-hole. Otherwise, here are some other thoughts you may wish to consider: First, you can get something that looks somewh ...Show All
Carl Tribble Invalid DOS Path: T:\VSS\activity.log
Hi all, I have Visual Source Safe 2005 installed locally on my PC and the srcsafe.ini and database (etc) are all located on a LAN server. I am attempting to add files by dragging and dropping from Windows Explorer into a folder in Source Safe. Every time I add a new file I get the error message "Invalid DOS Path: T:\VSS\activity.log". T:\VSS\activity.log is the server path to the srcsafe.ini file, the activity.log, and so on. I have read/write/access permissions to T:\VSS and I am able to actually get to T:\VSS via explorer and modify and save activity.log manually. This is driving me nuts, as I am trying to add a whole heap of files into Source Safe (its not connected to Visual Studio by the way) and having to click ...Show All
Rich.wray2 XamlWriter and ReadOnly Property "FlatAppearance"
The XamlWriter writes ReadOnly Properties into the XAML File. If a xaml-File contains a ReadOnly Property, the Xaml-Objekt can't rebuild with the XamlReader!!!! A Bug or a feature If a feature, how can I tell the XamlWriter to exlude the ReadOnly Properties < xml version="1.0" encoding="utf-16" > <Button Text="Button7" UseVisualStyleBackColor="True" Size="105, 33" Name="Button7" Location="187, 295" TabIndex="6" xmlns="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"> <Button.FlatAppearance> <FlatButtonAppearance /> </Button.FlatAppearance> </Button> Private Sub SaveXaml_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click Xam ...Show All
mbenny123 VSTO and AVG...HEEELP!
Hi, today I've installed the AVG antivirus...I knew that it used to install a plugin for Outlook, but I choosed to not install it... However...my plugin stopped to work! And I've no idea why!! I tried to disable the Personal Email Scanner, reinstall the plugin, anything, ANYTHING...nothing works anymore :((((((( None of my Outlook plugins works...has anyone experienced something like that ! ! Has anyone solved it! ! ! Please, I cannot work anymore without my plugin...even starting it through VS doesn't work! I've already written top the AVG forum, but I'm hoping to find here anyone with my same experience...and maybe someone who has solved this problem :(((((((((( Thank you LastHope Could you explain how VSTO is involved here T ...Show All
