SP534's Q&A profile
Software Development for Windows Vista Starting a WF from a WF
Hi, I'm trying to create a custom listener activity that starts other workflows and running into problems getting a handle on the WF Runtime. We are calling this particular activity from an ASP.NET site. On my local machine it works fine when I do this: WorkflowRuntime wfRuntime = new WorkflowRuntime("WorkflowRuntime"); wfRuntime.StartRuntime(); Dictionary < string , object > parameters = new Dictionary < string , object >(); parameters.Add( "TaskId" , taskId ); WorkflowInstance wfTask = wfRuntime.CreateWorkflow( typeof ( j1pTask ), parameters); wfTask.Start(); But when we publish the site to the server we get errors on the first line. From my reading it appears that this shouldn't w ...Show All
SQL Server Referencing datasets in datasets...newb
I have created a report dataset in my SSRS project that groups and sum a number of fields from my database. I would like to create a new dataset, which now references the original report dataset so I can concatenate all the grouped and summed fields into a single field (this is for a fixed width export report). Under the add table option I can only find references to the db tables, and the db views.....unfortunately I do not have permission to create views in the db at this time, so I need to do all of this in SSRS. Can anyone help me out Michael ...Show All
Visual Studio Express Editions Example of tabbed webbrowsing
Hello, as I have seen a lot new threads about the webbrowser, I thought: "Why don't try it myself " :p So I tried, and I just made myself a working tabbed browser :o I put the source and working example online so you people can have a look how everything works.. Here is the link Please post any questions/suggestions/bugs (I know there are a lot of 'em) here :) Grtz, Tom. Easy questions first..... each forum in MSDN has a Search box. Your browser handles the searchbox correctly, mine doesn't. On the other hand I've done a lot to get vanishingpoint to work because that is actually a flash URL and is the tip of an iceberg for all of flash. ...Show All
SQL Server How can I place the data region in center of the report page?
Hi, all here, Would please anyone here give me any guidance for placing the data region in the center of the report page Thanks a lot in advance for any guidance and help for that. With best regards, Yours sincerely, PS: I am using Microsoft SQL Server 2005 reporting server. Hi,used the tags for it. But how can I know the valid elements and all valid values for the elements supported in the XML code It is strange that some child elements used under some tags are not supported in other tags. But we can add user-defined tags to XML, why here it dose not work then Thanks a lot for any guidance and help for that. With best regards, Yours sincerely, ...Show All
.NET Development Difference between 2 dates in a database
I got a dateReturned and dueBack in a Rent table in my database. I want to know how i can have my program to work out the number of days difference between the two. Cheers for any help in advance ...Show All
SQL Server Report Builder and optional parameters
Hi, Is it possible to create optional parameters in Report Builder An *ordinary* parameter is created by marking a filter expression as "prompted". At run-time, the user will be asked to provide a value for this parameter (or accept a default value if it is available). This works fine. What I want is to let the user choose whether to provide a value, or leave the parameter empty. In latter case, the reports should not take the parameter into account and display all available data. Example: I have a list of products grouped by the name of the supplier. I want users to be able to see the entire list, or narrow it down to one supplier only. So I create a free text parameter that will contain a part of the supplier's name. I ...Show All
Visual Studio 2008 (Pre-release) Sylin' a Panel's Navigation UI
Hello Is there a way to style the navigation UI on a panel. I'd like to add more buttons around it. I saw a post about styling navigation ui for the navigation window. But I'm not sure how to style a panel so that its navigation ui would show more buttons. Thanks Houman ...Show All
Visual FoxPro drop-down combobox problem
Hi I'm still struck with the combo drop-down part problem for nearly 2 weeks and need help from you. When the values of these 2 textboxes match with each other, the list of employee is able to display on the combo drop-down. But I have one problem :- The list of employee on the combo drop-down repeat unnecessary (even a few blanks) when i changes the values of textboxes. How to refresh the combo drop-down once the values of textbox changes Thank you. hmm, I'm using the table (contacts.dbf). So, RowSourceType properties will be 2- Alias and pls advise me what i put on RowSource properties to "refresh" and narrow down the list of employees that is related to these 2 values of textboxes. ...Show All
Visual C# Q: Using the ThreadPool class
Hello everybody. I have a little trouble using the ThreadPool class. The logic is the following. I have a class called Render and a method in it. it's the Mac 'Please Wait' icon. It's a bunch of lines in a circle and they change color one at a time and go in a circle. It's basically just a 'Thinking' icon. ...Show All
SQL Server Performance problem: SSAS 2005 + ProClarity
Hi, I am facing a performance problem. Here is my scenario: I am using ProClarity to create reports/graphs by connecting to ssas 2005. These are not dynamic graphs but are created beforehand in proclarity and accessed by users. The graphs enable drill-down/drill-up features. My Cube contains: 1 MeasureGroup 4 Measures 7 calculated measures 4 dimensions ( 1 time dimension: date) dimension partition count: 1,095 4,018 8 453 4,018 (hierarchy) 11 (hierarchy) 7 (hierarchy) 5 hierarchies in time dimension 1 hierarchy in other dimension 1 partition, partition count: 33,574 (current) partition size : 708.4 kb storage: MOLAP Partition aggregations: 15 current performance gain: 51% This cube is processed manually and appx of ...Show All
SQL Server how to create a sql database in the server?
Hi, I want to create a new database in the server using SQL express,not in the local machine. so what can I do Thank you thank you. but I want to know where the location is after performing this statement: CREATE DATABASE dbName. in the server Do I need to connect to the server using express first ...Show All
SQL Server Extending Derived Column Transform with custom function library
When data is imported from our legacy system, the same functions need to be applied to several columns on different tables. I want to build a kind of "Function Library", so that the functions I define can be re-used for columns in several packages. The "Derived Column" transform seems ideal, if only I could add my list of user-defined functions to it. Basically I want to inherit from it, and add my own list of functions for the users to select. Is this possible What other approaches could I take to building about 30 re-usable functions You cannot extend the Derived Column Transform, or rather you cannot extend the SSIS Expression syntax, and the transform offers no library or reuse functionality. ...Show All
Windows Forms call instance of main form
Hi, I have another problem with the login form, I have my login form which is the main form of my project, when the user types in the password and the username in the login form, this data is passed to the other form (the one that loads the data) using the constructor, then this form builds the connection string for the oracle connection and tries to open the connection, however if the password is not correct and I get an error from the oracle client I need to show the login form again. Could somebody help me on how to make the login form again. by the way, the login form is never closed, I just hide on the login button login click event. Create a property in the main form Connected which will be set to tr ...Show All
Windows Live Developer Forums Finding polylines that start or end at a given pushpin
I'm working on an app that is plotting people on a map based on their address. Based on the "connections" between the people I would like to draw polylines between them. The connections are defined within the scope of the application, however, an example might be that if I have a pushpin for my address on the map, and a pushpin for my mom's address on the map, then I'd like a polyline drawn between the two pushpins since there is a relationship between the two people (I know my mom, because she's my mom). What I'm struggling with is the best way to determine if a polyline starts or ends at a given pushpin. I've been experimenting with using the VEPushpin.OnMouseOverCallback, and the map.LatLongToPixel and map.PixelToLatLong. ...Show All
.NET Development How to retry last statement in try{}catch{} block?
Hi, I have following code try{ Someobject.Execute() } catch (SomeException) { } I'd like to retry Someobject.Execute in case SomeException is thrown, how can I do that Put it inside a loop. Something like: for (int ix=0;;++ix) { try { Someobject.Execute(); break; } catch (SomeException) { if (ix > MAXTRIES) throw Exception("I give up"); DoSomethingToMakeExecuteWork(); } } ...Show All
