Chris Rust's Q&A profile
Windows Forms .NET Memory Consumption
Hi All Here's something interesting: Launch your Winforms app. Open task manager, look at the memory used on this app/process. Minimize the app, look at the memory. Restore the app, look at the memory! Why does it take SO much memory to "launch" yet when restored, it's significantly less. For example, I launch a basic app, it honkers almost 30 megs, minimi ...Show All
Visual C++ doubt regarding CItems's Restrict method
Dear all, I'm facing a problem with Restrict method of CItems class. I'm trying to restrict the items with the creation time. In restrict method if I specify the seconds then it is creating me the problem saying that the thread 0x.. is exited with code 0x00. If for the same Restrict method if I specify the criteria without seconds then no problem I'm facing. Please clarify me weather I can use seconds in the restrict method. If I cant, please suggest me another method. my restriction criteria is something like this : "[CreationTime] >= '05/24/2006 12:12:12 AM' and [CreationTime] <= '12/31/2006 11:55:55 PM'" ...Show All
.NET Development Debugging a web service
My visual basic windows form application calls a local web service I created on my computer. I have added a wsdl file to my windows form application which exposes the web service. In debug mode, how do I view my web service code from my windows form application. Fred Herring The trick here is to understand what's happening when Visual Studio is working in debug mode. The process that is running the application being tested is attached to by Visual Studio. This allows Visual Studio to 'track' what is being executed and perform all of those cool debugging trikcs that you're used to seeing. One limitation is that Visual Studio ...Show All
Windows Forms Msn mesennger troughput isa server 2004
i want to configure a isa server 2004 ruler to permit any user to use MSN messenger, how can i get this step by step check this out. . : http://forums.microsoft.com/msdn/ShowPost.aspx PostID=8343 ...Show All
Visual Studio Tools for Office Where is my cursor?
I have developed and outlook add-in that contains a custom task pane hosting a windows form user control inside it. The user control had a textbox and a button. The button has an event handler attached to it. When the end user enter some text in the textbox while compposing a new email and click the button, I want to insert the text from textbox into the body section of the email. The problem is that how can I identify where my cursor is currently positioned As I want to insert text at cursor position, is there any way to find out solution to this problem Any help will be appreciated. I hope you have some s ...Show All
SQL Server How connect SQL server 2000 with c#.net .....?
Hello masters, help me yaar i am using dotnet 2003 and SqL SERVER 2000. BUT UNABLE TO CONNECT DATABASE using dataAdaptor(design time ) or sqlconnection any can help me gs i am working on windows 2000 prof O/S i have just downloaded the sqlserver 2000 form the net for installing this i have used the command in dos prompt... C:\Program Files\Microsoft Visual Studio .NET 2003\Setup\MSDE\setup sapwd=logic securitymode=sql after this sql server is installed in my computer and then i have downloded the Database manager(trial verson) to create the database and the tabels. using this database and the tabels are created but ...Show All
Windows Forms How to determine if DataGridView rows are accessible?
Is there a 100% accurate way to determine if cells of a DataGridView are accessible before trying to access them I have master/detail DataGridViews bound to a dataset. My code, which tries to access cells of the detail grid during SelectionChanges of the master grid sometimes throws NullReferenceExceptions saying the detail grid columns don't exist. I want to prevent this from happening. I have tried the overly complicated condition below to block access to the detail grid's AuthorID column, when doing so would throw the exception, but it still fails. Also, I would rather not resort to wrapping try/catch b ...Show All
Visual Studio Release configuration missing
Hi, I am trying to create a Web Setup project in VS2005 Beta2 to create an msi file with the Release configuration of my web site. I am unable to get the Release configuration to show up. (The Show advanced build configurations checkbox is checked in Tools->Options.) On creating the new web site, only Debug is present in the Build->Configuration Manager menu item. First I added a setup project to the solution using the Setup Wizard, packaging a Debug configuration. At that point, Release shows up in the Configuration Manager. However, when I add a Web Setup Project to the solution and try to point it at the Release configura ...Show All
Smart Device Development GetSystemPowerStatusEx on Mobile 5
Hello, I writing a application on a new Ipaq 2700, running Windows Mobile on it. I want to retrieve the status of the battey in a method... I use this code: PSYSTEM_POWER_STATUS_EX status = NULL; if (GetSystemPowerStatusEx(status, true)) { return status->BackupBatteryLifePercent; } else { return 0; } The function GetSystemPowerStatusEx always return false... Anyone have an idee Greetz Looks to me that you are passing a NULL pointer to GetSystemPowerStatusEx. Try this: SYSTEM_POWER_STATUS_EX sysPowerStatus = {0}; BOOL bRet = GetSystemPower ...Show All
Visual Studio Tools for Office Access Developer Extensions IN VS2005
HI, I just receice the beta2 of Visual studio 2005. The visual studio tools for office is included in it. What about the Access Developer Extensions I need to deploy an access 2003 database royalety free on my station. How I can do that with Visual studio 2005 Thanks According to the Web page for Access Developer Extensions, they are a part of Visual Studio Tools for Office (VSTO), which is different from other editions of Visual Studio 2005: http://msdn.microsoft.com/office/technologyinfo/devtools/accessextensions/default.aspx There's a link on that page to information about VSTO and how it diff ...Show All
Windows Forms VSNET 2005 FINAL release can't open a form
Hello, The new version of VSNET2005 FINAL release can't opens a form file that use Infragistics controsl. The error shown is the following: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. The designer loader did not provide a root component but has not indicated why. Hide at System.ComponentModel.Design.DesignSurface.get_View() at Microsoft.VisualStudio.Shell.Design.WindowPaneProviderService.CreateWindowPane(DesignSurface surface) at Microsoft.VisualStudio.Design.Seria ...Show All
Visual Studio Express Editions AspNetAccessProvider missing from Vis.web.developer config Manager(Web Site Administration Tool)
I am trying to set up the AspNetAccessProvider In Configuration Manager (Web Site Administration Tool) but it is impossible.This option is not available and the only available is the sqlNetProvider. Additionally I am reading in help files that I may add a new provider trough Conf. Manager tool, but in my case it is impossible. Finally I was wondering if it is possible to re-install this feature.... Can someone help me in that Hi Dimitris, You can download the starter kit that expands the Access providers at the bottom of this page: http://msdn.microsoft.com/vstudio/downloads/starterkits/ Ju ...Show All
Visual Studio Team System Keyword Expansion
Hello, I understand that VSTS does not support the keyword expansion elements of VSS ($History etc). Given this does anyone know how a developer could identify the version of a code file on their system without accessing source control Thanks, Si... Unfortunately, at this time there is no way to determine the version of a code file w/o accessing source control. Ed http://blogs.msdn.com/edhintz ...Show All
Windows Forms How to Deploy Clickonce in client place.
Hi to all, I want to know how to deploy click once in client place. i publish the application after that wat i supposed to do. or esle simply copy all the files in the root/clickonceprog/ to the client machine or by giving the publisher url as client address like http://ClientServer/FolderName/. please give me the right direction. thanx in advance. Regards Amjath Hi Sameer, Long back i saw one of your reply for the post resign manifest file using program other than mage.exe, i did recollect that, so please send that piece of code again. sorry for the inconvenience With Regards Amjath ...Show All
Smart Device Development Bring an application at foreground
Hi all, I'm trying to hava only one cpy of my app running at once, to do that i get the sample code on "Hello World" generated app on embedded C++ 4.0 bool ActivatePreviousInstance() { bool activated = false ; int cTries; HANDLE hMutex = NULL; cTries = 5; while (cTries > 0) { hMutex = CreateMutex(NULL, FALSE, TEXT("myMutex") ); // NOTE: We don't want to own the object. if(GetLastError() == ERROR_ALREADY_ ...Show All
