GarthK's Q&A profile
.NET Development Sortable Collection for ObjectDataSource
I'm trying to implement a custom generic collection that I can use as an ObjectDataSource in C#. I inherit from Collection<> as follows: public class BPMUser : Collection<BPMUser> { ... } Add my properties. When I set this as the DataSourceID property for a GridView, I get the expected display behavior. What I need to add is the ability to sort by clicking on the column headings in the grid. The "allow sorting" chec ...Show All
Architecture Database Bytes per LOC
In a project estimation program, an input for the database bytes per LOC was required. I searched the web for this term and I couldn't find an explanation for it. can any one help me thanks Quoted from here: http://en.wikipedia.org/wiki/Library_of_Congress It is estimated that the print holdings of the Library of Congress would, if digitized and stored as plain text, constitute 17 to 20 terabytes of information. This leads to the com ...Show All
Visual Studio How do I Integrate Visio 2003?
I have a copy of Visual Studio 2005 Pro from the UK launch and as a MS partner with an existing licence for Visio 2003 I wish to integrate it but have so far failed. Can anyone help point me in the right direction, or must I have the MSDN subscription to do this You will need Visio for Enterprise Architects 2005 to work with VS 2005. The next SP for Visio Pro 2005 should support VS 2005 as well ...Show All
Smart Device Development Selecting among multiple wireless network
I'm writing an application that will run on a device with both 802.11 and (Verizon) WWAN connectivity. As currently configured, these show up in Settings/Connections as "My Work Network" and "3G Connection" respectively. The application is in C# and uses SQL Server CE Remote Data Access to synchronize data with a server database. The application will be used by truck drivers on a delivery route. I want to use the 802.1 ...Show All
Microsoft ISV Community Center Forums what SRTP crypto algorithm used?
When audio/video conferencing between Office Communicator clients, what crypto algorithm is used for the SRTP I logged the SIP INVTE messages in the LCS and took a look at the SDP. I was hoping to see an "a=crypto..." line, but I see only a d-line in the with a key("d=Base64:..."). I believe that a d-line means that the SRTP crypto algorithm is defined elsewhere. Can anyone tell me what that algorithm is AES DES ...Show All
Visual Studio Express Editions Outlook Team Calendar Application V 2.2
I recently installed Outlook Team Calendar Application V 2.2. It works really well - but one calendar is causing errors. "Error occured accessing an appointment Unknown Error". It is only happening on one of the team calendars and if I delete that calendar it works perfectly. When I readd that calendar - the errors start again. Any ideas ...Show All
Visual Basic TV Capture
i'm trying to create an application that calls or access my tv capture card (a VB TV application) although im still a novice. Any poiners here is one of them samples i was referring to before with vidcontrol in it. i don't know if its a class or not. Private Sub Command1_Click() Dim objTuneRequest As IChannelTuneRequest Dim objTuneSpace As ITuningSpace Dim objTuneSpaces As ITuningSpaces Di ...Show All
Visual Studio set credentials for ReportViewer?
This can't be rocket science. In RS 2000, I could set a credential like this: rs.Credentials = New System.Net.NetworkCredential(repSvcUserID, repSvcPwd, repSvcDomain) What is the equivalent to this in RS 2005, when calling a report via a webform reportViewer control I've found some very complicated examples of creating your own class with IReportServerCredentials, but I can't seem to get it to work. Is there some simple example avai ...Show All
SQL Server Can't get a Subreport to start on the correct page or table header to repeat on multiple pages
I am staring to lose my mind on all this "work-around" BS in trying to create a dynamic header. I have a report with contains a table, whose first two lines are a header line in which I want to repeat on each page. Then I have about 20 detail rows of information related to the header. The 21st detail row is a merged cell that contains a subreport relating to the header item. When printing to PDF, the detail rows consume about hal ...Show All
Visual Basic Automating Excel - code doesn't execute on 2nd loop iteration
Hello all. I have written code in VB.NET to automate Excel. This portion will copy a range on 1 sheet, find the last cell in a particular column on a 2nd sheet, paste the range and then sort the data so to remove any empty cells. The problem is that the code executes the first time in the loop (index = 0) but not the 2nd time although while stepping through it, it appears that it should work fine. It works for the 3rd iteration on to 15 or ab ...Show All
Visual Studio Converting IDTWizard to GAT project and solution templates.
I'm trying to convert our existing project templates into GAT. Unfortunately my GAT doesn't let me do some things and does too many things for me in other cases. First, let's throw away the Visual Studio text replacement stuff everywhere and use the "T3" stuff. I previously complained about this for project items and somebody replied that I might be able to do that in the next release of GAT. Does this also apply to project templates Second, th ...Show All
.NET Development Exception: DataTable internal index is corrupted: '5'. on ...
Hi, I have a problem with bindingsource component in framework 2.0. I have a combobox bound to a bindingsource which is also bound to a dataset with 2 related tables and a datagridview bound to the same bindingsource. What I want to do is : When the selectedindex property of my combobox changes, the corresponding cell value must be changed in the datagridview. But although the value in bindingsource changes, datagridview does not displa ...Show All
Visual Studio Express Editions move to specific value within MS Access DB
pry already been asked on these forums, but havent quite found "my answer". Here's the problem, in VB6 I could move thru a DB and extract my required data from a specific field. Now, I havent found a way to do that without using a control on the form. Heres the specifics.... Im using Visual Basic 2005 Express Edition, I have a MS Access DB with 100 rows and 10 columns. My first column is an autoID, ie, 1 to 100. I want to ...Show All
Smart Device Development Updating UI from thread: Control.invoke()?
Hi, I'm experiencing some difficulties writing my first application for pocketPc. The program should run on a dell axim x51v with windows mobile 5.0. (I'm using vs2005 professional.) The application uses threads to write messages (from the program itself and streams) to the screen in a listbox (lstStatus). I know how to add items to a listbox (which is quite trivial), but I can't figure out how to do this from within a subthread. Here's some cod ...Show All
Software Development for Windows Vista Pause a workflow
Hello, Is it possible for the host to 'pause' a workflow's execution at the completion of a specified activity and then resume execution from that activity I know one could define special activity types within the workflow that listen for external events and effectively pause the workflow in that manner, but I'm thinking of the more general case, where the workflow is not specifically designed to wait for external events. I'm primarily inter ...Show All
