mark davis nohorse's Q&A profile
Windows Forms Popup Blocker?
Hi! I'm looking for a code sample that would prevent popups from appearing. I am building a web application and some websites regularly have popups and to prevent people from using 3rd party software for their popup blocker, I would like to include some in my own application. PLEASE HELP! Thank you. Generally, www.asp.net is the place to ask questions about web apps. However, I don't think that is what you mean, ...Show All
Visual Studio Express Editions I need help installing Starter kits!!!!!!
Hi, i tried installing a starter kit. and when i get to stage 2 of the installation i get errors on everything thats installing. All the errors read: Installation stopped because the directory for the ProjectType value did not exist. The project type is invalid for your installation of Visual Studio. Please can you help me, I need the starter kit so i can create my band website Sorry I should have asked what edition of Visual S ...Show All
Visual C# static employee Dept Type to limit asignment value
I would like to pass a value to my clsemployee Dept of Mgmt, RE, FID or CIA how can i create a static something so i can pass like Employee emp = new Employee; emp.Dept= Employee.CIA; tks~ Well, it depends on what type you would like Dept to be. If int is ok, you might simply declare: public class Employee { ... public const int Mgmt = 1; public const int RE = 2; public const int FID = 3; public const int CIA = 4; ...Show All
Windows Forms Killing BeginInvoke Asynchronous Calls
How do I kill a thread I started with the BeginInvoke call IAsyncResult result = asyncBuilderDlgt.BeginInvoke(ModObj, new AsyncCallback(mBuilderCallback), asyncBuilderDlgt); if I click the cancel button, how do i kill this thread Please help guys... There isn't any exposed way to kill it since BeginInvoke uses the ThreadPool. -mark Program Manager Microsoft This post is provided "as-is" ...Show All
Visual C++ Writing to Notepad
I am looking for some code to write to notepad. This is a rough example: #include <windows.h> #include <stdio.h> void TypeAndSendToNotepad() { char szBuffer[256]; HWND hwndNotepad; HWND hwndEdit; gets(szBuffer); hwndNotepad = FindWindow("Notepad", (LPCTSTR)NULL); if(!hwndNotepad) return; hwndEdit = FindWindowEx(hwndNotepad, (HWND)NULL, "Edit", (LPCTSTR)NULL); ...Show All
Visual Studio Team System HOWTO define custom action?
Hi, How we can define and register custom actions to use in transition <ACTIONS><ACTION ... /></ACTIONS> tag Any piece of information will be appreciated! Hi, Im try to register my own custom action but i Dont kwnow where. How can i do it Where are defined the other action thanks in advance ...Show All
Visual Studio Team System TF84041: Microsoft Office does not have the language pack installed that supports your current locale settings.
Hello! We have an english office and english team foundation client. The create list button pops up an messagebox with this error. Is there any workaround available --------------------------- Microsoft Excel --------------------------- TF84041: Microsoft Office does not have the language pack installed that supports your current locale settings. To correct this problem, install a Microsoft Office Multilingual User Interface Pack. ------------- ...Show All
SQL Server small scale (light weight) SQL search engine (basically a stored procedure) to search through Products Table
Hi, I am attempting to build a small scale (light weight) SQL search engine (basically a stored procedure) to search through Products Table. I am passing a search string, which i break up by the ' ' (space) delimiter. next for each [value] (after breaking up) in the search string I want to be able to count the number of occurences of each [value] in the [ProductName] [ProductDescription] fields of the [Products] table. However I am confused as i ...Show All
Visual Studio How can I programmatically load a solution?
I have see (and used) the rather nice interface for working with Projects. It is quite easy using Visual Studio 2005 and C# to open a project file (using VCProject from VCProjectEngineObject ) and to get the collection of configurations the project contains. And from the configuration, it is fairly simple to update virtually any setting. But what I’m wanting to do starts at a level higher. I would like to ...Show All
.NET Development Using Windows icons in applications
Hi all, Looking for tips, references regarding the use of Windows icons and images in independently marketed applications. (e.g. the rules and regulations of displaying a MS Word document icon when displaying files, using outlook calendar images, and so on...) Any help would be appreciated- Thanks, Yarin Kessler ykessler@hotmail.com Do you mean user interface guidelines it's here: http://msdn.microsoft.com/li ...Show All
.NET Development There is already an open DataReader associated with this Command which must be closed first.
I have a rather large ASP-NET-2.0 project that I've been developing for some time. I'm using System.Data.Common classes for all of my data access, and SQL-2005 as my provider. Up to and including Beta-2, everything was working just fine and dandy. Then, with the release of RC1, I suddenly started to get the following error:: There is already an open DataReader associated with this Command which must be closed first. This totally threw me, b ...Show All
.NET Development Calling a stored SQL Proceedure from VB
K, got some canned proceedures on SQL Server 2005 Express, now any thoughts on accessing them The project is pretty simplistic, but its a learning tool for me. dim IP = ...... 'got this working ok Call dbo.HitTable.Update(IP) ' speculative idea Call dbo.Hitable.Hits() 'more speculation Sorry, never tried SQL from VB before, let along any other tool. http://www.vbdotnetheaven.com/Code/Jun2003/2102.asp I provided this link ye ...Show All
Visual Studio Team System TF42046 when trying to build a build type
Hi all, I'm using tfs beta 3 refresh and I'm trying to run a team build type and each time I get a TF4204 error when the build begins. I have read and checked all the settings mentioned in the following links: http://geekswithblogs.net/mskoolaid/archive/2005/12/15/63276.aspx http://blogs.msdn.com/mnkish/ My topolgy is as such that the build machine and the team foundation server are in differernt machines (though in the same domain). ...Show All
SQL Server using TransactionOption in April CTP
Hello. I am using April CTP. In the main package, i am setting the TransactionOption to Required whereas in the child packages to Supported. But i'm getting the following error: The DTS Runtime has failed to start the distributed transaction due to error 0x8004D01C "A connection with the transaction manager was lost.". The DTC transaction failed to start. This could occur because the MSDTC Service is not running. However th ...Show All
.NET Development Encryption in .Net Framework 2.0
Hi. I want to use NegotiateStream from .NET Framework 2.0. I've created a smal client-server application and it is fine. There is a possibility to specify if the channel is encrypted or not. I am wondering : which is the algorithm that is used for encryption can I change that I mean: it is possible to specify the algorithm that should be used for this encryption Thanks a lot. Mircea That was really short. : ...Show All
