VBtje's Q&A profile
.NET Development table adapters - update
Can anyone explain why this code will not work- it will not add a new record everything else works fine. switch ( this .my_action) { case "Edit" : this .bsNCRdetail.EndEdit(); this .nCRdetailTableAdapter.Update( this ._2000NCRDataSet1.NCRdetail ); MessageBox .Show( "Record has been updated" ); this .nCRdetailTableAdapter.Fill( this ._2000NCRDataSet1.NCRdetail); break ; case "Add" : this .nCRdetailTableAdapter.Update( this ._2000NCRDataSet1.NCRdetail); MessageBox .Show( "Record has been added" ); this .nCRdetailTableAdapter.Fill( this ._2000NCRDataSet1.NCRdetail); break ; case "Delete" : this .nCRdetailTableAda ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Installation problems
Try as I might, I just don't seem to be able to install the D3D10 developer runtime and refrast on my machine... I'm using Vista 5472 (the July CTP) and DX July 2006. Installation of the SDK seems to go OK (and yes, I checked that 'Developer Support' was turned on under the 'runtime' section) but all of the D3D10-only samples complain that they can't find a compatable D3D device, and the DX control panel won't let me change to the debug runtime. Not really sure what to try... I'd be happy to install the refrast by hand, if someone would be willing to walk me through where the files should go and which registry entries need to be added to enable the device. Wrong Vista Version. The June SDK needs the BETA 2 (5384) build to work ...Show All
SQL Server Full-Text Search Error - Server: Msg 7635 The Microsoft Search service cannot be administered under the present user account.
Hello and thank you for your assistance. I have two instances of SQL Server 2000 Enterprise Edition (SP4) database running on Windows 2000 Enterprise server. The default instance is dev and a named instance for QA. Full-text search is enabled for dev and is functioning properly. @@Version: Microsoft SQL Server 2000 - 8.00.2040 (Intel X86) May 13 2005 18:33:17 Copyright (c) 1988-2003 Microsoft Corporation Enterprise Edition on Windows NT 5.0 (Build 2195: Service Pack 4) I am trying to enable full text search in the QA instance with this command: "sp_fulltext_database 'enable' ", but I am receiving the error "Server: Msg 7635 The Microsoft Search servi ...Show All
Windows Forms Combobox databind
Hi I'm new to using C# databing. So i'm not sure of it's limitations. First i would like to show the piece of code i use and please let me know if it is the most efficient way String Sql = "select GLAccountName from DHACT where AccountOrder=1 order by AccountType,AccountOrder" ; SqlDataAdapter da = new SqlDataAdapter (Sql, conn.ConnectionString); DataTable dt = new DataTable (); da.Fill(dt); cmbAddActType.DataSource = dt; cmbAddActType.DisplayMember = "GLAccountName" ; so is the above the best way Then what i would like to know. Is it possible to bind a combobox dependent on another combo box selection Example, if combo X selection changes then combo Y selection changes, data will ...Show All
.NET Development Selecting from multiple versions of .NET..
Good day, On an existing TFS box I have .NET 2.0 installed and I just successfully installed .NET 3.0 on the same box - I know that the two versions can coexist on one machine but how do I verify which version of the framework is being used for any given solution And how (if possible) do I change which version is being used Any/all advice and information is appreciated. Thank you! Peter, if you develop the solution with Visual Studio 2005, you'll be targeting .Net 2.0. If you develop with VS 2003, you'll be targeting .Net 1.1. As I said before .Net 3.0 is a set of libraries and templates for VS 2005, so if you build a Windows Workflow sequential console application you'll be using parts o ...Show All
SQL Server Cross Domain Windows Endpoint Authentication?
Hi There I have service broker working 100% with an initiator - forwarder - target, all in the same domain using windows authentication on the endpoints, for all instances' the sql server service run under the same domain account, which in turn is granted connect on the various endpoints. This all works 100% However i have a scenario where the initiator will be in a different trusted domain. I need to know if i am correct in thinking that the initiator sql server servcie account can run under DomainA\sqlservice, the target instance sql server servcie can run under DomainB\sqlservice, then on the forwarder i simply grant connect on the forwarder endpoint to both DomainA\sqlservice and DomainB\sqlservice. Is this correct, will th ...Show All
.NET Development How To Handle HTTP Header
Hi Experts, How to add a http header which says: HTTP/1.1 200 OK and send it back as response Regards, Suman if its ASP.NET, questions should be posted here: http://forums.asp.net however we still need confirmation ...Show All
Visual Basic how to not show a column in a DataGridView that's using a BindingSource
I am tring to get my ID column in the DateGridView not to show. I went in the properties of my DataGridView under columns and then under my ID column properties put visible equals False. However, when I run my application my ID column still appears. Does anyone have any idea as to why my ID column is still showing when the application is run Exclude it from your DGV.Columns collection. If you need to get to it, refer to your BindingSource.Current. Cast it as the object type you want and then you can hit the property directly. Jim Wooley http://devauthority.com/blogs/jwooley ...Show All
Visual Studio 2008 (Pre-release) Missing XML Declaration in HTTP/SOAP requests
When using the basicHttp binding I am getting errors from web services because my WCF client is not sending the request beginning with an XML declaration '< xml version="1.0" encoding="UTF-8" >'. Is there any way to enable this Thanks. BasicHttpBinding requests add the encoding declaration as part of the Content-Type of the HTTP messages (e.g.: Content-Type: text/xml; charset=utf-8). The SOAP binding profile 1.0 (which is implemented by the BasicHttpBinding), specifies that it's the HTTP Content-Type header that indicates the encoding, not the XML document itself ( http://www.ws-i.org/Profiles/SimpleSoapBindingProfile-1.0-2004-08-24.html#Character_Encodings ), so WCF does not add ...Show All
Windows Forms have any framework support windows-based applicaton ?
Hi,all: I'm a new user for prgamming use windows applicaton. In web applicaton programming, I had use some framework like UIPAB,Spring ...etc. Using framework can let me follow some rule to design my business logic. So I think this is the same as windows-based application. But I haven't found any framework use in windows-based application. Is there any more popular framework support windows-based applicaton thks. Rock You probably want to check out: Spring.NET and Microsoft CAB (composite UI application block) Daniel Leuck Ikayzo, inc Now hiring WinForms architects in Hawaii! Apply Now ...Show All
.NET Development XSDObjectGen 1.4.4.1 - Enum values having a "dot" character in them are incorrectly converted
Hello everyone, I ran a search for this but found no related articles. When an XSD schema contains enum values which have a "dot" in them, XSDObjectGen V1.4.4.1 seems to misbehave by generating code that still contains dots: VB.NET 2003 won't compile enum values with dots in them. However, "space" characters get converted to underscore. Here's an example : Source schema: Source schema: <xs:simpleType name="SomeType"> <xs:restriction base="xs:string"> <xs:enumeration value="some.value1.with.dots.in.it"/> <xs:enumeration value="some.value2.with.dots.in.it"/> <xs:enumeration value="some.value3.with.dots.in.it"/> </xs: ...Show All
Software Development for Windows Vista StateMachine receiving events too fast?
I have a State Machine workflow. What I am doing is firing a message into the host which then fires off an asynchronous call to a webservice for some data. I do this asynch call to the host in the StateInitializationActivity of a State. I expected that I would immediately go into that State and the response from the host (which is an event that the State captures with an EventDrivenActivity) would be captured by the State and things would continue from there. What is happening however is that the response appears to come back before the transition from the InitializeStateActivity into the State itself. The error I get is: Event "ResponseFromWebServiceCall" on interface type "ManagerFlow.IManager" for instance id & ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Spacewar Starter Kit
Hey , I just started using XNA Game Studio Express . When I load the Spacewar Starter Kit and press start to test the game there is only Xbox 360 functions , Is there any way I can play this using my PC keyboard or send this to my Xbox 360 . If you think you might be purchasing an Xbox 360 in the future...or not, you might consider purchasing a controller. The wired version or a wireless with the charge cord will both work on the PC; the controller plug is USB and will plug right into your computer for use with XNA games! I think the wired version is around $30 while the wireless with the charge cord will be around $60 for everything. I originally bought a wired version, but I will ...Show All
Visual FoxPro Grid and textbox Refresh issue.
I'm having this problem with an application I’m writing. I have a Grid with a couple of text boxes next to it. When you select a record it updates the values in the textboxes with the values from that record. I also have a few command buttons that switch the tables viewed in the grid. Now here’s my problem... The text boxes stop updating after I change the tables a few times. Not sure what I am missing because I don't get any error messages and it does work for a little while. If you need more information let me know. Try changing _mainform to thisform. _MainForm is not guaranteed to be be thisform (public var, scx name both dangerous). ...Show All
SQL Server an error with a subreport
Hello , I have created a new project of reporting services, then I added a rdl file of another report this latter contain asubreport, then when I tried to run this report the rendering of the sub report is failed displaying this error message : [rsErrorExecutingSubreport] An error occurred while executing the subreport ‘AcctSummarySR’: Report /Sous-rapport Resume du compte cannot be compiled. Verify the report name and that the report is in the current project. Even when I add a new sub report the same error message is diplayed related to the new report Thanks in advance ...Show All
