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

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

ScottRitter

Member List

Derek Burnham
Mohsen Kokabi
spydude777
Microsuck
GCB
Mart Tapp
Dark Dominion
Dan_Cheshire_UK
JackHsueh
Mark Coffman
Michaelnie
Norbert.Bender
stylli
Ryan98034
Gregg2006
tenchyz
simsod
susan_wolber
G. Dean Blakely
Ola Berntsson
Only Title

ScottRitter's Q&A profile

  • Visual Studio 2008 (Pre-release) Brush Invert

    Is there an equivalent in WPF to BitBlt with DSTINVERT as the last argument (This inverts whatever is behind the brush) Cheers More details on my previous post: I'd like to display a "selection" rectangle. The rectangle should invert the colors of whatever is behind it. I noticed that Microsoft Word does this when you select a piece of text but the WPF TextBox does not. Does it mean it's not possible in WPF ...Show All

  • Windows Search Technologies Deleted items still showing up

    How do I get deleted items (email inbox, deleted items, sent items, etc.) to stop showing up in the search results. For example, I recently deleted a file from my inbox. It was in my deleted items folder until the end of the day when I rebooted my computer. My Outlook settings delete all files in the deleted items folder upon exit. The next day I do a search and this file shows up in the index in two places - the inbox and the deleted items folder. It is in neither. It does not exist anywhere anymore. Is there a setting to take deleted items out of the index ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SpaceWars walkthrough

    I remember a user posting a website that showed how to get the game to accept keyboard commands (by uncommenting some code I believe) and messing with some of the gravity and shooting values. Where is it, or some other SpaceWars tutorial ...Show All

  • Visual Studio Express Editions Replace text in main form text box via input from 2nd form old/new text windows

    I have a program in which text is entered into a textbox which is itself, when saved, a load file for a certain database type program. I'm fleshing out the menu items and thought it would be good to have a replace function since sometimes if there is a repetitive entry which isn't right, I could easily go through and replace it... I created a new form for this function, which is small and offers the text boxes for entering the old and new text to replace in the main form's text box. I've read through examples via the MSDN index, but nothing seems to be working. This seems to be rather straightforward, so I don't understand what I am missing. The code I have so far is below: Public Class ReplaceText Private Sub OK_Butto ...Show All

  • .NET Development Parse response from web service

    I've created a web app that connects to a web service which returns a stock quote. It returns xml in the form of a string as follows: <string> <StockQuotes><Stock><Symbol>HAN</Symbol><Last>61.27</Last><Date>8/10/2006</Date> <Time>12:03pm</Time><Change>-0.65</Change><Open>61.60</Open><High>61.75</High> <Low>61.25</Low><Volume>4900</Volume><MktCap>8.784B</MktCap><PreviousClose>61.92</PreviousClose> <PercentageChange>-1.05%</PercentageChange><AnnRange>46.30 - 69.74</AnnRange><Earns>6.50</Earns><P-E>9.53</P-E><Name>HANSON PLC (HLDG </ ...Show All

  • Smart Device Development Check Network Connectivity and Internet Availability

    Hi Experts, I want my application for smart device to check for network connectivity (i.e., whether within range) and internet availability. The following links serve part of my requirement: 1. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=67152&SiteID=1 2. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=693339&SiteID=1 But still I am not able to find out if the device is running in flight mode . If I am not mistaken, then I think Internet and Network is not available in flight mode. Link #1 is a slower procedure to find internet availability. Is there a faster way to do it Regards, Suman Hi Biju / Suman, I have a Windows mobile application and not web based. So how should I be checking the network co ...Show All

  • Visual Studio Express Editions Show Data Source item

    When I try to open the Show Data Sources window from the the data menu, I get an error that says "Operation Failed Only True type fonts are supported. This is not a true type font." I've tried changing all the fonts in the options-environment-fonts and colours area to Times New Roman and restarting but the error persists. Any ideas Robert (in Brisbane) I recieved this same error message in SQL Profiler 2005 on a Server 2003 machine over RDP. It was easily resolved by going to Tools >> Options. I changed the font to Courier New and it worked like a charm. :) ...Show All

  • Visual C++ Convert Alphabetic characters to Morse alphabet

    I want to write a  code like that  when user input some string (upper case) than program convert it to morese alphabe... the symbols have to be following that... when input somethings, I reach to each character's morse code but  I can't put that morse code into array for example input is AHA (array buffer is take it) I want to put ".-" characters for A charcter into buffer array where position A is ... where I make mistake code is not perfect finish but when give input find char... and try to replace morse code   #include <STDIO.H> char buffer[81]; void getString(char *); void eNcode(char *); void showIt(char *); void sElection(char ); char mEnu(); char  *symbols[27][2]={ { "A",".-#"},{"B","-...#"},{"C","-.- ...Show All

  • Visual C++ Key assignments for VC 2005

    Where do I find the default key assignments for VC It's amazing that I cannot find them in the help. Hello And on Boris’ blog: http://blogs.msdn.com/borisj/archive/2006/05/16/487957.aspx Thanks Damien ...Show All

  • Windows Forms how to disable selected image index property in treeview

    Hi I'm using tree view control in my application. I'm using Imagelist to provide images for nodes,but How can I avoid selected item image index Thank u You have to do SelectedImageIndex = ImageIndex per TreeNode I am unclear as to why they have a default TreeView SelectedImageIndex and ImageIndex. ...Show All

  • Visual Studio 2008 (Pre-release) Updated answer to "How to bind to sub-properties?"

    I scoured the web and forums for how to bind to sub-properties, but it looks like all the info is out of date (for instance, http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=127103&SiteID=1 ), so I will ask again. How can you bind to a sub-property < ControlTemplate x:Key = " MyControlTemplate " TargetType = " {x:Type local:MyControl} " > < TextBlock Text = " {TemplateBinding Property=MyProperty.ChildProperty} " /> </ ControlTemplate > This doesn't work. I get an error: Error 4 Cannot find the type 'MyProperty'. Note that type names are case sensitive. Can anyone tell me how to do this I'm using the June CTP. Thanks! ...Show All

  • SQL Server Attribute Relationships, Related Attributes, Uniqueness

    I haven't see a clear example of how to setup the following for efficient aggregations: Example 1: If I have a Hierarchy like: Year->Month->Day Its clear how to setup the attribute relationships as long as the Month members are all unique. Can I somehow include an Attribute like WeekendIndicator Weekend certainly isn't unique, but it would seem there should be a way to roll this up and include it in the attribute relationships. Example 2: In many of my dimensions, I have Hierarchies whose Name member is not unique, but there is an Id value that is unique. I want to build the relationships using the Ids since I know the aggregations will be good...the problem is, that a program querying the data would use the IDs, b ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. will i need to learn the basics for c#

    before i can start developing games or will the software help for new begginers. i am learning (supposedly the basics of c++ this year) but not c#, althought microsoft just donated sum stuff to my high school so i imagine it will be microsofts visual c++. i was just wondering if im going to haft to go through the hardships of learning c#. I would aprreciate it if anyone could give me a good website to learn the latest version of c# or atleast were u learned i would appreciate it thanks I run the www.learn-XNA.com site, over there we have 2 videos up so far. The first is about geting C# and MDX installed (pretty easy to do) and the second video was just put up today and it is the first of three videos on le ...Show All

  • Visual Basic Editor changes keyboard @ and "

    Hi, While in the VS code editor (VB or C#) it occasionally swaps the use of the @ and " keys - so the @ key produces the " character. Other keys change too. While typing I may be pressing some key combo that makes the switch, but I'm not sure what. If I have several instances of VS open it can change at different times - not all at the same time. The only way back is to close and re-open the IDE. Any ideas Thanks I have had this problem. You have discovered that the shortcut key to full screen mode editing is Alt-Shift-Enter but that this clashes with the default shortcut key to change your keyboard language which is Alt-Shift, because you will tend to press Enter last. Look in you ...Show All

  • Visual Studio 2008 (Pre-release) Change rectangle property from code

    Hi guys, i've got a rectangle i've drawn in a grid, how can i change its propertys from code, i think i need to build once or something, should i be using X:name or something...FindName, i'm a bit lost, thanks guys si < Page x:Class = " WPFpong.Page1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " Page1 " Width = " 800 " Height = " 600 " KeyDown = " OnKeyDownHandler " > < Grid Background = " Black " > < Rectangle Stroke = " White " Fill = " White " Margin = " 12, ...Show All

©2008 Software Development Network