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

Software Development Network >> Laura Cavanagh's Q&A profile

Laura Cavanagh

Member List

kimberst
G.G.
ykgreene
SimHrdy
percent20
MochaSoft
Jason Hogg
Uri S.
cloudycity
Timo S
Jurgen Postelmans
Mamun
GKM
Virtuss
Bladergr
Kevin Farlee
projecttoday
jaspalkaler
Faber
cwg216
Only Title

Laura Cavanagh's Q&A profile

  • Windows Forms Dynamically switching queries and databases

    I am using VS2005 and am able to bind a complex query to a DataGridView at design time. What I ultimately want to do is: (1) Select a named query from a drop-down box then reconfigure the DataGridView for the appropriate number of columns and repopulate with the new query. (2) Select a database from a drop-down box and refresh the DataGridView with data from the new database. (Assume I have created the appropriate DataSources.) I see where the query is stored in the _commandCollection of a TableAdapter (and in the xsd file) but I do not find public access to those. As far as the DB connection, I see references in Settings.Designer.c ...Show All

  • Visual C++ 2D CArray

    The CArray allows you to do this typdef CArray<CPoint,CPoint> POINTS_ARRAY This creates a one dimensional CArray as far as I can tell. What i would like to do is add a CPoint and integer to a CArray (in other words 2D dimensional). Anyone know how to do this and before you say it, i cant use the index instead of the int. Thanks Will Hough wdhough wrote: The CArray allows you to do this typdef CArray<CPoint,CPoint> POINTS_ARRAY This creates a one dimensional CArray as far as I can tell. What i would like to do is add a CPoint and integer to a CArray (in other w ...Show All

  • Visual C++ .Net Framework

    Hi, I have an application which I did not originally create.  I develop it using Visual Studio 2003 - Visual C++.net.  When I click on the configuration manager for my solution I can see that this platform, for said application is "Win32".  I didnt think this was the case since my work (code) is developed compiled and run correctly using visual studio.net. Then i created a completely new project, visual c++ and chose the option "Windows Forms Application".  Once this had set itself up I checked the configuration manager and it also told me "Win 32".  Then I added a new project but this time in C# call ...Show All

  • Visual Basic Detect and STOP shutdown in a VB.net 2003 Service

    Howdy folks, I believe I may have found the one thing that’s impossible to program (without "cheating"). I'm using VB.NET 2003, on a winXP Pro machine. Here's what I'm trying to do: Using a service without a GUI, I'd like to detect when Windows is shutting down, restarting, or logging off. I need to differentiate between shutdowns, restarts, and log offs. As soon as one of these actions is detected, I need to cancel/postpone it, do some tasks (which may take awhile), and then resume the shutdown/restart/log off. This must be done with a service, using no windows or GUI. That means n ...Show All

  • Visual C++ set_terminate doesn't work (VS2005 beta 2)

    I have a program which is generating an exception somewhere and terminating, but I don't know where.  In order to find our, I added a call to set_terminate(), but it doesn't work.  To test it, I am doing this: set_terminate(TerminateHandler); throw "Test"; I understand that set_terminate does not work if the process is being debugged (which is very impractical and frustrating, BTW), so I am testing without the debugger present.  When I run my program, I get a message box like this at the point I call throw: Microsoft Visual C++ Runtime Library Runtime Error! Program: This application has requested the Runtime to termina ...Show All

  • Windows Forms need to pass variables between custom actions

    I can pass public variables into a custom action via the command line. How can I pass either old or new variable information back into the installation process for another custom action to make use of I am dealing with logins and passwords. You're kind of stuck. By the time you're running custom actions it's too late to create new properties and pass them to later custom actions (and you can't do that with Installer class custom actions anyway). When Visual Studio-generated custom actions are running, public properties are pretty much finished with (I'm avoiding a long tedious explanation) and that ...Show All

  • Visual Studio 2008 (Pre-release) run asp.net pages

    I have visual studio 2005 install in my computer and I have windows xp, IIS(I can run asp pages but not asp.net) When I try to execute asp.net pages I get this error.. A name was started with an invalid character. Error processing resource 'http://localhost/net/a.aspx'. Line 1, Position 2 <%@ Page Language="VB" %> -^ Can you help me   Do you have ASP.Net extension enabled in IIS   You can find out this information from IIS Manager (inetmgr.exe).  Navigate from your local computer tree node down to "Web Service Extensions".  Make sure "ASP.NET vxxx" is in "All ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. VC++ 2005 beta 2 and directx9 = screen corruption?

    Hello, I am new to the forum and I am having the strangest problem with compiling directx... Things will compile fine and run fine for a while, generally about 30 min of active running...then strange artifacts will begin to appear on the screen, first little shimmers, this is just in the directx window mind you, then the whole window will be covered in a haze of short vertical blue lines. Then, when I close the window, it will spread to the entire screen and dramatically distort any geometry in subsequent runnings.  Shutting down does not make a difference, the lines appear regardless of the screen mode and are to scale with the scree ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. .X Export a simple Maya model

    I've made a model in Maya 6.5 that is a simple temple with a texture applied to it. I have the .X exporter installed however I can't get the mesh to show up correctly in the Mesh Viewer. The mesh shows up pitch black and I can't see any texture applied to it. Is there a way to export a simple textured model from Maya without using shaders and effect files I'm using the June 2005 SDK. Well, I can get the texture to show up but there are some problems. When I export a mesh that only has 1 texture/material applied to it, the .x file lists 2 materials: Material { 0 . 800000 ; 0 . 800000 ; 0 . 800000 ; 1 . ...Show All

  • Windows Forms add reference to ocx in IDE vs aximp.exe

    Thanks to a hint from Mike Harsh (http://www.windowsforms.com/Forums/ShowPost.aspx tabIndex=1&tabId=41&PostID=2427), I was pointed to using aximp.exe when trying to embed my activex controls programmatically into a winform. The purpose of this is to create the wrapper to the activex control in advance. I am not at home and without my many .net books to answer this question,  ...Show All

  • SQL Server Function with CASE Statements

    Hi, Uses: SQL Server 2000 + Winxp PRO; I Created a Function as below: <CODE> CREATE FUNCTION [GetDestinationOperator] (@Dest VARCHAR(24)) RETURNS VARCHAR(15) AS BEGIN DECLARE @Op VARCHAR(15) SET @Dest = RTRIM(@Dest) CASE LEN(@Dest) WHEN 13 THEN SET @Op = 'IDD' WHEN 10 THEN CASE SUBSTRING (@Dest , 1 , 3 ) WHEN '071' THEN SET @Op = 'MOBITEL' WHEN '072' THEN SET @Op = 'CELTEL' WHEN '077' THEN SET @Op = 'DIALOG' WHEN '078' THEN SET @Op = 'HUTCH' ELSE SET @Op = 'NATIONAL' END WHEN 7 THEN CASE SUBSTRING (@Dest , 1 , 1 ) WHEN '2' THEN SET @Op = 'SLT' WHEN '4' THEN SET @Op = 'SUNTEL' WHEN '5' THEN ...Show All

  • SQL Server NS 2.0 SP1 Install Problem

    What could cause the NS 2.0 SP1 installer to think that a qualified version of SQL Server 2000 is not installed and available   I'm trying to install NS 2.0 SP1.  The current config is: - Windows 2003 Server (Standard Edition) with SP1 - SQL Server 2000 (Developer Edition) with SP4 - Analysis Services 2000 (Developer Edition) with SP4 - Reporting Services 2000 (Developer Edition) with SP2 - Windows Sharepoint Services 2.0 with SP2 - Office 2003 with SP2 I've tried the NS 2.0 SP1 install for both Enterprise Edition and Standard Edition.  If I try to install the database components, both report that no qualified version of SQL S ...Show All

  • .NET Development Adding a row to a child table

    We have a DataSet with parent/child relations set up. We have a BindingSource and a BindingNavigator configured for each table. When we use the BindingNavigator for the child table to add a new record (click the Add button...) the foreign key value in the child table is not getting filled in. When we call EndEdit on the BindingSource we are getting an exception because this field does not allow nulls in the DataSet. The relationship between the tables is just like Order/OrderDetails where the OrderDetails table has a PK column (OrderDetailsID) and an FK column (OrderID). First of all, if we have things configured right between the tables the ...Show All

  • Smart Device Development WebReference Change Static to Dynamic Setting not working

    I have a Web Reference in my code in which I want to change the URL Behavior from static to dynmaic.  When I do so nothing happens. I look in the app.config file hoping to see the url reference and nothing has changed. I also have checked the reference.vb file and it still is hard coded and not referencing the app.config file. Anyone know what is going on   Exactly my point. I go from test to quality to production enviornments and all of them have different addresses. I have 2 webservices so that 6 different things I have to change. I really wish they would have made it dynamic. ...Show All

  • Visual Basic Upgrading Studio 2003 to 2005

    I've been successful getting my app to compile and run. Now I want to get rid of some warnings. I have a few warnings that I am using obsolete functions - ConfigurationSettings.GetConfig, for example. When I try the recommended alternative - System.Configuration.ConfigurationManager.GetSection - Intellisense acts like it never heard about ConfigurationManager. I think it's a 1.1 vs 2.0 framework issue but I don't know how to resolve it. Thanks System.Configuration.ConfigurationManager lives in System.Configuration.dll. Have you added a reference to this assembly Best regards, Johan St ...Show All

©2008 Software Development Network