Boompty's Q&A profile
Software Development for Windows Vista about ShadowProperties
In System.ComponentModel.Design there is ShadowProperties that can hide the parent property.But this property isn't in System.Workflow.ComponentModel.Design. Now I wanna hide "Name","Description" properties in my custom activity property window,how to implement it Have you tried overriding the properties and then using the browsable attribute to hide them from the property grid [Browsable(false)] public new string Name { get{return (string)base.GetValue(Activity.NameProperty);} set{base.SetValue(Activity.NameProperty, value);} } Matt ...Show All
Software Development for Windows Vista Workflow & Business Logic and Data Access Layer Best Practices
I am currently developing an purchasing application that has an assembly exposing its data access layer. Objects in the data access layer implement standard C.R.U.D functionality via ORM. The objects also exposes datasets. 1. Can anyone tell me how best to implement WWF and DAL interaction. Do I need to create custom activities such as GetOrders, CreateOrders etc. (exactly what's exposed in the DAL already) 2. Do I create 4 custom activites, one for each CRUD function, and pass a BusinessObject or Dataset back and forth to the Workflow. Any information on what are the best practices here are very welcome. Thanks, Martin I guess it's ...Show All
Visual C++ Win32 File Writing Problem
Hi all, I want to write a large amount of data (char data[7000][2]) to a file and I have to write those characters one by one, I tried to use Win32 WriteRile() fuction to write them. Ofcourse it can write the data correctly, but it is very inefficient and I have to wait a long while. I know some other platform (symbian) has APIs like WriteInt8() or WriteInt16() to handle this kind of problem and these fuctions are very efficient. I think calling WriteFile() 14000 times is a very heavy task. So, are there any other Win32 functions can do this kind of jobs Thanks. The easies ...Show All
Visual Studio 2008 (Pre-release) Mixed credentials: Username & Certificate
Greetings, Our services will be exposed on the Internet. Only specific partners applications should be able to have access to them. At the same time, the partners applications users will need to be authenticated & authorized by our services. We will use role-based security to authorize them. The reason why we need a double validation using a certificate for each application is because we don't want anybody on the internet to be able to query those services directly (that includes our users having usr/pwd credentials who could try to pull the services content from their own app). We want to make sure only "known" applications ...Show All
Visual Basic MultiLine ToolTips
Somewhere in the Help I happened to notice that ToolTips can be customized to show multiline text. Now, when I need it, I can't find the appropriate help text. How can this be done Thanks for the answers! It was just too obvious for me to see. Now I have implemented a version that matches my needs; I just set the controls ToolTipText = "This is a" & Environment.NewLine & "multiline tooltip" ...Show All
Windows Forms ListView Item can't show Icon
I have programatically and set the ListView item using Visual Effect, but it cannot shown the icon after visual effect being applied. ListView1.View = View.LargeIcon ListView1.LargeImageList = imgIcons ListView1.Items.Add("Item 1", 0) ListView1.Items.Add("Item 2", 1) If I didn't using Application.EnableVisualEffects() routine, everything workout normally. But if I code it at Routine, it will not shown out the icons being display. Please guide me how to do it. Hi Paul, Actually I am using .NET 1.1 to develop my application. Actually the problems that I have met is the Enable ...Show All
Visual Studio Team System TF30162: Task "WITs" from Group "WorkItemTracking" failed
This is with Beta3 on a real 2003 Standard Server SP1. Setup worked without a problem. I did change the name of the three accounts but they all work fine. I cannot create a project with a user account that's in the domain admin group. However I can create a project with the <setup> account logged on on the server directly. Thinking it's a SQL permission kinda thing, I gave the domain account all the same permissions as the <service> account, but that still did not work. I tried the deletion of the cache directory, but that did not make a difference. Can someone give me any hints how to go on with this. Peter ...Show All
SQL Server How do you pass a T-SQL parameter into an SSIS package at runtime to get the right data to dump into an OLEDBDestination?
How do you pass a T-SQL parameter into an SSIS package at runtime to get the right data to dump into an OLEDBDestination For instance. I have a query that get data out of a number of different tables depending on what a particular _id is in the parent table (they are all linked through primary and foreign keys). I need to pass this _id into a package at runtime to get the proper data to dump into an access db. can any one give me any ideas If you want to pass a value into a package at runtime do it from the comamnd line. The command line utility to execute packages is dtexec. Use the SET ...Show All
Windows Forms Getting a CSV file into a dataset-ADO.NETor TextReader?
Hi I would like to get a CSV file into a dataset, using the following arguments: Text Delimeter (normally a comma, but not always) Text qualifier (String, normally a double quote, but not always). First row is column headings (boolean) 'Consecutive Delimeter Counts as One' (boolean) So I am trying to do essentially what Excel does when you import a text file. Is the ...Show All
.NET Development Newbie Question (kinda)
I am attempting to open a connection to a SQL 2000 Server in VB 2005 Express, and I am receiving an InvalidOperationException. I can't seem to figure it out as my VB.NET is a little weak... Here's the code: Dim con As New OleDb.OleDbConnection( "PROVIDER=SQLOLEDB; packet size=4096;user id=BLAH;data source=SOMESERVER;persist security info=False;database=BooBoo" ) Dim cmd As New OleDb.OleDbCommand( "Select Customer.CustomerID as vCustomerID, Customer.FirstName as vCustomerFirstName, Customer.LastName as vCustomerLastName, Customer.CompanyIDNum as vCompanyIDNum, Customer.Zip as vCustomerZip, Installation. ...Show All
Visual Studio 2008 (Pre-release) WPF apps slow for some reason
Everything is slow for some reason. I tried Max, and that ran decently (aside some weirdness I'll explain below), but I try running some of the sample code and other stuff I compile on Visual Studio, and it's unbelievably slow. I tried the samples here on XamlPad... I can click on a button at a rate of about 2-3 times a second, and my CPU usage will jolt up to 100%. Most other sample applications run just as slow. Max runs okay, except that it takes about 40% of my CPU time even when it's minimized. By the way, is there something I can do about text being blurry Here are some of my machine specs: Pentium 4c 2.4ghz HT 1gb DDR 400 dual ...Show All
.NET Development VB.Net 2002 and SQL Server 2005
Hi Guys, Does SQL command in Vb.Net 2002 works on SQL server 2005 Example : sqlconnection, sqlcommand, sqldatadapter... Is it compatible with SQL Server 2005 Jim ...Show All
Visual Studio 2008 (Pre-release) Why is LINQ seperate from WinFX?
Why is LINQ seperate from WinFX, whereas WinFX includes WPF, Windows Workflow and WCF They're all next generation .NET APIs coming out about the same time, so why doesnt LINQ fall under the umbrella and with Orcas there propably will be next WinFX incarnation (WinFS included ;p) ...Show All
SQL Server Chart Labels at an angle??
Hi, I have created a report with bar chart but the labels are too long and often go into next line. Is there any way to specify text orientation for labels of a bar chart I would like to show the chart labels at an angle. Is it possible Any help will be appreciated! This depends on which labels you are referring to. If you are referring to data point labels, then yes, it is possible to specifiy an angle. However, if you are referring to the labels on one of the axes, then no, it is not possible at this time to specify an angle. These labels are positioned automatically. The ability to manually set the angle for axis labe ...Show All
Windows Forms Customize ListView?
Hello,, Is there a way how to add a custom control to one (or more) column/s in listview control for example I would like to store date information in one column and for easy editing I would like to have a date picker available. thanks Yeah,, maybe I will do that. thanks for help. Anyhow, I just found an app that has the same functionality I'm trying to get: http://www.iliumsoft.com/site/lp/listpro.htm regards... ...Show All
