gleepart's Q&A profile
Windows Live Developer Forums Program to make Development Quicker
I've made this app that will make your development quicker. It will close msn messenger, copy the 'msgrp2p.xml' to the MSN Messenger directory (which is specified in 'msndir.txt'), then start msn messenger up again. Its made so you dont need to do it manually. You can download it from here: http://msn.balupton.nghosting.org/msnmsngr_quickdev_net2.zip - .NET Framework v2.0 BETA 2 Version http://msn.balupton.nghosting.org/msnmsngr_quickdev_net1.zip - .NET Framework v1.1 Version balupton wrote: I've made this app that will make your development quicker. It will close msn messenger, copy the 'msgrp2p.xml' to the MSN Mess ...Show All
Architecture Architecture options for running a long process from an ASP.NET website
Hi, We currently have a solution where a user can upload a file, which gets processed in an ASP.NET v1.1 intranet website The solution was designed to handle 10-100 items, but customers have (ab)used the solution to process 1000-10000 items. Processing 100 items takes less then a minute, processing 1000 items takes around 7 minutes, larger uploads take (non-linear) longer. Now besides performance tuning the processing, I want to gather feedback on what is the best strategy to take the upload and have it process 'asynchronously'. After the upload, the user would immediatly get a status page which would refresh itself (every so often) ...Show All
SQL Server SQL server 2005 express failed to install under win2k SP4 :(
2006-03-26 20:33:09.42 Server Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86) Oct 14 2005 00:33:37 Copyright (c) 1988-2005 Microsoft Corporation Express Edition on Windows NT 5.0 (Build 2195: Service Pack 4) 2006-03-26 20:33:09.42 Server (c) 2005 Microsoft Corporation. 2006-03-26 20:33:09.42 Server All rights reserved. 2006-03-26 20:33:09.42 Server Server process ID is 2068. 2006-03-26 20:33:09.42 Server Logging SQL Server messages in file 'd:\SQL Server 2005\MSSQL.1\MSSQL\LOG\ERRORLOG'. 2006-03-26 20:33:09.42 Server This instance of SQL Server last reported using a process ID of 1624 at 3/26/2006 8:32:45 PM (loc ...Show All
.NET Development Kill Process Remotly
When I Wrote this code Process p=process.getAllprocessbyName(processName,machineName); p.Kill(); I Got an error could not connect to remote computer ......... although i have all Permision If you are trying to terminate a process running on a remote computer, It is not possible to do so. You can call Kill only for processes that are running on the local computer. You cannot cause processes on remote computers to exit. You can only view information for processes running on remote computers. ...Show All
SQL Server De-normalising query
OK. I know this can be done with cursors but would like some pointers on if SQL 2005 provides any more elegant solutions. Basically I have 2 tables ... TableParent(ParentPK, ChildFK) TableChild(ChildPK, ChildValue) For each row in TableParent, TableChild may have up to say 5 rows. I need to transform this into a table containing at most the first 3 ChildValues (ordered by ChildPK) of the form ChildValue1 Childvalue2 ChildValue3 Any tips on how this could be achieved by a more efficient means than cursors Thanks, Greg. You can do below in SQL Server 2005: select pt.Parent_PK, [1] as ChildValue1, [ ...Show All
Windows Forms Autoscroll
When I use AutoScroll, scrollbars never show up if the controls are outside of the container to the left or top of it, only to the right or bottom. How do I fix this Funny, this is just the behaviour that I would expect, but you are right: ScrollableControl could indeed correct for negative values and move its children accordingly. Why don't you just do the math yourself 1. Find the top-left child control in the panel and store its offset. 2. Subtract that offset from all child control's positions. The top-left control will now be located at (0,0) and all other controls will have moved the same amount. Hop ...Show All
.NET Development Error while sending email using ASP.NET 2.0 Beta 2 (Visual Studio 2005 Beta 2)
While trying to send email using <code> SmtpClient obj_SmtpClient = new SmtpClient (); obj_SmtpClient.Host = "" t; obj_SmtpClient.Send(s_from, s_recipients, s_subject, s_body); </code> I get the error message: Failure sending mail. Unable to connect to the remote server An established connection was aborted by the software in your host machine at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& so ...Show All
Visual C++ Compile error C1083
Hello all, I got the following error when building a Visual C++ MFC application using Visual Studio 2003 on Windows 2000. Compiling... stdafx.cpp c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afx.h(182) : fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory Does anybody know where can I get that file Thank you, Following is the compile log: Build Log ------- Build started: Project: MyProject, Configuration: Debug|Win32 ------- Command Lines Creating temporary file "c:\Documents and Settings\Administrator.GABY.000\My Documents\Visual Studio Project ...Show All
Windows Forms Shelling out to an executable
I need to shell out from a VB6 executable to an existing .Net executable which can accept two optional parameters. When testing and forcing the two optional parameters by hard-coding the optional values in the .Net executable, it works fine. When I try and shell out from the VB6 program, the parameters only show up as empty strings (I have a messa ...Show All
Visual C# AspNetSqlProvider
I have an error when i am try to make web partzone without using sqlexpress I want to use sqlserver2005 entreprise when i am try to create AspNetSqlProvider test failed and i have this error (An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) ) Dear PJ. van de Sande I use local connection this is the err msg if i used a connection to sqlserver 2005 not ...Show All
Visual Studio Express Editions Project : error PRJ0003 : Error spawning 'midl.exe'
This what I get when Building Project : error PRJ0003 : Error spawning 'midl.exe' I don't see midl.exe In E:\Program Files\Microsoft Visual Studio 8\VC\bin the use of midl.exe indicates that is use a preprocessor why isn't midl.exe in my visual studio 8 folder PS : I use VC++ 2005 Express ok, what about http://www.microsoft.com/downloads/details.aspx FamilyID=25ae0cd6-783b-4968-a841-38a2743307d9&DisplayLang=en ...Show All
SQL Server Remote Database Deployment
We have an application using a SQL 2005 database which we need to deploy to a client. The only we can find of deploying the structure and the data is to perform a backup on the source server and a restore on the destination server. Is this really the best/only way to deploy a database I'd appreciate any pointers. Thanks in advance LazyGenius wrote: We have an application using a SQL 2005 database which we need to deploy to a client. The only we can find of deploying the structure and the data is to perform a backup on the source server and a restore on the destination ser ...Show All
Visual Basic Troubles with my combobox and the split method
I have this declaration: Private sEsper As String() = Split(My.Resources.Espers, vbCrLf) And this usage: _Esper.Items.AddRange(sEsper) The problem is that it adds two sets of sEsper to the combobox _Esper. If I comment out the usage line then the box has no items. I cannot figure this out. Why is it adding two sets of sEsper Hi, I think for some reasons Terra form was loaded twice. I tried your code and _new form was loaded just once after this statement _new.Visible = True so maybe I'm missing something. I would suggest adding a breakpoint to If _Esper.Items.Count = 0 Then _Esper.Items.AddRange(sEsper) and see how many ti ...Show All
Visual Studio How to Add Fixed Assets in GAT?
I started from TechEd2005HoL and added files in templates\projects but, after re-building the project and creating a new data solution and projects in another VS instance, the files added did not appear. How should add the files in properly Thanks. But I have another question. I tried to crate T3 template to generate code but I want to the code to be generated inside App_Code folder in the WebService project instead of the root folder. How should I do that ...Show All
Visual Studio Team System Adequacy of web tests at HTTP layer rather than UI?
I'm curious as to how MS justifies testing at the HTTP request/response level rather than at the UI for web applications. It's easy to see how this form of web testing could be developed "on the cheap" by building on WAST/ACT, but as far as I'm concerned this testing provides no confidence that a user can use the app. For instance, should form input fields (text, lists, etc) or submit buttons be disabled, the web test won't notice -- especially if they got this way via JScript which you have no support for. The web test will post the request (simulating the submit button having been clicked) with all of the necessary parameters ev ...Show All
