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

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

Starck

Member List

Whoisit
Martin Bennedik
ShadowOfTheBeast
RDotLee
Timothy Wilson
windflower
TimmayB
shareeef
kopo
the_developer
afrc2
jewelfire
CodeDigger
Jamie Thomson
arcliner
A.Russell
ShimiIL
M_C
Sreecharan
Scythen
Only Title

Starck's Q&A profile

  • Visual Studio 2008 (Pre-release) How to collapse databound TextBlock

    Hello, I'd like to set the "Visibility" property of a databound TextBlock based on whether there is any content or not. In the following example, there is an empty XML element < Department > , so the TextBlock in row 2 should be collapsed. What is the simplest way to do this What is the simplest way to do this Thanks, Adrian try setting up a style and use it like < TextBlock Grid.Row = " 2 " Text = " {Binding XPath=Department} " Style = " {StaticResource st1} " /> < Style x:Key = " st1 " TargetType = " {x:Type TextBlock} " > < Style.Triggers > < DataTrigger Binding = " {Binding XPath= Department} " V ...Show All

  • SQL Server Implementing Sql Server Express within a Strict Domain Environment...

    I am looking for some assistance from the grand knowledgebase out there concerning the implementation of Sql Server Express 2005 on a client's strict domain environment. I am designing and implementing a pos software that resides on registers and a server within a number of stores. The registers are running WePos and the server is running Server 2003.  I run an instance of sql server express on all devices. The registers read the server when it can see it but when it cannot it reads the local instance. I am seeing a number of performance issues and I am trying to tweek the installation and coding of SSE on all devices. Any words of wisdom for me out there Thank you, Sir Robert   Are you asking for solutions ...Show All

  • Visual Studio Team System Web and Load Test Editor missing

    We went to edit existing web and load tests from Solution Explorer and it opens them as XML. The plugins for web and load test editors are gone. We can browse for them but, don't know where to look. We get an error message opening VS that says "Could not load file or assembly "Microsoft.VisualStudio.QualityTools.LoadTest, Version=8.0.0.0, Culture=neutral, publickey token=b03f5f7f11d50a3a or one of its dependencies. strong name validation failed (exception from hresult: 0x8013141a). We checked C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies and all of the qualitytools seem to be there. I'm not sure how you got into that state. Packages, and specifically those dealing ...Show All

  • SQL Server Adding a Connection in Visual C++ 2005 Express

    I am new to SQL Server 2005 and Visual C++ 2005 Express. When I try and add a connection in Visual C++: DataSource: SQL Server Database File File Name: c:\.......file.mdf Windows Authentication I get the following message: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under default settings SQL Server does not allow remote connections. (provider: Share Memeory Provider, error:36 - The Shared Memory dll used to connect to SQL Server 2000 was not found) Any ideas heimdaloz wrote: I am new to SQL Server 2005 and Visual C++ 2005 Express. When I try and add a connecti ...Show All

  • Visual C++ DLL registration issue

    Hello, I am trying to register a DLL and failed. The DLL resgitration using regsvr32 command and it did not show any message. Usually it pops a dialog saying the registration suceeded. But this time there is no message at all. My client application can not find this DLL so I know that the DLL failed to register. The DLL is the output of a recompilation process of C++ code. The previous DLL of this source code works perfectly fine. Now I have to update the source code to accomodate new functionalities of the application. But I failed to register the DLL after recompiling the source code. May be I am missing some compilation options or so.. Any help with troubleshooting would be much appreciated. ...Show All

  • .NET Development Keep Getting Weird Error

    Hi, Im new to developing and keep getting an error message when trying to populate my table in Access XP. Its saying ive got a error with my SQL Statement but i cannot see one ! ! void SubmitInsertAsset(Object s, EventArgs e) { OleDbCommand objCmd; OleDbConnection objConn; objConn = new OleDbConnection( "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=C:\\Inetpub\\wwwroot\\AMIS2\\" + "amis.mdb");     if (Page.IsValid) {  objCmd = new OleDbCommand("INSERT INTO asset (nmno, pcsn, mnsn, user, location)" +  "VALUES (@nmno, @pcsn, @mnsn, @user, @location)", objConn);     objCmd.Parameters.Add("@nmno", txtnmno.Text);  objCmd.Parameters.Add("@pcsn", txtpcsn.Text);  objCmd.Parameters.Add("@ ...Show All

  • SQL Server Linked servers without MSDTC?

    Simply put is it possible Will all transactions that involve a linked server connection by promoted to a Distributed transaction or can you set something somewhere that will keep the transaction 'normal' Thanks in advance. Dave To ensure consistency across the server MSDTC will be needed and automatically involved. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Windows Forms .NET Forms App - Threads

    I have a .NET form application with one form. I want to have an additional thread always running that is just doing some processing that I need to be setup with critial sections and such. I am not sure where I should initialize or create this thread. I want to have buttons to start and stop this thread in the UI. Can someone give me some advice on how to go about the initial setup of the structure for this Thanks, Michael Some related practices to follow (especially helpful when migrating to .NET 2.0): Don't use Thread.Abort , Use private objects with strong identity for locking Avoid Control.Invoke, Use Control.InvokeRequired and Control.BeginInvoke to access Control data fro ...Show All

  • Visual C++ COM+ Marshalling SAFEARRAY of NULL BSTRS on XP Professional

    Running on a Windows 2000 & 2003 Server, I can pass a SAFEARRAY of NULL BSTRs (the address of each BSTR in the array is 0x00) to a COM+ object and that object receives a SAFEARRY of NULL BSTRS. On a machine running Windows XP Profesional, I pass the same SAFEARRY of NULL BSTRs to the same COM+ object, but the receiving object receives a SAFEARRAY of non-NULL BSTRs each of which point to null string (each BSTR in the array now has an address but the data at that address is 0x00). My COM+ object is using the NULL BSTRs as an indicator to ignore that field, whereas non-NULL BSTRs should be processed. So the same software is running on two different platforms, but receiving differing results. Any idea why XP Professional would beh ...Show All

  • Visual C# Converting a string to an object reference?

    Hey guys, I have a text box thats named texBox1. I need to get this text box's text, of course using textBox1.Text but the problem is the name of the text box is defined by a variable... If MyVariable == 1, then I need textBox1, if the variable is equal to 2, then I need textBox2... etc. So to fix this, I tried converting to to a string; "textBox" + MyVariable.ToString() This works ok, I now have a string of the name of the desired text box. But how do I access its text from a string I'd need to transform it in some kind of reference to textBox1 from the string :s. The only to do this that I can see is String.System.IConvertible but I dont understand its working. So if anyone had any idea how to do this, it would be apreciated. T ...Show All

  • SQL Server Using the SQL Server Agent for the first time

    I have set up several jobs to run automatically throughout the day. Each job just does one thing: executes an SSIS package. The packages themselves run perfect when I test them in Visual Studio 2005, but when the SQL Server Agent tries to run the job I am getting failed jobs. Is there any tutorials or walkthroughs that can teach my about using the SQL Server Agent If I wanted extensive help troubleshooting my SQL Server Agent problems which part of the message boards would I post that too Thanks for the info! Brad, Thanks for the advice. I created the SSIS package on the server that the SQL Server Agent is also running on. I was logged into the server as myself when I created the package and I ...Show All

  • Visual Basic HRESULT Error Message while utilising umanaged DLL in VB .Net client

    Hi All, I have a peculiar kind of issue after converting VC and VB code from Visual studio 6.0 to Visual Studio 2005. We have the business logic in the VC code which uses the ATL framework and implements a COM server. VB code gives the GUI part of the project, For reporting custom errors like invalid login, we use AtlReportError method to report error from the VC code side. While utilising the built VC dlls(unmanaged code), using VB 6.0 applications, we get the Error message text( like in the case of failed login), exactly as we require. But while utilising the VC dlls in a VB 2005 application, instead of getting a error message we see "Exception from HRESULT : 0x8004B411". I do not know the reason cause for displa ...Show All

  • Visual Studio 2008 (Pre-release) Problem and Question

    The Problem: I used the wizard to create a test entity model for my database (SQL 2005). Although it detected all the tables it only created an entity for the first table 'Addresses', and no more. No build errors. Known bug The Question: Will the entity model have support for datasource binding I have my own object-model library at present and I get the code gen to write a lot of the ObjectDataSource functions, e.g. select by primary key, select by foreign key etc.. It works ok.. It would be * fantastic * if the generated entity could be its own datasource type, e.g. NorthwindDataSource that could be dropped onto forms without the need to use ODS as the glue. Regarding the problem you describe, you can check out the output from ...Show All

  • Smart Device Development Custom Wait Cursor

    How do you replace the (IDC_WAIT) system wait cursor with a custom wait cursor of my own graphic design on the Compact Framework 2.0 and Windows Mobile 5 There was a way to do it in prior versions, but, so far, I haven't found a way to do it for the current versions. Regards, Wil There is no supported way to do exactly what you want here. However, you could place a control on top of your form that looked like a wait cursor and it would probably work well enough in most scenarios. David Wrighton .NET Compact Framework ...Show All

  • Software Development for Windows Vista Displaying and setting activitybind from code in XOML workflow

    Dear all, I'm working on a simple re-hosted designer that can display and edit xoml workflows. At this point i'd like to show on my property editor panel the delay2 TimeoutDuration property's acitivitybind, from my xoml it's "delay1,Path=TimeoutDuratin" . I don't want to use propertygrid or propertygrid descendant, it will be a simple label or something else. Next step is how to set activitybind from code, like setting an activitybind for delay1's TimeoutDuration property. I don't want to use VS activitybind dialog this time. <SequentialWorkflowActivity x:Name="Workflow1" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/workflow"> < ...Show All

©2008 Software Development Network