F. Gsell's Q&A profile
Gadgets Launching a page in the default browser
window.open() opens IE, how do I open the default browser (ie opera or firefox) Do I need to use an ActiveX control Thanks for your help Andy Thanks to both of you for your help. Tom's way was much shorter because I don't actually need to find out what the default browser is, just launch it. Worked a treat. Thanks again, Andy ...Show All
Software Development for Windows Vista WinWf, SharePoint and OnActivated
We have an InfoPath form in SharePoint that is triggering a workflow. When referencing the InfoPath form as such: private void OnActivated(object sender, ExternalDataEventArgs e) { // Read the association and initiation data. XmlSerializer serializer = new XmlSerializer(typeof(WorkflowStages)); StringReader initReader = new StringReader(this.workflowProperties.InitiationData); WorkflowStages initiationData = serializer.Deserialize(initReader) as WorkflowStages; } everything works fine if it is instead coded as public WorkflowStages initiationData; private void OnActivated(object sender, ExternalDataEventArgs e) { // Read the association and initiation data. XmlSerializer s ...Show All
Visual Studio 2008 (Pre-release) Is it possible to do a MasterDetail Binding with a TreeView?
I used a ListBox and did a test on MasterDetail Binding and that works find. But if I have a TreeView is there any way to do MasterDetail Binding Example a preview box in a file dialog window /godzilla9 It seem that this is working only for the first level of the tree. I would like to list all childs of any nodes of my tree and for leaves, display their properties. For atomic node I bind textBox in code like this void SelectionChanged(object sender, RoutedPropertyChangedEventArgs<object> e) { TreeView tree = (TreeView)sender; Binding myBinding; myBinding = new Binding("CountryName"); myBinding.Mode = BindingMode.TwoWay; Country c = (Country)tree.Selec ...Show All
Software Development for Windows Vista Problem with SqlWorkflowPersistenceService and Hibernation
Hi This error happens when you bring a computer back from hibernation. Now you would not normaly hibernate a server machine but thinking of those using WF Runtime on a client computer (lets say with Office 12) this could pose a problem. This was caught using Beta 2 bits as we have no means atm to test it on June CTP. Message "A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)" string StackTrace " at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)\r\n at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolea ...Show All
SQL Server Reporting Services - Analysis Services - Displaying Dimension Members as Columns
I think I've seen a similar post on a blog or on the forums - but it seems like this should be possible - I have an MDX query - that works fine in SQL Enterprise Manager, and has my dimension members on columns, and my measures on the rows. When I try the same query in Reporting Services, I get the error: "The query cannot be prepared: The query must have at least one axis. The first axis of the query should not have multiple hierarchies, nor should it reference any dimension other than the Measures dimension.. Parameter name: mdx (MDXQueryGenerator)" Although it works when you pivot the view, I really need my data presented with the members on the columns and the measures on the rows. Another forum post mentioned using the SQL 9 ...Show All
Visual C++ WEBService calling problem in VC++ application
I have developed an application in VC++ 2005. This application calling a webservice developed in C#. This application can not execute in Windows 2000 machines. How to solve this issue I have checked this Application using depends watcher in windows 2000 machine. I have noticed one problem is there is version conflict in WS2_32.dll. Some functions not in this WS2_32 dll. How to correct this execution problem in windows 2000 machines pls help me..... Jefy i have used visual studio 2005 VC++ for client application development. I have added the webreference of web service and create object of this web service. jefy ...Show All
SQL Server inerting/updating a collection of data values into SQL Server db all at once.
I'd like to insert/update a collection of data values from VS2005 (C#) into sql server in one insert/update statement. For instance, I'd like to insert all values from a checkboxlist that are checked without having to perform an insert statement for each value. What's the best way to go about this thx. MarilynJ wrote: I'd like to insert/update a collection of data values from VS2005 (C#) into sql server in one insert/update statement. For instance, I'd like to insert all values from a checkboxlist that are checked without having to perform an insert statement for each value. What's the best way to go about this thx. fill the dataset from data from sql server update on th ...Show All
Silverlight (formerly WPF/E) A bug under full screen
When the window is under full screen, and use the javascript to window.open("http://www.xxxxxx.com"), the parent window return to the normal size, and the source object's canvas gone to the Opacity=0 Sorry for the delay, I will file this bug internally. Thanks for reporting this issue. Ed Maia WPF/E PM ...Show All
Visual Basic Converting PDF to TIFF
In my current project I have a requirement to convert pre-existing PDF documents to TIFF documents as part of a process in a Windows Service. I've seen and demo'ed a few third party tools such as EasyPDF and PDFRasterizer. I was wondering if anyone knew of any open source or other solutions I should consider. Any hints on how to user the Acrobat interapplication Communication library When I tried converting a PDF to tiff images in a background process using the Adobe Acrobat API they all came out as 96dpi, which is completely useless for printing as everything is fuzzy. There must be a way to programatically do this. Or maybe there isn't. ...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
SQL Server Subquery as an expression
Hi All! I am having trouble using a subquery as an expression. For example: SELECT tblCustomers.Name, (SELECT tblOrder.ID, MAX(tblOrders.OrderDate) FROM tblOrders WHERE tblOrder.ID = tblCustomers.OrderID GROUPBY tblOrders.ID) AS LastOrderID FROM tblCustomers WHERE tblCustomers.CustomerID=1 Basically what I want to do is return a single row for each customer with the customer's name (from tblCustomers) and the most recent order ID from tbl Orders. I understand that I cant select more than one field in my subquery, but how can I return the most recent order id (per the order date) without joining a view Make sense Thanks for your advice in advance! In 2005, something like this will work, most likely (your correlation in yo ...Show All
Visual Studio Express Editions Is it safe to delete these files ?
Is it safe to delete the files that are in the bin\Debug and bin\Release folders littleguru wrote: Quote: Where oh where is this command ! ! VB.NET doesn't offer that command ... VB.NET (even the express version) DOES have the clean command...it is not in the build menu by default ...however if you right click on the menu bar and then select customize you will find the 'clean' command s listed in the build menu that can be dragged onto your menu bar ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX 10-Vista
I owe a computer with W. XP.I'm going to upgrade it to Vista.My question is if directX 10 needs only Vista to run.My system is fueled by ATI radeon x1600 pro.Do I have to change it or just have Vista No adapter that is currently sold is compatible with Direct3D 10. Even the newest one will not be upgradeable with a new driver. Direct3D 10 adapter should be available later this year. ...Show All
SQL Server SQL Server General Network error.
Hi, I am using .Net framework v 1.1 and SQL server 2000. I got the following output on firing "SELECT @@version" in my sql server. ---- Microsoft SQL Server 2000 - 8.00.2039 (Intel X86) May 3 2005 23:18:38 Copyright (c) 1988-2003 Microsoft Corporation Enterprise Edition on Windows NT 5.0 (Build 2195: Service Pack 4) I am getting the General Network error when i try to select, update or insert data from / into sql server. This error is randomly generated and some times just disappears. But i am sure that there must be some problem bcoz, now or then the same error is thrown. I am firing these queries from a windows service. Since it would be automatically working in background i want that a sure shot solution be imple ...Show All
Windows Forms add image to listview subitem
Hi, I am trying to add an image to a subitem of my listview , how can I do this if not possible, are there any other alternatives thanks in advance! You've got some links to look at apparently (haven't checked them myself), but here is a very simple example. Before this code will have effect, you'll need to set the OwnerDraw property of the ListView to True: p.MsoNormal, li.MsoNormal, div.MsoNormal {margin-top:0in;margin-right:0in;margin-bottom:10.0pt;margin-left:0in;line-height:115%;font-size:11.0pt;font-family:'Calibri","sans-serif';} .MsoChpDefault {;} .MsoPapDefault {margin-bottom:10.0pt;line-height:115%;} @page Section1 {size:8.5in 11.0in;margin:1.0in 1.0in 1.0in 1.0in;} ...Show All
