Mystagogue's Q&A profile
Visual Studio Express Editions Textbox not showing value
I have several textboxes that show variables read from a file, then the data in the file is further processed. What happens on the form is the textboxes remain blank until all of the processing is complete, event though the textboxes are assigned values before the processing starts. I put an input box between to cause everything to stop momentarily and that solves the problem with the textboxes. Is there a way to do this without the inputbox ...Show All
Visual Studio Express Editions sql tables in database
is it possible to get list of tables in database thanks yes thank you both. it works now right, but what if i want results to combobox. now it shows just some text. i guess the problem is displaymember property. ...Show All
Software Development for Windows Vista Workflow application working in one comp but not in another
Hello, My problem is the following: I have an ASP.NET application with a validation workflow inside. It uses the membership and roles mechanisms provided by ASP. In my computer the application works perfect, the workflow starts, does all its job and completes successfully, but when I move the application to another computer the workflow aborts after saving some changes to the database. The workflow starts, gets 2 different events (start and save) and then calls an external method to save changes to database. It saves those changes (I checked the DB and it's OK), and then aborts. The problem is that when the workflow aborts it doesnt give any exception message, so I have no idea what the problem is, and as it works perfectly in my computer ...Show All
Visual C# Time Passed
Is there any way to determine the amount of time that has passed from one specific point to another I.E. If the user logs in at 16:00 and logs out at 21:00 is there any way to tell that 5hours have passed Cheers Thomas Hi, You can always use the StopWatch class that is part of the Diagnostics namespace. You can then use a static instamce that you can use to determine how time has elapsed. Using an object like the StopWatch enables you to separate your application concerns. Your form should not have the responsability of calculating elapsed time. For exemple: public class Application { public static StopWatch Chronometer; } //When user logs in Application.Chronometer.Start(); //When user logs out ...Show All
.NET Development MMC 3.0 Custom Snapin - How can I programmatically activate a node?
Hello, I'm developing a snap-in for MMC 3.0. On the view for my root node I display a welcome screen (win form) with several link buttons which I would like to use to activate other nodes in the snap-in when the user clicks on them. I cannot find a way to programatically activate nodes within the snap-in in any way. I've poured through the entire Microsoft.ManagementConsole namespace. Has anyone any insight here Thanks, Tony Hi! Try this! selectionFormView (My startupForm) is set in the Initializing event of the control. foreach ( ScopeNode sn in selectionFormView.ScopeNode.Children) { if (sn.DisplayName == "System Properties" ) { selectionFormView.SelectScopeN ...Show All
Architecture Asp.Net application hosting on Linux
Hello All, I have developed an ASP.Net application in .net framework 1.1 I want to host my application on linux server. Should I need to re-write my code or there is any solution provided by Microsoft. Urgent reponse would be great. Thanks a Lot! Thank you very much Amol, for your prompt reply. Your suggession is quite helpful in this regard. Again thanks for you support. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. When will the Content Pipeline be released?
Can any XNA insider tell me the date the content pipeline released or when will the next version XNA GSE be released I think the Microsoft XNA Team is working hard on the next release of XNA GSE. The beta release of XNA really gives me a chance to learning thing from base. ...Show All
SQL Server Interval/Bucket Dimension
I am trying to find the most efficient way of handelling discreet buckets over continuous/discreet set of values. In english I am looking to have a dimension that says if age is between 0 and 5 they are an infant, 6 to 18 child and > 18 adult. I know I can do this in a case statement but I have similar senarios that require multiple levels of nesting and the ability to easily change the banding criteria with many fact table sharing the same banding information. I have done this in the past by preprocessing the fact table and updating the key value based on between joins, but this is very inefficient on large datasets (upwards of 30 million rows). I also need to be able to do this across continuous values such a monetary amounts ...Show All
Visual Studio Express Editions I want to add progress bar
I want to add progress bar in form which display how much program is proceeded I have to functions like A(), B() my coding looks like this A() 'statement 'statement 'statement while B() end while 'statement 'statement end sub so i want to know where i put progress bar function which follow completion of fucntion A() please guide me how can i written code for progress bar Basically a progress bar determines how much of a thing has passed until it is completed so you need to determine what the maximum value is and how it is reached. Without details of your actual code and what you are showing progress for it is hard to provide an answer. For example if you ...Show All
Visual Studio Team System Does the data warehouse store information about the inner results of ordered tests?
I have an ordered test that has 3 tests contained inside it. Is it possible to create a report that shows the pass/fail status of these contained tests Or can we only display the results for the top level test Hi Michael, Yes you can create reports about the tests contained within an ordered test. Unfortunately the information about the relationship is only contained in the relational warehouse and not the cube (look at the Result table). If your ordered test looks like this: MyOrderedTest -> fail - Test1 -> pass - Test2 -> fail The warehouse will persist information about each of those three results. Mauli ...Show All
Visual Studio Problem Removing Visual Studio Team Suite Trial
Hi All, I'm having trouble removing Visual studio Team suite trial. I had Visual Studio Team Suite Trial installed on my machine. I decided not to continue the trial and instead install Visual Studio Professional So I installed Visual Studio Professional and tried to run it, but up came the message saying my trial period had expired. Since then I've tried to uninstall/reinstall Visual studio professional, with no change. I then tried to uninstall the team suite trial (its still in add/remove programs list) but it cannot find the setup file to perform the uninstall. I tried to reinstall team suite (so I could the fully uninstall it), but cannot since it thinks there is already a trial version installed on my machine. I tried the msiinv to ...Show All
Visual Basic Creating shortcuts
I am trying to create a shortcut on my desktop and also in my startmenu. I have looked over the internet and could not get any of the examples I found to work. Is it really this difficult Thank you, Troy L. See http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=699394&SiteID=1 The code only works when the project is published. It does not add a shortcut while being tested in the IDE. Solution works for XP, but can be modified to work for older versions. You need a PC with an older version to look at and see what it's shortcut file looks like. ...Show All
.NET Development A name was started with an invalid character
To All I came across a distinct error. The details are below: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. I am getting the same error. I followed Seabert's way and also others but it still does not work for me. We have published using VS 2005 IDE. OS XP2 VS 2005 Professional ...Show All
Visual C# simple string compare not so simple
I am doing jsut a simple little string compare and the values are equal, however, I cannot get them to see that they are equal. Unless I am so Dyslexic I cannot read two simple strings. Here is the code: public bool test_ArPermHasPermission(string prefix, string action) { string permission = prefix + action; bool test = false; foreach (string p in arPerm) { //the values that fail: p = auth_update and permission = auth_update if (String.Equals(p.ToString(), permission.ToString())) { return true; } } return false; } I got so fed up with the string.equals I also tried the following: (p.ToString() == permission.ToString()); (p == permission.ToString()); (p.ToString() == permission); ...Show All
SQL Server Two Newbie Reports Questions
Hi, I have a report with 3 parameters. One of which is Company name. To get the available list for this I use a query: select distinct name from companies, etc. However, I also want the user to be able to select "All" or an equivalent to get all the companies. I tried putting * and % in the default values (non-query), but the drop down list displays "<select a value>". Also I've enabled drill-down, is there a way to auto-expand the results Thanks, Dan Just worked it out, by clicking on the row, edit group, then setting the display setting to initially visible rather than hidden. ...Show All
