Software Development Network Logo
  • Visual C++
  • VS Team System
  • Architecture
  • Visual Studio
  • SQL Server
  • Windows Vista
  • Game Technologies
  • VS Express Editions
  • Microsoft ISV
  • Visual J#
  • Windows Live
  • Windows Forms
  • Visual C#
  • .NET Development
  • Visual FoxPro

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

Groundhog

Member List

Amit keshri
JoLee
Mike Livenspargar
Eric Lohse
TRodS
MadhuK
heinz57
xyz_Lucky_abc
xiaodao
RiteshGpt
Kevin Shan
Niels R.
Ranbla
Carsten Loeffler
Dahoul
brad rbr
jfstephe
Veeral
TGB
Senthamarai A Kannan
Only Title

Groundhog's Q&A profile

  • Visual Basic PropertyGrid problems

    Hi, I am currently using the propertygrid control to browse an object containing many properties of different types, some being structures which contain properties of their own. The first problem is that when I create a class inheriting from ExpandableTypeConverter, and use this class as the type converter for a property in my base class, I cannot find a way to unbold the display text using the DefaultValue attribute... The second (mor ...Show All

  • Visual Basic File association

    Hello people, quick question with hopefully a simple answer. Using VB.NET2003, after I associate a particular file type with my application, how do I go about coding my application to load that file upon execution For example, notepad.exe is simply an application, but whenever you double click a .TXT file, notepad loads and automatically loads the .TXT file into it's workspace. Thanks very much in advance. Nothing special in your pr ...Show All

  • Visual C# Constructor does not work the way is should

    Hi guys, I am trying to build a multithreaded port scanner this is my first attempt to program in c#. But my OOP knowledge does not really apply to c#. I have this error which probably anyone can solve but me. I get an error "Method name expected" here is the line that causes the error myThreads[0] = new Thread ( new ThreadStart ( new ScanPort ( "127.0.0.1" ,idx)));  The problem is in the (new ScanPort"127.0.0.1",idx); idx is an in ...Show All

  • Visual Studio Express Editions Error in running built programs on other drives

    Hi everyone, I am using Visual basic .NET 2005 express beta. I can build a project and then run the exe file in the same location as the installed VB but if I copy it to other drives in a server then I cannot run it there. Does anyone have ideas to fix this Cheers   LucaMauri wrote: Please try run '.NET Wizards' from 'Administrative Tool' group and run 'Trust and Assemply': a wizard will popup, ...Show All

  • .NET Development Retreiving CPU % for a thread and killing a thread in another process

    I have the following code: Process[] processes = Process.GetProcessesByName("IEXPLORE"); foreach (Process process in processes) { foreach (ProcessThread t in process.Threads) { int threadId = t.Id; } } From here now that I have access to the threads in a process how can I do the following: Tell the CPU % the thread currently has Kill the thread We have a process that runs away once in a while and using one of s ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. number of enemy units on map limited to 104

    How can this be changed This really isn't a hard limit anymore because it was a Multiplayer limit which was removed as part of the Shared Source Release. There still are limits though, in dteam.h you'll find: #define MAX_MOVERS_PER_TEAM 120 (There are 8 teams so 120 x 8 ) = 960 max units per maps. Also important to remember is that there are a lot of UI rescritions and such so unless you start looking to re ...Show All

  • Visual C# Validation Philosophy

    I am working with a Winform in VS 2005. I have been reading some books lately that say that using the error provider and checking it when you save or exit a form is a better, (less intrusive) way of doing validation than putting up dialog boxes. I see the wisdom to it but I wonder what should happen when you have many records in a form That is, lets say I have a winform with the Standard menu and toolbar on it that VS creates automatically, b ...Show All

  • Visual C# WebRequest on certain file

    Hi! In some cases there is no absolute url available - when there is an index.html or index.php. Then these parts of the url are not neccesary. But what could I do to fetch such files If I have an address like http://www.pocketpcmag.com/mobile/  - how is it possible to fetch the rest of the url THX! Tobias In this case, http://www.pocketpcmag.com/mobile/ is the "absolute" url.  You can issue a WebRequ ...Show All

  • Software Development for Windows Vista Build 5270 Installation Problem

    I'm trying to install the December CTP on a generic mutt PC -- PIII, older ATI video, 768MB RAM -- and have encountered a strange error. The installation process reaches the screen that prompts for "Install, View Release Notes, Repair"; then, when I select "Install", a screen flashes very briefly prompting for the license key -- not long enough for me to actually enter anything -- and I am returned to the "Install, View Release Notes, Repair" sc ...Show All

  • Windows Forms Reading a Word document

    I need to read a word document and insert every page as a field in a access database from a web page. The Visual Studio tools for Office are probably what you need. You can also import a reference to Word as a COM object. In both instances, your app will require Word on the target machines. ...Show All

  • Visual Studio Build is being skipped

    So I got my copy of VS 2005 Standard at the rollout event and installed it.  I took a compact framework project produced in VS 2003 and copied it to a new directory and converted it to VS 2005.  When I attempt to "Clean", "Build", or "Rebuild" the project I keep getting the message " ========== Build: 0 succeeded or up-to-date, 0 failed, 1 skipped ========== ".  I tried deleting the exe's and the object files manually to no avail. ...Show All

  • Windows Forms Wheel mouse event

    Hi, How can I catch the wheel mouse event on panel (or user control, or every othe control) Thank's Alexei Hi, I have found the solution: in mouse enter event set focus on panel... After it the wheel event is fired. Thank's Alexei ...Show All

  • Visual Studio 2008 (Pre-release) XML Databinding Problem

    I've got a ListBox (lbRecipeList) that is bound to an XMLDataProvider that I've hard coded into XAML. lbRecipeList has an event handler for SelectionChanged that updates the DataContext of StackPanel spIngredients to lbRecipeList.SelectedItem. Within spIngredients I have a ListBox lbIngredientsList which makes use of a DataTemplate defined as follows:     <DataTemplate x:Key="RecipeIngredientTemplate">     &n ...Show All

  • Windows Forms validate DataGrid bound to Array

    Good afternoon, I have a DataGrid bound to an ArrayList.  The ArrayList contains "segment" objects. Among other properties each segment object has a "value" and a "length".  The following must be true: segment.value.Length = segment.length In other  ...Show All

  • Windows Forms Why does the ClickOnce 'Install' button generate an xml page instead of starting download?

    Hello, I just published my application for ClickOnce deployment to my web site. When I click on the Install button on the publish\publish.htm page on my website, the browser returns the contents of an xml file and does not start the download. Does anyone know what might be causing this Any help or suggestions would be greatly appreciated. Thanks! Jason I have the exact same problem, on my pc running vis ...Show All

©2008 Software Development Network

powered by phorum