LFWanennburg's Q&A profile
.NET Development Binding a dropdown listbox
Im trying to bind a dropdown listbox with a table in SQL Server 7.0. Whenerver i use this code , i get value: "System.Data.Common.dbDataRecord". Following is my code : Sub Page_Load() Dim strSqlCities as String = "Select city from city" Dim strConnection as String = "server=Maxood;database=watal;user id=sa;password=;" Dim objConn as New SqlConnection(strConnection) Dim Cmd as New SqlCommand(strSqlCities,objConn) objConn.Open() cbocity.DataSource =Cmd.ExecuteReader(System.Data.CommandBehavior.CloseConnection) cbocity.DataBind() &nb ...Show All
SQL Server SS05 Reporting Services Installation Problem
I'm installing the Sept CTP on Windows Server 2003. Everything installs fine except for Reporting Services. I get the following message: Error 29528. The setup has encountered an unexpected error while Setting reporting service and share point exclusion path. The error is: Fatal error during installation. SharePoint Services and Server were both on this server but uninstalled before SS05 installation. Any ideas on how I can fix this Try reinstalling WSS back on to the server. I've installed RS onto a Win/2003 server with WSS without issue. Part of the RS installation, excludes RS from Sharepoint c ...Show All
Software Development for Windows Vista Workflow Persistence
I need to store about 10 000 000 workflows in a database. With standart serialization one workflow takes 25 kb. Every instance has the same schema. Is there a way to minimalize the required db space My idea is to save the schema somewhere and then during the deserialization recreate the activity tree ( not deserialize workflow instance ). However, there're problems with activities' internal state. Does anybody know how to do it Thanks in advance, Michael There is not way to do that (if the persistence happens in the sequential part). Since persistence generally happens as events waitin ...Show All
Windows Forms FLex,Bison and...vb?
I have to work with strings and it´s schould be more easier if i can use those kind of tools. has anyone made something like that those tools are code-generating tools designed to aid in compiler development but can be really helpful working with text too. Normally i have made it with C++ but i have no idea about how can i&n ...Show All
SQL Server How To Use Interactive Sort on Grouping Reports?
Dear Anyone, We created some reports that are mostly grouped reports. These are reports that doesnt have detail values but rather uses the grouping section only. We've enabled the interactive sort feature of RS2005. But unfortunately, it doesnt seem to sort at all when we click on the sort links. Can anyone pease enlighten me on why this is so Thanks, Joseph Please read the response with a sample on your other thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=409872&SiteID=1&mode=1 -- Robert ...Show All
.NET Development SCRIPTING LANGUAGE
Hiii This is Malini,new mwmber in this group. I am very much impressed by the queries and the solution for them I have gone through few links suggested through these mails Please suggest me a url For JAVA SCRIPT and VB SCRIPT. thnq. keep smiling Malini Also check out the MSDN Scripting center at http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnanchor/html/scriptinga.asp That is loaded with excellent sample scripts. Then there are many excellent books out there, and some not so excellent ones. Try searching one of teh online bookstores ( Amazon.com, BN.com and use the recomendations to help guide you to a book ...Show All
Windows Forms is there any way to force a control to receive focus?
i have a custom control inherited from panel and i need to be able to handle Enter/Leave events for it..any idears First off, yes, nested controls should raise Enter and Leave events all the way up the parent hierarchy. If this isn't working for a given scenario, it is a bug. Secondly, in your drag scenario, you would want to h ...Show All
Windows Forms Creating a shape for a window
I know how to make a window a certian shape and dissable the title bar but how do you allow it to be moved in the same way as a normal window. Like lets say i make a window that is shaped like a cd and it has no titlebar but i would like to click anywhere on the cd and move it on the screen i agree ...Show All
.NET Development TableAdapter insert/update/delete order
I have a typed-dataset with a dozen or so tables which are hooked together with typical on-to-many and many-to-many relationships. I'm using table adapters to do the CRUD actions. For updates I was using: //Update parent tableadapter_parent.Update(dataset.parenttable); //Update child tableadapter_child.Update(dataset.childtable); But I am getting foreign key reference errors when deleting records because the adapter is trying to delete a row from a parent table but it can't because there is a FK refrence to it in a child table. But if I reverse the order of the table adapter update calls so child tables are updated before p ...Show All
SQL Server Read-Only Cell
Hi, When I create a new xml column using SQL server 2005 the column by default is set to "read-only cell". I've looked around at the properties and don't see anything to change this behavior. Anyone know what I need to do so that I can write to this cell useing the SQL browser. I'm able to update the cell programatically, BTW. Any help greatly appriciated. - Pardner test, plz ignore wrote in message news:d2f7089a-0e12-4dfe-ad40-5bc5e6ca4cf4@discussions.microsoft.com... > Hi, > > When I create a new xml column using SQL server 2005 the column by > default is set to "read-only cell". I' ...Show All
Visual Studio Team System MS Project Field Mappings
Does anyone know where I could find more information about customizing the field mappings with MS Project The current mappings have extremely odd behavior that doesn't seem consistent, i.e. no duration can be specified apparently because it isn't mapped but % complete can be specified IF you fill in Microsoft.VSTS.Scheduling.CompletedWork and Microsoft.VSTS.Scheduling.RemainingWork (but you have to use both and if they don't match Microsoft.VSTS.Scheduling.BaselineWork it doesn't seem to matter or it provides wierd behavior, etc..) EDIT: Also, it appears as if existing mpp refresh behavior is sometimes unaffected by the latest loa ...Show All
SQL Server Analysis Services clusters
Hi, I'm just thinking about how to cluster Analysis Services to ensure high availability... I found very limited information about that besides that this is possible... For me the question is: How is new data copied to the different nodes Do I have to process each partition on each node or is the data replicated automatically Or does it use shared disks Is there any place I can look for detailed information (how to set up, what are things you shouldn't do, ...) Thanks, Analysis Services 2005 fully supported on the failover cluster. In fact, during setup you will be asked only few questions and then setup will go on and inst ...Show All
Visual Studio Team System How to create an Architectural Prototype?
Activity number 5 of the Create Solution Architecture Workstram is the Creation of an Architectural Prototype. As I have no samples of this I'm not sure of what do I have to do here. Is this the place to decide which will be the core components of my architecture Is this the place where I decide to use for example the Enterprise Library for data access and exception management Or decide to use WSE 3.0 versus Indigo Or maybe LINQ for data access Does anyone has a sample of what is meant by an Architectural Prototype Hi Julio, This is a great question and the examples that you cite are right on the money. As architects ...Show All
Visual Studio doesn't work: <MSBuild Projects="test.csproj" Properties="Config=Release;Output=($foo)"/></MSBuild>
I would like build a project but I want build the dll file to a different location. Here is the code: <Target Name="PropertyCreate"> <CreateProperty Value="($MSBuildProjectDirectory)\ReleaseAppLogic"> <Output TaskParameter="Value" PropertyName="ReleaseAppLogic"/> </Target> It doesn't work: <Target Name="buildsolution" > <MSBuild Projects="Cleware.Sol.AppModules.Repair.AppLogic.Interface.csproj" StopOnFirstFailure="true" ContinueOnError="false" Properties="Configuration=Release;OutputPath=($ReleaseAppLogic)"></MSBuild> </Target> It's work: <Target Name="buildsoluti ...Show All
Visual Studio 2008 (Pre-release) Multiple threads, UI, and images
I'm currently trying to write an application that dynamically loads images in a background process in order to eventually display them on the UI. Essentially, my background thread creates objects that inherit from System.Windows.Media.Brush or System.Windows.Media.Drawing so that my UI can redraw itself using these objects. When running my code, I receive an InvalidOperationException with the explanation of " The calling thread may not access this object because the object is owned by a different thread. ". This appears to be behavior for any class that derives from System.Windows.Threading.DispatcherObject. My question is, how can ...Show All
