Tyde Inside's Q&A profile
Visual C# Using fields as parameters in a method
I have a requirement in a project to build a history. No biggie, but there are dozens of bool fields and processing each one is very time consuming. My approach is to add a field name to an arraylist when the property is changed. OnSave() or Dispose() I look into the object and check to see if the field list is empty or not. If not, I process the list looking at each item comparing it to a clone of the original object so that only true change ...Show All
Visual Basic Passing data from Access to Excel
Hi everyone. I want to pass de value of a field in an Access form to an Excel sheet. What is the best way to do this Thanks in advance. Here something to get you started. Where me.custname is a textbox control on the form and reference to the excel object library has been added. Dim MyExcel As New Excel.Application Private Sub PortToExcel() Dim MyWB As Workbook MyExcel.Visible = True Set MyWB = MyExce ...Show All
Windows Forms Problems with a Control
Hi: I have a control developed by another programmer and I wanto to add it to the ToolBox. I register the Dll file well, but when I drag it to the form it throws an exception saying that the DLL has not a constructor in the  ...Show All
Visual Basic stop watch using vb.net 2005
how can i create a stop watch using vb.net 2005 i am performing a data extraction job using windows forms and want to display time elapsed on the form. how can i do it Thanks Dear Lot i suggest to use a Timer control from the toolbox and display it on a label to the user ...Show All
Visual Studio Team System Solution problems with RC and Beta 3
Maybe it's just me, but can you no longer add a solution to source code control when creating the solution (or project) Did something break with the beta 3 Awesome. This fixed it. For some reason I just expected the Team Suite to default to a given provider. I never even though to look here. Thanks for your help! Jeff ...Show All
.NET Development timeout when using ftp over SSL
Using the example at http://msdn2.microsoft.com/en-us/library/system.net.ftpwebrequest.enablessl.aspx I am attempting to connect to an FTP server over SSL. I can change the EnableSSL flag to false and connect to a non-SSL server with no problem. But when I try to connect to my SSL server with the EnableSSL file set to true I get a timeout message when the GetResponse mothod is called. I did a trace of the connectio ...Show All
Windows Forms Flicker and Crash problem in VS.NET 2005 Pro
I'm not sure if this is just me, but... Has anybody noticed an annoying problem in VS .NET 2K5 where you switch from code view to the Form Designer, and your mouse pointer starts flickering and changing among a few mouse pointers (ex. cross, hourglass, pointer, etc.) This has happened to me a few times already and I havent' found any other common denominator other than the switch from Code View to Form Designer. Thanks. Gerard ...Show All
Visual Studio 2008 (Pre-release) Binding validation samples
Hello I have downloaded the Winfx beta 2 (may release) and download the binding validation sample from SDK. However, I run into system IO exception because resource can not be found. The message seems to indicate that it can not find window1.baml. I check and find that window1.baml exist in debug directory. Can anyone point me to the right direction Thanks. The following is the line where system exception occured. System.Uri resourceLoc ...Show All
Visual Studio Tools for Office Enable/disable popups in main menu
Hi; We have an Add-In where we need to enable/disable a couple of menu items based on the location of the caret in the document. As an example, think of the Cut menu item in Edit - it is only enabled if text is selected in the document. Is there any event or any other method where we can enable/disable the menu items just before the menu is displayed. Possibly an event that occurs when the user clicks on the main level menu that will cause it's ...Show All
SQL Server TSQL Code Checker
Is there a tool similar to FXCop that will check for TSQL ( or just SQL ) errors , ommissions etc and suggest code improvements Also, along the same lines, are there client-side JavaScript and VBScript tools similar to FXCop Thanks Short answer: no. Long answer: not really... For SQL Server 2000, there is a SQL Server Best Practices Analyzer that does some basic code-checking of T-SQL on objects in your database. http://www.microsoft. ...Show All
Windows Forms how to use the style"marquee" of progressbar
how to use the style"marquee" of progressbar. how to let the marquees scroll and not scroll when the style of progressbar is set to marquee Hie All, How can i set the marquee to stop at the end of the progress bar when it stop is there any workaround for this Thanks thanks Please help........ ...Show All
Smart Device Development CreateFile
I'm new to this sort of stuff so please bear with me I am using C# to do this but importing dll's and functions. So I apologise if this is the wrong forum to post but I am you are able to help. I've imported Coredll.dll so I can CreateFile(), WriteFile(), and CloseFile(). I can get a handle to the COM3 serial port. When I write file, I get the error 1359 which is internal error. But have no idea why. It seems to send beams anyway ...Show All
Windows Forms Windows Forms Book
Hi I am looking to purchase a book on Windows GUI in C# as I start learning how to program in this new environment. And I was wondering if any one has any suggestions Neil FWIW, I am really loving all four books:  ...Show All
Windows Forms Resize button !? (I have same problem pls help)
how i can resize button or any object in my form in run time not in Design time thanx You are vietnamese me too. Could you email me full source code of this example to dohoangtung@gmail.com thanks in advance ...Show All
SQL Server ForEach Config validation errors
I have a Config file for a Data Flow that is utilizing a Configuration file. I have specified in the Configuration file to capture the Directory and FileSpec for the ForEach Enumeration. When I open the package, I get the following error: Warning 1 Warning loading ISOTypeLoss.dtsx: The package path referenced an object that cannot be found: "\Package\Foreach TC03 File.ForEachEnumerator.Properties[Directory]". This occurs when an attem ...Show All
