MWeinblatt's Q&A profile
Windows Forms System ShutDown...
Hi, In my program I need after doing some job to be able to shut down the system. So I wrote that code: public event SessionEndedEventHandler ShutDown; ............ ............ this.ShutDown += new SessionEndedEventHandler(OnShuttingDown); ............ ............ protected virtual void OnShutDown(SessionE ...Show All
SQL Server Mass flat file loading
Here is what I'm trying to do in SSIS: - I have hundreds of flat files that were dumped during last several month from a legacy system. All files have consistent naming including date/time stamp and a prefix that defines what table will it end up in. What I need is: - build SSIS package to load exiting files - build SSIS package to load files on daily basis in future What would be the best way to loop through the file folder I ima ...Show All
Windows Forms Sequence Of Events
Hi All, I am just starting .NET. I am confused to trace sequence of events in winforms. can anybody explain me sequence of events since load to unload Ajay I've not seen a comprehensive description of the relations between the events. I ...Show All
Visual C++ Question(s) about msvcr80.dll and other VS2005 dll's end users need to run compiled applications
I know if I link against the DLL runtime( msvcr80.dll) then it must be avaliable on my end users computers. I can just compile a static copy of the CRT into my application, or I can just distribute the DLL with my app and everything should be fine. Lastly perhaps a MSI package that has the DLL packaged. My main concern is -should I be doing this- Is there some update method (Windows Update) that carries the new VS2005 dll's to end users or shou ...Show All
Software Development for Windows Vista render videos on a d3d texture with the VMR9
hallo, a the moment im trying to develop a program which should play videos. i want to build the menu with d3d sprites and display the videos with the vrm9. until now i've tried to do this with the allocator presenter from the ms samples. rendering the video as a sprite works fine, but theres a problem in the sample. the allocator presenter calls the draw function, when the video stops, the rendering of the sprites stops too. but a me ...Show All
Windows Forms Needed: tutorial with VS2005/MSBuild, Dotfuscator CE and satellite assemblies
ClickOnce has great potential, but it turns out to be poorly documented when like me... - you want to obfuscate your application (a sensible requirement for a commercial application), for instance with Dotfuscator CE - you want to localize your application (again, a sensible requirement) - you prefer VS2005 settings and MSBuild over Mage command lines (a sensible requirement if MSBuild is to become our unique build tool) What would b ...Show All
Visual Studio Team System acceptance test in VSTS
Hi, I'm trying to do acceptance tests to an ASP application using the test tool of VS Team System, but I don't know what kind of test I should use. I have tried using WEb tests but they don't offer enough resources to implement the acceptance tests. I want to check that the value of a Datagrid's field is right. In addition, I have worked on the available validation rules and their range of possibilities is very reduced and they don't f ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DrawIndexedUserPrimitives in .Net 2.0
The new DrawIndexedUserPrimitives doesn't support arrays anymore but only GraphicsBuffer. If I simply write the index an vertex arrays into two GraphicsBuffers DrawIndexedUserPrimitives fails with an exception (Invalid call). How can I convert old code Thanks. I did some debugging and it the error was that the vertex shader was not set correctly. I looked into the assembly with reflector an ...Show All
Software Development for Windows Vista Add Graphic User Interface to custom Activities
Is possible to create a custom activity and include some GUI, so when that custom activity is used in a workflow the user would be able to double click the custom activity and set properties If so, where can I read some documentation about it. I think that, maybe, I need to override some method but I can't figure it out what method. Thanks in advance. Can this custom activity designer also be set up to be a drop ...Show All
Visual C# Removing the double quotes from a CSV file.
I would like to remove the double quotes from a CSV file but am having a bugger of time doing so. My input file looks like this: "Book1 number 1",120.00,140.00,,,"Great Book" "Book2 number 1",12.00,99.99,,,"Losy Book" "Book2 number 2",19.00,34.00,,,"Do not read" First I break up the line into an array so as to be able to manipulate each field easily. string [] strSplitData = strDataLine.Split(','); I now have the ...Show All
Visual Basic retrieve and parse HTML data
Hi in VB.NET 2005, what is the best way to retrieve and parse HTML data from a URL, a bit like a search engine crawler I am building an app, where I need to parse a website, and collate data from it (the website uses some tags that I could pull out to get the appropriate bits of data). I want to be able to do this in a thread, and just update a DB with the data, and give the client app a status update of the progress. Any ideas/samples/li ...Show All
SQL Server Deploy Reporting service 2005
Hi, I used SQL server 2000 and SQL reporting service 2005. I have created some reports. 1. when i deploy my reports, it show deploy success, but when i browse my reports on the web it doesn't appear like the one that i have seen in SQL reporting service web cast. 2. I want to create take my reports to be run by another computer that have only SQL server 2000, what should i do Thanks a lot for our help, Chear ...Show All
Windows Forms Multithread output display
Hi all, how do you display the output of the multithreads on window form. All the example listed are using console.write. I tried using label and textbox, but keep getting exception error as the threads are accesing the same label/textbox at the&nbs ...Show All
Visual C# A C# Program Failed to initialize on friends computer, please help
Hello all, I know this maybe a stupid newbie question, but I need help with it all the same, so please bare with me. I'm a graduate student in psychology who has a BS in computer science. I am currently writing a program in C# that I need to be able to give to other researchers to use. I wrote a beginning sample and when I sent the release .exe off to a colleague to check it out an error appeared when he clicked on it that said the program faile ...Show All
Visual Studio Team System True or Not? ("Team System like trying to take a 747 jet to McDonalds")
"Personally, I think Microsoft made a mistake in setting expectations when they originally said Team System was designed for teams of 5 or more people. I suppose Microsoft will eventually refine this product to the point where it is more appropriate for smaller teams. But right now and for the indefinite future, it is inconceivable to me that a 5 person team would want to install and use this thing. I envision 5 people try ...Show All
