kittani's Q&A profile
Visual Basic Programming Challenge since u re great guy
For this challenge, you'll need to write an algorithm to find your way from one corner of a field to another as fast as possible. You will be given a starting point and an ending point, and you'll need to tell us how long it will take you to get from start to finish. The field is a grid, and you can only move up, down, left and right. Each move of one grid square takes 1 second. Unfortunately, there's also walls in the way.....the rest is here: http://www.scm.ca/programmingchallenge/maze.htm No No I m not joking That s a question some body received before a job interview, I m not sure about the difficulty of the problem ...Show All
Visual Studio Team System Debbuging on Visual Studio Team Test
Hi, I created a Test project using Visual Studio Team Test (unit test). Now when I put a break point and try to step into the code I cannot step into the code that I have on a dll that I referenced in the project. Please advice! Thanks Hello, Make sure that symbols (.pdb files) exist for the dll that you are referencing, and that they are being loaded. To verify if they are getting loaded, while in debugging mode, do Ctrl-Alt-U and the "Modules" window will open. Verify that for your dll the "Symbol Status" column reads "Symbols loaded". If they are not loaded, either ...Show All
Visual Studio Express Editions can you help
Keep in mind that i named my label to box 1. If we want to keep the box within the boundaries, then we must have a way to test whether the box is moving out of the boundaries. a. Which properties of the box would you use to check b. Which properties of the boundaries would you use to check 2. If the box is de ...Show All
Visual Studio VS SDK paired with VS2005 RC?
When will the VS SDK paired with VS2005 RC released The Visual Studio SDK 2005 September (2005-09) Community Tech Preview is compatible* with the Visual Studio 2005 Release Candidate. The VS SDK 2005-09 CTP can be downloaded from http://www.vsipdev.com/downloads/vsseptemberctp.aspx . * - Note that we did not do as an exhaustive test pass with that combination as we did with the VS SDK 2005-09 CTP and the Visual Stiod 2005 August CTP, so there could be some minor issues that we are not aware of. ...Show All
Visual Studio Microsoft.VisualStudio.Package.Project.dll missing in RC1?
Hello, I just migrated from VS.NET 2005 Beta 2 to the new RC1 release. However, I noticed that the DLL Microsoft.VisualStudio.Package.Project.dll can no longer be found. IIRC, this DLL was registered in the GAC in Beta 2, but it is missing when I upgraded to RC1. After installing the September CTP version of the VSIP SDK, the DLL was installed into the SDK directory (but NOT in the GAC). But even though now I can compile my VS package, how will my package be able to run on a machine with just RC1 but not VSIP Thanks for any help! Eric It seems like we've clarified the main issue here.  ...Show All
Visual Studio Express Editions Access modifier confusion!
I'm new to C#.NET and my question may show that! I have a form which I designed visually prior to run-time and it is the main form of the application. I have a simple progress bar on it. From this form I create an instance (call it object X) of another class, and I want this class to show it's progress by updating the progress bar on the main form. How can I reference the progress bar from my object X so that I can update the progress Or am I mistaken in my approach Is this an access modifier problem of some kind Confused, Michael One easy way is to change the access modifier of the progress ...Show All
.NET Development Problem in getting local machine's workgroup name
hi guyz, i've a problem in getting my machine's workgroup name. i tried couple of examples (using WMI or Registry) from this forum but those examples returns null. i also assured that i'm not part of some domain. To continue with next coming discussion plz note that: my computer name is: DOTNET and Workgroup: Workgroup Platform: Windows XP SP2 During the process of researching regarding this issue i found differet results when i tried to get information about my PC using "My Computer" properties and "Computer Management (Local)" properties. Both property dialog boxes (i mean My compuer and Compuer Manag ...Show All
Visual Basic Antialiasing
Does anybody knows the code to 'Smooth lines' Can anyone explain the pros and cons of 'Drawing2D.SmoothingMode.AntiAlias' and 'Drawing2D.SmoothingMode.HighQuality' Is one 'better' or 'quicker' than the other tia, boops ...Show All
SQL Server What are the current best practices for standardizing report layout and appearance?
I am accustomed to the Actuate enterprise reporting system in which it is very easy to define reusable page formats that standardize things like page layout, margins, logo placement, page header and footer formatting, etc. You just drag and drop a page layout from your component library to inherit from it, and ensure that all your reports have the same consistent format. What if any features and tools are there to accomplish this in 2005 Reporting Services I see the style template feature of the new report wizard, but that only seems to apply to font settings for report elements, and these settings are not inherited, only copied into the ne ...Show All
Visual Studio 2008 (Pre-release) When will many-to-many be supported in DLinq?
Does anyone know if many-to-many support will be included in the next preview I know that you can already do it using two one-to-manys, I'm talking about a true many-to-many, a la the way NHibernate does it. Jon The Java camp isn't solving the same problems we're working on, actually. I would actually characterize what DLinq is doing as a significantly more difficult problem, and you know Microsoft -- they'd rather hold back than to shutgun a bad solution. DBMS independence is a fairly significant story, yes, but not as significant as data-source independence. And so it's also one that Linq as a whole ...Show All
Visual Studio Team System Web test fails due to the RequiredAttribute value validation rule
Hi , In response of my web test request I get the following:- <td class="Simple"> <input name="container:Submission:contact:LastName" type="text" id="container_Sub_contact_LName" tabindex="9" class="cls1" NAME="LastName" label="LastNameLbl" /> </td> For this I have added a RequiredAttribute value validation rule as:- Tag name- input Attribute name-name Expected value-container:Submission:contact:LastName Match attribute name-type Match attribute value-text Ignorecase- False The test fails due to the above validation.As I am us ...Show All
Visual C# Exception when using FileInfo.Create
I am trying to implement a .log file in my application but keep running into an unhandled exception that I don't understand. The log file creation and updating is handled by a class named LogFile show below: public class LogFile { string filePath = @"xyz.log"; public LogFile() /// <summary> /// Initializes the log file. If the file does not exist, it is created. If it exists, new log info is concatenated onto the end of the file /// </summary> public void InitLogFile() { FileInfo fi=new FileInfo(filePath); { if (fi.Exists) { if (fi.Length>2000000) { fi.Delete(); fi.Create(); } } ...Show All
Visual Studio 2008 (Pre-release) Canvas, Rectangles, ClipToBounds slowness
We are thinking about starting a new moderately complex graphical application in WPF. But before committing to the platform, we are testing features to see if WPF can handle it. >:) One test application so far has a Canvas with ~800 Rectangles (added with C# using “canvas.Children.Add(..)”. These rectangles are movable by dragging them… implemented with Canvas.SetLeft(rect, newLeft) and Canvas.SetTop(..) from the MouseMove handler. I need some tips on how to speed this up. Currently dragging a single rectangle around causes 100% utilization with 20 FPS on a Xeon 2.8GHz… even turning down to 50 rectangles seems ...Show All
Visual C# Messagebox.show
I am new at this so be easy. I have a messagebox.show that I want to display the result of a SQL select statement in. How do I do this please. I am using C# 2005. Here is a little dirty piece of code, you must use a StringBuilder, finetune the code and format the message. But it is a example: DataSet result = ...; string message = string .Empty; foreach (DataTable table in result.Tables) { message += String.Format( "--- Table: {0} ---\r\n", table.TableName ); foreach (DataRow row in table.Rows) { for ( in ...Show All
.NET Development Using Machine.Config Connection String For Data Connection
I have added a DataSet to my project and then dragged one of the Data Connections from the Server Explorer and dropped it on the DataSet Designer. This gives me a schema to work with. My problem is that I want to use a connection string from the machine.config file and not the connection associated with the Data Connection I setup in the Server Explorer. When I try to modify the connection, the only options to Log on to the server are 1) Use Windows Authentication and 2) Use SQL Server Authentication. There is no option to use a connection string from the machine.config file. In my code I am using a table adapter and overriding the def ...Show All
