ashk1860's Q&A profile
Visual Studio Team System Adding a Timer or Stop Watch in Visual Studio
Hi, What are my options for creating a Timer integrated with Visual Studio Thank you, Swatantra Hi Carlos, I am trying to keep track of how much time a person spent in completing a task in Visual Studio. He will use a stopwatch for the purpose. One option that I am considering is to add a control to a TSFS form such as Work Item. I was wondering if I should go ahead and write an addin or there is an exisiting control that acts like a timer. Thank you, Swatantra ...Show All
SQL Server Delete records that don exist in the destination
Hi all, I am developing an ETL wherein the requirement is to do an incremental load and at the same time, if there is a record that got deleted in the Source delete it from the destination too, makes sense. The approach am doing is, pick data from the SRC and Destination, pass it onto a Merge join component, do a Full Outer join, then pass the rows to a conditional split. Newly Added records and updated records I can handle, how do I handle the Deleted records Am I correct in the way I am doing or there is something better to handle this Thanks in advance Hi Jamie, Thx for the comments, I started working exactly the same way, but now am into an issue here. I am starting with two small table ...Show All
Visual Studio Team System BuildStatusChangeEvent and Sharepoint notification
Hi, After a build quality changes (like "Release to QA"), is it possible to subscribe to the buildchangeevent alert as a sharepoint notification or is it possible to include a link in sharepoint to the build directory along with the "Build Quality" filtered to "Release to QA" Please let me know, if you have some tips. Thanks There's no direct support for a sharepoint notification. However, you can sign up for email notification (in VS, go to the Team menu, choose Project Alerts, and fill in your email address). You can also write a custom app and register it for SOAP notifications, and that app could then update SharePoint ( http://blogs.vertigosoftware.com/teamsystem/archive/2006/07/0 ...Show All
Visual C++ Profiling C++ .Net app in Visual Studio .Net 2003 enterprise version
Hi, Does anyone know how to profile a C++ .Net application in VS .NET 2003. With VS 6, you can do it by enabling the "profile" in project property link page. But in VS .NET 2003, I couldn't find this setting. Has it moved to some other places I don't believe a profiler was included with VS .Net 2003. There is a free community edition of a profiler from one of our partners which you can use with 2003. VSTS 2005 however does include an excellent profiler. ...Show All
Visual Basic graphing persistent lines in a PicBox, NOT from the paint event??
I made a routine that evaluates a math expression by plotting its graph in a picbox. To get a persistent linegraph in graphics in VB.net, I found out that I have to draw in the _paint event of a picbox. That works, but now I want to make a separate button that puts a second (and third, etc) linegraph onto that same picbox so that they both are persistent. Purpose is to allow students to alter a parameter, then plot a new line overlaying the old one to let them evaluate what changes occur. But obviously the second one has to be drawn when I press the button, rather than from within the paint event. How can I make a button that writes a line in the picbox, WITHOUT having it in the picbox_paint event, and yet keep it persistent T ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Could C# be the future of gaming?
Since XNA is using C#, and is is a more intuitive language than C++, is it possible that in the future that C# will dominate, espessially in AAA titles. Could XNA be ushering a new way of programming in the main stream Hi Jeff, As some one who is a partner in a company (and lead developer) that produces enterprise high performance security applications, many of them in C#, I think you will be very surprised what you can do with C#. I develop in C++, C++/CLI (.net C++) and C#. C# is my favorite by far. While it certainly takes a lot of care and research to get the "barn burning" speed you can truly get out of C#. Once you know what to avoid and how to write performance critical apps in C#, you will only go back when you ...Show All
Smart Device Development Creating CAB files for different Processors
Hi, I want to create CAB files for different processors. Can any one guide how can i proceed. Thanks in Advance, There are no mass market mobile devices running anything but ARM. All Windows Mobile devices are ARM, no exceptions. SH3 is not supported started CE 5 and it's not supported by NETCF V2. There are some industrial controllers running MIPS variations. They are commonly mounted inside something and in many cases don’t even have displays. Unless your application specifically designed for these devices it would never run on MIPS, x86 or SH4. Let me repeat: you don’t need to worry about anything but ARM unless you’re given specific device by your customer and asked to ...Show All
Visual Studio Express Editions cannot convert from string to integer
I am having some difficulty with my code. When I run the program, the Sub tells me the values(ie: RECash2,3,4,&5) are "". Only RECash1 is "0". When I change the values during debugging and continue, the program runs fine. My problem is that I cannot get the values to save after changing them, or to change them before running the program. Any help would be appreciated. The code I have is: RECash1.Text = "0" RECash2.Text = "0" RECash3.Text = "0" RECash4.Text = "0" RECash5.Text = "0" RECash6.Text = "0" RECash7.Text = "0" RECash8.Text = "0" RECash9.Text = "0" RECash10.Text = " ...Show All
Visual Studio Tools for Office Moveable controls
How do I make a control (f.ex. a button) in a form moveable to the user By this I mean, that the end user can rearrange the controls by pressing the mouse and dragging the control - just like the programmer does in the development window. I am using Visual C# 2005 Express Edition. This is not the correct forum to be asking this question. This forum is specific for Visual Studio Tools for Office technology. Ask here o Visual C# Express Edition forum http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=160&SiteID=1 OR here o Visual C# Language forum http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=59&SiteID=1 Probably, you'll need to use Mou ...Show All
Visual Studio Tools for Office Action Pane is disabled when I save the document and reopen.
Hi, Please any one can let me know what is the problem with Action pane when I save and reopen the Excel document. Action pane and its controls get disabled when I perform following steps. 1) Open Excel document,Populate some data and save to hard disk. 2) When I reopen and click on Action pane controls, all the controls gets disabled and no events are fired. Do I have to do some reinitialization for the action Pane Regards, Uma Kadagi. you can install all the dlls in the GAC, this should allow you to open the excel spreadsheet from anywhere and still have your code loaded into excel. ...Show All
Visual C# DateTime Problem
Hi, What’s the best way to calculate and return two DateTime values in C# .NET for the below examples: Return Beginning and End Date of a week given a Date {i.e. Date given: Wednesday 17 th January 2007, Beginning Week Date: Monday 15 th January 2007, and Ending Week Date: Sunday 21 st January 2007} The same again for the month. And same again for the year Thanks Hi, Testsubject Since begin with Monday and end with Sunday, the code can be: DateTime dt = new DateTime (2007,1,17); Week: if (dt.DayOfWeek != DayOfW ...Show All
Visual Basic Getting processor type
Is it possible to get the processor type and count in VB2005 I cant seem to find anything in the my.computer namespace. and without using wmi..the best you will do is to return the processor architecture: Dim a As System . Reflection . Assembly = System . Reflection . Assembly . GetExecutingAssembly () Dim MyAssembly As System . Reflection . AssemblyName MyAssembly = a . GetName MessageBox . Show ( MyAssembly . ProcessorArchitecture . ToString ()) Which on almost all machines will return MSIL not the actual processor type! ...Show All
Visual Studio Express Editions Registry Reading and writing in visual c#.
Hello , I am planning to develop a software that tweaks windows by altering the registry entries. Can anyone tell me any resource or methods on how to Acesses/Read/write into the windows registry using visual c#. Can these low level registry functions be implemented in visual c#.If yes then how Any help would be greatly appreciated. Regards Jason Timo, I am not sure where you got this code, but this not how use Registry functions in .NET. First off, why do you create "key" when you never use it anywhere in your snippet Secondly, when you create "key2", you attempt to access "rkey", which is not even created yet in your code. Finally, on your third line where create ...Show All
Visual C++ Creating and deploying a Hello World console application
I recently installed Visual C++ Express Edition on my computer and wrote a simple Hello World program: #include <stdio.h> #include <stdlib.h> int main(int argc, char* argv[]) { char c; printf("hello world\n"); c=getchar(); return 0; } The .exe file is huge (it is 5K) and it won't run on my other Windows box that does not have VC++ EE installed on it. Does anybody know if there is a way to create a simple Hello World .exe that can run on any Windows machine Thank you. See this thread ...Show All
Smart Device Development Owner Draw TabControl?
Hello, I want to know is there any way in Compact framework to owner draw TabControl like we do in normal Windows Forms is it possible in .Net Compact Framework too I just want to paint some small icon on the Head of the TabPage. Thank You so much! Best Regards, Rizwan ...Show All
