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

Software Development Network >> SimonJohns's Q&A profile

SimonJohns

Member List

Nadia_86
Prabu.
Michael Morton
js123
Rajkumar Cheney
Sean Reilly
godzilla9
Wolvenshade
leclerc9
OOMama
Juliano.net
Somsong
Rajith
Bradrover
killers
Keith Thomson
Z3RiN
TimMulholland
lushdog
Derek Nedelman
Only Title

SimonJohns's Q&A profile

  • Software Development for Windows Vista Cancelling Workflows Spawned From InvokeWorkflowActivity

    It seems like there must be some way to cancel workflows spawned from an InvokeWorkflowActivity. I currently have two sequential workflows set up such that one workflow performs a set of intialization activities and then at some point, in a ReplicatorActivity, I execute an InvokeWorkflowActivity for a given number of times. The InvokeWorkflowActivity operates asynchronously such that as soon as it executes, it completes (does not wait for spawned workflow to complete). Once the ReplicatorActivity finishes, I have a WhileActivity with a HandleExternalEventActivity which receieves notifications from the spawned workflows that they've completed. In some scenarios, though, let's say only one of the spawned workflows needs to comple ...Show All

  • Smart Device Development Custom Control doesn't invalidate original drawing area when resized

    Hello, I'm having a problem anchoring and resizing custom controls on Windows CE 5.0. For testing purposes I created a simple custom control that overrides OnPaint and draws a border. The issue is that when I resize the control, either programmatically or by using anchoring, the original region of the control isn't updated. If the control is docked, the entire drawing region updates correctly. Does anyone know why this is happening I'm using CF 2.0 SP1. Chris Invalidate does nothing else as instructing the OS to redraw the window. Search the forums for 'invaildate' for a more detailed answer. I'd suggest that you test your custom control on a Windows Mobile 5.0 device (Emulator would do as well) to se ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. UI Development with XNA?

    I'm interested in building a "windows" user interface into my XNA game, however, I'm not finding a whole lot of tutorials or code samples on how best to do this. I want to draw a sprite on the screen, say one that mimics a window, and allow the user to drag it around the screen and resize it when they are on the borders. I've got the dragging feature working by simply polling the mouse coordinates inside the Update method and checking if it's within the bounds of my sprite's rectangle, but I'm not sure if this is a good method or not I figure this is something that has been done many times before so there is probably a "best practice", but I can't seem to find anything on it for XNA. I'm really just looking for confirm ...Show All

  • Windows Forms Tab control and invisible controls

    Is there a way to stop the tab control from making the controls invisible and unbound when tabs are changed ...Show All

  • Visual C++ place for code

    maybe this is a stupid question, but I have started microsoft visual C++ today (c++ itself also for the first time) and i dont know where to put the code. i'm making the program hello world, but it doesnt work it asks if i want to 'build' the programm and i dont know what it means. i named the program hello and i put the code in the place where it says: hello.cpp is this the right place if so, what am i doing wrong this is the code: // hello.cpp : Defines the entry point for the console application. // #include "stdafx.h" int _tmain( int argc, _TCHAR* argv[]) { return 0; } #include <iostream.h> int main() { cout << "Hello World!\n" ; return 0; } ...Show All

  • Visual C++ Grid Control

    Hello All, i want to use a Grid control in Visual C++ Application. My purpose is to display some fileds in saparate columns of Grid and to change the appearance of grid cells at a particular values of cells fields. i didn't find any grid control in control toolbar in VC ++. How can i do it Thanks and Regards Munish Gupta pintu* wrote: or you can use a ListControl with report Style. Correct, but will be not so easy to MunishGupta wrote: change the appearance of grid cells at a particular values of cells fields. ...Show All

  • Visual Studio Tools for Office Strange behavior: RichTextBox

    Hi, I am creating a .doc with VSTO2005. My document contains several Controls such as Buttons, RichTextBoxes, ComboBoxes, etc. which are generated at runtime. In some cases, I encounter the problem that a RichTextBox doesn't display the content (text) it should, but only displays a big red cross like this: \   /   \ /   \ When I click into the RichTextBox field (with the red cross in it), the following, weird message appears: “Windows Forms controls have been disabled because the document has been scaled. When zoom is returned to 100%, controls will reactivate.” But actually the zoom of the document hasn’t changed at all! Has anyone already encountered this problem Thanks fo ...Show All

  • Visual Studio Tools for Office How to copy owc's chart to Excel?

    Thanks! owc = Office Web Component. This has nothing to do with VSTO, so it's unlikely you'll find an answer here. Try asking in the following group. And it would help others help you if you give more background for your question. For example: Are you asking about how the end-user can do this, or how it can be done programmatically http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.web.components&lang=en&cr=US ...Show All

  • .NET Development Simulating HTTP Post

    Hello all, i have made an HTML document which allows me to upload a file to a website without actually visting it. I am using C# and i wanted the way i could do the uploading part programatically so that there is no user intervention. I tried using HttpWebRequest and HttpWebResponse classes but in vain. Any method to simulate the file upload is appreciated. Inshort i want the replicate the action of the HTML file below , programatically using C# Thanks for taking your time off and reading this post. Have a nice day/night :) ---------------------------------------------------------------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head><title>RapidShar ...Show All

  • SharePoint Products and Technologies Accessing data in lists and libraries in a state machine workflow

    I'm currently trying to develop a state machine workflow in VS2005. For this workflow I need 2 data sources: data from the current form item for that this workflow was started (it's an InfoPath document in a form library) and data from a specific dataset (can be identified by a specific field in the list) in another list on the website How can I get access to this data I need it for the workflow to identify which user has to get a task assigned next and in the end I need the list to be updated with the results of the workflow. Thanks in advance ;) Hi Uwe82, Not sure about the second point, but for the first, when I did this I did: // Get the form ListItem in the Library SPWeb myWeb ...Show All

  • Windows Live Developer Forums How can I delete articles in "Recent Posts"?

    As title, How can I delete articles I've posted to weblog in "Recent Posts" Thank you very much! ...Show All

  • SQL Server Dynamic FTP Connection

    Hello , I have a table having different ftp url,user name, passwod, port no.I want to copy the file from all the location on my server at. How can I change the connection string/ FTP location for FTP connection manager at rum time in SSIS. Thanks Not sure if anyone will see this, but the disconnect I'm having on this problem is between the script task and the FTP task. The script task is getting data from my DB, but I don't know how to pass that into the FTP task. The package level configurations don't make sense, because the values need to be populated differently each time a ForEach Container scrolls through the recordset. It looks like the "expression" in the FTP task is ...Show All

  • .NET Development Binding My Application to SQL Server 2000 ??

    Hi Firstly many more thanks for any collaboration and help I have the following situation :- I work on a very small text exchange application among clients connected to a SQL Server 2000 database through Windows Forms App. the problem is generally : how I can handle the lost of the connection e.g. : how I can update a field in the database and say hey xxxxx is now offline WHILE I do not have any actual live connections to the Data Source ( think of this lost during to any network problems). But I want to know another important aspect !! in the SqlConnection object we have an StateChange event , O.K I add handler on that event and Stopped the SQL Server from the Service Manager !! the event does not respond If ...Show All

  • Visual Studio Team System TF42056: Object Reference not set to an instance of an object

    I have installed Team Foundation Build on Windows 2003 Standard Edition inside a Virtual Machine running on Virtual Sever 2005 R2. I have confirmed that the Team Build Service is running. When connecting from a client machine and a build is started the following error occurs: TF42056: The build service could not connect to the Team Foundation Server: Object Reference not set to an instance of an object. I have enabled the trace logger at level 4 (the default), and the connection request is logged but no error is written. What would be causing this and where can I look for more ideas Sorry Buck, The contract finished and I'm no longer there. I believe it was caused by the build services account not having privleges in the TFS & ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. the project file '...csproj' cannot be opened

    Hello, I have Visual C# Express, XNA Studio Beta 2, Visual Studio 2005, September CTP of .NET 3.0 and Orcas installed on my machine. I uninstalled XNA beta1, installed XNA beta2. Then I tried opening up a WPF project in Visual Studio 2005. The XNA beta2 installation breaks Orcas and WPF projects. the project file '...csproj' cannot be opened. The project type is not supported by this installation. To fix the problem I had to uninstall Orcas after installing XNA beta2 and then reinstall Orcas. Big pain... Tested this on multiple machines and it does the same thing. Other people seeing this problem What is the cause Travis Hi Travis. Thanks for the report, I'll file this bug. If you find more issues p ...Show All

©2008 Software Development Network