Chike_'s Q&A profile
Visual C# How to know if a file copying process has completed?
Dear Experts, I am working on a project that I need to do the following: 1) Copy a file from a source to a destination folder location (say c:\test, for example); 2) Since the file may be quite large (e.g. 10M) it would take time (e.g. 5 seconds) for the copying process to be fully completed; 3) I am using the File.Copy(string sourceFileName, string destFileName, bool overwrite) API to do the above copying process; 4) Now the ...Show All
Visual Studio Team System Error in creating a work item via the webservice
Hi, I am writing a java webservices client to interact with the work item database. I have written some test code to try to create a new work item in the database. I used a packet sniffer to figure out exactly what parameters need to be set in the soap calls. Anyhow I am getting the following error from the server. Can anybody help me figure out what is causing the error thanks.. faultCode: {http://schemas.xmlsoap.org/soap/envelope/} ...Show All
Visual C# How Events work and how to control them
Hello. I want ask you about events. I have two events one timer event and "other" generated by com object. I dont anderstand clearly how they work togather(crosing in time or just wait each other to finish, if some body know about this please tell me little bit of theory ...) Both of them (events) work with single database, timer event delete rows and "other" event add or change them. About Timer event i am not wory becouse it fired in speciefic ...Show All
Software Development for Windows Vista System.Transaction sealed or not?
According the help... public class Transaction : IDisposable, ISerializable ...it's not sealed but when I try to derive from it complains it's sealed. Am I missing something or is the doc' wrong pkr2000, The documentation is correct that the class is not sealed. For instance, CommittableTransaction inherits from Transaction. However, it was not intended for others to implement subclasses. Therefore, the default constructor i ...Show All
Windows Forms Usage of two windows forms
Greetings forum inmates and happy new year. Because this is my first forum post please bare with me... My problem might have been answered before but still I was not able to track down anything on the forum, or simply I am not asking the right question in search bar so if you have already an answer post somewhere please redirect me there. Consider two Windows Forms, FormA and FormB with FormA playing the role of startup object (I use C# ...Show All
.NET Development Create a new database
In VB 6 you could use the VisData application to create a new database for use on a local machine or on a remote server. What tool is available in Visual Studio 2005 to do the same thing. I have found the Server Explorer, but could not create a database as described in the online help that came with Visual Studio. Thanks for the help. Richard B. Oberholz Hi, Are you using SqlServer Express If so there ...Show All
Visual C++ ActiveX and MFC 8
Hi, I've written an ActiveX control in Visual Studio 2005 using C++ and MFC. My hope is to have this control hosted so that anybody who needs to use it can download it but I'm having a few issues. The main one is that this control is dependent on the MFC 8 libraries which, of course, most PCs don't yet have. The way I see it there are a couple of solutions. One is to build my control depending only on older versions of MFC but I h ...Show All
Visual Studio Reference Task success value
With the ContinueOnError attribute, it is possible to let a build continue, even if a Task's Execute method fails (returns false). Is there any way to reference that result, so that other Tasks can act accordingly (via a Condition or otherwise) For example: <Target Name="DoStuff"> <MightFailTask ContinueOnError="true" /> <DependentTask Condition="'$(MSBuildLastTaskResult)' == 'true'" /> <DoRegar ...Show All
Windows Forms Problem with the KeyDown event...
Hi, I experienced a strange problem - I am currently building an application that has a user control in it and for this control I want to trap the pressing of the ARROWS keys. BUT... The problem is that only the OnKeyUp event occurs for TH ...Show All
Visual C# Embedded resource not working
I want to add a picture as embedded resource to my project. I choose Add Existing Item and browse to the picture, and then select Build Action as Embedded resource. I also select "Do not copy to output dir". Upon recompiling I get: Error 1 No destination specified for Copy. Please supply either "DestinationFiles" or "DestinationDirectory". C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets ...Show All
Visual Basic Loading Crystal Reports Report, How To Stop Prompt Enter Login ID And Password, This Never Happen Before
How do I stop VB from asking me this I want to view the Crystal Report immediately without the prompt. With a simpler version of my application, it never asked me this. Thank you, Christopher Lusardi This is a pretty common problem. So common that they created a nice knowledge base article on it which I think should shed some light on the situation. http://support.businessobjects.com/library/kbase/articles/c2010371.asp In addit ...Show All
Visual Studio Connecting to Object Collections in VS.NET 2005
Hello All I am trying to create a report in a Website that uses a class for populating data. I've followed the example in http://www.businessobjects.com/products/dev_zone/granville_beta/GranvilleBetaOnlineHelp/ step by step, but in the Report Wizard (after building the solution) when i choose the Vendor class I get the following error: Logon Failed. Details: crdb_adoplus : To access classes in your project at design-time, please build your proj ...Show All
Windows Search Technologies Address bar - locked
my address bar will to type in the full name of a web site, but once complete it will not pull up the site, it stays on the main msn page. Like typing in www.miamidolphins.com - but while typing it will drop down and offer a list of sites, if i pick one of those I can go straight to the sight or choose from my favourites. but to actually type a new site name in the address bar and click go - it goes no where. how do I solve this i do have ...Show All
Visual C++ MFC Activex Control - Failed to create control: Unspecified error
Hello, I have created an activex control in MFC 8, VS - 2005 Beta 2, which hosts Windows Forms control in it. I have created it as per the article by Nicola (MFC 8 (VC++ 2005 and Windows Forms). When I test using the activex tester I get the message - Failed to create control: Unspecified error. When I refered this object in a html page using the object tag - It does not show ...Show All
Visual Basic DataGrid Check Box Cell CheckState
I am trying to use the CheckBox Cell in a Datagrid View in 2005. The problem is I a am having trouble determining wether the cell is checked is not. My plan is to allow the user to check / uncheck the rows and then loop through them and update the SQL backend accordingly. But i can seem to find a way to check wether the cell is checked or not. At the moment I update the database on the Cell Click event and do a check on a field in the dataset ...Show All
