Lou Machado's Q&A profile
Windows Search Technologies Removing deleted documents from the index
How are deleted files handled in WDS I am writing a custom protocol handler for a proprietary data store and was wondering how to let The Gatherer know that a file is deleted. Is this handled automatically Does it just know that a file is deleted when it can no longer crawl it Is there any way to make this more robust by notifying the gatherer that the file is deleted before the next crawl Thanks, Alan ...Show All
SQL Server Report Services with Net Framework 2.0
I Need install the Report Services in my Windows Server 2003, but I have the NET Framework 2.0. What I do Thanks a lot!!! ...Show All
Windows Forms Add new prerequisites after first install
I have an application that is out in the wild. And I am working on updates for it. As a result, I have added new prerequisites to the application. Now when I run the application, I get an error stating that I need to have the assemblies from that application installed for the app to run. Am I missing something, or does ClickOnce not auto install new prerequisites when updating the application ...Show All
Visual C# Make a File readable only by my application
HI, I'm developing a windows application in c# and i use video with DirectX. My problem is that i don t want the video to be readable by classic players and only by my program. I ve try to use cryptography but it take to long to charge the video. If anybody as an idea... Sorry for my english, and happy new year, Laura. Hi, Its true that directly you dont delete... but the trick would be, just skip those bytes which are added externally to make it un readable when you are writing to some other temp file or soemthing like that and then read that new/temp file by your program, that should work... Please try it out and inform me the result, if i can help more... HTH, ...Show All
Visual C# How get Graphics object a Panel
Hi all, I am finding the way to draw an image on a panel. I have tried out the method that puts the drawing task inside overried onPaint() method and call invalidate(). However, my application need to do custom drawing depending on very different cases. Hence, forcing all drawing command in one method onPaint() is not flexible. I want to get the Graphics object of a panel ( as a member variable of a class) and then I can draw on it anywhere I want. I tried to get g=Graphics.FromHdc(myPanel.Handle) but there was an error saying myPanel.Handle value is out of range. I guess this is because panel's handle had not created. Would anyone please give me some example and hint on this issue Thank a lot! Regards, Stefen Huynh ...Show All
Visual C++ passing and returning arguments to functions
for the life of me i dont know how to make this work in Managed C++. what am i doing wrong ref class Test { public : static void testFunc(String^ buffer) { buffer = "altered" ; } }; int main( array <System::String ^> ^args) { Test^ testClass = gcnew Test(); String^ buf = gcnew String( "some string" ); Console::WriteLine( "before {0}" , buf); //should print "some string" testClass->testFunc(buf); Console::WriteLine( "after {0}" , buf); //should print "altered" return 0; } You need to pass the handle to the String by ref ...Show All
SQL Server Definition of specific "Security Roles"
Under SSMS I see the "securityadmin" Server role. Where in SSMS can I find the actual list of permsisions granted to this role (not just a generic description of what this role can do.) TIA, Barkingdog In summary they can add members to the securityadmin role, Grant or deny CREATE DATABASE and read the error logs. Additionally they are allowed to use the tasks: sp_addlinkedsrvlogin,sp_addlogin,sp_defaultdb,sp_defaultlanguage,sp_denylogin,sp_droplinkedsrvlogin,sp_droplogin,sp_grantlogin,sp_helplogins,sp_remoteoption and sp_revokelogin. The above mentioned list is from an old SQL 2000 scripts of mine. Additionally the description of the BOL and the appropiate command which are new for ...Show All
Visual Studio 2008 (Pre-release) Problem with DatePicker (Kevin's Bag-O-Tricks - January 2007)
Hi all, I'm having a problem with the DatePicker contained in Bag-O-Tricks. The situation is as follows: 1. I have a DatePicker in my XAML-file. 2. The Value of the DatePicker is bound to the StartDate (DateTime) of my class: Value="{Binding StartDate}" 3. Now, when I run my app, open the DatePicker and click on a date: nothing happens! I put an event handler on 'ValueChanged', and that event only gets called one, when the DatePicker is created and the value is set to the StartDate. It seems that the control doesn't like it when it's Value is set explicitly, because it won't budge from that value. Any ideas on how I can work around this I'm now working with the MonthCalendar, which does not have this problem, but I would like ...Show All
Visual C# Destination for Build output?
Hi there, I need some help with where the output of my build goes. How do I send my build output to a different folder than where the source code resides Is there anything special I have to do to support this TIA, JackStri. ...Show All
Visual FoxPro set talk off settings scope
hello, I use vfp 6 and win xp as o/s. my client uses win98. when i run exe on te client's computer . it works as "set talk on " but on my computer it works fine. help. -ravindra Make sure you compile with a bare Config.fpw file containing TALK=OFF and also do a SET TALK OFF in the Load() method of your form's base class. (it's scoped to the session). ...Show All
Visual Studio 2008 (Pre-release) Notify Icon
I want use Notify Icon in my WPF Application, how to do it In Windows Forms is very simple -> Drag from toolbox of Visual Studio NotifyIcon control and use it ...Show All
Smart Device Development Is there any memory leak tool available?
Hello I'm currently using VLD (Visual Leak Detector) when doing mockup applications in win32. My problem is that I don't know of any tool I can use to find memory leaks for smartphone. Is there anything available Many thanks, Martin Malek Hello Sorry for not being clear from the start. I use unmanaged code and the examples in the article use .NET CF. Since it is not possible to mix unmanaged/managed code for smartphone I can't use the tools provided in the article. Is there any other way to do this Perhaps by using some C++ classes from the SDK or a tool written entirely in unmanaged code Many thanks, Martin Malek ...Show All
SQL Server SP1 vs. Database Mail
There have been at least 2 other threads mentioning that updating to SP1 after Database mail has been set up causes problems, but a real solution has not been described. So for what it's worth, here's the problem again: From an original developer edition release, Database mail is set up 1) in Surface Area Configuration, 2) a Database account and profile set up, and 3) SQL Server Agent set to send alerts to mail. After upgrading to SP1, the following error will occur at each startup: SQLSERVERAGENT reports: [298] SQLServer Error: 2812, Could not find procedure 'msdb.dbo.xp_sqlagent_notify'. Restarting services, changing profiles to public, and other past suggestions didn't help. But what really gets me is that if I completely ...Show All
Windows Forms Showing an animated waiting dialogue while invoking a remote method
Hi, I’ve developed a smart application that uses .Net Remoting. When calling a remote method, the system hangs up till the method returns. It will be nice if I can find a way to provide the user with an animated dialog telling him that there is information being requested from the server. Any help Thanks Mr. Sriram Rajamanuri , I am using .Net 2003. It seems that it is time to upgrade to .Net 2005 ! But if any one can help in handling the problem in .Net 2003 it will be nice! Thanks for all ...Show All
Visual C++ Starting off with C++
I keep hearing it's hard to learn, but that you should try and begin learning with C++...That being said I just downloaded Visual C++ Express and was eager to code for the first time Only to be even more frustrated; I created a new file under Visual C++, C++ file, then started typing in code from tutorials. The color of the text is changing, appearing like I'm entering code but there is no output. Here is what I typed // my first program in C++ #include <iostream> using namespace std; int main () { cout << "Hello World!" ; return 0; } Output doesn't appear and when I click on "Show output from" it makes a noise that I can't do it. Do I have to create a certain type of file or ...Show All
