Software Development Network Logo
  • Visual C#
  • Smart Devicet
  • Visual Basic
  • Visual C++
  • Visual Studio
  • SharePoint Products
  • IE Development
  • Game Technologies
  • Visual FoxPro
  • Audio and Video
  • Windows Forms
  • Microsoft ISV
  • .NET Development
  • VS Team System
  • SQL Server

Software Development Network >> Dan Mikkelsen's Q&A profile

Dan Mikkelsen

Member List

anderskj1
Aneshka
AndersBank
Vasanths R
thechristopher
Joseph Stalin
Henry Ong
mobile_hacker
AlucardHellSing
Furty
Wil B
Jarda Jirava
Woyler
NerdyNick
Richard_Gould
sdknewbie
JerberSoft
NickNotYet
Drew Marsh
Sumit_Agrawal
Only Title

Dan Mikkelsen's Q&A profile

  • Windows Forms GetWindowThreadProcessId changes the Visible property of the control

    I have a MDI application which displays 3 child Forms. I have menu options to change the visible property of the Child Forms and I have some test scenarios which validate the properties of the child forms. In my app flow I uses the GetWindowThreadProcessId Function to get the identifier of the thread that created the child form. Problem is when this method is called for a hidden child form, it changes the visible property of the hidden form to visible and thus that form suddenly appears on the screen. I just need the threadId of the form and doesnot want to change any of the property of the control.Does anyone know the solution for my problem Like Alex wrote it's probably the fact that you use the Handle property that causes t ...Show All

  • Visual Studio How to get list of files in a solution?

    How can I get a list of all files on which a solution depends By this, I mean all the files which would be required to build the solution on another, new, machine. I'd prefer a method that can create a file containing the list of files. Perhaps a makefile would have this information. Hi, This is an article I wrote that uses a method GetCurrentIDE which returns a reference to the IDE object. From here you can go to the projects and there files. http://geertverhoeven.blogspot.com/2006/12/reference-to-calling-visual-studio-2005.html Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All

  • Visual Studio Team System Get Latest Version extremely slow

    Hello, When we do a "Get Latest Version" for a project containing about 450 subfolders this operation shows the "Contacting server to get list of items to update..." for a very long time. Eventually it will come up with an error "HTTP code 500: Internal Server Error". The event log indicates a time out. I have already increased the executionTimeout values for the various .config files used by the Web Services. This increases the time it takes for this error to appear (this can take up to 2 hours) but the error still appears. These subfolders each contain about 20 files with a total size in each folder of 180KB. While the "Get Latest Version" is active the server CPU is not busy at all, it stays ...Show All

  • Visual Studio Tools for Office Client Machine minimum requirements for web based excel office VSTO Solution using asp.net?

    I have to generate interactive excel reports(interactive only to get excel features of formulas , charts etc) having multiple worksheets with graph using asp.net . Currently we have Office 2000 installed on all client machines . 1) If I develop an office excel solution using VSTO in Vs.net 2003 having excel 2003 insatlled iapghn web server , Does it open the excel files on excel 2000 client machines for the asp.net web application 2) Does client machine needs .net framework installed to display excel reports for the asp.net web application Hi, To run VSTO applications you will need - a version of Excel that supports Visual Studio Tools for Office. -.NET framework 2.0 - VSTO runtime - ...Show All

  • Visual Studio Express Editions Connecting over HTTP to a Web Server

    HI I am a complete newbie to this so any response will be greatly appreciated: We have a Web Server (Linux Suse and Apache). I want to create a test app in VB. Net 2005 that can connect to this web service, then send XML requests and process return responses. I have the Dtd document with all the requests and responses. I also have the necessary URI the Http version (HTTP/1.1), the method etc. Can someone please give me some sample code to send a request to this server and receive the response. Below is the known info mentioned earlier and a sample request: URI - www.blahblah.co.za/folder/run HTTP version HTTP/1.1 Method = POST Sample request - ------------------------------------------------------ ...Show All

  • Visual Studio Macros not working in Vista

    Macros do not work in Vista. I'm using Vista Ultimate rtm. I can not find any threads here discussing this issue but found this link thru google: http://connectbeta.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx FeedbackID=225977   Macro debugging does not work either. Is there any workaround of fix other than ditching Vista and going back to XP Paul, it still doesn't work. Moreover now it's telling me that I have to start it as Administrator even when I do right click it and say Run as Administrator. Any suggestions ...Show All

  • SQL Server select based on repeated numbers

    i have telephone numbers in my table and i want to select based on numbe of repeated numbers.. for example.. 39657777 39111132 36399991 The first has foue 7s, second has four 1s and the thrid has four 9s. Jassim: I am not sure how to filter the data. Are you looking for a predefined number of 7's Are you looking for records with an aggregate digit count of 4 or more A you looking for numbers with four digits in a row that are all the same I cannot be sure of exactly what pattern I am looking for. What follows might be what your looking for; do any of these look like the idea Dave set nocount on declare @phone table (phoneNo varchar (10)) insert into @phone values ('39657777') insert into ...Show All

  • Visual C++ Help With Multiple Forms

    I'm trying to make a simple text editing program that can have the text files in different windows all under the same parent window. This is the code for the open button: OpenFileDialog^ ofd = gcnew OpenFileDialog(); ofd->Title = "Select A Text File To Open..."; if (ofd->ShowDialog() != System::Windows::Forms::DialogResult::Cancel){ TextEditor::TextForm^ newTxtForm = gcnew TextEditor::TextForm(); } I get errors on the line where I try to create a new instance of the form. The errors are 'TextForm' : is not a member of 'TextEditor', syntax error : identifier 'MapForm', 'MapForm' : undeclared identifier, and 'newTxtForm' : undeclared identifier. I don't know whats going on here. Ive used search, but cant find anyth ...Show All

  • Visual C# Problem with dataset designer

    Hi. Our team have been having a few problems with the designers in VS2005 Team Edition for Developers. Most recently, the new dataset designer disappears. The IDE appears to use the XML schema editor instead. The dataset editor is no longer listed in the "open with" dialog. Table adapters are no longer available, and it is not possible to add the partial class for custom code. This problem has spread from machine to machine over the last month, but we have not been able to identify a pattern. Our best fix so far is to uninstall and reinstall VS. Also, many designers seem to leak, and when we do designer intensive work, the IDE degrades to such an extent that restarting it every hour provides significant benefits. I could ...Show All

  • Software Development for Windows Vista (SequentialWorkflowActivity)OnEvent -> context.CloseActivity()

    Hellow, everybody. I have the follow activity: public partial class WorkflowActivity : SequentialWorkflowActivity , IActivityEventListener < ActivityExecutionStatusChangedEventArgs > {..} I've Registered For Status Change of some child-activities, but when the last activity had been closed, i've got the event (even if i haven't registered for it's status change). How can i recognize, that it is the last activity (haven't active childs) and i should call context.CloseActivity(); TIA, Nikolay One easy way is to iterate through the EnabledActivities collection and test the status of each activity. You'll want all of them to be closed in order to close your own activity. ...Show All

  • .NET Development Searching Database for results

    Hi everyone i needed a little help with my coding what i wanted to do is allow my users to search a table in the database for links that are stored there for a user searches for a ringtone by a artist and the search returns any results with that value to the sure to be able to download the ringtone. I am using ODBC as well all help is appreciated Will this allow me to get the query from my textbox SELECT * FROM acidvaul_xtra.servers WHERE (name LIKE '%+ txtSearch.Text +%') ...Show All

  • Visual Studio Team System Dependency b/w source control and team explorer project

    Q1: Is there an inherent dependency between source control repository nodes and TFS team projects In other words, must a source control branch must have a corresponding TFS team project or are these two entities independent...at least until the Source Control node in the Team Explorer project is defined. Q2: When a source control branch is associated with a Team Explorer project, what is the nature of this association Is it simply a default location in the source control repository Suppose I have a Team Explorer project that must modify three different services in our architecture and each is maintained in difference codelines in the source control repository. This project should be associated with three independent branches (one p ...Show All

  • SQL Server Windows Authentication with JDBC

    Does anyone know if/or when JDBC will support Windows Authentication If there is a version, that does where can I find it. Hi, yes the MS JDBC driver is supposed to support Windows Authentication.  You can find more details as well as a download here: http://msdn.microsoft.com/data/ref/jdbc/ I think Windows Auth didn't work in a previous build but it should be supported now.  If not, you might want to ping the JDBC forum for more info   Their forum is located here: http://forums.microsoft.com/msdn/showforum.aspx forumid=87&siteid=1 Thanks, Sung ...Show All

  • Visual Studio Custom Guidance Package Deployment

    Hi, We have received a Custom Guidance Package developed by one of our clients and want to enable it for Visual Studio 2005 at our development center. After installing the Custom Guidance Package (SmartClientDevelopment.msi) along with the pre-requisites like GAT / GAX / CAB, we are unable to see the package inside visual studio 2005 (Tools > Guidance Package Manager > Enable / Disable Packages...). When we create our own Custom Guidance Package and install it using the setup.msi it shows up without any issues. This issue is bugging us for the last couple of days now and we have tried our best to get rid off the same, but, without any success. Requesting all you guys there to get me out of this issue / problem. Reg ...Show All

  • Visual Studio Team System Getting error "TF10201: Source control could not start the manual merge tool"

    Hi I'm receiving the error " TF10201: Source control could not start the manual merge tool. " when I'm trying to resolve a conflict during checkin. The scenario is as follows: I have 1 file $/TeamProject/Dev/MyFile.h that has been branched to $/TeamProject/Branch/MyFile.h I have made changes to both the "Dev" and the "Branch" file, and then done a merge from "Dev" to "Branch", this creates a pending merge on "Branch" (as expected). Now I try to checkin the pending change and receive a conflict (also as expected), I click "Resolve" and select "merge changes in merge tool" and then I get the above error message. If I try to resolve this from the co ...Show All

©2008 Software Development Network