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

Software Development Network >> Neil Enns MSFT's Q&A profile

Neil Enns MSFT

Member List

Smacker
medel
GoDaddy
Shawnk
dustinto
pjcozzi
m14cus
waga
daname
infrandom
ishotjesus
Photoman
cdx1
Santosh Ransubhe
Juvraj
cyberjoe2
OwaisM
Mowali
ashk1860
Esterill
Only Title

Neil Enns MSFT's Q&A profile

  • Windows Live Developer Forums Switch from Live ID to .NET Passport

    Is it possible to switch it from Live ID back to .NET passport I was in the Windows Live Account Service page, I try to change my email to another one, but I only given one choice, which is to create a new Hotmail account. I remember last time, when I login to .NET Passport credential page, it do let me change the email to whatever email I want (not limited to Hotmail). Is this possible Peter Chan Me too in the feedback option, but I would like to have specific forum for Live (not dev forums), or something like that to check if it is in their plans or something, I feel like sending feedback to none ...Show All

  • Smart Device Development regarding moving a directory including all its sub directories from device to storage card

    hi all, i have a requirement that i move a directory including all its sub directories from device to storage card. i need to do it in a control's event like some button click. i have tried using: MoveFileW(LPCTSTR lpexistingfilename, LPCTSTR lpdestfilename); i have seen no success. is there any other windows api i can use to do this thanks in advance. kulkarni Hi Michael, CopyFile does not operate on directories, so is there any other API for copying(not moving) directories along with its contents within the same storage volume thanks in advance, Mahesh ...Show All

  • Visual Studio Team System Cant install Build service - not a domain account

    Trying to install the build service, however we can't because the install wants a domain user. We installed TFS with local users for TFSSERVICE and the other users. Is there anyway to install the build service with local accounts Or do we have to uninstall TFS and reinstall with domain users Thanks in advance Maurice This is as far ar I can get.... TFS\build\setup.exe <next> accept terms <next> system health...ok <next> install location, cant change so <next> specify a logon account for the TFS build service... TFSBUILD(local account)... Get message "You have entered a local machine account. Only domain account are supported. Please enter a domain ac ...Show All

  • Smart Device Development WebBrowser back key (Escape key)

    Hello! I've got a form where I've added a WebBrowser control. The WebBrowser has focus. I now want to capture the back key event while the WebBrowser has focus. I hav already tried to use "KeyPreview = true" in the form of the WebBrowser with no luck. I dont want to disable the key, just let the key display the previous group of controls that been showing before the WebBrowser. How can I do this Thanks, Martin The answer to the problem I mention above is to not look at Keys.Back/Keys.Backspace but ONLY Keys.BorwserBack when determining if you need to navigate back. The above implies handling the PreviewKeyDown event. ...Show All

  • Software Development for Windows Vista Creating execution contexts/running closed activities

    I have a sequential workflow and 3 child activities. Now my goal is to make my workflow execute again from activity 1 when I'm finishin to execute the second activity (return back). What I'm doing to achieve that is overriding the Execute method on my workflow to provide some custom behavior and bind to the Closed event of each workflow. Like this: protected override ActivityExecutionStatus Execute(ActivityExecutionContext executionContext) { foreach (Activity activity in this.EnabledActivities) { if (activity is ControlFlow.ControlActivity) { ControlActivity controlActivity = (ControlActivity)activity; controlActivity.Closed += new EventHandler<ActivityExecutionStatusChangedEventArgs>(control ...Show All

  • Windows Forms controls library

    hi, ive got a controls library. now if i want to use these controls in any project, i want to drag and drop feature with the controls . how do i i want to be able to have the controls displayed on the toolbar , thesame way it would if the usercontrol was created in the project Hi, I guess you mean "have the controls displayes on the toolbox " If it is, then right click on the toolbox, choose "add items..." and add the .dll file. Then the controls will be displayed on the toolbox. ...Show All

  • Visual Basic Leave Event

    i cant seem to work out how to do this I am in textbox5 and on the leave event i want to have textbox1 to 4 leave events to be proformed and still be able to click into one of those textboxs in textbox5 click on textbox1 TextBox5_leaves(-------)handles textbox5.leave code leave textbox 1-4 end sub Textbox1_leaves(------) handles textbox1.leave, textbox2.leave, textbox3.leave, textbox4.leave code to preformed on the textbox five leave for each textbox end sub textbox1 has focus this works but i am getting this error the sender is set to nothing in the texbox1_leave any troughts System.NullReferenceException was unhandled Message="Object reference not set to an instanc ...Show All

  • SQL Server ReportViewer scrolling problem

    Hi, I'm having a problem with the windows forms reportviewer. With some customers, running Windows XP and framework 2.0, the reportviewer hangs when you scroll a report. These are all local reports, compiled into the application. Some reports have subreports and others dont. When it hangs you cant do anything in the application and some of the controls turn white. Has anybody else ever encountered this problem ...Show All

  • SQL Server Intermittent ExecuteReader Problems

    I have VS 2005 and SQL CE 3.0. I sometimes get the a FileNotFoundException when I first use ExecuteReader. I believe this is because a dll has not been copied across because if I restart the emulator I can get it to work again. Do I need to add a cab file/dll to my project to stop this happening Thanks Emmet ...Show All

  • Visual Studio 2008 (Pre-release) Connect two elements on StackPanel

    Hello, I have an ItemControl which have its ItemsSource set to a List instance. The ItemsControl's ItemsPanel property is set to StackPanel. I want to connect two elements in the ItemsControl with a line when the user click with the right mouse button on an item. How can I draw a line between the two elements Thank you, Ido. You might be able to use the AdornerLayer to add visual elements "on top of" the items in the ItemsControl (such as lines and other shapes). This blog entry shows how to use adorners, but for drag-drop: http://blogs.msdn.com/marcelolr/archive/2006/03/03/543301.aspx If you were to put the ItemsControl in a Canvas, you should be able to use the Canvas's Top ...Show All

  • SQL Server SQL Server over Point-to-Point T1

    I'm running SQL Server 2005 on a Server 2003 machine serving both our home network as well as a remote site through a point-to-point T1. While file transfer speeds are up to par, the remote site's interaction with SQL Server (Point of sale system) is very slow. After testing I am certain that it has nothing to do with the actual physical machine in place neither is it an issue with the program itself since speeds are as they are supposed to be over the home network lan. It seems that there might be a packet size issue or something of the sort. Has anyone dealt with this before or have any thoughts Thanks, Peter How bad is the speed What is your configuration and connection string Do you keep connection open Do you have encryption on ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Simple Menus (Download)

    As our first sample we have created a simple menu system that loads from xml. The menus can resize, move, and write text to the titlebar. Check back for the variable width font sample coming soon. Please let us know what you think Submit@XNASpot.com Download: http://www.xnaspot.com/Sample_SimpleMenu.aspx Change the string on line 18 of Game1.cs to use your path. public static string Path = @"C:\Documents and Settings\UserNameHere\Desktop\MenuSample\MenuSample\" ; ...Show All

  • SQL Server Is there anyway to set a partition so that it cannot be re-processed?

    As part of my design, I plan to have partitions holding historical data. Since the underlying data will have been deleted from the underlying DW, I want to ensure that the partition cannot be re-processed. Does anyone know if this can be done and, if so, how Ta Dirc No this cannot be done. Also, please be advised, that your decision to have AS to be a primary data source is not a scenario that AS was designed for. Data Warehouse should be a primary data source. If you absolutely cannot keep data there, you need to have good backup strategy to be able to restore your AS partition data if something happens to it. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Issues with a Loading Bar

    Well, earlier today I realized my mario-clone was taking a while to load mainly due to the audio files and partly due to the many sprites being loaded. It wasn't a real problem, but it seemed rather unproffesional to have the computer pause for a while without any feedback for the user to confirm that anything was happening. Initially I used System.Console.WriteLine("Loading Something...") for the various resources that I had. This works fine for debugging, but whenever I tried to organize a loading bar that the user could see on a devoted portion of my game I experienced some trouble. First off, I'm using game states to determine whether I'm loading, at the menu, or playing the game, these aren't a problem. Secondly I'm using a ...Show All

  • Visual Studio Express Editions StreamReader, StreamWriter, Being used by another process.

    I will write my code later, but for now i'll describe my perdicament. I am writing a program that will, to transfer data from one form to another, and the only way i could think of was to save it to a textfile (StreamWriter) then when it opens the second form and when it loads does StreamReader and put them into a set of arrays to keep, and remember the information. When i try writing to it, it says it is being used by another process. The first time i wrote to it, it works, but i can't read it, or write to it after that. I made sure that i am closing with sw.Close() and sr.Close(). I am using 2003 .NET and, in visual basic of course. If anyone else can think of a way to transfer and save the information to another form, i ...Show All

©2008 Software Development Network