Tej62007's Q&A profile
Software Development for Windows Vista On Vista, iexpress launching the application window in the background!!
We use the Microsoft's IExpress to package a bottstrapper and MSI file into a self-extractable installer package.The self-extractable installer extracts bootstrapper (setup.exe) and MSI package and launches setup.exe which in turn launches msi package. The problem is when self-extractable is launched on Vista machine, the UI window is getting launched in the background. I have to use ALT+Tab to bring it to the foreground. But when the self-extractable is launched on other OS (XP, W2k3 server etc), UI window is properly launched in the foreground. Has any one experienced similar issue Is this an issue with Vista Great, to know that. I'm going to make the assumption you are going for Vista Logo Certification. If th ...Show All
Visual Studio Tools for Office Accessing forms authenticated user info
Hey everyone, I was wondering if there's a way to access "forms authenticated" user info from within a VSTO application. in other words, i have a login form that takes me to a web page. the web page redirects me to the VSTO word document. can i access the username i entered in the login form from inside my VSTO document I would also like to know whether application session info is preserved in the VSTO document. by the way, HttpContext.Current.User.Identity.Name does not execute correctly. hope you can provide me with any feedback on this issue. I appreciate your concern Maha Hi Meho I think the short answer to your question is No. Your web application and your VSTO s ...Show All
Visual Studio Team System Reinstalling TFS
It all started with having a working environment of single server VSTS installed. I created 2 test projects in it and was able to give users access to them. Due to prioritization, the work was held up for few weeks.The only change, that I know of in between in trhe server is that WSS was upgraded in this server. So I started this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=640894&SiteID=1 I also referred to this one: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=147772&SiteID=1 But the problem remained unresolved. Pressure of delivering mountains. One thing is going on for me. All the team projects that I have created so far are test and no one cares if I delete them. So, I decide to reinstall VS ...Show All
Visual Studio 2008 (Pre-release) Group by ID/ParentID?
I'm developing a task list type screen that requires some grouping that I haven't been able to figure out. The data will be displayed in a treelistview type control (http://blogs.msdn.com/atc_avalon_team/archive/2006/03/01/541206.aspx). My problem is grouping. I've been able to group by the type of task but I'm having problems grouping when it comes to parent/child ids. Sample XML will clear this up. <Items> <Item Type="Type1" ID="123" DueDate="1/2/2007" ParentID="">This is task 1</Item> <Item Type="Type2" ID="223" DueDate="1/12/2007" ParentID="">This is task 2</Item> <Item Type="Type1" ID="323" DueDate="1/2/2007" ParentID="123" >This is a response to task 1</Item> <Item Type="Type1" ID="423 ...Show All
Visual C# Any Easy way to open help files by "F1"?
There is an "Help" on the MenuStrip, and its short key is "F1". I made a user guide of the software in word format. How to open the "user guide" when user click either "Help" or "F1" To use file open and close or some other easy way BTW. Is there any detailed and all-sided information about the items on GUI Thanks a lot! OK, that's not what I said to do. Yes, Process.Start will NOT search your entire hard drive for a file. Process.Start("E:\\Pockey\\myfiles\\SerialCommunication User Guide.doc"); Will search the registry to find the program to open a .doc file with, and will find Word there. ...Show All
Visual Studio Team System Question on Schema Refactoring
If I do the rename of objects, is it possible to identify the list of affected objects, so that I can go and check in only those objects. It means it marks the modified object which some color or different font I know it is possible to preview the changes being made or do the schema compare Is there any other way to get the list of objects modified because of refactoring Virendra If your project is under source code control, after apply refactoring changes, it will automatically check out all affected files, and you can look at your pending change list to see which files get modifed. Also as Jeff pointed out, we do generate refactoring log for each refactoring operation. It is under the "Ref ...Show All
Visual Studio Team System Cannot debug unit test
Something's upset my VS.NET 2005 installation! When I now attempt to Debug a unit test, the IDE just locks up. No CPU activity, no disk activity, nothing! The unit test goes into the 'In Progress' state but never executes. I've breakpoints on the test class initializtion and the unit test method but neither are reached. I can 'Stop' the unit test which doesn't seem to do much so I 'Stop' the debug session and after a while I get a 'Stop debugging in progress...' stating that Debugging is being stopped but is not yet complete... I can run unit tests [without debug] and they execute and complete as expected. I've not run any unit tests for a couple of weeks and it's possibly something with SP1 (recently installed) though I can ...Show All
SQL Server Package randomly stops
I have a very weird issue in my latest package. I run it and it just randomly stops. When I watch it in debug mode or not in debugging a command prompt window will flash for an instant (too fast to read) and then the package will stop. It stops inside of a for each loop and the "on completion" is never fired for the loop. I never receive any errors - its just like someone hit the stop button. Sometimes it will process hundreds of files before stopping, other times only a few. (And its not stopping on the same file each time.. it doesn't appear to be related to the file at all) Any ideas what could be going on How to troubleshoot The only custom objects I have installed is the RegEx one availa ...Show All
Visual C# Not able to find the function name in the assembly through reflection.
Hi, I have an interface and some functions inside it. I have a class which implements this interface and one function prints "Hello world." and one property returning one integer value. Now I have compiled this class into an assembly. After this I have created one console application which loads this class and try to find out the function and property. I am using this code. Assembly a = Assembly .LoadFrom( "E:\\ClassForInterface.dll" ); MethodInfo method = a.GetTypes()[0].GetMethod( "INonUITests.RunTests" ); ParameterInfo [] parameter = method.GetParameters(); foreach ( ParameterInfo info in parameter) { Console .WriteLine( "Type of the parameter is :" + info.ParameterType); Console .ReadLine(); ...Show All
SQL Server Error with linked server after failover
Hi all, The following query that uses a linked server is giving me the error message below after I initiate a failover (ALTER DATABASE Northwind SET PARTNER FAILOVER). I have SQL Server 2005 SP2. I think that without the service pack there is another error too. The query is run from a database other than northwind of course. select * from DualLink.northwind.dbo.Test1 Please note that: without a failover it works perfectly it always work if I try to run it a second time - only the first time it fails. it fails the first time for each of the open connections. A new connection that was open after the failover will work fine. A transport-level error has occurred when sending the ...Show All
Visual Studio Express Editions Writing add-ins for Office
Can I write add-ins for Office using VSEE I know that VSTO won't work with it, but do I need that in order to create programs for Office Just to add to this. If you are using the Express editions, they do allow you to develop different types of applications and provide templates for the different project types, however for the express editions only the basic windows app, console app, class library templates are provided. This will show you what the different versions of the product, provide as far as project templates go. http://msdn2.microsoft.com/en-us/library/b4z62wxz(VS.80).aspx This does not stop you from writing the other project types without the template as ultimately they use the same fra ...Show All
Visual Studio Express Editions MS Agent Unknown Error
Good afternoon VB Experts, I am working on an application that uses the MS Agent. The application works as designed up to a point; the agent loads, animates and speaks, but then, for no apparent reason, suddenly disappears. I am stumped! Any suggestions that you have to help me work out of this problem would be greatly appreciated. The disappearing act seems to occur when Form1 events fire. For example, if the mouse is passed over a Button or ComboBox on Form1, the agent disappears. Infact, just jiggling the mouse on the background of Form1 will also make the agent disappear, but it is not as sensitive as jiggling it over a Button. If the mouse is passed over ...Show All
SQL Server Problem in Mail Sending through Windows Application
Hi, I have made one SP(A) for mail sending which called within another SP(B). If i am executing that SP(B) in query analyzer then SP(A) ia also executed , while i am executing SP(B) through some WIndows Application although SP(A) is geeting allthe parameter but not executing. SP(B) is being used for inserting some values in a table.And i want to mail few of those inserted value to be mailed by SP(A). I have tried it by making "insert trigger " . But same thing when i executing SP(B) in Query analyzer the mail is going means SP(A) is running. But when i am inserting values through windows applicaton.Values are inserting but mail is not going. Thanks in advance. Sanjay Tiwari ...Show All
Visual C# Simple binding to Datarow - values don't update???
Hi, I have a loop that is populating label controls from a Datatable. If I simple bind the datarow to the labels' Text property, when I update the Datatable I expected the changes to be reflected in the label. This is true if I bind the the table directly. // this shows the correct values but they don't update when I update the data in the table ... templabel.DataBindings.Add("Text", dt.Rows[i ] , "state"); ... // when I bind directly to the table, updating the table does reflect the changes. But this option is no good as all my label controls have the same values. ... templabel.DataBindings.Add("Text", dt , "state"); ... What I'm trying to achieve, is when I update the data in the table the changes are reflected automatically in the bo ...Show All
Windows Forms Form inside form. MDI?
Hi, I am a C# newbie. I need to have an MDI behaviour for portion of the form. Like in Visual Studio. Portion of the app remains static(list of files, classes), and portion changes(the editor content changes depending on the file selected). So, the MDI behaviour is for the right panel(which contains the editor portion). How can I achieve this. R Put your static controls in panels that you dock in the MDI parent. The remaining area will automagically be used by the MDI child forms. ...Show All
