Andorkacska's Q&A profile
Software Development for Windows Vista XOML only State Workflows with output parameters from internal Activity
Tom, I have created a custom activity that returns a dataset. My XOML only State Workflow uses this activity and needs to retrieve the dataset returned by this activity. How do you bind the output dataset parameter from the custom activity used inside the XOML only State workflow Can you modify your XOML only example to get an output parameter from a custom activity that returns a dataset I look forward to hearing from you soon. Sincerely, John Portnov Below is an example of binding to a DataSet property from a previous activity and to a DataTable within the DataSet from a previous activity: < Sequential ...Show All
Windows Forms Thread communication
I am trying to solve a minor curiousity and despite reading several threading sources i simply do not -understand- how to do it. I have a class A. Class A is created when the MainForm is created. Fine. Class A also contains a public event OnData delegate to pass data from class A to the mainform. This also works fine. I get thread synchronization problems when introducing a thread to do my data reading. I introduced into class A a void ReadMyData, a threaded function. This function, whenever it detects data, should call the OnData delegate event. I can perfectly understand why why calling OnData from the ReadMyData goes wrong: my created thr ...Show All
Visual Studio Team System Error writing to file: Microsoft.VisualStudio.Coverage.Analysis.dll.
Hi, 1. I'm installing Team Foundation Server in a Dual Deployment. I install the application tier and I get this error: Product: Microsoft Visual Studio 2005 Team Foundation Server (services) - ENU -- Error 1304.Error writing to file: Microsoft.VisualStudio.Coverage.Analysis.dll. Verify that you have access to that directory. The install fails. How can I remedy the problem Thanks virasana Hey, This is actually the forum for Visual Studio Team System Developer edition. Since this is a Team Foundation Server question you should probably post it in the TFS section. http://forums.microsoft.c ...Show All
Visual Studio Express Editions SQL Express Local and Remote database
did anyone try... are there any samples.. for this.. i would create aplication with local database, but in code on runtime it should change connection string and connect to remote database.... is this possible The Data Sources generated by the wizard are hard-wired to the connection strings in config file. I don't know whether you can change this programmatically at run time. At least it isn't obvious. This is also why I hate using data sources generated through the designer. I think the way to go is to create a new data source for your BindingSource when your app is not running locally. I'll see if I can locate a code example. ...Show All
SQL Server Installation Error
hi I am getting the following error when installing SRS 2000 on Windows Server 2003 Standard Edition. Microsoft SQl Server Reporting Services Support Files Error! Anybody know why this is happening. ...Show All
Software Development for Windows Vista Hiding workflow tabs (Exceptions, events, compensation)
Hello, In the post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=160891&SiteID=1 , Vihang says to accomplish Mark's goal: Mark Doughty wrote: - Only view the "SequentialWorkflow" tab (not Exceptions, Events, Compensation). one can use the following code: _vihang wrote: protected override bool ShowSmartTag { get { return false; } } I've tried this, but it's not working for me . I've successfully overriden a few other properties like the header text and footer, but this one doesn't appear to do what's suggested i ...Show All
Windows Forms Where is a good place to store DB Connection strings ??
Hello- In my web applications - I can store ConnStrings in the Servers Machine.Config file in this format: <appSettings> <add key="ConnSomebodyPool" value="Server=MyServer; Database=MyDB; uid=Somebody; pwd=aPWord" /> </appSettings> And then retrieve them in the Web Forms b ...Show All
Visual C# Nice Threads!
I could really use some help here... I am using C# 2005 and have created a splash screen that runs on a seperate thread. I can invoke the splash screen in the Main() method, but then I can't get rid of it! I am attempting to put a line in the Form1_Load (or maybe Form1_Shown) that calls a static method in the splash screen to close that form. But, when I do so, it complains about an invalid cross-thread operation. How can I get this screen to close Here are the relevant parts to my splash screen: // Static Public Method to launch Splash Screen static public void ShowSplash() { if (ms_frmSplash != null) return; ms_Thread = new Thread ...Show All
Visual Studio Tools for Office Shape.Hyperlink becomes protected in Office 12
Hi all, I'm doing an add-in using VS.NET 2005 for Office 12. I'm adding an image with a hyperlink and I then try to access the hyperlink using shape.Hyperlink. When I try this I get the following error message “ Attempted to read or write protected memory. This is often an indication that other memory is corrupt”. Can anyone help me on this Pls let me know where to post this query if this is not the right forum :-) TIA Pavan Hi Pavan, Are you having problems when you're attempting to associate the hyperlink with the shape Or after you've already associated the hyperlink with the shape For e ...Show All
Windows Forms Problem with TreeView-Icons and EnableVisualStyles() (Beta2/Windows XP)
Hi there, we recently found out that there still seems to be a bug with EnableVisualStyles() in Beta2. We want to show a Treeview with different icons and have VisualStyles enabled. However none of the icons are shown under WinXP whereas Win2000 shows them all. Calling Application.DoEvents() after EnableVisualStyles doesn't change this behaviour. We found out that adding a manifest to the executable like in http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_vstechart/html/vbtchusingwindowsxpvisualstyleswithcontrolsonwindowsforms.asp fixed the problem, but that's a little uncomfortable. We thought that this bug was fixed in B ...Show All
SQL Server Reporting Services and Data Mining Reports
Are there any plans to provide a Data Mining Viewer control like the Report Viewer control that is already included when you create a Report Server Project I have seen the Data Mining WinForm controls, but would find it a lot easy for work flow if such a control was provided with Report Server Projects. That way I could include the control on .rdl files and utilise the Reporting Infrustructure to deliver ALL reports. If there are plans, is there any time frame on release Also are you looking for any beta testers Regards, Glenn Vassallo ...Show All
Software Development for Windows Vista Problem in sending mail through web instead of localhost(Drop)
I have done HOL 02 of wwf successfully. I want to send mail through web instead of sending it to the Drop folder of Inetpub in the local machine. So I have changed Smtpclient from "localhost" to SMTP Server name as shown in the below code. Then I am getting the following error. " An exception of type 'System.Net.Mail.SmtpException' occurred in System.dll but was not handled in user code Additional information: The SMTP server requires a secure connection or the client was not authenticated. The server response was: Authentication required " MailAddress toAddress = new MailAddress (To); MailAddress ...Show All
Visual Studio Express Editions Feature request: Event handler names when changing control name
Visual C# 2005 Express Edition Beta 2 When I change the name of a control, e.g. a button, I would like the option of changing the names of all the event handlers with names based on the control's name. It should be an option, since it can happen that I don't want that, but usually I do so the option should be there IMHO. Regards, Guido Guido - We've heard this request a number of times, and we'll look at whether we can address this in the next version. Please open a suggestion at http://lab.msdn.microsoft.com/productfeedback so we can track the request. Thanks, Luke Hoban Visual C# IDE ...Show All
Visual Studio Team System VSTS - Error creating team project (TFS30177 - Team Foundation creation failed)
Hi, I recived this error after installing the VSTS and I tring to creat a new team project for the first time. Does any one know about this problem This is my log file: Module: Engine Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed Exception Type: Microsoft.TeamFoundation.Client.PcwException Exception Message: Unable to connect to the Windows SharePoint Services at DIRECT-TAESPPWQ Exception Details: The Project Creation Wizard was not able to connect to the Windows SharePoint Services at DIRECT-TAESPPWQ. The reason for the failed connection cannot be determined at this time. Because the connection failed, the ...Show All
Windows Forms Design vs. Runtime
Can anyone tell me if there is an advantage to creating a ListView control (details view) during runtime vs. creating it in the design view If you need the context, I have an app that does the following: *Parse a txt file and populate a ListView control *Perform a Search of the ListView for records matching a string, clone those ListView items, and&n ...Show All
