woytek's Q&A profile
Visual C# Zipping files from C#
I need to zip files programatically from C#. The files I need to zip can be very large 4 Gb+. Are there any classes in .NET that would allow me to do that I've tried various third-party components, but every one of them had issues. Most don't support Zip64, some don't publish progress events, some have issues with the CRC stored in the local header vs. the central header etc. etc. Any help would be appreciated. I'm open to using CAB files if ...Show All
Windows Forms DatagridView Error!
I have a datagridview with datasource = 1 DataTable when I remove 1 datarow (a last datarow) of the table, this error raise System.IndexOutOfRangeExceptions: Index 0 does not have a value at System.Windows.Forms.CurrencyManager.get_Item(Int32 index) at System.Windows.Forms.DataGridView.DataGridViewDataConnection.GetError(Int32 rowIndex) Thanks for any help! ah, My code: DataGridView dgv = .... dgv.DataSource = . ...Show All
Visual Basic getting text from one form to another
i know similar posts have been made based on this topic but i havent grasped this concept yet. i need to get text from my form2 to my form1. my program is my own version of a calendar and this is what i need to get my events put in the correct dates. The Date object is a numeric up down that selects the date of the event that is entered in a TextBox and I need the data in this box to go to the label Jan1 in form1, which is my problem, when an "O ...Show All
Visual Studio Express Editions Running a console application inside a windows app.
I have a windows forms application that I am writing, and a second console application that someone else wrote. I'd like to be able to run the console application in my windows application. An example of what I mean: http://www.winterboard.com/example.jpg I'd also settle for a way to start the console application hidden and then just redirect the output to that area. Is this possible Any ideas Thanks in advance, - Danielle ...Show All
SQL Server Deleting a database
I would like to delete a database from Analysis Services from the command line, but I have been unable to find a way to accomplish this. Is there a utility or a script that can accomplish this Hi In MSAS 2k ,You can a write a VBSCRIPT using DSO object in DTS for deletion of OLAPDB.Then run this DTS from DTSRUN "DTS Package name" from commnad line. Thx and regards Pankaj ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Visual C++ Express Edition and DirectX: Time to give Visual C++ 6.0 the heave-ho!
This is just a short, friendly post to encourage all of you still using an 8 year old C++ compiler to consider using today's new release of Visual C++, including the free Visual C++ Express Edition. Why move away from Visual C++ 6.0 The list of improvements is extremely lengthy, even for the express edition, but here's a few key reasons for those of you writing DirectX-based software: 1) The latest SDKs no longer with with Visual ...Show All
Visual C++ Modifying environment variables for the VC++ build process
Hi. This is a repost from the extensibility forum, I thought I might get better response here... I'm in the process of adapting an add-in written for VS2003 to VS2005, this add-in (among other things) needs to modify some environment variables used by our build scripts. In VS2003 this was a simple matter of changing the variable from the add-in (calling SetEnvironmentVariable) and the build process would inherit the values from devenv.exe. ...Show All
.NET Development Is "Visual Studio" the only tool that generates typed DataSet?
Hi, I am looking for some alternatives for Typed DataSet generation. Do I have options other than VS2005 IDE for generating Typed DataSets Thank you, Alan Thank you for reply. I think VS IDE does much more than what XSD does. It extracts the schema.xsd from database table structure, generates the CRUID SQL statements and etc. ...Show All
Architecture Design Patterns
What is the usage of common GoF design patterns in daily coding I ask this because as a developer I'm constantly trying to improve both my code and my overall design, to create software that's easy to maintain and easy to extend--- hopefully easy to change without effecting the 'client' aspect through the use of interfaces etc--- Is there a more straight forward application of certain design patterns For example, does anyone sit down and actu ...Show All
SQL Server Replication with filter
Hi All, I've done my replication successfully between SQL Server 2000 and SQL Server CE. But how if I want to filter my replication For example :- At Table1 have 5 field which is UserID,Month,Year,Price,ItemCode I want to filter replication data with UserID and Month and Year. How can I do it Thank you!! I think I see what you are trying to do - what you want is a horizontal filter that replicates ...Show All
Visual C++ Thread Synchronization
Hi I have Four Thread Function I want to execute these function sequentially How do i do this ThreadFun1() //when it complete start second one and so on.. ThreadFun2() ThreadFun3() ThreadFun4() all functions are in different classes thanx Manoj Jangid Just start them in one thread one after another. If you want to execute them sequentially there is no need to have separate threads! ...Show All
Visual Studio Team System Bug? - Default Queries / Associating work item from one team project to a changeset in another team project
Maybe this is by design (though some defaults should change) I have 2 team projects set up (Proj A, Proj B). Proj A had 3 bugs in it that needed to be worked on. I then started working on my solution (code) for Proj B and checked in some changes. When I checked in, I choose to associate a work item (love this kind of integration, just great). But the work items shown were from Proj A, not Proj B (recall that the solution is associated with Pr ...Show All
SQL Server maintenance plan - backup database
win2003 (without IIS ) SQL2005 German, the maintenance plan doesn't work. create a blank database, create a maintenance plan - it works fine, but it is a blank database. restore database, the same maintenance plan does nothing (logfile: succesfull...)! If I try to create the maintenance plan after restore database, impossible to choose my database, there are only master, model, msdb ... ...Show All
Windows Forms Visual studio Start page
Hi, When I start visual studio, the start page opens as usual. When I select the internet resources tabs, it displays: 'This feature requires that you have previously connected to the internet or are currently online' I am online. How can I access the in ...Show All
Visual Studio Question about .NET Framework version 1.1 redistributable and .NET Framework version 1.1
Hello, I am trying to install the .NET Framework version 1.1 on a XP professional workstation that already has the .NET Framework 1.1 (with SP1) and whenever I try to do the install, it fails with no error message. Can I have both the framework and redistributable versions on the same machine I am trying to download the redistributable so I can install the .NET framework version 1.1 SDK. Please advise if any ...Show All
