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

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

DannyRC

Member List

reevolution
YRaj
Yaroslav58211
once4ever
Andrew McGhie
Methark
MeetMe
Tamim Sadikali
TomLake
Josey
anish77
SQL McOLAP
A L MA
Henk vd Geld
Aengus
Ephraim Shurpin
pawan_atl
Alberto Ramacciotti
Spence Gong
Marioh
Only Title

DannyRC's Q&A profile

  • Windows Forms Setting Datagridview Styles Dynamically

    Hi, As part of my learning of VB express I am stuck at the moment on setting the datagridview styles dynamically. I can change the default formatting colours etc but what I would like to do is change the colour of a complete row based upon the value of a given cell within that row. I have in my datagridview a number of rows where one row has a cell with the value 10. I would like to paint this row's background red to highlight it from the rest. I have tried many ways of doing this but without the required result. I have used the .rowprepaint and .rowpostpaint events Any help would be very welcome   # Re ...Show All

  • Visual C++ Use of nonstandard file extensions in the IDE. Not behaving the same as .cpp files.

    I have Visual Studio 2005, Professional Edition. I wish to use non standard file extensions in Visual Studio 2005. Specifically we are using “.cp” not “.cpp”. I am able to compile by doing the three steps below, but the “Scope” and “Function in ‘scope’” dropdowns are showing “Unknown Scope” and “” respectively. These dropdowns are part of the document just under the tabs showing the open documents. Any assistance on populating these scope and function dropdowns will be greatly appreciated. I am able to compile by adding: 1) [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Languages\File ...Show All

  • Visual C# Windows Service that watches the keyboard

    Hi there, I have a working windows application which implements a global-system-hook-class to watch the keyboard and log the pressed keys. The statistics are used for language analysis. In order to automate this process a little bit more, I want to write a windows service which does the same monitoring. I worked with servies before, but last time, I used a timer, because the service was supposed to work in a certain interval. This time, I want the service to work permanent. My windows application instanciates the globalHookClass, registers the conserning event and then listens for the keys; system wide! How can something like this b ...Show All

  • Visual FoxPro Database security

    Sorry, my english less good . I'm making a program by using Visual FoxPro computer "A". All database, tables, form, menu and report stored in that computer. Which I wish to ask: 1.        If someone using computer "B", do he/she can make program with source exist in computer "A” 2.       If there are some computer which join by workgroup or domain, then each the computer have front-end and database is store in computer "A", how to be every the computer can only open data pass provided front-end, and cannot open table or delete file though use Visual FoxPro i ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to play a single note?

    I'm not sure this is the best forum to ask this question, but I'm going crazy trying to figure out how to solve this problam I have: I'm programming using Visual Studio .Net 2005, and just installed the latest DirectX SDK. My main Programming language is Visual Basic.Net So, to the problam: In a project I'm building I need to have a class/method that gets some information about a musical note (the pitch/register/note+octave(whatever is esier to do), length (in milliseconds), and volume), the class/method should in turn play that note. I can't use a Wave file. And using a MIDI file seems like an overkill. And I just c ...Show All

  • Visual Studio Team System New Team Build Type Creation Wizard fails

    Here's the situation...    I initially created a team build type using the "New Team Build Type Creation Wizard" which didn't work out quite right.  Deciding to try again, I deleted the build type and wanted to start over. In which case I have no build types showing. Bad idea.  Cause now I can't create a new build type.   Here are the steps I'm using to create a new build type... 1) From the VS menu.... Build --> New Build Type 2) From the wizard ... Enter a build name, and description. Click next. 3) Now it shows the "Select and order solutions to build."  This is where the problem is.  I ...Show All

  • Visual C++ Error including wab.h

    By including wab.h I get a wchar redefinition in wabdefs.h: E:\Programme\Microsoft Visual Studio 8\VC\PlatformSDK\include\wabdefs.h(78) : error C2371: 'WCHAR' : redefinition; different basic types E:\Programme\Microsoft Visual Studio 8\VC\PlatformSDK\include\winnt.h(266) : see declaration of 'WCHAR' when I use VC8. How can I solve it From www.voidnish.com You cannot #include wabdefs.h with VC++ 2005 Category: You cannot #include wabdefs.h with VC++ 2005 Category: VC++ 2005 — Nish @ 11:04 pm The following code will not compile :- #include <windows.h> #include <wabde ...Show All

  • .NET Development Using a foreign key.

    Using the System.Data namespace, and in memory DataTables. I have two tables. DataTable enumTable; DataTable dataTable; typesTable has two columns, "id", "string_name". dataTable has two columns, "id", "type". dataTable.type is foreign key into the typesTable. Now, I have a DataGridView, which I want to show dataTable. Instead of showing the numeric value of column "type", I want to get the appropriate "string_name" from the typesTable. I have poked around creating a DataView, as well as combining the creating a DataSet, but I can't seem to make any headway. ...Show All

  • Microsoft ISV Community Center Forums Excel VBA

    I am using a user-defined type. Is it possible to access the individual variables with an index number rather than by the variable name itself For e.g.: Type DescType PN As String Qty As Integer Check As Boolean End Type Dim DescVar as DescType I want to refer to var PN as DescVar(1) or DescVar[1] or DescVar.1 ,etc and not as DescVar.PN Thanks, enkay Hello, You could use a class module instead of a custom type and have a Item property that takes the index of the item you want and returns the variable... like this.. Public PN As String Public Qty As Integer Public Check As Boolean ...Show All

  • Visual Studio Team System Customization of MSF Agile?

    Has anyone been able to successfully customize the Process Guidance templates, incorporating attributes of your own software development lifecycle into MSF Agile This is become a critical problem for us, as we are trying to initiate a project using TFS, and would like to have the Process Guidance portal reflect how we really do things. I am looking for help from someone that has been able to either 1) modify the individual XML files (e.g. Roles.XML) or 2) modify the ProcessGuidance.XML file. I have had only mixed success in being able to add items like Tracks. And, some of my generated pages end up looking a "little different&q ...Show All

  • SQL Server A question about group structure?

    hi, all I have one report like this: Students Scores For Class 1 StudentID StudentName Age Score........ ....... Average:....... Students Scores For Class 2 StudentID StudentName Age Score........ ....... Average:....... ... For this report, I need to show StudentID StudentName...... on every page as header, but Students Scores For Class only show once for each class. So, in this case, the structure would be: GroupHeader --> Students Scores For Class 2 --> StudentID StudentName Age Score........ TableDetail ....... GroupFooter -- >Average:....... What would the StudentID, StudentName..... be in order t ...Show All

  • .NET Development Transfrom Memory XML and send output to client

    So i am loading a base XML file. Modify this file in the memory, load an XSL that should convert it to a nice HTML page. however, i have no clue as to how i can send the transfrom results to the client! here is what im doing: //the classes public abstract class XMLWorker { protected XmlDocument xmlDoc = new XmlDocument(); protected XMLWorker() { } } public sealed class XMLPageCore : XMLWorker { public XMLPageCore(string Path2BaseXML) { xmlDoc.Load(Path2BaseXML); XmlElement selectedNode = (XmlElement)xmlDoc.DocumentElement.Selec tSingleNod e("General /Now"); } public void Deploy(string XSLTPath, ...Show All

  • SQL Server Maintenance Plans Cleanup Task does not delete files

    Hello, I've created a Maintenance Plan with a Backup Task and a Cleanup Task. The Backup task works fine, but not the cleanup task. When I execute the maintenant plan, there's none error message but the old backup files aren't deleted. Could you help me please Thanks I was a bit puzzled by this as well, but then i read the help file: Backup and restore history Retaining records of when recent backups were created can help SQL Server create a recovery plan when you want to restore a database. The retention period should be at least the frequency of full database back ups. ...Show All

  • .NET Development XML-Schema (XSD) without internet

    I have just started with XML/XSD and I have a general problem of understanding. All examples in books or on the internet I have seen so far use a line equal or similar to <xs:schema xmlns:xs=" http://www.w3.org/2001/XMLSchema "> in the xsd-file. And then in the xml-file <.... xmlns:xsi = " http://www.w3.org/2001/XMLSchema-instance " xsi = "http://.....>. I'm often working on a PC that is not at all connected to the internet und thus I need a local XDS-file, not on the internet. How must this be done Entering a normal path does not seem to work. What is this " http://www.w3.org/2001/XMLSchema &q ...Show All

  • Windows Forms Adding nodes to a treeview dynamically

    Hi I have a main Form with a treeView...and some nodes which are populated from a database....I have an Add New Node Form with an add method  that adds a new node to the database...Obviously I have to reload from the database before I see the new node added. Now I want the node to be added dynamically...... This is in the Add form that&n ...Show All

©2008 Software Development Network