tomservo291's Q&A profile
Visual C++ Application hangs, when I click on some controls on the ActiveX
Hi, I will be displaying on C# activeX control on one VC++ 6.0 Client. In the C# activeX control, I will be adding one more VC++ 6.0 developed activex control for the System.Windows.Forms.UserControl. Here the display and all is fine. When I click on some buttons (belogs VC++ 6.0 developed activeX control), it is working fine also. But, when I click on some buttons(belogs VC++ 6.0 developed activeX control) like it is hanging. The stack is as shown below CWnd::GetTopWindow() line 257 + 23 bytes _AfxNextControl(CWnd * 0x0012f5f4 {CDTMGUICtrlWnd hWnd= }, CWnd * 0x00000000 {CWnd hWnd= }, unsigned int 0) line 90 + 8 bytes _AfxNe ...Show All
SQL Server SQL 2005 SP woes
Hi, I'm having trouble with SQL 2005 SP1. The following comes from SQL9_Hotfix_KB913090.log: 04/28/2006 15:13:27.843 ================================================================================ 04/28/2006 15:13:27.843 Hotfix package launched 04/28/2006 15:13:28.718 Product discovery successfully completed during the install process for MSSQLSERVER 04/28/2006 15:13:28.718 SP Level check successfully completed during the install process for MSSQLSERVER 04/28/2006 15:13:28.718 Product language check successfully completed during the install process for MSSQLSERVER 04/28/2006 15:13:28.718 Product version check successfully completed ...Show All
Visual Basic Form Clicks etc
Hi Everyone, I forgot to ask this question... is there a way to set clickable areas of the form without a picturebox or button If there is, how do you find out or determine where on the screen the pointer is when you set up the points I tried to turn the GRID feature on but it never works. I'm using a map as a FORM background, but the pix boxes are slow to load when the form is called. Thanks again, Elgee El Gee wrote: I tried to turn the GRID feature on but it never works. Which grid feature are you referring to ...Show All
SQL Server Users Cannot Connect to SQL Server 2000 SP4 After Applying Hotfix (build 8.00.2148)
Users are reporting that they cannot connect to SQL Server using ODBC and Windows Authentication after I applied a SQL Server 2000 SP4 hotfix. The client-side error is: Connection failed: SQLState: '01000' SQL Server Error: 10061 [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]ConnectionOpen(Connect()). Connection failed: SQLState: '08001' SQL Server Error: 17 [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server does not exist or access denied I i nstalled hotfix for SQL Server 2000 SP4 (sets version to SQL Server 2000 build 8.00.2148 (SP4)); see KB894905. This hotfix was intended to resolve the following issues occurring ...Show All
Visual Studio Team System Migrating Team System Project from one server to another
hi, How can i migrating a Team System Project (with all the relvant data and configuration) from one server to another Take a look to this article which has links about moving between servers http://blogs.msdn.com/vstsue/archive/2006/03/22/558178.aspx ...Show All
Windows Forms Form close event stupidity!
Hi, I'm a PHP developer turned C# and its all a bit confusing. (i've done a bit of VB6 so maybe it ain't so confusing). How do i add code to the form close event For example, frmMain contains a button to open frmLogin which disables frmMain so the user MUST login. When frmLogin closes how do i activate the close event to re-instate fr ...Show All
Smart Device Development PocketPC Desktop -Synchronizing issue
Hi, Well ,I am working in PocketPC (eVC++,VC++6.0) I have to Synchronize the PocketPC and DesktopPC . For Synchronizing am using ActiveSync I have a Folder in the desktop for example D:\Temp\ I have a Folder in the PockePC in the Device Root for example: \Temp . I am coping a text File from desktop and placing it in the Device (PocketPC), say for example \Temp\Text.txt in the device. when i do this i create a .dat file (say Test.dat) ,now what happens is, i place both Text.txt and Test.dat in the Temp folder. so the same file (Test.txt) is copied in desktop ( D:\Temp\Test.txt) This for a single file. Suppose I have multiple files and large s ...Show All
Windows Forms New form based on standard form
I want to create a new base-form which inherits from the standard Windows form. I want to add some properties to the new form. For example: a standard form has a property tag and I want my form to have multiple tag properties like tag1, tag2 etc. The new class should be saved in a dll and new forms have to be instantiated from my ne ...Show All
Windows Forms Automatic build process + automatic NuNit (2 in 1 solution)
Hi! Can someone tell me can I use MsBuild with NuNit today Or is MsBuild only available for MSDN subscriptions Or what do you use for an automatic build process + automatic NuNit testing. I looking for a 2 in 1 solution (build + NuNit) gicio I'm not sure what MsBuild is, but I just set up my own batch files to build my  ...Show All
Windows Forms Excel like tables / grids without binding?
Hello, I am new to 03 .net and I am having a hard time with a couple of things so I am hoping someone will help! How do I create a grid like display without binding Sometime Visual only and sometime in the future I will build the database for a binded grid. Is there a way to create these grids and specify the number of columns and rows without binding them You can create a data table in code, and bind to that, will that give you what you're trying to achieve A lot of controls will bind to a simple array, also. ...Show All
Visual Studio Team System Unplanned work report incorrect
For some reason or another, the "Unplanned Work" report (MSF Agile 4.0) is not displaying properly. I set the plan completion date to a date somewhere in the middle of the project lifetime, click on the view report and only see "Planned" work items even though work items were created after the "Plan completion date". The report shows that the number of work items increases after the "plan completion date", but it doesn't show them in orange. Jason, What version of TFS are you using Could you ensure that the reports you have deployed in your project correspond to the latest reports in the me ...Show All
Visual Studio Team System New Team Project Creation
I’ve got Team Foundation Server Beta 3 Refresh all set up on a Virtual Server called “TeamSystem” that is not part of my domain (and I’m willing to hear that THAT is possibly the problem). Whenever I try to create a team project, it gets pretty far but fails when it needs to contact the SharePoint Services. Here’s the exception: ---begin Exception entry--- Time: 11/27/2005 6:07:21 PM Module: Engine Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed Exception Type: Microsoft.TeamFoundation.Client.PcwException Exception Message: Unable to connect to the Windows SharePoint Ser ...Show All
.NET Development .NET Assembly Security
Hi all, just a quick question. Since there is a .NET Reflector written by LR which disassemble an exe/dll file, i can't find anything nor a better solution to get secure. How are we suppose to write a secure .NET app since it can be disassemble Is there a way to do it or perhaps possibility Or what's your recommendation / suggestion Regards, David [.NET NEWBIES] Hi David, The best way to protect an Assembly from beeing decompiled is to use an obfuscator like Dotfuscator from PreEmptive Soluctions. It does basically rename all your non public and internal types so nobody else can understand it's meaning easily. You still can de ...Show All
.NET Development Insertion of node to XML doc
hi.. I already have a XML document ..in which , time to time with the occurance of some event i want to insert a node..Can anyone suggest how to do that. Thanks You have a lot of options using the XmlDocument class, here is one of the things you can do: // Open the XML file you want to edit. XmlDocument xd = new XmlDocument (); xd.Load( @"c:\My xml file.xml" ); // Select node after which to insert the new node. XmlNode refNode = xd.SelectSingleNode( "XPath to the node after which you want to insert the new node." ); xd.InsertAfter(newNode, refNode); ...Show All
.NET Development How to set DefaultValue property for a DateTime data column in VS.NET designer
Hi all... I have a database that has a table with a column of DateTime type that cannot be null, but has a default value of getdate() (SQL Server function call). I used VS.NET wizard to create a typed dataset. The dataset model was created identically as the database model but without setting default values for columns that have them. When I INSERT a row in the database, an exception occurs because I cannot insert NULL into that non-null DateTime column. I saw in the designer that column has a DefaultValue property already set as <DBNull>. How can I set that property to the current system date I tried System.DateTime.Today ...Show All
