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

Software Development Network >> Larry.Dugger's Q&A profile

Larry.Dugger

Member List

poruchik_rzhevsky
hrubesh
krhoover
bsun
XNA Rockstar
Darren M. Bork
gafferuk
Blast
ProSlamBanO
Laxmi Narsimha Rao ORUGANTI MSFT
ttfo
TA123
CHEN YU-TIEN
hmayer
Oscarfh
Emadkb
reichard
Steve_j_maas
joslat
kiwilamb
Only Title

Larry.Dugger's Q&A profile

  • Visual Studio Express Editions Color, or Colour as we spell it in Australia

    G'day Ya'll, Just wondering how i can convert a color string from a colordialog to a html string... for example Dim MyDialog As New ColorDialog() Dim mstrColour As String MyDialog.ShowDialog() mstrColour = MyDialog.Color.ToString ListBox1.Items.Add(mstrColour) And the ouput is Color [Green] or Color [A=255, R=255, G=0, b=128] if the colour is not a vbColor I want to convert the colour string mstrColour so that it can be placed within a html tag, .writeline("<bgcolor=" & mstrColour & ">") chimpx82 @ hot mail .com Hi, I believe you're looking for the ColorTranslator class: Dim htmlColor = Colo ...Show All

  • Visual Studio Team System Copying Code Analysis Rules from Team Project to Team Project

    Can anyone tell me if it is possible to copy the CA Rules from one Team Project to another Team Project. Also, it is possible to export CA Rules from a Team Project You might want to post this question in http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=18&SiteID=1 forum for more people with expertise in code analysis rules to see and answer it. ...Show All

  • Visual Studio Team System Error 32000 when installing KB919156

    I keep getting the Error 32000 when installing KB919156. I believe this is a prerequisite to the TFS SP1 install so I'm not sure how to proceed. Found solution here: http://msdn2.microsoft.com/en-us/teamsystem/aa948856.aspx ...Show All

  • .NET Development Simple listener and client project

    I have been looking at the treads on this forum and havn't found anything that has worked for my yet, I code in vb.net by the way. All I need to do is be able to transfer text between programs, from that I can learn what goes on behind the code and get my project working. If you have seen any simple code anywhere for a simple program where on one end you press a button and on the other side the picturebox1 changes, or something similar please post I am looking from completly coded programs that I can learn from. thanks average joe Hi, This is a link to a simple article about sockets in vb. http://www.eggheadcafe.com/articles/20020323.asp Charles ...Show All

  • Visual C++ Wiring up Boost libraries

    I'm just getting started with C++ and Visual Studio 2005. So I apologize if this is a silly or frequently answered question. I'm not sure what to search for. I just installed Boost (boost.org) on my machine. I want to write some code to experiment with the libraries. I'm not sure how to wire everything up though. I have to be able to compile code using the libraries, obviously. But I also want to be able to use auto-complete on Boost classes. How do I set this up I've tried all kinds of different things from the Tools -> Options -> Projects and Solutions -> VC++ Directories dialog. Nothing yet has worked. So what are all the steps I need to do to completely wire up the Boost libraries Also, if anyone knows a set of libraries that ...Show All

  • Windows Forms Need help - exc file lost

    I'm about a 4 on a scale of 1 to 10 on working with computers. For some reason when I was trying to access a CD on my computer I get an error that says it can't find "C:\3DHI.EXE" to run the CD. I have tried to search the web for a site to get this back, but I was only able to find a few sites that I had to buy their program to fix my computer. I don't want to put any money into this one, it is our old one for the kid to use. This is not the best forum to ask your question I'm afraid, it's a forum for software developers to discuss aspects of development. That said, I had a look round, and from what I can see the file is the main program for the "3D Home Interiors" application by ...Show All

  • .NET Development Date/Time Error

    Hello. I have a program that adjusts the displayed time to the correct time for a given US time zone. However, I get an error whenever it tries to cross the 11pm/12am barrier. For example, if I'm trying to convert 1am EST to MST, it gives me the error: An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll Additional information: Ticks must be between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks. Below is the code: If optMtn.Checked = True Then If OldZone = "E" Then txtTime.Text = DateAdd(DateInterval.Hour, -2, CDate(txtTime.Text)) ElseIf OldZone = "C" Then txtTime.Text = DateAdd(DateInterval.Hour, -1, CDate(txtTime.Text)) ElseIf OldZone ...Show All

  • Visual Studio Express Editions Anti-Cracking Packers?

    Not to beat a dead horse, but after reading some of the threads about decompiling and the abundance of tools such as Reflector, I am just looking for some opinions. I am a newbie coder and just learning and through various googles on various topics, I've seen companies that claim to produce .exe packers that either prevent or make decompiling/cracking a vb or any .net application harder to do. Anyone ever try any of these Would anyone try one of these things   xwinterx wrote: Anyone ever try any of these Would anyone try one of these things Take a look at Dotfuscator...it is the premier tool in code protection: http://preemptive.com/products/dotfuscator/   dotfuscator ...Show All

  • Windows Forms Results from a worker thread into main thread?

    I have a C# dll which provides an event of SqlDependency Notification messages to clients via a delegate. The event fires ok and I get the expected data. The problem lies when I try to get the resulting dataset into a DataGridView without having to implement a manual refresh via button click. I'd like for this to automatically update upon change. I'm thinking the reason is because the data is coming from a worker thread within the SqlDependency class and I have to create some means of marshalling it into the main (gui) thread. Below is my first whack at the event handler but for some reason it does not work. That is I still have to mash a refresh button. Can anyone offer a suggestion void ExcepNotification_NewExceptionNotification(Data ...Show All

  • Visual Studio Unable to debug web application remotely using VS2005 debugger

    Hello, I have been trying for two weeks now to find an answer to this problem. I have a web application that was built in ASP.NET 1.1. I migrated the project to the .NET 2.0 Framework using Visual Studio 2005, by opening the project and converting it using the Conversion Wizard. When I debug the application locally, it works just fine. I deployed the application using the Copy Web Site option. When I attempt to open the remote version of the application in VS2005 and build it, I get the following error: Could not load file or assembly 'VocabDBEdit, Version=1.0.2174.28224, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417) As far as I c ...Show All

  • .NET Development Single Sign-On in webportal and one domain

    Scenario: One application domain with one IIS, one Active Directory, one MS Exchange Server One portal startpage which uses certificate authentication via smartcards, mapping the certificate to a user account in the domains Active Directory. The user puts his smart-card in his reader and accesses the portal-startpage over the internet. After successfull authentication the portalpage is shown in his browser. This page contains for instance a link called "mail" which will take the user to a page where outlook web access has been capsulated into a webcontrol and presented on the mail-page. Question: Will he automaticly be logged in and shown his personal inbox (SSO) According to my own research on the web the way I un ...Show All

  • .NET Development Efficient way to remove double quotes from a string.

    For some reason, I am reading a string out of a config file, and rather than just getting the string, I am getting it in double quotes. Here's a clip of my App.Config file   < setting name = " TextLogFileName " serializeAs = " String " > < value > C:\CodeTracingFile.txt </ value > </ setting >   When I read this value into a variable, the variable ends up with ""C:\CodeTracingFile.txt"" I don't know why the double quotes are being added, but I'd like a simple efficient way to get rid of them. I tried using String.Replace, but it wants a character, and I don't know how to specify a quote as the item I want replaced. Add this line at the top: using Syste ...Show All

  • Smart Device Development a deployment question :)

    Our application has some configuration values (server IP and server port). Until now, those parameters were set in the cab project that wrapped the exe with other resources. The process above was done by a programmer, but now we want to give this task to a non-programmer (which means that he/she doesn’t have VS installed on his/her machine). Is there a nice & clean way to make a CAB without the need to install VS (just to make the cab project..) Oren You can use cabwiz.exe to create a CAB file for your PPC devices. See MSDN article here http://msdn2.microsoft.com/en-us/library/aa458948.aspx Manav ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DrawIndexedPrimitives bugged?

    Hi everybody! Does anyone know if DrawIndexedPrimitives is bugged I read about people having freezing problems or getting blank screens. I have something completely different: I am trying to draw two triangles with just one shared vertex and the DX function displays just the first triangles!!! Here is the code for the VertexBuffer: private void VertexDeclaration() { vb = new VertexBuffer ( typeof ( CustomVertex . PositionColored ), 5, device, Usage .Dynamic | Usage .WriteOnly, CustomVertex . PositionColored .Format, Pool .Default); vertices = new CustomVertex . PositionColored [5]; vertices[0].Position = new Vector3 (0f, 0f, 0f); vertices[0].Color = Color .White.ToArgb(); vertices[1].Position = ...Show All

  • .NET Development Multiple assemblies -- Single version

    Hi, I have several assemblies that I need kept separate. I would however like to have all of them share the same version number. I already tried "sharing" a file with AssemblyInfo in it between them but that worked badly. Any ideas I tried exactly what you suggested. As soon as I add the 'common' file to any of my projects they copy it to the local folder. That behavior surprised me so I double checked, unless I was missing something that's how it behaves. Even worse, we're using team system, and as far as I could tell there is no way to 'share' a file the same way we shared one on VSS. ...Show All

©2008 Software Development Network