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

Software Development Network >> Matt MacDonald's Q&A profile

Matt MacDonald

Member List

class
AlexDcosta
dink.iiit
smartpi
DegreeZ
Totip
Dave Gurr
jchau
Alan Jr
cwolf
Shihan
herbjörn
Abhishek bhadouria
Davids Learning
Dj4Killer
Mortsdeh
Maeestro
saarar
Prateek_cds
MffM
Only Title

Matt MacDonald's Q&A profile

  • Visual Studio Express Editions Project help needed

    Hi people I have this project that I have being messing around with and I am trying to display the Randomgenerator in two labels any ideas   Private Sub displayButton_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles displayButton.Click 'generates and displays six unique random 'numbers 1 through 6 Dim numbers(1) As Integer Dim subscript As Integer Dim searchSubscript As Integer Dim randomNum As Integer Dim randomGenerator As New Random Dim isFound As Boolean 'gernerate the first random number,and 'store it in the first array element numbers(0) = randomGenerator.Next(1, 6) 'fillremaining array elements with un ...Show All

  • Windows Forms Customize User Interface for extra Input

    Hi, Does anyone know how to customize the Setup project to receive the Input from user, such as: License key, the key will needed to be checked upon input. Configurations, that will be saved as default setting. Option to install or not one or more extra project (maybe we have 2 projects, 1 is main, but the other is optional to install) I'm not asking on how to do the license key algorithm, how to write config file. But what i want to know is how can i customize the Setup project so that it can create those extra form and accept those inputs, process the inputs as the result of the installation Though i can add dialog in the User Interface View, i still don't get it, where to costumize so that i can check user input. ...Show All

  • Visual Studio Team System System.ChangedBy populating with "currentuser" prior to save.

    Using the predefined system fields, I would like to add on who created the work item, date of creation, the last person to modify it, and when the last modifications were made. This is not a problem .. or is it It seems that System.ChangedBy is being populated with the "currentuser" who is viewing the work item regardless if he/she has made any changes rather then the the last user who commited changes to the system.  System.ChangedBy is updating PRIOR to the save and commit. Interesting enough the field System.ChangedDate is not being populated with the current date that the work item was opened, but rather when the last changes were commited.  The System.ChangedDate updates AFTER a save but prior to ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How make a DirectX app runs on Windows Forms (using C++)

    Well, i'm making a simple directX application based on my studies on this book Introduction to 3D Game Programing with DirectX 9.0 , the problem it's how i make the scene created runs inside a windows form to be more clear, i'm trying to render my scene inside a form but don't know how call a specific function to do that. Another thing, the code i'm posting here create by itself a window and i know that to runs on windows form i'll need erase thoses line of code, 'cause that i needed know how do that using a windows form. I'm using native C++ language and the code of the program i trying to run is down below. Thanks for any help (i really need do that). xfile.cpp #include "d3dUtility.h" #include <fstream> #include ...Show All

  • Gadgets SetPreference does not always work?

    I never had this problem before, but in my latest gadget it seems that setpreference does not always work! Has anyone else had this happen Or know why! Thank you in advance My code is straight forward so I don't know what I could be doing that would make it only work most of the time function updateinfo(){ m_module.setPreference( "feed" , feedinput.value); m_module.setPreference( "num" , numinput.value); refreshContent(); Just a guess: The amount of space for saving preferences is limited. You can store about approximately 1000 chars at this time. Maybe you went over the limit ...Show All

  • Visual Studio Tools for Office Error on Visual Studio Tools for Office "v3" install

    Hi everyone!!! I was really excited with the release of the "v3" June CTP, and i directly go to download it, follow the instructions and then an error raised saying this: "Error 1937.An error occurred during the installation of assembly 'Microsoft.VisualStudio.Tools.Applications.Contract,Version="8.0.0.0",PublicKeyToken="b03f5f7f11d50a3a",Culture="neutral",FileVersion="8.0.50727.146",ProcessorArchitecture="MSIL"'. The signature or catalog could not be verified or is not valid. HRESULT: 0x80131045. " Well, I think: "Maybe the in the download something goes wrong, let's try again getting it one more time!!", it was not one more time, it was 3, 2 with and ...Show All

  • Visual Studio Team System Where can i get this profiler?

    I have VS 2005 - where can i get the profiler for it is it an add on free in a SP Thanks. Hi, Which edition r u using i think ..you can get the profiler in Visual Studio Team Edition for Software Developers...check out. i hope answered your question. Thanks, Kathir ...Show All

  • Visual C++ Can't add a function by mapping a Windows message using the ClassWizard

    Hi, I failed in mapping a Windows messge such as OnCreat in my View class using VS 2005 ClassVizard. An error message saying "Add/remove operation is impossible, because the code element 'xxx' is read only" appears. Please help figure out a solution. Thanks. Jason First, OnCreate is not a Windows messge; WM_CREATE is a Windows messge. That is probably not relevant to the problem, but use of proper terminology can avoid confusion. Second, check to ensure that the .h and .cpp files are not read-only and that you have write-access to them. That is the first thing I would check if I got a message such as the one you are asking about. ...Show All

  • Software Development for Windows Vista Hide the header and footer of SequentialWorkflowRootDesigner

    Hello, I am trying to hide either the header and footer of the SequentialWorkflowDesigner. I inherited my designer from SequentialWorkflowRootDesigner and set the Header property to null: protected override SequentialWorkflowHeaderFooter Header { get { return null; } } Doing that the start icon disappear. It is like the content of the workflow is pushed up to the designer. If I do the same with the Footer protected override SequentialWorkflowHeaderFooter Footer { get { return null; } } I get an "Object not reference exception". How can I hide both header and footer Thanks Have you tried creating your own header and footer (derived from SequentialWorkflowHeaderFooter) and re ...Show All

  • Microsoft ISV Community Center Forums How To Open A File On Another Computer On A Home Network

    I need some code to use the OPEN statement. The file I want to open is on another computer on my home network. Anyone know what the file string should look like Thanks The basic format for a local/remote resource is "file:///" For example, if you're looking to browse the directory "C:\TEMP\", you'd use the path "file:///C:/TEMP/". ...Show All

  • .NET Development performance issues in typecasting reference types to Object types

    Hi, Can somebody throw light on how CLR runtime sees the reference type conversions to generic types through object type say, i have the following code: To keep the structure as generic as possible, i have to resort to typecast the concrete reference types to object and then to the return generic type. As we know it, specialization of the following generic class is defined only at run-time, i'm wondering if it would involve.cause  any performance penalties or a memory overload during the series of typecast conversions Basically i would like to know how CLR internally treats the typeconversion from a specific reference type to object type as this would not follow the route of type conversion from primitive types to o ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Video/Animation Playback

    Hi, I'm currently writing a library (for XNA/DirectX) for animation/soundless video playback, and I have a few design questions for the pros out there if you don't mind answering them : I'm having my animation class inherit from game component, and update the frame depending on game time in the overriden Update method, and render it in the overidden Draw method, but even when I preload my textures to render, playback is choppy. Not sure exactly why, but I notice this only when I have significant number of frames (I noticed it with 100 frames, but *not* with 10/15). This problem may be linked and solved by the 2nd point, so please read on. When I preload all the textures for the frames in the animation (and the no. of frames ...Show All

  • Visual Studio Team System Can't Manage to execute DTS Package in ASP.NET

    I have a very simple DTS package which export a table into a text file. Running the package from Entreprise Manager doesn't cause any issues. However, when running the package from ASP.NET code, the code is being executed with no error but the objDTS.execute doesn't not sent the txt file. I am using the same userId, password as in Entreprise Manager. Please help!!! In your reply, please considerer that I do not have the admin rights. Thanks in advance. Here is the code I use: Imports DTS Public Sub btnExecutePackage_Click ( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExecutePackage.Click Dim objDTS As New DTS.Package T ry objDTS.LoadFromSQLServer("btn000136414&quo ...Show All

  • Visual Studio 2008 (Pre-release) How to maintain data consistency?

    Our server application performs transactional table updates to maintain data consistency. Synchronization framework, however, enumerates inserts, updates and deletes in separate queries, so it is possible for server application to perform several updates inbetween, which leads to inconsistent data on the client (to simulate this you can insert a delay into SyncProgress event handler). Is there a way to command framework to lock tables during synchronization Excellent question, Alex! True, using timestamp could miss changes due to lingering transaction on the server. One solution to this problem is exactly what you suggested which is locking the table while sync is in progress. You can edit Sy ...Show All

  • Visual Basic Selected Value in ComboBox Populates DataGridView

    'I need assistance on how to Load the GridView By selecting a value in the ComboBox '1. ComboBox is loaded with Satellite SCC #s' From SQL Server 2005 Express '2. The DatGridView is loaded with signals that correspond to the Transponders on the Satellite From SQL Server Express 2005 'The GridView also contains the Satellite SCC #s'. '3. I need the GridView to only load the Signal that Matches the Satellite SCC #s' that are Selected from the ComboBox. '4. So when you click the SCC # in the ComboBox, it will search the Signal Database Table for all the matching 'Satellite SCC #s' and then load the signal information into the GridView. DataBase: SQL Server 2005 express Language: VB.NET 2005 FrameWork: .NET 2.0 Imports System ...Show All

©2008 Software Development Network