Answer Questions
rchokler Duplex bindings vs Async
Please excuse my ignorance. I would like to understand what the difference between these two patterns is: 1. use a Duplex contract to do callbacks to the Client 2. Client hosts a service endpoint for callbacks and passes the endpoint address as a parameter to the Server so that it can callback using a service proxy. (2) is possible with none duplex bindings so... What does (1) provide that you don't get from (2) Does the duplex contract do both the service request and the callback in one session context I'm sure there are some subtleties here that I don't see. Thanks, Ting What does (1) provide that you don't get from (2) Another feature of number #1 is that it guarantees you a valid service runnin ...Show All
Thales Medeiros Is XAMLBrowserApplication cross browser ok ?
I am learning the new XAMLBrowserApplication and i noticed that this works great in IE; however, not in firefox.. Is this a IE product only Erik Yes, XBAPs runs only on IE on XP with .Net 3.0 and Vista. One solution is to install IETab and add a *.xbap filter. /Simon Note if you want a cross browser XAML application, you might consider looking at WPF/E http://msdn2.microsoft.com/en-us/asp.net/bb187358.aspx ...Show All
Kevin Hoffman Dynamic Controls?
hi i want to create controls at runtime.How can i do that for ex this code which works at VB.NET doesnt work at J#: dim mytextbox as new textbox mytextbox.location(100,100) mytextbox.size(new size(30,30)) me.controls.add(mytextbox) i need help urgent pls thanku george i have done it like that TextBox a = new TextBox(); a.set_Size(new Size(30, 30)); a.set_Location(new Point(100, 100)); this.get_Controls().Add(a); and worked thanks again For i = 0 To 9 TXT = New TextBox If i = 0 Then _Top = 5 Else _Top = (i * 17) + 5 End If If i Mod 2 = 0 Then TXT.BackColor = Color.Silver Else TXT.BackColor = Color.LightGray End If TXT.Name = MnuStringName(i) TXT.Top = _Top TXT.L ...Show All
Cathie 64 VS 2005 Trial version prevents usage of purchased Standard version
After my VS 2005 Professional Trial version expired I purchased the VS 2005 standard version. I de-installed the trial completely (or so I thought), including hours of registry cleanup. Nevertheless the newly installed Standard version is not recognized, I still keep getting the message that the Trial of the Professional version has expired. Anything I can do short of reinstalling the computer It looks like there are indeed some undeleted registry keys. #1 You can download the Windows Installer Cleanup Utility and verify that the Professional Edition has been uninstalled correctly. #2 Uninstall the Standard Edition completely Reinstall the Trial Edition of the VS 2005 Professional with the only purpose to im ...Show All
Can-Ann visual basic data report
hi all, i want to print sub total of feilds in page header and page footer in vb 6.0 datareport, can any body help me, thanks in advance. ...Show All
geojf3 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
Ryan F XMAL to C# question (2)
Hi, Again i don't know how to translate XAML to C#... :\ so i have this XAML code: <Grid x:Name="MyGrid" > <Viewport3D Focusable="true" Name="myViewport3D" ClipToBounds="true"> <ModelVisual3D> .... as you can see this is a Grid that contain Viewport3D that contain ModelVisual3D. how i write it in C# Lee got that perfect, I believe. The trick to figuring that out for any XAML is this: [ContentProperty("Children")] is adorning both the Grid and ModelVisual3D classes. That is how the XamlReader determines how to connect objects that contain each other. If the property is an IList, call .Add with the child. If the p ...Show All
Yitzhak Khabinsky Programmatically editing keyboard maps
Hello, I'd like the next version of my product to create an alternate keyboard map (as seen in Tools|Options|Keyboard), make it the default, and edit some of its bindings. I haven't found any way to do this. I've also had a look at the registry (both the system and the user portion), and it seems keyboard maps are not stored there. Is there any way to do this Any DTE interfaces Thanks, - Jon ---------------------------------------------------- ViEmu - vi/vim emulation for Visual Studio After fiddling with the put_Bindings() argument format, I've found the following (in VS.NET 2003, VS2005 seems to do everything fine): - If I try to set it to a VT_BSTR ("Global::F2"), it removes t ...Show All
LiamD SHFB Question: Namespaces dialog
If I fire up SHFB with my help project, click on the "Namespaces" button. The dialog opens, but I get the following dialog: --------------------------- Sandcastle Help File Builder --------------------------- Unable to find the assembly '<full path to DLL>' or one of its dependencies. You may need to build it or add a dependency to the project dependency list. Do you want to continue loading the remaining assemblies --------------------------- Yes No --------------------------- The path to the assembly is correct and the assembly's one direct dependency is also in the directory. When it loads the assembly and begins looking at the assembly's type, it pulls out the name of the dependency but not the path in ...Show All
EvilOneSD Unable to install VS Extensions for .NET 3.0 , November 2006 CTP when SP1 installed
I have installed VS Team Suite for Software Developers and SP1 for VS. When try install VS Extensions for .NET 3.0 , November 2006 CTP, the installation failed because valid VS version required. How to resolve this issue Marking this thread as answered because it is 7 months old. If this is still an issue, please mark the thread as unanswered. Thanks, Karen Sorry for the delay I'm checking it, but I can't find anythig for the moment, your VS versions seems to be ok Did you installed Windows SDK it seems to be on required software for the CTP (sse it here: http://www.microsoft.com/downloads/details.aspx familyid=F54F5537-CC86-4BF5-AE44-F5A1E805680D& ...Show All
sandipan Using Custom Images in your Office Ribbon
I have posted this in the forum but haven't had any replies so i'd though i'd try here. Subject: Using Custom Images in your Office Ribbon 11/29/2006 5:13 PM PST In: microsoft.public.office.developer.com.add_ins Hello, I have developed my own tab in Word and im having difficulty in getting the icon's to load up in the ribbon. I have been following Exercise 3 on Andrew Whitechapel's "The Visual Studio Tools for Office 'v3' Community Technical Preview - Tutorial". I keep getting an exception error ehrn the BlankCD.ICO file is being converted: image = new System.Drawing.Icon(stream).ToBitmap(); the error is: Custom Runtime Error An exception error occured while calling 'GetImage ...Show All
Hassan Ayoub WPF Controls across threads
Hi, I'm trying to use WPF controls within a Windows Forms control, using the Windows.Forms.Integration tools such as ElementHost. The main problem is that I'm trying to access the WPF control from a separate thread, as follows: // in the main thread ParameterizedThreadStart s = new ParameterizedThreadStart(dostuff); Thread t = new Thread(s); t.SetApartmentState(ApartmentState.STA); t.Start(new DockPanel()); // the dostuff() method (which will be in a different thread) void dostuff(object dp) { Form f = new Form(); ElementHost h = new ElementHost(); h.Child = (DockPanel)dp; // <-- ERROR HERE f.Show(); } The problems is that, when setting h.Child, I get an InvalidOperationException (ab ...Show All
FJohnston MSMQ? How many clients queues can connect to one server queue at one exact moment
Whats the limitation. Client wants to know this to know how many MSMQ servers they need in a farm for any given scenario. No, you can't work with MSMQ except through the local queue manager. The local queue manager communicates with the remote queue manager on behalf of your application. Your application cannot talk directly to the remote queue in any way. So no remote transactional receive for you unless you are running MSMQ 4.0. What are you trying to achieve using remote transactional receive Can you not instead use a clustered app to push messages transactionally from the cluster to the machine that wants them You might want to raise this on the MSMQ newsgroup instead. Cheers John Bre ...Show All
pompeyjohn insert image
how to insert image into word application from resource file. Only if you can put it on the Clipboard, then use the Paste method in Word. Word provides no interface to "stream" objects into a document. Ah, one other thought, since we are talking Word 2003. If you can convert the image to the Base64 used by Word 2003's WordProcessingML, then you might be able to "drop" the graphic in using the InsertXML method of the Range object. But I don't know of any documentation for this. I can imagine one other possibility. Since you're posting this in a VSTO forum, I'm assuming you're working with a VSTO project. VSTO allows you to insert Windows Forms and UserControls on a document. You could insert ...Show All
Ritesh Singh How to get the data collunm name from the GridViewCollunmHeader
Dear all, I have the code below. XAML file < Window.Resources > < DataTemplate x:Key = " ID " > < TextBlock Text = " {Binding Path= ID } " /> </ DataTemplate > < DataTemplate x:Key = " Title " > < TextBlock Text = " {Binding Path= Title } " /> </ DataTemplate > < DataTemplate x:Key = " NumPages " > < TextBlock Text = " {Binding Path= NumPages } " /> </ DataTemplate > </ Window.Resources > < Grid Name = " g1 " > &l ...Show All
