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

Software Development Network >> Troy Magennis's Q&A profile

Troy Magennis

Member List

Jay Longenderfer
Spenceee
vije
GraemeP
shangan
Gorm Braarvig
asmith48
Booge914
Toby Sharp
FatalRanger
imbng
dzimmy
erikkl2000
sandyrae
ab2304
KFitzgerald
day10
mouxaifeong
U_T_A
Mitch5713
Only Title

Troy Magennis's Q&A profile

  • SQL Server How do I quit the package ?

    Hi, I have a main package that drives other child packages and under some conditions in one of the child packages, I decide to quit the whole thing. How do I do this Thx, -chiraj Thanks for responding. What I am trying to do is I will be automating my package and under some conditions, I need to terminate the execution of the whole package. For example. the main package calls several child packages and in one of the child packages, I detect that I need not continue with the execution and I need to do a high level "exit". Not by kicking up a failure code. Just write a message to stdout and terminate the whole execution. How do you do that Thanks -chiraj ...Show All

  • Visual C# Unable to open the physical file"

    I have just completed the installation of Visual C# Express and I am attempting to connect to a delivered SQL .mdf database using the database browser of the IDE. When I test the connection, I'm getting an error that the system is unable to open the physical file and "The Process cannot access the file because it is being used by another process". I do not have any other applications open other than Visual C# Express. I have tried shutting down and rebooting the computer but I still get the same error. Does anyone have any suggestions on how I can around this problem Thanks, Richard . ...Show All

  • .NET Development List User that are on line

    Hi Team I would like to have aspx web page that shows who is on line from the ASPNETDB.MDF file. I think I should be useing the IsOnLine option but I am not shure of the syntex. Can any one help with some code etc. Regards Ron B To do that you need to get a reference to the app's instance of it's MembershipUserCollection by calling the Membership object's GetAllUsers method. Once you do that, just iterate through the collection and check each user's IsOnline property. If you just want the # of people (that is registered users) call  Membership.GetNumberOfUsersOnline(). I don't think there's any built in way to get the total number of users online (registered users + anonymous users not logged on. I' ...Show All

  • Smart Device Development Toggling Network on Motorola Q

    I'm building a Jabber client for the Moto Q and am having issues with the "network" interface turning off on the Q. When the "network" connection is on, my app works fine. When it goes down, I get a "dead network" error. Is there a way with .NET CF to turn the Windows Mobile 5.0 network interface on I've checked the Moto site and can't find any reference to this. Thanks... You could use Connection Manager API to control connections. I believe there’s wrapper on OpenNetcf.org. ...Show All

  • Internet Explorer Development IE 7 Home page

    IE 7 home page goes to blank, cannot set home page, followed instuctions posted on Microsoft web site, did not resolve the problem, any suggestions how to fix this ...Show All

  • SQL Server Solution Explorer drag/drop error?

    I've submitted a bug report for this, but I also want to be sure it's not my own installation. In the solution explorer, when I drag a package (usually accidentally) to another spot in the list, it disappears from the list. If I try to re-add the package, it thinks the original already exists, and names the second one with a "(1)" suffix. I can work around this by moving the original package out of the primary package folder and then re-adding it through solution explorer, but that's a touch cumbersome. I don't really have a question here other than perhaps validation of the issue. Thanks. Here's the bug report if others experience the same issue: https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx FeedbackID=258 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I need to create a mesh from scratch

    Hi Xnacers: I need to create a mesh the from scratch, not load a predefined mesh from an x file using the content manager. I have looked into the ModelMesh and I see that it has Vertex and Index buffers but there is no constructor defined. Is there a way to create a mesh without loading it from a file The code (MDX 2.0) I need to port to Xna is the following. I want to know if this is posible. The steps I used to create a in MDX 2.0 mesh where: //1)we create the mesh mesh = new Mesh (this.device , solidPrimitiveIndexList.Count , solidVertexList.Count , MeshFlags.IndexBufferManaged , PositionNormalTextured.Format); //2) set the vertex buffers using (Graphi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Announcing a new XNA community website

    Announcing a new XNA community website - www.xnan00b.com   So the title says it all; it's about XNA, and it's for the beginner game developer. That is, people just like me who know a little bit about developing with XNA (Ok maybe that's a stretch, perhaps just a "very little bit"), and who want to create our own games. So, I'm hoping XNA n00b will help us along the way of doing just that. By working together in a collaborative environment, sharing ideas, sharing code, and helping each other out.   The site is up and running and here are some of the things you can do right now: Us the Forums Read an XNA related aggregated RSS feed Create an Article Upload and Download files using the File Reposit ...Show All

  • Smart Device Development Performance tool for netcf 1.0

    Hi, How to check the performance of the application developed by netcf 1.0. That is I have to check weather there is memory leak in my application.Weather there is any tool available for this Sorry, no such tools are available for NETCF V1. Consider upgrading to V2. ...Show All

  • Visual C# OpenFileDialog causing thread exception

    Hi, I have a c# project that I originally created in Visual Studio 2003. I recently upgraded to VS 2005 and converted the project. The project works for the most part (compiles fine and runs), but anywhere where I originally called an OpenFileDialog no longer works. If a click a button that used to launch an OpenFileDialog, I now get an error like the following: System.Threading.ThreadStateException was unhandled Message="Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it. This exception is only raised if a debugger is attached to the process." My main method is marked as [STAThread] and I have no idea why OpenFileDialogs no longe ...Show All

  • .NET Development Comvisible object, config files, and classic ASP (How to set local .NET config file for COM Interop).

    We are developing a comvisible object that will be called from an asp page. This object in turn will load other .net assemblies, E.G. Entlib, other in house items, WSE3.0 imp, etc… Most if not all of the assemblies require settings in a configuration file. The issue is I am unsure of how to get my comvisible assembly and the others that it loads to read a config file. 1) Where does the configuration need to be placed 2) Does it need to be named web.config or assembly.dll.config 3) Curiosity question here a. Can it be placed in such a place that each site/vdir calling the com object can have a different configuration file Thanks Wayne Yes, but this ...Show All

  • SQL Server Can't change the name of a OLE DB Source component name

    Hi, I've created an application that create package with a dataflow. The package with the dataflow and the ole db Source was created succesfully but for some reason the name of the Ole DB Source dosen't change programmitcally It's stays with the default name "OLE DB Source". This is very problematic because I want to add another Ole Db source and the package won't load because there will be two components with the same name. Thanks. This is the Code, It's from msdn exmples: Imports Microsoft.SqlServer.Dts.Runtime Imports Microsoft.SqlServer.Dts.Runtime.Wrapper Imports Microsoft.SqlServer.Dts.Pipeline Imports Microsoft.SqlServer.Dts.Pipeline.Wrapper Module Module1 Sub Main() Dim package As Microsoft.SqlServer.Dts ...Show All

  • Visual C++ I want to get the language of the window xp operating system, which function should I use to realize my purpose?

    I want to get the  language of  the window xp operating system, which function should I use to realize my purpose If you can give me one example that will be better. Thank you very much. int GetLocaleInfo( LCID Locale, // locale identifier LCTYPE LCType, // information type LPTSTR lpLCData, // information buffer int cchData // size of buffer ); Regards Sahir ...Show All

  • Software Development for Windows Vista StateMachineTrackingServices missing

    hi i m trying lab but unable to create instance of StaeMachineTrackingServices. i have included all the namespaces but then too not able to get it please help me Make sure you have a reference to the assembly. If you expand the References node in the Solution Explorer you probably see a warning triangle on the StateMachineTracking assembly or it is not present. It can be found under Lab04\Resources\bin. ...Show All

  • Visual Basic Q: Persistent Graphics on Form or PicBox: a real pain!!!

    Hi all, this is kind of a follow up on 2 earlier threads I started. This time the question is a bit more fundamental. It concerns replacement of the persistent graphic methods in VB6 with the Picbox_paint persistent graphics in VB.net. Whatever I try, and whatever help I ask I simply cannot perform the following task: (heavily simplified) I have a VB6 program that reads inputvalues (X and Y) from an A/D convertor. It continuously reads values at ~5 per second and plots them as vectors. Aim is to visualize outliers and get a quick view of grouping of the outliers. I definitely need to implement exacly this functionality in VB.net. After a number of days, millions or even billions of vectors are drawn, with only a few outliers. ...Show All

©2008 Software Development Network