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

Software Development Network >> Matthew Halland's Q&A profile

Matthew Halland

Member List

trucktrax
myheadhurts
Vikash Sharma
sean.e
Gilles Gilles
trillgates
wspencers
JeDiIsBack
Silencer#1
Kathleen Chua
rdrast
Erich Franz
Mark Uniacke
johnfrost
BradR
BringerOD
MattMc3
chefZ
Gidduk
case123
Only Title

Matthew Halland's Q&A profile

  • Visual Studio Modifying environment variables for the VC++ build process

    I'm in the process of adapting an add-in written for VS2003 to VS2005, this add-in (among other things) needs to modify some environment variables used by our build scripts. In VS2003 this was a simple matter of changing the variable from the add-in (calling SetEnvironmentVariable) and the build process would inherit the values from devenv.exe. In VS2005 this no longer works, to me it looks like the build process uses a cached copy of what the environment looked like when VS was started ! Does anyone have any suggestion how I could modify the VC++ environment from within VS I would really really like to do this without having to restar ...Show All

  • Windows Forms Automatic Cells in Datagrid

    Hi! I'm using a datagrid to save same information about materials and its quantity, price, etc and i need to know how to create an automatic cell that calculates quantity * prince right after the user have filled quantity and price field in the datagrid. I need that this 'automatic' cells belongs to the datagrid and also its value be saved into my db. Any idea Thanks Assuming you are binding to a datatable... Create a new column in your datatable, e.g. "ExtendedPrice". Handle the ColumnChanged event of the DataTable, and if the column that was changed was the quantity or the price, recalculate the exten ...Show All

  • Visual C++ What's the most recent version of C++...

    What's the most recent version of C++ that should be used to set up a virgin development environment. The latest version of Visual C++ is Visual C++ 2005 but there are several different flavors of this product (Express, Standard, Professional, Team) and which one is best for you depends on what sort of development you are planning on doing. ...Show All

  • Visual Studio VS 2005 Integration with MSBuild

    Let me ask the question and then provide some background... How much can we customize an initially VS 2005 generated .csproj msbuild project file without "breaking" the VS 2005 <-> MSBuild integration Background... Forgive me if this this overly general question has been answered elsewhere, but I didn't see anything.  I have just recently begun investigations related to migrating our existing NAnt build scripts to MSBuild for when we move to .NET 2.0.  In our current system, we ask developers to maintain the .csproj files and the nant build files.  However, only the nant build files are really important.  Our bu ...Show All

  • Visual Basic drawing lines on form

    Hi, jumping straight in from VB5. First pocket PC app. In old VB, it was possible to draw lines/shapes onto form as objects. now line/circle/etc on toolbox is not there Or do I need to code the drawing of these objects Thanks Simplefi Those controls don't exsist anymore, but look at LineControls sample found here http://www.gotdotnet.com/team/vb/   ...Show All

  • SQL Server joining a table to a user-defined function???

    Suppose I have a SQL Server table named 'gadget'. 'gadget' has an integer field named 'gadget_key', which is the primary key of the table. Now suppose I have a user-defined function named 'udf_gadget_values'. This function takes as its input parameter an integer variable named '@nGadgetKey'. This function returns a table which will always contain exactly one record. This one record has one field named 'nGadgetKey', which contains the same value that was passed to the function in parameter '@nGadgetKey' I would like to join the table 'gadget' with the table that function 'udf_gadget_values' returns kind of like this: SELECT TOP 10 * FROM g ...Show All

  • Visual Basic [vb 2005 expr] Killing a copy-dir process

    Hi. In my VB 2005 express application I make a copy of one remote directory (connected as a net unit) to my local hard disk with this line: My .Computer.FileSystem.CopyDirectory("F:\namedir1", "C:\namedir1", True ) This works inside a backgroundworker thread. When I cancel the thread, the copy still goes on, especially if the source-directory is big (some Gb). I want to stop immediately the copy, how can I do this Is there a way to know what process ID is assigned to that command and to kill it How to kill a My .Computer.FileSystem.CopyDirectory command The killing will be inside the background_cancel event. Moreover I noticed that ...Show All

  • .NET Development e Proxy AutoConfiguration Issues.....

    I am having some difficulties getting connectivity to external web sites through a proxy server using .Net Framework 2.0.5727 with Visual Studio 2005. I am also noticing that the same problem exists in the Microsoft Document Explorer, returning the error "Unable to connect to the remote server" for MSDN Online, Codezone Community & Questions search locations. The documentation suggests that the proxy should be automatically configured (unless configured otherwise) to use the IE settings. I have checked the app.config and machine.config and there are no entries specific to proxies (other than the initial settings in machin ...Show All

  • SQL Server Where is the package running?

    When I ran a package directly on the machine with sql 2005 installed it ran at a fine speed. But when I used Remote Desktop to access the same client and run the same package it was much slower. 1. I think that the package is running in the memory\cpu of the local machine. Is this correct 2. Is there any way for the remote client to run the package in the server's memory\cpu TIA, barkingdog How do you run the package If you use DtExec, or DtExecUI, the package runs on the same machine when this process runs (actually inside DtExec[UI] process). ...Show All

  • Visual C++ Getting popup CMenu item height

    This should be a simple question, but I need help finding the answer: How do I figure out how many menu items will fit on the screen per column in a popup menu before I call CMenu::TrackPopupMenu() Easy Answer: Get the screen height and the menu item height and divide. Screen Height: ::GetSystemMetrics(SM_CYSCREEN) Menu Item Height: I've tried ::GetSystemMetrics(SM_CYMENUSIZE) and ::GetSystemMetrics(SM_CYMENU) but they give incorrect answers. Does anyone know the correct function to call For example: My screen is 1050 pixels tall (::GetSystemMetrics(SM_CYSCREEN) = 1050) By trial and error, I've determined that a maximum of 61 items c ...Show All

  • Windows Forms Databind the selected row in a DataGridView

    Hi All, I wonder if it's possible to databind the selected row of a datagridview to a business object. (like it's possible with a dropdownlist) I use a datagridview to let the user select the right product to purchase. Now I put the selected row on the SelectionChanged Event in my object, but I don't like this to much... Any suggestions Thanks, Simon Nice, Thanks a lot, I will let you know how it went this evening... Right now I'm developping some JAVA apps :) Simon ...Show All

  • Visual Studio Adding support for a new language

    Hello! Can someone provide me with a (really) simple project that allows me to call an external compiler when building a custom made project I'd like to extend Visual Studio so that it supports Matlab .m files using the new MathBuilder.NET. Thanks. Hi Shaka, I would recommand taking a look at the IronPython sample in the VS SDK. More specifically, the Project and CompilerTask parts. You can also compare the IronPython project to the C# Project available in the Archive directory to see what are the differences as it may help you understand what may be specific to IronPython and see what would als ...Show All

  • Windows Forms c# Dynamic DataGrid Binding...

    say u hav 13 rows of data and u'r pagesize is 10 so when you click next page it will show the remaining three but when you click back to page 1 the first 3 rows are not shown instead the last 3 rows are there. Here are my codes. //web page private void Page_Load(object sender, System.EventArgs e) { DataGridConstructor dGConstructor = new DataGridConstructor(); placeHolder.Controls.Add(dGConstructor.GetDataGrid()); if(!IsPostBack) {} } //c# lib public class DataGridConstructor { //set connection attributes here private const string _dbName = "database/irri.mdb"; privat ...Show All

  • Software Development for Windows Vista WinFX Architecture problem

    I am having a problem whilst developing my first WinFX app, I was wondering if somebody could help me. i have developed a WinFX window application which contains 2 frames. In Frame 1 I load in a separate WinFX page, which contains a list of Hyperlinks. The idea is that when a user clicks on a Hyperlink, the appropriate content page gets loaded into Frame 2. When a hyperlink is clicked within my child page, I am unsure how to bubble this event up to the parent Window. because it is the parent Window that contains the frames, and not the WinFX page that contains the HyperLinks. I am also unsure about how to achieve this via a HyperLin ...Show All

  • SQL Server Using AMO to manipulate cube calculations

    We have a cube with a bunch of calculated measures that were defined using BI Studio. I'm now looking at using AMO to manipulate the calculations (enumerate, modify, add, remove, etc). But what I see in the AMO object model is one MdxScript object with one Command object. That Command object has one very large Text property, with all of the calculated measure definitions munged together in one giant string. Not too easy to manipulate programmatically. Is there anything that I can do to make this easier to deal with Or is this just the nature of the beast with calculations, and I need to munge around in the giant script Is there some best pra ...Show All

©2008 Software Development Network