Nel K's Q&A profile
Smart Device Development Visual Studio 2005 Beta 2 - Emulator problem
Hi! I've got a problem and wonder if anyone else has it (and has resolved it ) My problem is as follows .. I create a new device application and try to run in in emulator.. the emulator starts just fine, but it won't connect to it! At all! The error is "Connection failed. The system cannot find the path specified." Thanks in advance, Tadej Can you give us some more details on what is happening Are you launch ...Show All
Visual Studio 2008 (Pre-release) Please help with creating buttons!
I'm using Interactive Designer and need some help with the basic concept of making buttons. Also...I'm a designer (not a developer), so I need simple explanations and no XAML;) What I'm trying to do: Create a button with a blue background, white text, and an aqua highlight across the top. When clicked, the background turns yellow, the text turns black, and the aqua highlight stays the same. So...I can do everything mentioned above, except ...Show All
Windows Forms Error: Relationships between (1) and (2) are not supported
I have a control that has a couple of properties, one of them references the same object as the other. The code generated looks like this: ------------------------- MyNameSpace. Attributes attributes1 = new MyNameSpace. Attributes (); attributes1.ReferenceProperty = this .myControl1.ReferenceProperty; this .myControl1.AttributesCollection.AddRange( new MyNameSpace. Attributes [] { attributes1, attributes2, attributes3}); ---------- ...Show All
Visual Studio 2008 (Pre-release) Is there anyway to control the animation in code-behind?
I test it with the following codes: namespace AnimationDemo { /// <summary> /// Interaction logic for Window1.xaml /// </summary> public partial class Window1 : Window { DoubleAnimation _animation = new DoubleAnimation(); Storyboard _myStoryboard = new Storyboard(); public Window1() { InitializeComponent(); _animation.From = 100; _animation.To = 50; _animation.RepeatBehavior = RepeatBehavior.Forever ...Show All
Visual Studio Tools for Office Excel 2007 VSTO Addin UDF
How do we expose a UDF out of an VSTO v3 addin so that it can be used in a cell Hi Dan, First you need to create a class (must be ComVisible) with your methods. E.g.: [System.Runtime.InteropServices. ComVisible ( true )] public class MyUdf { public object MyFunction() { return "My Function!" ; } } Then put the following line in ThisWorkbook_Startup method: ThisApplicatio ...Show All
SQL Server dtsx Fuzzly Grouping Package
I have SQL 2005 Developer edition and wanted to play with the Fuzzy Grouping featutre. I have created a package where I have a datareader source, fuzzy grouping, and SQL server destination. When I try to run this package I get the errors: Error: The product level is insufficient for component "Datareader Source" [1] Error: The product level is insufficient for component "Fuzzy grouping" [12] Error: The product level is insufficient for component ...Show All
Visual Basic checking properties of folders
Hi all, I am trying to run some processes to tidy up our SAN storage. A couple of the things I am struggling with are : 1) Checking the security of the folder properties to check who the owner is 2) Checking the security of the folder to check if "Inherit" is ticked 3) Search a text file for specific text I already have a process to run SETACL to fix ownership and permissions, however this ...Show All
Visual Basic VB vs C#. How capable is VB compared to C#?
I need some clarification please. I am learning VB.NET right now and have a co-worker who has a very strong technical background and feels very strongly that learning VB is a "waste of time in all respects" compared to C#. I don't understand this point of view. Since VB is a .NET language does it not posses the same capabilities as C# Am I on the wrong track I really enjoy the VB.NET syntax and am picking it up quickly. ...Show All
Visual Basic Problem with SQL Connection
Hi, I installed the AdventureWorks database, and can connect with SQL Express Manager or Visual Studio 2005 data tools to this database. The problem is that while writing the follwoing code: Dim connectStringBuilder As New SqlConnectionStringBuilder()connectStringBuilder.DataSource = ".\SQLEXPRESS" connectStringBuilder.InitialCatalog = "AdventureWorks" connectStringBuilder.IntegratedSecurity = True connectStringBuilder.UserInstance ...Show All
SQL Server SQL 2005 scripting stored procedures
I'm wondering if there is an automated way to script a large number of stored procedures to individual files, for later inclusion in a source safe project Preferrably they would have the same name as the sp in the database. In the sql 2005 studio, I can script them one by one, or a bunch of them to one file, but I can not see how to get them to individual files. Thanks for any suggestions. LT Hi, I do not test in ...Show All
Visual Basic Size in bytes of a boolean
How do I get the size, in bytes, of a boolean variable It appears to be a single (1) byte by empirical testing, but the documentation seems to imply that it depends upon the 'implementing platform'. (for example, an IntPtr has a size property, which returns the size of the pointer in bytes). ROFL!!! Someone's going to hate you in the morning. ...Show All
Windows Forms DataBinding Occurs multiple times on WinForm
Hello - I have a UserControl with some GUI elements (checkboxes, textboxes, etc). The GUI controls' properties are set via simple binding, i.e. some of the GUI controls' properties are bound to columns in a DataTable. When I make the UserControl visible, my data-bound properties are being set multiple times (4 times for every single data-bound property). I know this because I put in a breakpoint in the SET area of each data-bound proper ...Show All
Visual FoxPro Obtaining a web page's title
I'd like to get the titles of web pages, and would prefer not to do this by loading all the web pages into a webbrowser, because that seems a bit heavy handed. In VB6 I used some APIs to achieve this, but I'm not having any luck in getting it to work in .net. Here's the code I'm trying: Module Module2 Private Const INTERNET_FLAG_RELOAD = &H80000000 Private Declare Auto Function InternetOpenUrl Lib "wininet" Alia ...Show All
Visual Studio Team System Unable To Share Files With Team Foundation
How can I share code files between projects using Team Foundation source control We currently share code files between projects using the full framework and the compact framework. VSS has the ability to share, branch, and merge. TFS only allows branch and merge. We have similar problems and the lack of shared files is a total show stopper as our whole build process relies on it. Every other ve ...Show All
.NET Development ftp connection breaks
Hi, I have a ftp client based on the edt library. And it works fine untill I switch to a different program or I minimize it. Then it starts spawning all kinds of exotic errors. But mostly I get connection already in use Any ideas on how to solve that Thanks already This uses a 3rd party FTp Client. YOu might want to check with them Koolkraft.Library.FTP Assembly Version: 1.0.0.0 & ...Show All
