Matthew Weyland's Q&A profile
Windows Forms No FindString method in ListView! What to do?
Hi All, I had a dapper little ListBox which showed an index of files in alphabetic order. Above it, I had a textbox and when the user started typing in a file name, I could use the ListBox.FindString function and select the first matching file. Now, I also wanted to do some drag and drop and found that ListBox didn't have the DragItem event (and others) but that ListView does. Switching to ListView thus improved certain things. However, ...Show All
.NET Development Decompressing
Hi, Anybody knows how i can decompress a .gz file in c# I have couple of .gz files on FTP server, I need to download them, convert them to a CSV file and then delete them from the server. Thanks Thank you so much. that works fine now. ...Show All
Architecture Why custom business object's while i can't update my database with them ?
Hi, i have this big problem in my architecture : i want to build my object model by using the idea of collections, so i have a Customers object, a Customer object, an Orders object, and an Order object, and so on... the Problem is that those custom business objects, hold my data, and of corse, i want to update my database by using the data in those object's, and oop's, the DataAdapter don't accept custome business objects as a parameter !! (o ...Show All
Software Development for Windows Vista Windows workflow foundation beta 2. (build 30.3807 or later)
Can someone please help me find the right Windows workflow foundation beta required by SPS 2007. I have tried several downloads, installed them and still get the message that the Windows workflow foundation beta beta 2. (build 30.3807 or later) is required. Thanks NorthSeattle http://www.microsoft.com/downloads/details.aspx FamilyID=38ca6b32-44be-4489-8526-f09c57cd13a5&displaylang=en You need WF 2.2 - links are on this page (as wel ...Show All
SQL Server Date time conversion problem
Hi, I've run into a date conversion problem. When my package starts, I use a SQL Execute task to insert a record into a table. I set the SQLStatementSource value as follows: "INSERT INTO tblUploadHeader (ExecutionGUID, StartDateTime) VALUES ( '" + @[System::ExecutionInstanceGUID] + "', '" + (DT_WSTR, 20) @[System::StartTime] + "' )" which evaluates to INSERT INTO tblUploadHeader (ExecutionGUID, StartDat ...Show All
Visual C++ Unicode characters in console-application.
I'm writing a program that prints the date in different languages, but it dosn't work with languages that uses the Unicode Character Set. Here's the source-code: #include <iostream> #include <locale> #include <time.h> using namespace std; int wmain(void) { wchar_t date[81]; time_t currentTime; struct tm tmTime; time(¤tTime); gmtime_s(&tmTime, ¤tTime); _wasctime_s(date, 80, &tmTime); loc ...Show All
Windows Forms COMBO and datagridviewcolumn positioned? HOW?
Hi! I already found out how to automaticaly resize combo1 if column1 inside datagrid resizes. The problem is when there are multiple columns and multiple combos. Combos are all outside datagrid and in the same line. If column1 resizes - column2 moves a bit to the righ!!!! And combo2 should be repositioned to. So ....... If anybody knows the catch. It should be easy actually ... like resizing was. I just cant find the rig ...Show All
SQL Server For Travis Lowdermilk
I dont know if anyone mentioned this, but I would like to have the ability to disable objects in a Data Flow Task Travis, I've split this into a seperate thread because it isn't relevant to the previous thread. What is the scenario for wanting to do this I don't understand why this would be required or how it would even be possible. e.g. If you have a data-flow with 3 components, components 2 & 3 would not be able to execut ...Show All
Windows Forms VS 2005 RTM WINFORM DESIGNER BUG IS DRIVING ME CRAZY
I have a project with various forms but when I try to view the designer for one of the forms I get the following error messages -even though the project atually compiles : I Have looked around and if you type "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. " IN GOOGLE you gets loads + a notification by Microsoft that says that they could not fix it before release http://lab.msdn.mi ...Show All
Windows Forms Cast or convert?
We've just turned Option Strict on in our project and I'm just cleaning up a few of the errors. I've always used CType for all my conversions but my collegue said to use Convert.To.. Is there a particular reason to use one or the other An ...Show All
SQL Server Unable to install Windows Installer MSP file
I get this message during SP1 installation on Windows XP Unable to install Windows Installer MSP file It upgraded only "SQL Server Native Client" and failed at "Setup Support Files" it finished with the others "Not Apllied" In Redist9_Hotfix_KB913090_SqlSupport.msp I have the output: === Verbose logging started: 6/3/2006 21:21:33 Build type: SHIP UNICODE 3.01.4000.2435 Calling process: C:\WINDO ...Show All
Visual Studio Express Editions Help me with importing c++ dll functions.
Hi, Im trying to import these functions from vb.net but i dont know what WORD and so on would be in vb.net and how I would call them. ////////////////////////////////////////////////////////////////////// // Decrypt Message From FrontCode Peer Cache Server // // Parameters // pSrc : (IN) Message From Peer Cache Server. Buffer must be 132 bytes. // pDst : (OUT) Primary Node Addresses. Buffer must be 120 bytes. // // Remarks // Node Address St ...Show All
Visual Studio Express Editions Runtime error on my memberpage when i log on
this is what showed up when i sign in to my member page, earlier i went in web config. site to make this page to be my default error page, but this is the same message came on to my homepage also earlier. but how can i make this error page not show up again, and how can i log on to my member page Server Error in '/' Application. ...Show All
Visual C# How To Execute applications?
In VC++ WinExec() is used to execute any Windows/DOS based application. Is there any similar class or method in C# . if so please tell me how it can be used in an application Regards Shaji Kumar.V.K Hi, You do as follows: You can use the Arguments property to pass the arguments to the app. using System.Diagnostics; Process newProcess = new Process(); newProcess.StartInfo.FileName = " ...Show All
SQL Server How to create trigger to check column in any inserted record
How can I create a trigger to watch a couple of field values in each insert that happens on my table and peform an if statement on those values then replace those values with another value if the statement is true also, I am not sure whether to use an AFTER or INSTEAD of to accomplish this. What I want to do is essentially: Create trigger triggername on tablename watch for any insert o ...Show All
