MadhuSri's Q&A profile
Windows Forms Unauthorized access exception
Hi, I have a remoting object deployed on IIS. Whenever an exception occurs in it, I am trying to write it in a log file. The log file exists on the machine. The Username under which it is being run is ASPNET and I have given enough rights for it to create, write and read a file. Whenever, I try to create a StreamWriter for the file, I am getting a UnauthorizedAccessException : "Access to the path 'C:\\Exceptions.log.2005-09-26.log' is denie ...Show All
Visual Studio Visual Studio 2005 and SourceSafe 5
Is it possible to use SourceSafe 5 with Visual Studio 05 B2. Currently I get a binding error when trying to use it. Thanks, It is likely that official support for VSS 5.0 will end when VSS 2005 is released. Microsoft's standard policy is to support the latest release and the previous release. You may want to consider upgrading to at least 6.0. ...Show All
Visual Studio Team System Ability to add a history item from excel
Within Beta 3 I noticed the ability to add a history item was added to the Excel integration. However, after adding some text into the History column and then publishing the changes, my new history item was NOT updated in the history field of the work item itself. Any ideas Thanks, ~slee If you read the Sticky note attached to history field, it says "Type a comment here and publish to add a new history ...Show All
Visual Studio Tools for Office Automation executable consumes 100% CPU
Hello!!! I have developed and automation executable to druve Excel and I'm poretty happy with it apart from the fact that it consumes 100% of the CPU while it's running - even when the app should really be idling. The problem is caused by this piece of code while (close == false ) System.Windows.Forms. Application .DoEvents(); I got this pattern from my VSTO book ( )and it's abviously going to cause the CPU hogging that I'm expe ...Show All
Software Development for Windows Vista can't get my policy activity apear in the toolbox
Hi, I created a policy (in the same assembly as my WF) and added the attribute: [ ToolboxItemAttribute ( typeof ( ActivityToolboxItem ))] Yet, I can't see it in my toolbox, reset toolbox did not help. I don’t know exactly what I've done, but sometimes it works... Is this a known issue Thanks, Haggai Hi HaggaiS I think it is a WF bug. You should try to close and reopen the sol ...Show All
Windows Search Technologies WDSQuery: 'System.InvalidCastException' throwed when "ExecuteQuery" invoked remotely
I want to write a full-text search server based on WDSQuery. This server is .NET Remoting enabled. I wrote following code to do the task: SearchDesktopClass wds = new SearchDesktopClass(); wds.ExecuteSearch (...); // InvalidCastException When I tried to run this code by remote method call , An Exception 'System.InvalidCastException : QueryInte ...Show All
Visual Studio Team System DoNotCastUnnecessarily: Release vs Debug
When I compare the outputs of FxCop for my assemblies in Debug and Release build modes, the results are very different. The Debug report shows 233 more issues that are all related to "DoNotCastUnnecessarily" messages. Is the compiler optimizing things for a release build and that's why I don't see the messages in my Release report That's interesting (and worrying) that the optimizations are disabled i ...Show All
SQL Server TOP URGENT PLZ: SQL backup files
I have installed Beta 2 over SQL Express and when i wanted to install either Beta 2 or Express it dosn't allow e and i need to backup my databases urgently how can i do that is it possibe to do it with the phisyical files found it.. by default it wil be in Program Files\SQL Server Folder\Data ...Show All
.NET Development Need help with Database programming...
Hello, I am new to database programming in vb.net. Maybe you can help me. I want to do the following: - Create a new ACCESS DATABASE - Fill the ACCESS DATABASE with data from a treeView + a column, where I can see the state of the checkboxes of each item - The points above in the other way --> reading the data out Thank you juvi Hi, In creating a access database. if you want your program to do it for you, the ...Show All
Smart Device Development Error Installing CF 2.0 on CPU ARM-Intel(r) PXA255 with CE 5.0
Hi, I have problems installing the CF 2.0 on a Client with the following Data: CPU : ARM-Intel(R) PXA255 OS : WIN CE 5.0 Error Message at the end of the installation process: "Installation error. Stop all applications and processes, maximize available storage space and run instllation again. Support info:4" Here is the installation protocoll : 17/01/2006 15:00:52: Entered Install_Init(). First Call: Yes Previous ...Show All
Windows Forms Deployed application breaks when it's auto-updated.
Based on these two truths: 1) ClickOnce only updates files when their hash has changed; 2) Assembly hash doesn't change when only AssemblyVersion changed; Consider an application that is composed of 2 assemblies: an assembly A that references assembly B. By default the assembly version is [assembly: AssemblyVersion("1.0.*")] . If we build, publish and deploy the application, assembly A will reference assembly B with a version (B_V1) and ...Show All
Visual C++ Generic and Non-Generic Class of Same Name in Same Namespace
I've noticed that in C# 2.0, it's legal to create two classes of the same name, one of which is generic and the other not, in the same namespace, like this: namespace A { public class MyClass { public int ReturnZero() { return 0; } } public class MyClass<TData> {   ...Show All
.NET Development Error while trying to open Access Database File
Hi all, This may appear very basic question, but I cannot figure out why I get an error at MyConn.Open() line while I try to open the db file from VB.Net. The path is perfectly provided from OpenFileDialog when the file is slected. The code is as below, Dim OpenDBPath As New OpenFileDialog() Dim MyConn As New OleDb.OleDbConnection() MyConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;UserID=Admin;Password=mypass;Da ...Show All
Windows Forms NotifyIcon tooltips won't pop?
Hello! I've got a nifty little chat client that pops a balloon tooltip when a new message is received. The problem is, is that once the user clicks the X in the tooltip, they never pop the subsequent messages. If the user never clicks the X , it does continue to pop the messages. How can I force the tooltip balloons to pop every single time Also, does anyone know how to set the timeout, so the balloon disappears after a given time ...Show All
Visual Studio Express Editions Slider disapeared?
Hi, I don't know why, but I cannot find SLIDER control in my toolbox in Visual C# 2005 Express Beta 2. And where is CHECKBOX I don't see these in toolbox customization dialog box to add them. Is this problem of VC# or of me Thank you for any post. Martin Skala Martin - The "Slider" control in Windows Forms is called "TrackBar" and should be in the Common Controls category in the toolbox. Checkbox should ...Show All
