The Omnipotent's Q&A profile
Visual Basic Try..Catch not executed in EXE
I have a Shared Sub Main() in my application which, after performing various startup tasks, shows the main form by executing Application.Run(frmMain). All code in Sub Main is encased in a Try..Catch block. If an error occurs further down in the call stack (in the form or another class), then that Try..Catch block catches the error, displays a message, and calls a shutdown routine. This works fine in the development environement. However, in t ...Show All
SQL Server SQL Locking up
Posted - 12/25/2005 : 10:54:44 My ADO based C++ application works fine for sometimes 15+hrs just fine. Im using SQL 2000. All of a sudden I dont know what happens all update operatins and insert operations start failing with 80040e31, timeout expired errors. It seems as though the whole database is locked up. And after 1hr or sometime 2 hrs everything is back to normal without an ...Show All
Visual Studio Team System Team Explorer - red cross on "documents"-folder
Since installation of TFS I am unable to see the content of the documents-folder (teamexplorer) on a client-machine. There is always a red cross on the folder! If I start the team explorer on the server the documents folder is shown correctly. I tried to copy the http-url ( http://[servername]/sites/[Project ]) to an IE on a client and there the sharepoint site is shown without any problems. I did the changes required after installation of ...Show All
Visual Basic check table exist in database or not?
i using microsoft access as my database. may i know how to write the coding to check whether a table is exist in the database for example, while i click a button in a form, it will check whether the specify table is exist in the database or not "for example, while i click a button in a form, it will check whether the specify table is exist in the database or not " Buttons don't check a thing ...Show All
Visual C++ Debugger fails to attach
After installing the SQL Server 2005 that ships as part of VS .NET 2005 Professional I can no longer break into the debugger. I have written a windows service and had an ATLASSERT(FALSE) near the top so I could break into the debugger. Now I get the box with the Debug button, press it and then get the 'Send Error Report to MS'. Anyone know how I can reinstate the VS debugger Thanks Check the Just In ti ...Show All
Windows Forms What permission is required for Process.Start()?
If I do a Process.Start() in a medium trust environment, I get a SecurityException. This is not documented in VS .NET 2003. What permission do Process & ProcessStartInfo require Frustrated in launching land. Mark Levison hi all, this is an  ...Show All
Software Development for Windows Vista disabled/inactive menu actions
im just wonderin how come the disabled/inactive menu actions are more bitmap looking like here http://www.winsupersite.com/images/showcase/vista5270_020.jpg (paste, paste shortcut) wouldnt it be better to just not show inactive actions in menus or do they ramin in so a person dosnt forget they are there just curious Um, that doesn't appear to be a UI development (i.e. programming) question. If you want to send feedback about Windows ...Show All
Visual C++ Finding data type at run time to create an identical object
Hello all, I hope this thread matches in here. I am working with Visual C++ 6.0. I am trying to create a vector that will be used as a buffer for an algorithm. The problem is that I want the algorithm to work on a "template" type vector. Therefore, my buffer vector must be created at run time with the type of the vector supplied as input. (for example, say the input vector is "vector<int> data" the buffer should be created as type integ ...Show All
Visual Studio Team System Error 28918 - error calling Tfs Registration web service
Anyone else get this error on install of the Application tier This is on a dual server setup New OS install w/ IIS & WSS (yes, I installed WSS in Server Farm mode) The message text: "Either IIS is not running or is not configured properly" concerns me. This is an out of the box install. Did you check to see if ASP.NET and IIS is installed Absolutely. Reporting website comes up on the Data tier server and Sharepoint comes ...Show All
Visual Studio Team System Reports won't run
I have almost everything working I believe. I have work Items, source control and team build all running. However trying to run reports I get: An error has occurred during report processing. (rsProcessingAborted) Cannot impersonate user for data source 'TfsReportDS'. (rsErrorImpersonatingUser) Logon failed. (rsLogonFailed) Logon failure: the user has not been granted the requested logon type at this computer. (Exception from HRESULT: 0x800 ...Show All
Visual Studio Team System Require a Changeset comment on CheckIn
I've poked around a bit, and cannot see where I would require that a Changeset Comment be required on Check In. I see that I am able to require Comments from the four roles (Code Reviewer, Security Reviewer, Performance Reviewer, and Developer). But, I like the fact that the Changeset comments are associated automatically and displayed in the Build report. Is this supported by default, and am I just missing something Or, will I need to writ ...Show All
Visual C++ On adjacent ">"s in a parameterized declaration
Hello, There is a syntax erron in the following code -- adjacent ">"s need a delimiter (it is marked AAAA) template <class T> class A {}; template <class T> class B {}; int main() { A<B<int>>(); // AAAA } But VC8 can compile it. It seems to be a error but on the other hand Mr. Stroustrup have being dreaming on such a syntax for ages and he promotes it pretty vigorously now, as far as know. So, I a ...Show All
Visual Studio Changing default behaviour of GenerateResource
Hi, The strongly typed resource class that's automatically generated by the designer from the .resx file results a in a class that's internal, whereas I'd like it to be public. The background to this is in a message I posted earlier today: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=187755&SiteID=1 It seems the problem should be solvable by customizing the build process somehow. This is what I've tried so far: ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX10 only on Vista?
I've searched everywhere but all I can find is rumors, rumors and even more rumors. Will the final version of directX 10 run on windows XP "I've searched everywhere but all I can find is rumors, rumors and even more rumors. Will the final version of directX 10 run on windows XP " As far as I am aware. Direct3D10 wont run on Windows XP. Direct3D10 will only run on Vista. Also as ...Show All
Visual Basic Add connection wizard fails with Access database
I have the RTM version installed. I am quite puzzled at this wizard. It works fine with SqlClient. But for Access databases, this wizard completely fails. In this wizard, I only have one option to do - setting the ConnectionString. I set it to Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\path\abc.mdb, which works fine in my code. But when I click OK, it complains: --------------------------- Microsoft Visual Studio --------------------------- ...Show All
