Kamesh Bora's Q&A profile
.NET Development Debugging Mixed
Will a real mixed debugging for native and managed code be supported in future thx Martin I just want to post a follow-up to this issue. Orcas has been redefined since my last reply. The CLR in Orcas is a targeted release and limited in scope. As such, it won't support mixed-mode debugging on 64-bit. 64-bit mixed-mode debugging is definitely in our future plans. We are currently evaluating where it fits from a scheduling/release standpo ...Show All
Visual C++ COM and .NET
Hello, I have one question.... If a WIN32 COM function return S_OK, its mandatory..Is it the same way in .NET when you Interop with COM..... or in .NET the function doesnt need to return anything.... Thanks, Harsimrat Okay, for this situation, where the HRESULT is used to indicate whether the password is good or bad, you'd have to edit the interop wrapper DLL. See http://msdn.microsoft.com/li ...Show All
.NET Development Auto incrementing the version #'s
I have a .net application in 2.0 I'm trying to auto inc the FileVersion. In 2003 you could do AssemblyFileVersion("1.0.*.*") and VS would inc when you compiled. Doing this in 2005 generates a warning and no auto inc. Any ideas Hi, Please go through the following blog post for more information on this topic: http://weblogs.asp.net/bradleyb/archive/2005/12/02/432150.aspx Regards, Vikram ...Show All
Visual Studio 2008 (Pre-release) Reload xml data
Hi, I've try to develop a xaml usercontrol, this uc has for DataSource an xml file. Programmaticcaly, I need to update this file, and visualize the updated data in the xaml obj. how can I refresh the content of the user control Thx a lot Sam (Xml)DataProvider has a Refresh method that should work for you. After updating the xml file, call this method on your provider. ...Show All
Software Development for Windows Vista Report a BUG about 'Recycle Bin'
Well, when I run my Windows Vista build 5112. I emptied my recycle bin and it certainly success beacuase when I open it then, there is no file!. The most strange thing is that the icon of the Recycle bin do not turn to empty! When I reboot my computer, it can goes well again. Are you sure you made such a BUG in that version. And how can I get the latest version. how can I become a beta tester without selling loads of chash on a subscriptio ...Show All
Visual Basic Build Complete Notification Sounds
I just upgraded to Visual Studio 2005 from VS6.0 and I cannot find any documentation for Visual Studio sounds schemes. In VS6.0 I could have seperate sounds for "BuildComplete", "BuildError", and "BuildWarning". In Visual Studio I can only create a sound for VS_BreakpointHit Are any of the others available The three I mentioned in my post BuildComplete, BuildWarrning, and BuildError.&nbs ...Show All
Visual Studio 2008 (Pre-release) Using per-pixel opacity and there's nothing to see
Hi, I'm experimenting with the per-pixel opacity and I used the "MSN stockwatch" example from unni's blog http://blogs.msdn.com/unnir/archive/2006/03/01/541154.aspx Problem is that I don't see anything. At first, I had two windows open, but I fixed that. But all I see now is that there's a window open, but not visible. Anyone who had this problem that can/wants to help me thanks in advance, kimme ...Show All
Visual Studio VSS 2005 with VS 2003 AND VS 2005 on the same computer?
Will SafeSource 2005 work with two versions of Visual Stuido installed on the same computer I've got old code in C++ under MFC that I need to run under VS 2003. However, I've also got new code that i'm playing with in C++ and C#.NET under VS 2005. As I understand, previous versions of SafeSource didn't support multiple versions of VS installed on the same computer. Is this still true ...Show All
Visual Studio Express Editions Access files on a Mobile Device
I am currently having issues with my first Visual Studio program. I have written an application that selects a file using the openfiledialog class, it then copies the file to a backup folder, and then reads the same file and creates an edited copy for use in our office. The program is very simple, and works. EXCEPT, that i want the original file that is being selected via openfiledialog class, to come from a mobile device. When the open file dia ...Show All
Visual C# Fastest DB Connection
I'm writing a C# app that is basically connecting to 2 databases, and updating the both of them. I'm currently using this string to connect to my SQL Server: Provider=sqloledb;Data Source=(local);Initial Catalog=MLSDataExchange;User ID=sa;Password= I think that there must be a much faster way to connect, but since I am so new to C#, I'm not sure what that way is. Is there a faster string that anyone would suggest I use Also, what wou ...Show All
Visual Studio Team System How to use actual Test (Unit, Web, Load) to profile my application?
Hi, is there any way to use my existing VSTS Tests to profile my application (in order not to exercise the application manually) Thanks a lot. LucasC If you can launch your test on Command line, you can use our command line tools (VSPerfcmd for performance data collection, VSPerfReport for performance data analysis) to achieve automation. ...Show All
.NET Development Verifying User's Internet Connection
I am looking for a way to verify whether the user's computer has a valid internet connection. Is there a function in .Net that will allow the underlying Windows internet connectivity detection to be checked Or do I have to hack something together like running a ping internally Any ideas of suggestions are greatly appreciated. ;) While there is a way of determining if the system has a network connection, there is not to my k ...Show All
.NET Development TableAdapter Update problem
Hello, i have problem in my application. I create dataset with single table. In MainForm i have 2 texboxes and update button. This is code for update button: [CODE] Klient klient = new Klient(); klient.ShowDialog(); KlientDataSet dataSet = new KlientDataSet(); Serwis.KlientDataSet.KlienciRow klientRow = dataSet.Klienci.NewKlienciRow(); klientRow[0] = Guid.NewGuid(); klientRow[1] = klient.Imie; klientRow[2] = klient.Nazwisko; ...Show All
Software Development for Windows Vista Correlation tokens...
Hi, I have several workflows that need to make simultaneous exchanges with external methods and events through a DataExchangeService. To make sure each event is caught by the correct handler I’ve implemented the correlation attributes to the exchange interface. It all works fine, but I find it tedious to set up the parameters and properties related to correlation on the different activities in the workflow. I do not understand why this has to b ...Show All
Visual Studio VSS 2005 Issue
At two of my XP machines I successfully setup VSS 2005. Issue is at the server which is an Windows 2003 Standard. It seems that when I check Server -> Configure then Enable SourceSafe Internet for this computer and corresponding option bellow Enable SourceSafe Internet for this database VSS Administrator does not properly create virtual dir, to be more precise, it does note create VssUpload_db1 and VssDownload_db1 sub-virtual dirs. Moreover, ...Show All
