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

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

RBowden

Member List

Thomas.Goddard
Chris Honcoop
adorer
Eslucafe
DFX1212
IS dude
Morrissey99
TheViewMaster
IamHuM
StarPilot
Linda Call
.net sukbir
Karin3299
Matt_
Dr.Virusi
Jerod Moemeka
Darril
KalyanPushpala
ctssoms
csLearner
Only Title

RBowden's Q&A profile

  • Windows Forms OnClick preceding OnEnter

    VS 2005 / XP Pro -- both with all service packs It is my understanding that the OnEnter event should precede most (all ) other events for a control but... Our application has a form on which is a Tab-control. We load a number of controls dynamically onto this Tab-control -- ComboBoxes, CheckListBoxes, and TextBoxes. We haven't checked all the Tabs, but on at least one of the Tabs the OnClick/OnMouseClick event precedes the OnEnter event for the ComboBoxes and CheckListBoxes (but not the TextBoxes). Controls that are added at design-time on other Forms' Tab-controls have the events fire in the expected order -- OnEnter and then OnClick/OnMouseClick. Is my understand of the sequence of events erroneous or can someone g ...Show All

  • .NET Development CAS declarative security

    How come it is not possible for an otherwise fully trusted assembly to refuse some permissions (declaratively) without loosing it's full trust status Not quite: When IIS5.0 tries to load my SOAP service (if I, say, rebuild the assembly that implements the soap service after having added just 1 of the refusal-options and have IE7 look up the corresponding URL - eg http://localhost/MyWebService/MyPage.ashx ) the above exception is thrown before I can get my hands on a breakpoint inside my own code. I assume it happens as aspnet_wp.exe tries to load the appdomain for my soap service. I guess that one of the assemblies that IIS5.0 uses is partially trusted (even though, as far as I can tell, both System.Web.dll and System.dll are full ...Show All

  • Windows Forms Unable to use CreateObject in script file during install

    Folks, I have a custom action in my install which runs a script file. The install copies over a cab file to the machine and I need a way to decompress it into the install directory. I have a simple 2 line windows script file to do this. The script runs fine on my dev machine when run standalone and on the target machine when run standalone. However when it runs as part of the install it fails. Error 1720. There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action _CF77C20C_AAC1_4A22_9556_08E9E38F4B7C script error -2146827864, Microsoft VBScript runtime error: Object required: 'Wscript' Line 1, Column 1, === L ...Show All

  • Visual C++ Interop Problem - Managed C++ Wrapper Not Working Properly

    I like most people have a couple C++ .lib files that I need to be able to call from C#. Therefore I am writing a managed C++ Wrapper class that has methods to call the functions I need. In the libraries I have several functions (not class functions) that I need to be able to call. When I call one of these functions I get a "Unhandled Exception: System.NullReferenceException: Object Reference not set to an instance of an object at get_customer(CustomerResult*, Int32)" This get_customer method has a prototype of: CustomerResult get_customer(long customer_id) where CustomerResult is just a struct. Can anyone advise on where I am going wrong Thanks for the help. I'm afraid I'm stumped. ...Show All

  • Windows Forms Toolbar Trouble

    Hi folks, I'm having a problem with a Toolbar in my WinForm where the buttons images aren't showing up when I launch the app. The toolbar is displayed, the button text is visible, mouse-overs work properly... but no images. Has anyone seen this behavior before I'm at a loss as to what's happening... The WinForm project was made with Visual C++ (managed) using Studio 2003. Any thoughts/wisdom/advice -Zero Weird... no one has seen this behavior before I've been over all of the settings and I'm beating my head against a brick wall now - I just cannot figure out why the images aren't showing up when I'm testing the program... ...Show All

  • Visual Studio MSB3011 AL.exe

    I was not sure where to post this but thought I would try here. What should I do to fix the following build error: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1950,9): error MSB3011: "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\AL.exe" was not found. Either 1) Install the .NET Framework SDK, which will install AL.exe. Or 2) Pass the correct location of AL.exe into the "ToolPath" parameter of the AL task. I installed .NET 2 and am not sure why this one project is in need of AL.exe - can I remove the dependency from the project Thank you, Brian Craig, The .NET Framework SDK 2.0 should install AL.exe into the v2.0.50727 folder, if I remember ...Show All

  • SQL Server Enable Service Broker for DB Mail on SQL 2005 Cluster

    I'm having problems enabling service broker for DB Mail on a SQL 2005 cluster, when I try to execute this sql it just hangs. Any ideas USE master ; GO ALTER DATABASE AdventureWorks SET ENABLE_BROKER ; GO This got me to the next step. Now I'm getting this error; Any ideas Thanks for your help, Julie Msg 9776, Level 16, State 1, Line 2 Cannot enable the Service Broker in database "msdb" because the Service Broker GUID in the database (B4201B09-6358-4C65-8457-D6F50004A4D9) does not match the one in sys.databases (2527A339-BFB3-45C6-978D-412C4FA557CB). Msg 5069, Level 16, State 1, Line 2 ALTER DATABASE statement failed. ...Show All

  • SQL Server Data Conversion Numeric to date

    I have some data which I am trying to put into a DM where I can use it as part of a cube (my first!!) I have hit a small problem with dates, I get it from the ERP system as a numeric field, and I need to convert it to a date format. The intension is to use this converted data with Named Calculations to derive Year, month Day ect. However I cannot seem to be able to convert and store (in SQL) this column can anyone advise Thanks Blackuke wrote: Jamie Thomson wrote: 60703 is not a literal that can be successfully converted to a date. "6" is not a year. You'll have to do something cleverer to work this out. i.e. Inside a Derived Column compo ...Show All

  • Visual Studio Express Editions Unable to Sart Debug?

    When i finish writing some codes, i cant debug because i get an erro that reads: "Error while trying to run project: Unable to start debuggin The binding handle is invalid" help ...Show All

  • SQL Server SQL Server 2005 scripting

    In SQL Server 2005, how do we script multiple stored procedures at a time and automatically create a new file for each one I know all this stuff but I don't see an option to select multiple objects and create a separate file for each like SQL Server 2000 generate sql script wizard. IN sql 2000, there was an option "create separate file for each object" Where is that in SQL Server 2005 Did MS forget about this useful feature ...Show All

  • Visual Basic Working with TreeNodes

    Given a tree with nodes at different levels, is there a way to determine what the level of a node is with respect to the very top of the tree. For example, NodeC is 3 levels down from the top node and NodeG is 4 levels down from Base. So I am looking for a way to determine the relative position or level of any treenode with respect to the whole tree. Base Node A Node B Node C Node D Node E Node F NodeG Use the "level" method of the Node: me . TreeView1 . Nodes ("NodeG"). Level Public ReadOnly Property Level () As Integer Member of: System . Windows . Forms . TreeNode Summary: Gets the zero-based depth of the tree node in the System.Wi ...Show All

  • SQL Server updateting DataSet to MSSQL with XML datatype field

    We are trying to update a changed DataSet to at table in MSSQL server The table have an XML field and that gets converted to System.String when we get from the DB when we try to save the dataset the XML field ind the table is set to NULL How can this be, the DataSet can convert it to System.String when we SELECT it from the DB, but when we save, nothing happens and we get an empty field. Not even an SQL error... This is what you get for beeing new in .NET :o) I have absolutly no idea why or what I did, but now it works.... The xml gets saved in the DB I would still like to know how to get the SqlXml datatype directly to the DataSet, but maybe thats not possible... Thank anyway.. ...Show All

  • SQL Server Create new row on the fly

    I have data that looks like the following ID ===== 123456 234567 345678 456789/567890 654321/765432/876543 In some instances, the older system had to store multiple IDs in one field and used a "/" delimiter. Does anyone have any ideas on how to create new rows on the fly and split the IDs out to the new rows Thanks in advance. Jamie Thomson wrote: That won't work but the following might: Public Overrides Sub Input0_ProcessInputRow( ByVal Row As Input0Buffer) While ( "," occurs in Input0Buffer.Row.ICS) Row.code = substring(Input0Buffer.IC, start, length) End While End Sub You don't need to call AddRow() if its a synch ...Show All

  • Visual Studio Tools for Office Workbook VBA project stays in memory after the workbook is closed

    A class in my VSTO solution hooks up to the Application's WorkbookActivate / WorkbookDeactivate events. When these events are fired, the class examines the properties of the workbook that is passed as the event's second argument. What I discovered is that even though I may close a workbook, its VBA project stays in memory. If I start the VBA editor, the Project Explorer shows a list of all the workbooks that have been opened in Excel's running instance. Moreover, if I opened a workbook twice, the Project Explorer lists two VBA projects for the same workbook. I have a little COM experience and I know that this happens because .NET increases the reference count of the workbook interface preventing it from being released even after the workbo ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Default Project Folder Settings

    Is there anyway to edit the default program folder settings Any new project added would be by default saved under c:\dev\xna . Oppose to C:\Documents and Settings\Evan\My Documents\Visual Studio 2005\Projects... (little frustrating to navigate to under cmd ) That is actually a function of the Express IDE, and is easy changed. Go to the tools -> Options menu from the top menu bar, you will then be presented with an options dialog, next at the bottom of that screen there is an option to show advanced settings, selelct this. This will show you some more options that you can change, included in this is a projects and solutions option, inside this is the default location for the output files. ...Show All

©2008 Software Development Network