Ran Rose's Q&A profile
Windows Forms databound combobox in datagrid
I am trying to apply a combobox style data selection in a collumn in a datagrid in VS 2005. The classic example is a datagrid with "orders" with a collumn for customerID. I'd like the customerID collumn to function as a combobox where a customer can be selected from a different table than the order. Is there no way, apart from applying lengthy code that this can be achieved Thanks, Carsten Hi! In .NET 2.0 DataGrid ...Show All
Software Development for Windows Vista Vista...acquiring it...
Hi Everyone....just joined the team, I need some basic (newb) answers first off, where do i acquire Vista I go to the January CTP but it doesnt work, will the SDK install Vista...my guess is no, it is not installed on my computer and I'd like to test it, plus write some feedback Thanks ~alex~ That is correct, Installing Vista by itself won't put SDK bits on the system. You have to download and install that separately. We post ...Show All
SQL Server Concatenate field based on unique id.
I have a table like this Id comment -- ------- 1 abcd 1 efgh 1 cc 2 aa1223 3 myComment 3 myComm123444444 I want to a SQL statement that returns unique Ids with their comments concatenated with comma. 1 abcd,efgh,cc 2 aa1223 3 myComment,myComm123444444 Can anyone help me with this. thanks. You will most likely have to use a temp table or table variable and a cursor. This wil ...Show All
Windows Forms AppUpdater Component Error Messages
I have an application and I'm using the MS AppUpdater component on it, and one of the users that is located in China keeps getting an AppUpdater related error message upon opening the application. The message reads: "Unable to auto-download the&nbs ...Show All
.NET Development Creating Virtual Directories programmatically on Windows 2000
Hi there, I'm currently in the process of attempting to get Virtual Directory installation C# code working on a Windows 2000 machine. This is the same code that's been in use and working for quite some time now on many an XP / 2003 machine. I've included a sample below: try { iisServer = new DirectoryEntry(iisWebSitePath); folderRoot = iisServer.Children.Find( "Root" , "IIsWebVirtualDir" ); ...Show All
Visual C++ Does 8.0 (2005) support __asm on x86-64?
One of the biggest problems we're currently having in porting our graphics code to x86-64 is that VC++ 7.x doesn't support __asm on x86-64. We need it because we must reference various C++ structures from within the assembly code, and converting all our header files to MASM would take a long time. It would also make it difficult to maintain the code, as structures would need to be modified in two places. We haven't tried VC++ 8. ...Show All
.NET Development Error using SqlDataSource on ASP.NET 2.0 Page when using Oracle VarChar2 input variable
Attempting to use a SqlDataSource to access data from an Oracle8i table. Everything works great with an integer based parameter, but errors on a varchar2 based input parameter. That is, no problem with Inteteger Input: < asp : SqlDataSource ID ="SqlDataSource1" runat ="server" ConnectionString =" <%$ ConnectionStrings:ConnectionString %> " ProviderName =" <%$ ConnectionStrings:ConnectionStrin ...Show All
Software Development for Windows Vista ExternalHandleEventActivity
Invoking a HandleExternalEventActivity sitting inside a Statemachine workflow, from an Asp.Net page - anyone succeeded I'm banging my head on this one... John - yes I've been able to do this. You have to make sure to use the ManualWorkflowSchedulerService - and call RunWorkflow before you try to use the ExternalDataExchangeService implementation. ...Show All
Visual Studio Team System Spec a reasonable development environment for a small team
It would appear that to get a reasonable development environment for a small team you need: 1 x Primary domain controller (1.5 GHz + 512M RAM + Windows Server 2003 ) for doing not much more than managing 5 user's logon + permissions. 1 x Team Foundation Server (2.2 GHz + 1G RAM + Windows Server 2003 ) for data and application tier 1 x Build machine (1.5 GHz + 512M RAM + Windows XP - SP2) for continuous integration 5 ...Show All
Software Development for Windows Vista Hosting designer on an asp.net application
Hello, We have an asp.net product that we are planning to redesign using the MS Workflow Foundation. So, far I have seen in the documentation that WF designer can be hosted on a Windows application. Is this also true for web-based application For example, can the workflow designer be hosted and run via a browser by the end user. I understand we probably have to do some programming to do this. But my question is if this is at all possible. ...Show All
Visual C# How to pass reference parameter to unmanaged dll
Hi I have a function in unmanaged(VC++) dll which is accepting a refernce parameter void check(UInt32& c) { c=20; } I want to call this function from my managed code(C#) so i used the following code class Program { [DllImport("samp.dll")] public static extern void check(ref UInt32 c); static void Main(string[] args) { UInt32 s = 0; check(ref s); Console.WriteLine(s.ToString ()); Console.ReadLine(); } } but it shows me the error&quo ...Show All
Visual Basic import problem
when ever i see in books they say import that class for eg system.io but i don't know where i write the import syntex i usually write after inheretance windows.form line thanks you i solve my problem with your help thanks again Alex Moura ...Show All
Visual Studio Tools for Office Working on Offfice 12 Beta 1 with VSTO
Hi folks, I want to check out the VSTO support for Office 12 Beta 1. But the VS2005 & VSTO 2005 works with Office 2003. Now if I want to do work with Office 12 Beta 1, is there any new version of VSTO for the same. Please let me know, how can I check out Office 12 Beta 1 with VSTO. Thank you, Hemant Savant Hi, As a developer on ...Show All
Visual Studio 2008 (Pre-release) Type.GetMethod on method with complex signature
I know this isn't directly pertaining to LINQ, but it pertains to something i'm devloping on top of LINQ. I'm trying to figure out how to use Type.GetMethod to retrieve a MethodInfo instance on the following method. I've been at it for about 2 hours now, with no luck after trying seemingly all possible combinations of trials. Can someone please shed some light on the answer, or possibly another direction to try public static Func ...Show All
SQL Server ReportServer no loading resources (js or images)
First off, this could be a FormsAuthentication problem; we run the reports underneath our existing site using FormsAuthentication and this works fine. Using the /Reports path, the reports work fine. However, accessing /ReportServer directly results in all resources loaded vi the handler (Reserved.ReportViewerWebControl.axd) result in a 404. I'm just wondering if anyone has seen this problem before and can shed some light onto it. It's odd that a ...Show All
