benjcev's Q&A profile
Visual Basic Serial input trigger control mscomm
I want to hook up a 8 bit encoder to my serial cable and then thru vb be able to monitor the 8 seperate inputs on the encoder as off or on and then have events triggered by those inputs turning on. Does anyone know what I need for code to do this or how I can do it Thanks, Ryan If you want to use the Serial Port http://msdn2.microsoft.com/en-us/library/30swa673(VS.80).aspx Should detail the SerialPort Class in the .NET Framework 2.0 which may give you much of what your going to need. ...Show All
Software Development for Windows Vista Dynamic modification and Custom activities
I am planning to define some fairly complex sub-processes as custom activities, and would like to use the dynamic self-modification features within those. The problem I am having is that in a custom activty, you do not have access to the IRootActivity required by the constructor of the WorkflowChanges object. I tried implementing that interface in my custom activity, but the resulting activity cannot be added into a workflow. The next attempt was to define a parameter of type IRootActivity on thecustom activity and pass it in from the parent workflow. The custom activity project builds successfully, when I add it to a Seque ...Show All
Architecture how workflow engine works
Can somebody guide me how a workflow engine works which can be integrated with visual studio.net 2003. Please refer me some website where i can get some sample application built on this. Also recommend some workflow engines for .net. One more question, can workflow created in biztalk be integrated in a .net application as a business layer component and is it open for change at runtime to implement the changes on the fly regards bhaskar Well, I think BizTalk is a little big for what you want. BT is installed in a Server an it is thought for integrating different platforms or execute the bu ...Show All
Software Development for Windows Vista Passing data between activities and erroring out
Hi Sorry for this really newbie question, but I have a workflow where the first activity opens up the connection to my database. I then want to pass this SqlConnection object to subsequent (sibling) activities for them to use. First of all is this a valid thing to do If so, how do I do it Secondly, if the connection fails, how do I error out of an activity which requires this connection object and it hasn't been set. My workflow is pretty complex already and I don't really want to add if and terminate activities at the main workflow level. Thanks for any light any one can shine on these issues. Marek ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX Tutorial fur Compact Framework 2.0 (C#)
Hi, ich bin auf der suche nach einer kleinen Einfuhrung bzw. einem Beispiel fur die DirectX Mobile Programmierung auf dem Pocket-PC. Hauptsachlich interessiert mich dabei 2D. Wer kann mir da weiterhelfen The DirectX have not been ported to .net cf. in .net cf, you can consider the GDI+ to perform 2D graphic operation, or if you think the GDI+ is a bit slower, you can try GAPI( Game API, http://www.microsoft.com/downloads/details.aspx displaylang=en&familyid=d9879b0e-4ef1-4049-9c61-e758933d84c4 ), On Top of GAPI, there is some unmanaged library available: PocketFrog, GapiDraw, Overloaded, sea ...Show All
.NET Development Access/VB.Net Question for Paul Domag - if Possible
Hi Paul (or any other Access/Vb.Net Pro) I’ve seen you leave some wonderful elementary examples of updating Access databases doing OLEDB table updates via DATASETS. A difficultly is that when I apply them in complex situations they don’t work. I can update an existing Access table when I add a new record. That’s not a problem. Other scenarios fail such as: 1.) Adding a column to a table in a dataset and updating the table. 2.) Bringing in what I think of as a “template table” that is one that has a standard structure but no data, copy the table and adding the copy to dataset. Atte ...Show All
Visual Studio Team System MFC80.dll and MFC80U.dll dumped into C:\ on a TF Client install
FYI, after we install VSTS RC1 but before we install TF Client Beta3 the C:\ dir is clean. After installing TF Client Beta 3 the following two files are put in C:\ 08/30/2005 10:09 PM 1,093,632 mfc80.dll 08/30/2005 10:09 PM 1,079,808 mfc80u.dll I would expect these files to be installed in SystemRoot somewhere. Hello Bill: Do you still use the beta version of the TFS You can try to uninstall it and install a release version to see if the problem is resolved. It should be ok when use a rele ...Show All
Visual Studio Tools for Office Microsoft Visual Studio Tools for the Microsoft Office System
Microsoft Visual Studio Tools for the Microsoft Office System is this available for visual studio 2002 if so where can i find it Great question. Visual Studio Tools for Office does not exist for Visual Studio 2002. It was introduced with Visual Studio 2003 and has now a newer version in Visual Studio 2005. You can learn more about the new version and the product line here: http://msdn.microsoft.com/vstudio/products/ Regards, John. ...Show All
Windows Forms How to: Webbrowser NewWindow and Navigating equivalent to axWebbrowser
At first, I enjoyed the new webbrowser control but then I noticed that the args provided by the events NewWindow3 and BeforeNavigate of the axWebBrowser had not been implemented in the new control. Arg. Good news, the guys from Microsoft gave us the a workaround recently in C# and said they will publish a sample soon on MSDN. In the mean time, here is some VB.net code inspired from Microsoft's C# that will give you 2 new events and the args people like me were crying for. NavigatingExtended gives you the following args: - Url as string - Frame as string - Headers as string - Postdata as string - PostdataByte () as byte - Ca ...Show All
Visual Studio 2008 (Pre-release) Multicast in WCF
Hi, all How to implement multicast with WCF i have been playing with the UDP sample come with the Feb SDK but seems can't get it work. im new at this so need advice and help. I understand MSMQ 3.0 support multicast, anyone have experience to apply it in real project and hows the performance. another question, does it true that MSMQ doesn't support multicasting transactional messages thanks a lot try the following: <client> <endpoint name="MyEndpoint"   ...Show All
.NET Development How to set DefaultValue property for a DateTime data column in VS.NET designer
Hi all... I have a database that has a table with a column of DateTime type that cannot be null, but has a default value of getdate() (SQL Server function call). I used VS.NET wizard to create a typed dataset. The dataset model was created identically as the database model but without setting default values for columns that have them. When I INSERT a row in the database, an exception occurs because I cannot insert NULL into that non-null DateTime column. I saw in the designer that column has a DefaultValue property already set as <DBNull>. How can I set that property to the current system date I tried System.DateTime.Today ...Show All
Windows Forms Differences between 1.1 and 2.0 : events triggered
Hi there, I've just migrated our application to version 2.0 of the .NET framework, and I have an issue with the way events are handled. Seemingly, they are handled differently between v1.1 and v2.0, though I've been unable to find any mention of this difference in the documentation. The issue is to do with events triggering before a dialog is made visible. Specifically, I'm creating a form, and then before showing it I'm optionally choosing a tab other than tab zero as the active tab. I achieve this simply by setting the SelectedIndex property of the tab control to be non-zero. Attached to the tab control I have an event ha ...Show All
SQL Server Reporting Services 2005 xml datasource
Hi, i'm having problems with last version of reporting services. i've been trying to create a new datasource whose type was XML, this is posible in this version, but i can't create a report using this datasource, the following message appears : " A connection cannot be made to the database. Set and check the connection string." . I don't know how to do it, i don't know if i have to set a special connection string or any special condition. So if someone could know how i can create this type of datasource, please send me a reply. thanks Alright this has been out there for a long time, and n ...Show All
Visual C# Order Matters
Today I found what was probably not the best of coding but for sure should have been flagged by the compiler and not the exception handler - especially the type of exception. Here's my class: public class foo { // ... other definitions here public static readonly Font CellStyle_UnacknowledgedAlarm_Font = new Font (CellStyle_Font, FontStyle .Bold); public static readonly Font CellStyle_Font = new Font ( "Verdana" , 12); private foo() { /*Cannot instantiate*/ } } You'll noticed the top to bottom issue that CellStyle_Fon ...Show All
Visual Studio Express Editions Visual Basic 2005 Express, MS Office 2007 Beta, and Excel .Net Reference
I downloaded and installed Microsoft Office 2007 Beta and have discovered a problem with the Excel .Net references when working with VB 2005, but can't find where to report it. The 2007 version causes overload errors in the part of my code that accesses Excel. I had to reload the Excel 2003 .Net advanced option and load Excel 2007 without the .Net advanced option to get rid of the errors. This is my first experience using a Beta product from Microsoft and I thought I woud be able to find a link easily to report things like this, so if I'm just looking in the wrong spot, I would appreciate being redirected. Thanks! Cindy ...Show All
