Software Development Network Logo
  • Visual Basic
  • VS Team System
  • Windows Live
  • Architecture
  • Microsoft ISV
  • VS Express Editions
  • Windows Vista
  • Visual J#
  • Visual FoxPro
  • Windows Forms
  • Visual C#
  • Visual Studio
  • .NET Development
  • Smart Device
  • Game Technologies

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

JohnMcKenzie

Member List

irnbw
anomolous
Subramanian Veerabadran
Joe_Elwell
fanzhen
szelee
selap
RKN_India
Shlomi Meoded
dcboy
onskee
Suma Sushilendra MSFT
G72
Kabron
rvghst
Zulfiqar
db9
Richard Arnoldx
Sarath25177
the_Djinn
Only Title

JohnMcKenzie's Q&A profile

  • Windows Forms General Question

    How do you declare or where would you declare a global variable that all forms in the project can read/write to   Right now, I'm using an XML file to store that value.  Thanks! The Shared keyword does not affect the lifetime or visibility of the variable (that is, the answer to your question is No.) The Shared keyword makes  ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Unit size

    Hi, I don't understand how to define units in my model and world space. I have loaded a mesh, and if I don't scale it down it is very large. When I modeled it in a 3d modeler i modeled it to be about 50cm X 50cm X 70cm. When I load in the mesh it is very big. I want to define it so that 1 unit = 50 cm. And the screen is about 10x10 units. How can I do this I you don't understand my question, please tell me and I will try to explain my problem in greater detail. To clearify a little... What I think I wan't to do is to scale down my mesh just after loading it, instead of scaling it on every frame render. How ...Show All

  • Software Development for Windows Vista Ignored breakpoints in the designer

    Hi there I've got the same problem as already discussed here , but without an answer for me, because my workflow is within the application an not in a class library. I created a "Windows Workflow Console" application with a sequential workflow with code separation and added a code activity which prints "Hello World!" to the console (Lesson 1 in the Hands on Labs). I set a breakpoint on the code activity in the designer, but when I'm running the app, the breakpoint will be ignored and marked with a red circle and an exclamation mark. But if I'm putting the breakpoint into the code itself it works fine, only the desig ...Show All

  • SQL Server Watermark Generation is Invalid Error

    We are currently doing a proof of concept using SQL 2005 merge replication.  However we are currently encountering the following errors: "The common generation watermark is invalid at this replica since it does not exist or metadata for changes not yet propagated may have been cleaned up." " The merge process failed because it detected a mismatch between the replication metadata of the two replicas, such that some changes could be lost leading to non-convergence. This could be due to the subscriber not having synchronized within the retention period, or because of one of the replicas being restored to a backup older than retention ...Show All

  • Smart Device Development List Control

    hi, how do we add a row dynamically to a list control in evc++ any links to the tutorials for list control in evc++ Hi, Are you talking about CListbox if so you can read about it here: http://msdn2.microsoft.com/en-us/library/y04ez4c9(VS.80).aspx I use AddString. If you aren't using MFC and you aren't on a Smartphone (no MFC support) I suggest moving to MFC. It makes life way easier ...Show All

  • Visual Studio ProjectNode.Build override

    I've looked at a number of different methods for knowing when a build for my specific project completes. I added this code to my ProjectNode class: public override MSBuildResult Build( uint vsopts, string config, IVsOutputWindowPane output, string target) { MSBuildResult buildResult; buildResult = base .Build(vsopts, config, output, target); if (config == "Release" && target == null ) MessageBox .Show( "Done Building" ); return buildResult; } This seems to work, as the base.Build method calls into my Task class and doesn't return until it's finished. Is this a rel ...Show All

  • SQL Server 0xC0010001 with Parameterized OLEDB Source

    I am trying to call a stored procedure as part of my OLEDBSource.  It takes two parameters.  @StartDate datetime and @EndDate datetime. I define the SQLCommand in the OLE DB Source as: sps_MyFoo , I then click the parameters button and fill in: @StartDate      User::ChangesSince @EndDate         System::StartTime I have confirmed both of these variables have values before I hit my OLEDB Source. I get this error message however: Error: 0xC004701A at Foo, DTS.Pipeline: component "OLE DB Source" (222) failed the pre-execute phase and returned error code 0xC ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Basic Menu system

    Im developing an app using directx (direct 3d). I have to use directx because the interface moves quite a few pictures around, resizing them at the same time, and the GDI just doesnt cut it. I am able to create a simple display with a background picture. Does anybody have any simple, note simple not the sample framework from the sdk, that I could take a look at for buttons and listboxes Im writing the app in VB .net but i can read C# so that works as well. Any samples or ideas on where to start thanks, the code was fairly simple, a lot of stuff i dont need but that was easy to cut it out and modify it to do what i needed. and then i wr ...Show All

  • Visual Basic Pass a TreeNode argument ByRef or ByVal?

    I used the following code to add a child treenode under a parent treenode, when passing the parent treenode by reference, after adding the child treenode, the selected treenode changed back to the parent node instead of the child node, after I changed the parementer from ReRef to ByVal, after adding the child node, the selected node stays at the added node, which is what I want. But I still do not understand why byRef does not work, as far as I know, for object type, passing byRef or byval should be the same Am I wrong  Public  Sub AddNode(ByVal oTreeParent As TreeNode)     Dim oParent = oTr ...Show All

  • .NET Development Checking for Duplicate Records First

    I am updating a tempory database table with a file. Once i have read it into the tempory table, i want to update the master table, but only for new records IE, each record has an account code, which is unique. The first time the master table is updated there will be no problems, as there won't be any data in it already. All future updates, will require that they check there isn't an existing record with the same account code. Basically Update Table1 from Table2 where table1.accountcode not = table2.accountcode i don't know if that makes sense. Can anyone help me please. A slick solu ...Show All

  • Visual Studio Team System Correct steps to add users to team project

    Hi, this may be documented, and if so, I would appreciate your telling me where; to add users to the project so that they can be assigned work items what are the correct steps Thanks, Barton You can find a set of walkthroughs for Team Foundation on the following MSDN page. http://msdn2.microsoft.com/library/ms181232(en-us,vs.80).aspx Buck ...Show All

  • Visual Studio Express Editions Can't download

    When I try and download "Visual Basic Express" I go through the setup, then it calculates the speed, at 0kb, and then does nothing. I already tried turning off my firewall and still didn't work. What can I do I have now tried and disabled the antivirus, and I could download .net 2.0 but not visual basic. you can download a copy from http://msdn.microsoft.com/vstudio/express/support/install/ ...Show All

  • Windows Forms .NET 1.1 Project With File-Based Reference To A .NET 2.0 DLL Not Working

    All-- Please help I have a design that requires that a given .NET 1.1 WindowsForms client application must include a file-based reference to a DLL that was built with .NET 2.0. Unfortunately, I cannot get it to work. The VS.NET 2003 IDE will simply not let me add the reference. Ug. I have tried several tests, detailed below, but I have yet to find an answer. Can it be done If yes, then how can it be done If no, then what is the work-around What do you think Please advise. ------------------------------------------------------------------------------- Overview: In in a .NET 1 project, try adding a file-based referen ...Show All

  • Visual Studio Express Editions Ascii through com-port

    Hi, I'm (very) new to VB Express but have some experience with VB. (Learning edition) I'm working on a project in which I'm communicating with a Serial device (an electronic payment system with a key). In VB I'm using the manufacturer's dll files to communicate with the key reader but it is also possible to send ascii codes. Is this possible in VB Express For example : To read out how much money is still on the electronic key (in the RS232 reader) I need to send out the following code {1,2}63 this is in hexcode 7b 31 32 7d 36 33 (the 36 33 is the checksum of 31 and 32. As an answer I get the value of the key (being 42.50 Euro) : 0 0 0 0 4 ...Show All

  • Visual Basic Tabbed Browsing in VB .Net

    Hi, I have a question regarding tabbed browsing. I am writing my own custom web browser in vb .net studio 2005. I can create, dynamically at runtime, additonal tabs on a tab control, which will - in each - have a dedicated webbrowser control. So what will happen is 5 search engines will be searched and the results be placed in seperate webbrowsers under 5 dynamically-created tabs. The user can then tab throw each set of results. The problem is, I cannot crack for the life of me the creation of the dynamic webbrowser controls in line with creating the tabs. I will need to send a URL to each webbrowser too, to show the resulting searc ...Show All

©2008 Software Development Network