David Inman's Q&A profile
Software Development for Windows Vista Guidelines for deriving custom activities from custom base activities?
Context - Creation of a library of a dozen or domain specific custom acitivites - Natural inclincation to create 1-2 custom base activities that the other custom activities are dervied from Questions 1. What to are guidelines, concerns, issues and best practises for deriving custom activities from (custom) base activities 2. Should activity derivation be discouraged ..encouraged Thanks, Michael. Hi Angel (or anybody else kind enough to point me the right direction) I suspect I am falling into the design flaw you mention. It would be great if you could detail the mistake I am making and the appropriate direction for the solution. I want to create a custom sequence activity which runs some activities (a Code activi ...Show All
Windows Forms Datagridview problems (join and combobox)
Hi all, how could be possibile to show data coming from two different tables in a DataGridView (VB2005 Express) Please see also http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=872566&SiteID=1 Why if I add a DataGridViewComboBoxColumn into my DataGridView the properties DisplayMember/DataSource are available but if I decide to use a DataGridViewTextBoxColumn column type these properties are not present anymore Thanks in advance. The purpose of DataGridViewComboBoxColumn is to display some data (in another table) based on some ID (in current table) and to change it too. Where DataGridViewTextBoxColumn enables us to display and edit data from some data source (texts, numbers, ...). T ...Show All
Visual Studio 2008 (Pre-release) Debug a WCF service?
If I have a IIS hosted WCF service how and what do I attach to in order to debug the service In general is there a way to tell the name of the WCF service that is running so that it can be attached to and debugged. Thank you. I m using Windows Vista for hosting the WCF service on my IIS 7.0 I read the following somewhere "To diagnose problems with Windows Communication Foundation solutions in development, the most important tool is the Visual Studio 2005 debugger. Generally, one can simply set breakpoints in the code for a client or service, and start debugging one’s code. In the case of a service, when one starts debugging it within Visual Studio 2005, Visual Studio automatically at ...Show All
Visual Basic how I can get the name of last event in VB.NET?
Hello, I need to know how I can obtain the name of a current triggerred event in a such code: Private Sub dene(ByVal sender As Object, ByVal e As EventArgs) _ Handles btnOne.MouseHover, btnTwo.MouseHover, btnTwo.gotfocus, btnTwo.lostfocus Dim clickedCtrl As Control clickedCtrl = DirectCast(sender, Control) lblDisplay.Text = clickedCtrl.Name ‘.... name of the control ........ ' ----here I need to know where come here, for example from gotfocus of btnTwo or lostfocus of '....btnTwo in the list of Handles keyword. End Sub Could you please tell me about how I can get the name of last event in VB.NET Thanks nuranozcanli@bil-kay.com Nuran If it is neccesasary to know the calling event then I would suggest breaking ...Show All
Visual Studio Express Editions Check control type
Is there a way to use switch case instead of If else to check the type of controls passed ie Button,CheckBox...etc..thanks Regards Alu ...Show All
SQL Server Create a calculated member on one measure.
I have a Version dimension which is used to break out the Net measure by 'Actual' or 'Budget'. Net is the only measure I'm using. By not using the Version dimsion. The net is incorrectly totaled by both values. Both are not used together. 'Actual' and 'Budget' are the only two members of the Version dimension. I want to add a third member which subtracts 'Budget' Net measure from the 'Actual' Net measure and call it variance. A caculated measure isn't working for me because obviously subtracting Actual - Budget doesn't work so well. Can anyone help me with that First - please remove NON_EMPTY_BEHAVIOR - it is defined absolutely wrong. Second, how exactly it doesn't show up If you connect with SSMS to the cube and browse the ...Show All
Visual Studio I can not reinstall VC++6.0 after removing VS2005 !!
What happend in my computer I can not reinstall VC++6.0 after removing VS2005. I do not understand why it happens. Can I use VC++6.0 again I think that I have to format hardware. Please help me. See if this KB article helps: How To Troubleshoot Visual Studio 6.0 Setup What is the exact error message you are getting ...Show All
SQL Server Attach network database Sql Server Express
I am trying to attach a network database to my sql server express After some reading I "Enabled" tcp/ip, named pipes, and shared memory in sql server confiuration manager. But when I go to "Attach Database" in Sql Express managemnent studio. It does not show the network drives much less allow me to attach anything on a network drive. What am I missing here If I install sql server on the network machine will my local Sql express recognize it Database files on network shares are not supported. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Windows Live Developer Forums how many pushpins can I add?
OK - I am fairly new to all this - and I have already wasted a couple of days trying to figure out the yahoo maps API to add custom mappoints/pushpins to their service, only to find out that they limit you to 200 points (which of course they disclose nowhere) - I need more like 4000 all over the US. Is this something Virtual Earth can handle, and if so, what would be the way to go about it All locations have a LAT/LON and a site nr. that is it. Thanks On my trusty laptop it actually took 5 sec to render 400pins, you must realise these pins do alot more then you are really after. Cahnge the quatity from 400 at athe bottom if you feel like doing some testing. John. <html> <head> <title></title> ...Show All
Microsoft ISV Community Center Forums Loop til you drop
I have a loop in which I am trying to search for a cell with a ceratin textline ("Sec type"). I want to search the entire spreadsheet but if it it possible to search only some used range that is preffered. If I find the cell I am lokking for I want to check to see that it is not on the same row as some other things. These rows are specified by segment.row and secID.row. My problem is that the loop never stops running and I do not know what is wrong with it. I guess it is the Loop-line that is erronous but I do not know how to fix it. Please help me out if can! Thanks! With Range("b1:aa500") Set c = Worksheets("Berakning").Cells.Find("Sec type", LookIn:=xlValues) If Not c Is Nothing Then ...Show All
Windows Forms A problem in TreeView.OnBeforeLabelEdit event
Hi all, In a TreeView; I need to change the edited text programmaticaly just before the user start editing it at run time ... was this clear Ok, the TreeNode shows: 123: abc when the user starts editing on the TreeView in runtime, i only want to give him a chance to change the "abc", not the everything. so i need to show him "abc" only then. after he finishes editing, i'll add the "123: " to his edited text. i tried to change e.Node.Text in TreeView.OnBeforeLabelEdit event with no hope. please advice, and thanks in advance. thank you sir, but I need to change the text just before entering the editing mode... monitoring with TextChange doesn't help ...Show All
.NET Development Downloading Problem
this code is working perfectly but when i directed it to our download site, the downloading and my program stop responding when it reach a certain filesize and doesn't show error. please help me. // The stream of data retrieved from the web server Stream strResponse; // The stream of data that we write to the harddrive Stream strLocal; // The request to the web server for file information HttpWebRequest webRequest; // The response from the web server containing information about the file HttpWebResponse webResponse; using ( WebClient wcDownload = new WebClient ()) { try { // Create a request to the file we are downloading webRequest = ( HttpWebRequest ...Show All
Audio and Video Development xpath
1) Where this xpath variable set by document.setXPathVariable() API will actually store Is it will reside in DOM Tree or in XPath processor 2) Whether Additional XPath functions (spec 7.5.2.4.2) like ns:name(), class(), GPRM(), SPRM() will work only in document (from markup) or for any other user document(from parse() or parseString()) Is this a question for how to write a player It doesn't matter where you store the XPath variables, as long as they are accessible both via script and markup. I am pretty sure the additional features only work for the markup document, not random XML documents. ...Show All
Microsoft ISV Community Center Forums Visual Studio Tools for Applications
Following are the question related VSTA that we have sent to Microsoft: When is VSTA getting Released Can we write the code/script in VSTA, store it in files/database; load the script and run it on the fly through a windows application Can I store the Code/Function in the database and load that function dynamically, debug it, make changes, compile and save it back to database and deploy the changes to all the client machines on fly Can we load the script (on-the-fly) in a VS.Net IDE and debug through it This should be done on a button click in a windows application. If the script has to be debuggable, what are specific settings Can we selectively run a script based on config settings that ...Show All
Visual Studio Express Editions Console visibility
Hello, I just took tome sample code for a TCP client server messenger app and the server( the end that recieves the messages writes everything to a console window. I want to be able to have it running in the background until someone joins the chat and then make it visible and then when finished it hides again... ...Show All
