Andy Rich's Q&A profile
.NET Development FileSystemWatcher Created Event Not Firing
One of our customers has a service that posts files to our FTP server at various times during the day. Rather than poll the folder for files every hour I figured the FileSystemWatcher class was perfect with the Created event. Where it falls apart is they issue a put command to create the file and my service doesn't get the event fire. If I log in locally and move the file to another folder then back into the original folde ...Show All
SQL Server JOB With SSIS Step Fails If Package Contains A Script Task
I have a Job Step defined to execute a SSIS Package. This SSIS package contains a Script Task. The Job fails with the message "Package execution failed. The step failed." I am logging events in the package and when the packages gets to the Script Task the log reports "The script files failed to load". If I disable the Script Task from the package it executes fine. Curiously, the package runs ...Show All
Windows Forms MSI and product upgrade ideas
Here's my thought, I just want to see what the community thinks of it. I have a tiny little application. but it has a number of dependencies. I can't use a single assembly, and I can't really rely on pulling the latest assembly from the&nb ...Show All
Windows Forms Cascaded PropertyChangedEvents crashes with DataGridView
Bug or not we wanted to show different properties of objects of a BindingList in a DataGridView. Some of the properties had to change their values depending on the values of other properties. Therefore we introduced a new BindingList with an event handler 'ChildObjectChanged', that is raised when one of the items in this BindingList changes. Also we wanted to change other values, not included in the BindingList, depending on changes in this D ...Show All
Visual Studio How to speed up help integration into Visual Studio help collection using merged modules?
Hello everyone, I am developing an installation of a .NET component for Visual Studio 2003/2005. I have created a HxS documentation for the component and included the necessary merged modules to my installation. Everything is working fine and help is integrated into the Visual Studio environment. But the installation takes very long time. I think the problem is that the Index and TOC files of the Visual Studio help collection and ...Show All
Visual Studio 2008 (Pre-release) Alternating color for subsequent rows in GridView
Avalon doesn't support alternating color for subsequent rows as GridView in .NET Framework, is it true If anybody know how to customize style or template or somethings else please raise your ideals, thank so much. Cheer, Dat Dang There are some solutions in ATC Avalon team's blog. http://blogs.msdn.com/atc_avalon_team/default.aspx ...Show All
Visual Basic Interaction w/ MySQL !!
Greetings, I am attempting to make a windows application that among other things allows the user to view tables and edit their contents in a MySQL database. I'm using VS 7, and i'm getting problems with the following. I add in a new dataset to my project, in the development window it says drag components in this window from either the toolbox or the server browser. Well I have the MySQL database I want to edit active in the se ...Show All
Visual Basic Problem Downloading Samples
Downloading code samples from this page generates a message 'Virus Detected' from my AVG virus software. http://msdn2.microsoft.com/en-us/library/fyc8kydy.aspx I am interested in the Game sample. Would someone please check by going to the page and trying to download the sample by clicking on the download tab top left hand corner of the page. Steep I have Norton Antivirus2005(I updated before going on website) ...Show All
Smart Device Development How we can read the csv files in Compact Framework
Sir I have a problem i am trying from last 2 days ,how we can use CSV files in CompactFramework.I have a CSV file I want to read this file and store the contents in dataset.If anyone knows about this This is EXTREMELY helpfull for me. Thanks! First you will have to read the file line by line using System.IO.FileStream(). Then you will have to parse each line either using regular expressions or string.Split(). U ...Show All
Visual Studio Express Editions Database q's when running .exe app
In an attempt to ellicit a better response I have rephrased my topic. The problem remains the same. When I open the CKApp.exe file located in the /bin/debug folder it runs fine and appears to save my data to the database e.g. ckapp.mdf/tables/dailymeasrements. But when I re-run the app the data is not there. Here is the code I believe to be important. Dim MeasDV As DataView = CkAppDataSet2.DailyMeasurements.DefaultView Dim MeasRV As DataRo ...Show All
Smart Device Development Hotkeys in .NET CF
I want to setup hot keys in .NET CF as the device I'm using has a keyboard. Any tips/recommendations to deal with hotkeys in .NET CF Figure this would be useful for anyone writing .NET CF apps as it'll speed up UI. Thanks, Jeff. Hello! If you want i can send you a dll to intercept pda hotKey! Wavemill ...Show All
Visual C# How I can create Secure Folder??
Hi all.. I want to create a secure folder so i want it to be read only..and cannot be modified.and cannot be renamed..but by using the program who create that folder..it means i want to the program create that folder..and inside that folder a file..that file cannot be changed or deleted or renamed..by any user even administrator..i want to make a file like system file...Do any one have an idea..thanks Best Regards. Bassam Basamad ...Show All
Windows Forms DataGridView bug?
Somtimes I set one of the DataGridView column's visible as false, but it still comes up when I run the program. Anyone has same problem I think I have found an instance where this bug still occurs. My app does not use columns built in the designer. Instead it uses columns generated by a custom class method returning a DataGridViewColumn array and then using the grid's AddRange method. We do this so we can change properties of our grids usi ...Show All
.NET Development Provider error while reading DBF file
Dear All, I am newbie in dbf manipulations .currently I have downloaded foxpro driver from the site . but when I am tying to open my DBF file it gives me error like "The Provider could not determine the Decimal value . For Example,the row was just created the default for the Decimal column was not available,and the consumer had not yet set a new Decimal value" I am using the following code snippet to open .DBF file:- ...Show All
Visual C++ d3dx9.h and other .net questions
Hi ! I'm new to VisualC++.net I've used VisualC++ 6.0 for a long time. so, I bought .Net because I've hoped that I'm able to include the d3dx9.h file. So, the problem i have is that i dont know why I'm not able to include it, not in VC++6 or .net I've installed the DX9SDK and added all files to the linker... so what's my fault Maybe someone knows a good tutorial, so I can work with .Net YEAH thx helped a lot ...Show All
