Answer Questions
GoffQ simulating domain users file operations
Hi guys, I want to simulate in code that some domain user is copying file from location to another. This user is not the current logged in user. I'm designing a testing tool that simulates domain users file operations to test access right on a certain folder. Please tell me if this is possible or not and how and I'll be very thankful Hi, Just to share thoughts I have came across sim ...Show All
John Wilson C# Parameter not passed to Web Service
In a revision of the Distributed Application Walkthrough located here: http://msdn2.microsoft.com/en-us/library/1as0t7ff.aspx , we have changed the WinForms app portion of the walkthrough the use the designer tools in VS2005 instead of a manual placement of the datagridview control and the Load/Save buttons. When we use the VS2005 designer tools to drag and drop from the DataSources window after adding a Web Reference to the project, everythi ...Show All
*Elad* Interop.TAPI3Lib, anyway else?
Hi, as you know, Interop.TAPI3Lib is usefull for TAPI. But it doesn't work very well. I use it in a thread, but after the 1st (in the best situations, 3th) notification, it forgets to notify my thread about the line's activities. Maybe i use it badly, or the dll is old, beacuse tyring to contact using that DLL, causes my thread to crash, so i MUST use it in a try..catch. Does anyone have any other soltuion, for use of TAPI Help me plz. ...Show All
Attila Hajdrik Using a C# dll in VB6
Hi, I would like to know if it is possible to use a dll that has been created in C#, in Visual Basic 6.0. If so it would be great if you could let me know how I can make this possible. Thanks & Regards, Frenz Digimonk, I tried it, but I still get the error "Invalid procedure call or argument.". In fact I also tried using this code: Dim Exceptionobj As Exception Set Exceptionobj = Ne ...Show All
sdbranum Search string?
I get a little problem: all projects on our server are named YY-XXX (06-422, for example). When I search on 06-422, I can' find nothing but unrelated documents. I presume it has something to do with the '-' sign. looks like it plays it '06 but NOT 422'. Searching for "06-422" doesn't help neither. Is there a workaround TIA Hugues Have you tried searching for "06 422" ( ...Show All
Mayukh142725 How do I compare two TimeSpan objects to see if they overlap
Is there a way to compare two TimeSpans to see if they overlap For example: (1/1/2006 - 1/31/2006) overlaps (1/15/2006 - 2/14/2006) (1/1/2006 - 1/31/2006) does not overlap (3/1/2006 - 3/10/2006) . I want to do programatically determine whether two date ranges overlap. How can I accomplish this Hi Lotus, I think that defining the parameters will help clarify the issue. startDateRange1 is the start of date range 1 ...Show All
Andrew K. Configurable DataGridView Cell Background Color
Hi All, I had a datagridview that is bind to a Access table. In the access table, some of the rows are empty for Field 'UserAck' and 'AckTime' while some are not. I would like to have those rows that do not have value for 'UserAck' and 'AckTime' to have the DataGridView Cell background colour that is different from the rest. May I know how to do that Part of my code is as shown below. Thanks private void UserControl5_Lo ...Show All
suichi27 Delegates Problem - calling method more time then expected
Hi all, I am having very strange problem. I am using delgate to call one of the method in the class. The problem is eveytime the event occurs it increasing the call value by one. For example when first time the event occurs it calls the method once, than second time twice and so on. I checked my code to find if there are any multiple copies of the same object lying around and didn't find any. Here is the code i am using. site.SocketCha ...Show All
SQL2005usr choose fonts in a C# application, beginner
Hi, I'm new in C# (and also to programming in general), so I decided to make a really simple text editor. It is simply rich text box with a possibillity to choose fonts and thier size - nothing more. Can someone help me how to make this work. I've tried many things but it doesn't seem to work for me. What I want is a rich text box and two "controlls". 1: to be able to choose fonts from a scroll down list 2: choose size o ...Show All
socalmp How do I tell when all threads in a pool are complete
I have an app that uses a thread pool to ping all hosts on the local network. Each thread updates a listview with the status of that IP - alive or dead. When all the threads are done, I want to remove all the dead links from the list view. How can I tell when all the threads have done their job What is the best way to loop over the listview backwards (I assume backwards is best since the items are indexed...), removing each dead link (t ...Show All
John Zambia WDS and defaul Outlook profile
Hi, After installation KB917013, WDS do not find in outlook 2003 (SP2). On attempt setup WDS for outlook i see following error : "Windows Desktop Search has detected that you are using an Outlook profile that is not your default profile. Your Outlook folders can be indexed only when you are using your default profile. To ensure your Outlook items are indexed, restart Outlook and select your default profile if prompted." I have ...Show All
yasht Threading in C#
Hello Everyone, I have a tab application, which initially I made single threaded....I added a dll which has a form. Now when I change to a tab method in that dll gets fired and form comes up, which makes everything else unresponsive.... Whats the best solution to implement thread to solve that problem.... Secondly, I tried doing something this way..... namespace something { public partial class Some : Form { public Some() ...Show All
Dips123 "Absolute path information is required" bug.
Hello, I've installed Visual Studio 2005 MSDN and I have problems with C# projects. Whenever I try to start a C# project (Windows Application or something else) I get message box: Microsoft Visual Studio "Absolute path information is required". Solution file is created in specified directory (and *.suo file), but nothing else. I also cannot open/convert C# projects from VS2003. I don't have any blocked/protected directories. Everythin ...Show All
teomanx Is it possible to wrap a property setter directly with a delegate?
I tried the following without success. I don't want to have to code a separate method just so I can pass the setter function to another class as I'm going to be doing this a lot. public class MyClass { public delegate void SetStringDelegate( string value); public string MyProperty { get{ return myProperty; } & ...Show All
Evok program crashes when other users run...
Ok, I created a simple program the other day with nothing complex. I have already been using it for a week or so and now another user wants to run this application. That is when the program crashes. The error I get when debugging is: An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in System.dll It works normally when I (Administrator) run it but when I run it as another user (both Guest and Limited) the program ...Show All
