Software Development Network Logo
  • Audio and Video
  • .NET Development
  • IE Development
  • Visual C#
  • Windows Vista
  • Microsoft ISV
  • Visual Basic
  • SQL Server
  • Windows Forms
  • Smart Devicet
  • VS Team System
  • Visual FoxPro
  • Visual Studio
  • Visual C++
  • SharePoint Products

Software Development Network >> HappyZimmer's Q&A profile

HappyZimmer

Member List

Keith Thomson
jkgarner
schmack
slaprade
kc ppm
Paul_G
doank
hrubesh
Mirricle
anita punjabi
Tramp
KevinBurton
Richard_Mason
Baldwintm
progames25
CarmenM
fschaller
Fusion54
R.Tutus
gregaug
Only Title

HappyZimmer's Q&A profile

  • Visual Studio Team System Is there a way to...?

    is there a way to force the developers to add code comments before they can check it in i saw the code analysis, is there a way i can add a rule in code analysis to check all the methods, enums, and so on for the code comments if there's some codes/ methods has no comments, the code analysis should fail.. so is there a way to do it in code analysis/ or any other way that can do that \ thanks. There is no way to do this today without writing a check-in policy that requires that comments are there. There is a project out on codeplex to do this. See http://www.codeplex.com/Wiki/View.aspx ProjectName=TFSCCPolicy Ed http://blogs.msdn.com/edhintz ...Show All

  • Visual C# Arrays of arrays

    I'm trying to break an array of string arrays into individual string arrays: string [,] Books = new string [,] {    { "Lee" , "To Kill a Mockingbird" },  { "Twain" , "Tom Sawyer" },  { "Alcott" , "Little Women" } }; foreach ( string [] Book in Books) {    MessageBox .Show( "Author: " + Book[0] + " Title: " + Book[1]); } But the code won't compile; instead I get error: Cannot convert type 'string' to 'string[]'. Hopefully, it's obvious what I'm trying to do.  Can anyone tell me how it's done Your problem is that string[,] is a rectangular array, not an array of arrays. The following code will work the way (I think) you want it to: s ...Show All

  • .NET Development Windows Service Logon Info

    Ok, here's a tricky one. We have a service that transfers files from one location to another. I have built a Windows Forms application that feeds information for the service to act on. Some of the information is the name and location of the particular files that are to be transferred. The application that feeds this information to the service does not necessarily reside on the same machine that the service is running. Here is a typical scenario: Computer A: Service is installed and running. Computer B: Windows Forms application. Computer C: Location of files Computer D: Transfer Destination of files I need to make sure that the account under which the service is running (Computer A) has access to the files on Computer C ...Show All

  • Windows Forms How do you use delegate for custom method?

    I lost my "cheat-sheet." Now I can't figure how to use a delegate to implement a method in a class supplied by another class. EDIT: Nevermind, I just decided to use the event delegation approach. However can you create a method that accept a method almost like the way a delegate is instantiated. MyDelegate d = new MyDelegate(p.InstanceMethod); Just trying to figure out how to send a callback procedure to a custom object. Basically, the parent object has the callback procedure/method but the child object has the async process. ...Show All

  • Visual Studio 2008 (Pre-release) Image serialization

    Hi! Why WCF runtime cannot serialize Image (Bitmap) class Yes, see the example below. You need to add a [ServiceKnownType] attribute to the operation, though, because the Icon class uses a Size object in its serialization that's not declared in the class. public class Post1033270 { [ ServiceContract ] public interface ITest { [ OperationContract ] [ ServiceKnownType ( typeof (System.Drawing. Size ))] Icon Echo( Icon foo); } public class Service : ITest { public Icon Echo( Icon foo) { return foo; } } public static void Test() { string baseAddress = ...Show All

  • Visual Studio Team System Project Organization

    I work for a Microsoft Dynamics VAR that has averaged a staff of four-six developers over the years. We would like to move our existing SourceSafe projects into Team Foundation Server. In SourceSafe we have over 200 clients with multiple projects. Most projects are small and often take two days or less to create. Some have taken several months. Nearly all are client-specific. If they averaged even three projects per client it looks like we would exceed the limit of 500 projects per Team Foundation Server. In SourceSafe each of our clients is a "project", and the actual projects for that client are organized in projects under the client. We would like to set up this sort of hierarchy in TFS. Here are my questions: Is is possible ...Show All

  • SQL Server Does SQL Server 2005 Express support Web/Internet Replication to other SQL Server Express Clients?

    HI Q1: Does Sql Server 2005 Express support Web/Internet to other SQL Server 2005 Express Clients or does it have to Synch across the internet to a fully installed setup SQL Server 2005 with IIS Q2: Does SQL Server 2005 Express support Direct Replication between other SQL Server 2005 Express clients Regards Express edition can only be used as a subscriber, including direct SQL replication or web sync. Please take a look at this link for replication features supported by various editions ( http://msdn2.microsoft.com/en-us/library/ms143761.aspx ). Thanks, Peng ...Show All

  • SQL Server DB index performance

    I'm not an index expert, but I think I need help from one. I have a table with 4.9 million rows. Its PK is a composite key on 2 unique FLOAT columns. The floats are actually long ints; there are no decimals. The 2 fields are a LOW and a HIGH, and together they define a unique numeric range. Given a number input, I need to retrieve THE row where the input number falls within that row's LOW & HIGH range. Here's essentially what I'm doing: SELECT * FROM theTable WHERE @inputNumber BETWEEN RangeLow AND RangeHigh My question is on the best way to do the indexes -- right now I'm getting results, but the query takes a good 15 seconds. Isn't there a way to make such a search faster, even though there are tons of rows ...Show All

  • Visual Basic Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document

    There was a similar question posed on the C++ forum back in February to which I responded yesterday, but unfortunately, did not get a response. I am therefore putting this question in the VB forum. I have a VB 2005 project which is actually an add-in to Outlook 2003, which was I was able to debug fine until earlier this week. Now I cannot debug it at all - the message in the subject is displayed when I hover the mouse over the breakpoint which shows a yellow icon in place. Can anyone here tell me what I should do to correct this I have had this problem on and off, particularly with a class file that is part of a web service, and read many suggestions to it. Certain things DO help, such as debug build ...Show All

  • Visual C# How to know the connection bandwidth from program?

    Is there any way to find out the bandwidth of my connection through program Hi, Have a look at this http://www.thescripts.com/forum/thread347495.html , might help you. Regards, ...Show All

  • Visual Studio Team System Team Project Creation failed...

    Hi, I am using 180 day trial version of Visual Studio Team Suite. When I try to create a new team project, it is throwing the following error. Error: TF30170: The plugin Microsoft.ProjectCreationWizard.WorkItemTracking failed during task WITs from group WorkItemTracking, Explanation: Plugin error text: "Input string was not in a correct format." Can any one please help me what could be the reason Thanks in advance. I checked the same and there is nothing wrong with the text that is inserted. The same template was working fine earlier. But one of the admin guy installed active perl on the TFS server, then it started giving problems and I was not sure whether that caused this issue. ...Show All

  • Visual Basic How Can i Make my Own web borswer

    Hey i Need heplp so far i've got a window with back, forward, refresh, stop and a url box and go with a webbroswer below i would like ot be able to get this to work heres the code below so far. [code] Public Class H2FWebBrowser Private Sub cmdGo_Click() wb.Navigate(txtURL.Text) 'make the webbrowser navigate to whatever is in txtURL End Sub Private Sub WebBrowser1_DocumentCompleted( ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles wb.DocumentCompleted End Sub Private Sub cmdGo_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdGo.Click End Sub Private Sub cmdStop_Click() w ...Show All

  • Windows Forms Change maximum designable Form size

    Hi! I have a little problem: I use windows forms to make something lite reports, and thatswhy I need to design forms with size 828; 912 or higher. But in the designer the lower section of the form (highet than 912) are invosible for design. If I wrote the height by hand, and also place the compontns by hand for this area (setting location values) works fine. But I like to design these areas like others. Is it possible, if yes how Thanks for help! ...Show All

  • SQL Server inserting ascii data into SQL database

    Hi everyone, I need to save the ascii data in my sql express 2005 database in one table and in 2 coloums in this table using VB express... Can I do it by datareader or with bulk insert t-sql command I tried it this way but it gives error like "connection property is not initialised" it is on executenonquery row in the code... Dim cmd = New SqlCommand( "BULK INSERT RFID.dbo.stock(material_number,total) FROM 'C:\can1.txt' " & _ "WITH FIELDTERMINATOR = ',', ROWTERMINATOR = '\n' " ) connection.Open() cmd.executenonquery() connection.Close() I hope some can help with this problem.... How did you initialize your connection object and ...Show All

  • Visual C++ Console, Coloured Text

    Hello everyone, Ill be quite honest and tell you I have no idea what's going on. I want to add colour to my console app, and then I want it to set back to the colour of the console originally. After looking at MSDN about it, I pretty much copied and pasted it like so : #include <ctime> #include <iostream> #include <windows> using namespace std; BOOL WINAPI GetConsoleScreenBufferInfo( HANDLE hConsoleOutput, PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo ); int _tmain(int argc, _TCHAR* argv[]) { time_t t; time(&t); // get the current time tm *ptm = localtime(&t); // convert to local time HANDLE hConsole; hConsole = GetStdHandle(STD_OUTPUT_HANDLE); SetConsoleTextAttribute(hConsole, 1); cout << ptm- ...Show All

©2008 Software Development Network