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

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

mrgreentie

Member List

Kevinmi
Kenneth LeFebvre
Khurram1139
Kevin Gordon
Mark3W
David Armor
LoadStore
Capella_student
DotNetNinja
Antal Pak
ivanL
jcgalveza
Asim Ahmed
-Mak-
Jared0x90
Gene W
cpvgd
Joachim Roppert
Shimshaker
Tedoniman2
Only Title

mrgreentie's Q&A profile

  • Windows Forms populate a TreeView from a Typed Dataset

    Hi, I have a Typed Dataset with tables with folowing relations: -Main   |    --Product   |    --List          |            --Accessories          |            --PlugIns All these are tables. I want to display this in a treeView : Table names for Product and List; but&n ...Show All

  • Windows Forms Trouble drawing theme elements transparently

    I'm trying to draw a windows theme element (the window close button, specifically) to an image, and whenever I do, the image has ragged non-transparent bits. I got this code from a sample that didn't do this (it was all owner-drawn, mine draws to an image.) Any idea why it won't draw with full transparency Bitmap output = new Bitmap(closeButton.Width, closeButton.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb); Graphics fx = Graphics.FromImage(output);        IntPtr hTheme = OpenThemeData (Handle, "Window");           Rectangle rClose = new Rectang ...Show All

  • Visual C# caret of the richtextbox

    Hi, I am working on an editor using richtextbox. When the background color is set to a color close to the mid-tone (i.e. close to 128,128,128), the caret becomes very vague and difficult to locate. I found some material on the internet about changing the appearance of the caret using CreateCaret. But that does not seem to work with the richtextbox. Is there a way to customize the caret color or the caret width of the richtextbox hi, Check these links out ,, dunno how helpful it will b for u http://www.codeproject.com/cs/miscctrl/AlphaBlendedTextControls.asp http://msdn2.m ...Show All

  • Visual Studio Tools for Office Getting Memory Erros with Add-In

    I am deploying the Add-in in windows XP. As soon as Outlook tries to load the the adding I get memory errors. Then Outlook disables the add-in. The same addin I have installed in Windows 2003 both stand alone and in terminal services mode. I don't know if any one has found these problems with XP. Thanks, Shrini It's a bit difficult to give you an answer based on the information you provided. Please be more specific on what you try to do in your addin. It looks like W3K is accepting things XP is crashing on in an early stage. -= Maarten =- ...Show All

  • .NET Development Determining hidden members via reflection.

    What's the sane way to determine, via reflection, whether a type member has hidden a method or not ***CODE*** namespace Goomba { public class Base { public virtual void Action() { System.Console.WriteLine("Happyness is for fools!"); } } public class Subclass : Base { public override void Action() { System.Console.WriteLine("Get happy!"); } } public class Shadow : Subclass { public new void Action() { System.Console.WriteLine("This is the shadow"); } } } ***CODE*** Via reflection, grabbing Shadow' ...Show All

  • Visual C# How do I calculate the number of days between two dates in C#?

    Does anyone have a code sample that might help Here's also a suggestion: Code Snippet private int DateDiffInDays( DateTime fromDate, DateTime toDate) { return toDate.Subtract(fromDate).Days; } ...Show All

  • Smart Device Development Get ActiveSync IP Address

    Right now I'm working on a desktop / PDA combination application and I need the Desktop computer to be able to establish a TCP/IP connection to cradled device. Is there any way for me to have the desktop app connect to the device without needing the user to know the IP I have the same problem. I am trying to connect from Desktop PC to Pocket PC (placed in a cradle and connected via. USB and ActiveSync 3.8). Does it mean, that it's impossible to have a communication, which will be started by a request on Desktop Side ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Textures flickering

    Hi, I have a scene with some sprites in it. I am using alpha blending on the sprites for transparency and everything is working pretty well however whenever the sprites are more than a certain distance from the camera the textures start to flicker (different pixels vary in intensity). I have tried using two different forms of texture loading: myTexture = ResourceCache.GetGlobalInstance().CreateTextureFromFile(dev, "..\\..\\Textures\\myTexture.tga"); and myTexture = TextureLoader .FromFile(dev, "..\\..\\Textures\\\\myTexture.tga" ,1024,1024,0,0,Direct3D. Format .A8R8G8B8, Pool .Managed, Filter .Linear, Filter .Linear, 0); ...Show All

  • Visual Studio Team System Can the Project Portal web site upload documentation?

    Hello, Before I make the effort of installing TFS, I was just have a question about the project portal system. Is it possible to set up folders for documentation, and give access to this folder to external people (eg development partners or even clients), through the project portal web-site Also, I'd like to allow these external people to create their own documents, or edit existing ones depending on access rights allowed (certain users can read certain documents, others can write too). Is all this possible through the portal web site or do you need to have VS to edit/create new files (in which case the Project Portal just becomes a r ...Show All

  • Smart Device Development Creating a unified installer for both SmartPhone and PocketPC

    Hi, Is it possible to create a unified installer that automatically installs the correct version of software depending on whether a SmartPhone versus PocketPC is connected Basically, one installer self extracting Windows .exe file that installs the correct .cab file of two .cab files (SmartPhone versus PocketPC). Can it be done with the .inf/.ini files Thanks for letting me know. We will change this approach after our beta testing is completed, since we do want to follow proper Microsoft procedure since we want to get the software Microsoft certified soon.   At the moment, we are targetting only 2 ...Show All

  • Windows Forms ListView Context Menu

    How I can use difirent context menu on ListView Column Header and ListView items Please help. The list view control has events for SelectedIndexChanged and ColumnClick. Handle these two events, in the SelectedIndexChanged event show the context menu for the items, in the ColumnClick event show the context menu for the headings. ...Show All

  • Visual Basic numeric calculations problems

    Hi guys, I have a problem in working out some calculations within a form. My form is called, claddagh_database, which is linked to data from an access database using Jet 4.0 I have some fields with money values in, Total value inc VAt, Deposit, Stage Payment & Balance Payment. In access I had a field called Money Due, which was calculated using the expression  Sum=([Total Value Inc Vat]-[Deposit]-[Stage Payment]-[Balance Payment] This then showed how much the customer still owes. The thing is, I cant seem to do this in VB.NET..... ( or find an equivelant function ) I have looked in a few books I have, website etc etc, and just cant ...Show All

  • Visual Studio Express Editions VWD Couldn't be extracted

    Hi, I receive an error during extraction of the vwd.img file, it asks me to retry, ignore or quit. I try retry but same prompt re-appears, when I click ignore, files are extracted but installation encounters problems. Please let me know how to fix the issue. Thanks Zubair Yes, the problem was with the download size of the file, re-download solved the problem. Thanks Zubair ...Show All

  • Microsoft ISV Community Center Forums How to handle CLOB Data in VBA for Excel?

    Please, somebody, I need ASAP a solution to handle CLOB Data in VBA. I need to pick a String variable and insert and update it in a CLOB field. I need also, to store whatever is in the CLOB field in a string Variable. Does anyone know how to do it Thanks! per our support engineer: Would you please ask our ISV to check whether the document (below) can resolve the issue How To Use ADO GetChunk/AppendChunk with Oracle for BLOB Data http://support.microsoft.com/ id=185958 And please let our ISV know that the database he used is not our product. We can offer more samples of the S ...Show All

  • Visual Studio Team System Is there a way to abort a web test if it encounters errors?

    Hi, all. This is probably simple, so I apologize if this is too much of a newbie question. What I am seeing in my web tests is that if one step fails, the rest of them continue on. So, let's say my web test has 10 steps and step # 7 failed. Then steps 8, 9, and 10 are still executed. Is there any way to tell the web test to stop/abort once it encounters an error Thank you. What if you test the webtest and it works all the time and then run a load test that contains this working webtest and errors start appearing. If an error is reported, it appears that the script continues on, potentially reportin ...Show All

©2008 Software Development Network