ReyCri's Q&A profile
.NET Development Opening the file as a New Process
I am trying to open a file, e.g. a text, .doc or .mpp file, when it runs on the localhost system opens a respective file, but when installed in the IIS 5.1 and IIS 6.0 as a virtual directory, and access the file, system doesn't opens................................................... Imports System.IO Imports System.Diagnostics Partial Class CR Inherits System.Web.UI.Page Dim projectPath As String Dim ...Show All
.NET Development Killing a ThreadPool thread
How can I safely kill a thread from a ThreadPool That is, how can I kill/abort the thread resulting from queueing like this: ThreadPool.QueueUserWorkItem( new WaitCallback(someMethod), someObject); The problem is as follows: 1. Once in a while (much more often than we can afford for the critical production application!..) the Image.SelectActiveFrame(...) method hangs, consumes 98 to 99 % of CPU, and we have to reboot the server... ...Show All
Visual Studio Team System Tool for Continuous integration available?
Hi, A latest post: http://blogs.msdn.com/bharry/archive/2005/10/01/476030.aspx mentions "This command line tool can be used to implement scheduled builds, rolling builds, continuous integration, etc." Can anyone plz tell which are the tools available for continuios integration and scheduling of team build. i am using scheduled tasks to schedule the build but have'nt seen any such build-in tool. Thanks Nike Hello Nike! The command line t ...Show All
SQL Server 2005 Maintenance Plan or Security bug?
Curious if this scenario is by design or a possible bug. As recommended by MS best practices for SQL 2000 we always removed the BUILTIN\Administrators login. After doing the same on our 2005 installations it appears to have caused errors in the edit\view functionality in the Maintenance Plans and jobs. One example is to open a plan in modify mode and then select the logging button. - 'Unhandled exception ha ...Show All
Visual C++ Function pointer and native DLL call
Hello, I have the following problem: I used an exsiting DLL in my C++/CLI program. This DLL get a function pointer back to the calling program. The DLL regulary calls these function. To understand what I did here the coding: In Borland C++ a working the solution is like: 1. Declare it extern "C" __declspec (dllimport) int __stdcall _DGTDLL_RegisterStatusFunc (int __stdcall (*func) (char *)); ...Show All
SQL Server Running a package in C#
Hello all. I am trying to run a package in C# and have come accross the help file of how to do it in Visual Basic ('Running an Existing Package using Visual Basic'). However, I cannot find a reference to anything relating to DTS in my reference dialog. In the help file it says to add a reference to Micorsoft.SQLServer.ManagedDTS.DLL, however, I cannot find this reference anywhere. Am I missing something Thanks, Mike Tazzmann wr ...Show All
Visual Studio 2008 (Pre-release) Adding elements to a grid dynamically
hi all, once again...i am trying to add textboxes to an existing grid of a winfx window. maybe anyone can give me a hint on how to do that.. thanks in advance; // assuming "myGrid" is the name of the grid TextBox tb = new TextBox(); myGrid.Children.Add(tb); Grid.SetRow(tb,0); Grid.SetColumn(tb,0); ...Show All
Visual Studio 2008 (Pre-release) Specific questions of animation handling
Hi, In my app, I've created an animation that makes my window bigger. Now I added a button to my window that controls that. When I push that button, the window gets bigger, but at this point I want to change the animation of my button, because when I click it again, I want it to make my window smaller again. Guess the best way to do this is to call the animation from the code-behind, but that's where I get stuck. I've created that animation in E ...Show All
SQL Server SQL Server 2000 sign-on to 2005
Good morning, I'm wondering if it's possible to connect to SQL Server 2005 from 2000 I'm having no trouble going from 2005 to 2000 but I can't seem to connect the other way. Any help would be apprciated. Thanks, Yes, it is certainly possible to create a linked server from a 2005 server to a 2000 server. I have one set up on this end, with no problems. What issue a ...Show All
Visual Basic I have a question..
In Visual Basic 6.0, How to append a project by language such as a macro in VBA. These forums are for VB.NET and there are better places to find answers for older versions of VB. Maybe the VB6 newgroups - http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vb.general.discussion&lang=en&cr=US or the VB6 resource center http://msdn.microsoft.com/vbrun/ or web sites such as www.vbcity.com Hope these ...Show All
Visual C++ Console::WriteLine's in a GUI
Hey all, I have a nice gui visual studio app, and I've been using console::writeline to view output throughout my program. To be able to view this output, I open a DOS window and pipe my executable file to 'MORE'. Like this: # prog.exe | more This works ok, but 'more' only does a page at a time, so I have to keep hitting --Any Key to Continue--- Is there any other way to view console ouput (without running debug) ...Show All
Visual C# How to break single exe into smaller dll for update
Hi, All. We were writing a large application and everything was good until we faced the application update problem. We need to update the application for the clients pretty frequently, but for now it is one single .exe file; therefore, to make an update our clients have to download the entire exe file each time. Is it possible to break the exe file into some smaller files (possibly dlls), so that, for example, if I make some changes in the ...Show All
.NET Development OutOfMemoryException and Garbage Collection doesn't work how I thought it would
I designed this code snippet to test garbage collection. It doesn't do what I thought it would do though. The idea was to allocate a chunk of memory, but to discard the reference to that chunk by letting the variable that holds the reference fall out of scope. When it runs out of memory on the heap, I expected the garbage collector to run automatically and that the allocation would succeed. But there are a couple of w ...Show All
Visual C++ MS C++ 2005 express database mismatch error when compiling
Every time that I attempt to compile a c++ program I get a database mismatch error. When I looked this error up in the included documents, it said that I needed a newer version of dbi.dll. Where can I find this file I know that my programs work because they compile with ms vc++ 6.0 and the gcc complier. Here is the artilce where it told me "how to fix it," but I still cannot find the file that I need. Visual C++ Conc ...Show All
SQL Server Trouble using XML Source from a variable
I have a SP that outputs a valid XML record set. Using a Execute SQL Task, I can put the XML results into a string variable. When I try to use the variable in an XML Source nothing happens and I get no error.. If I access the same XML from a file, I get the desired results. Any ideas why Can you describe a bit more about "nothing happens" - i.e. did you get the events of execution start/finish at t ...Show All
