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

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

RhysDavies

Member List

HariAdu
Dylan Smith
Steve Huckett
Malleyo
petersmith
Asif Hameed
cgillum
Mark Arrildt
John Sorensen
WHats wrong
Tan Chin Yong
GazCoder
gress
sunny123
Espo4Life
Lou Machado
Mable
Northern Ferret
msorens
PhilipHaugaard
Only Title

RhysDavies's Q&A profile

  • .NET Development Invoking Default email client without querying registry entry

    We have a windows form application in wich we need to invoke the default email client. The simplest way to implement is to query the registry entry to find the mail client and executing it by calling Process.start(). But we want to know any other best way available ( any managed api available to find and invoke the default mail client instead of querying the registry ) Ahhh, You dont need to know or check registry for your default emal client just do this: System.Diagnostics.Process.Start(" mailto:xxxxxx@ hotmail.com"); if you also want to put the subject automatically, Do this: System.Diagnostics.Process.Start(" mailto:xxxxxx@ hotmail.com Subject=Rizwan Here "); It'll automatically trigger your d ...Show All

  • Visual Studio Team System Configuration Manager not visible in IDE

    Guys, I do not see Configuration Manager in IDE of VS 2005 Team Suite, and basically cannot switch between Release and Debug mode for the code. I have checked all possible placed and I do not see how I could make it to appear. Am I missing something Tools | Customize from the menu. In the Build section, drag the "Solution Configuration" item from the list on the right to the build toolbar. You might also want to drag the "Platform Configuration" item as well. The Configuration Manager itself is available from the drop-down list of either of those controls. Also check Tools|Customize|Toolbars to make sure that the Build toolbar is visible. You might also try the infamous devenv /resetsettings from the comm ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Where is the download?

    It is 12:48 pm here (GMT + 1)... in Nuku'alofa (GMT + 13) it is tomorrow... So where the hell is my download link :-D EvilOneSD wrote: Hmmm... the holy grail is here on my desk. Btw... it's "tomorrow" now... What, you have one too :p It's been "tomorrow" here all day... heck, it's almost the day after here! ...Show All

  • Visual Studio 2008 (Pre-release) exception when closing window in button event handler, only when using keyboard

    I ran into an interesting problem, could this be a bug in the Windows.Interop layer In short, I run a win32 app, where a WPF window is opened from managed C++ code. The window has an OK button: <Button Name="okButton">OK</Button> okButton.Click is handled in the C# window implementation, and forwarded to another handler in the managed C++ code, where the window is eventually closed (using Window.Close()). This works nicely, as long as I'm using the mouse to hit the "OK" button. But, when I tab to the button, and hit return, a Win32Exception is thrown after the C# event handler returns (at which point the window is already closed): System.ComponentModel.Win32Exception occurred Message="Invalid win ...Show All

  • Visual Studio VS changed just created region in VB.NET!

    I faced with a weird problem. I created a VSIP package which created hidden regions in C# and VB.NET editor. But I found weird problem. For example, we have a class Test1 and two methods Method1 and Method2: 1 public class Test1 2 { 3 public void Method1() 4 { 5 int i = 0; 6 i++; 7 } 8 9 public void Method2() 10 { 11 int j = 0; 12 j++; 13 } 14} When I tried to create a region which contains, for example, from line "int i = 0;" in Method1 (line 5) to "int j = 0;" in Method2 (line 11), just after executing AddHiddenRegions I found that VS changed region span (from line 4 to line 13)!!!! Why Does anybody explain me, why VS changed a created region How to avoid it Please help. Thanks. ...Show All

  • SQL Server Merge Join - HELP

    Hi, I have a SQL Statatment: SELECT  *   FROM TABLE1 AS A     JOIN TABLE2 AS  B       ON A . X = B . X     AND A .Y = B .Y When i execute this code in sql server returns 549 lines. I created a package with two oledb sources one for each table, sorted the tables with fields X and Y after placed a Merge Join with the fields: A.Y join B.Y order 1  A.X  join B.X  order 2 both fields with the Join Key checked But my package return 411 lines. What's happened :( When a i have the code: SELECT A .X , A . Y , B . X , B .Y   FROM TABLE1 AS A     JOIN TABLE2 AS  B ...Show All

  • Visual Studio 2008 (Pre-release) Service Configuration Editor and custom bindings

    Is it possible to have the Service Configuration Editor correctly represent an XmlDictionaryReaderQuotasElement property on a custom message encoder in a custom binding I'd like to have Reader Quotas display in the editor with all its properties read/write, as usually seen on a standard binding or message encoding; instead I get a read-only property that displays only the type of the element. I'm using the GZipMessageEncoding binding element from the SDK with a few changes. The config as shown below works when the configuration is applied to the binding element, but it would be nice to have the editor show the Reader Quotas property correctly. <customBinding> <binding name="compressedBinding"> <gzipMess ...Show All

  • SQL Server Setting up MSSQL 2005

    hi all, My company has finally decided to go with MSSQL 2005. now i havent used mssql since version 7.. which was a while ago.. whats the difference in terms of the setup and the easy of use Thanks Samuel. will do.. at present this company here uses msde for the backend for their application.. what books or online resources would you recommended for the new MSSQL 2005 ...Show All

  • Visual C++ ReadProcessMemory crashes computer

    I am using CreateProcess, then using the process handle that returns and passing it to ReadProcessMemory. I have about 10 addresses I iterate through using ReadProcessMemory on each of them every 200 ms. Whenever there is a change detected in one of them, it will output the string ReadProcessMemory returns from the target process's memory. When I print this string to the console, my computer will emit an extremely loud system beep and crash, or it will just emit an extremely loud system beep. I haven't tested my program on any other computers yet, but if it is a computer specific-issue, but I'm running the program on a Dell Inspirion 9300 laptop. On a related note, if I'm playing a game or doing something else fairly processor intensive (r ...Show All

  • Visual C++ Global Keyboard Hook blocks SendInput()

    Hi all,         We are trying to control the remote machine through code. For that, we have installed global keyboard hook at client side, but whenever we try to send the message from server to client (using SendInput() API) the global hook present at client side blocks the messages from the API SendInput().        Any help will be appreciated.   Thanks & regards. hello friends, this is Naveen... i'm making a website game using silverlight and c# but the problem is that keyboard doesn't support when i play with full screen and when i play it in normal browser.. keyboard support.... so i tried keyboard hook to trace the clientside ke ...Show All

  • Smart Device Development Performance - Standalone Device Emulator 1.0

    Hi! Is there a hardware requirement for run the standalone emulator with good performance Any recomendations Any way to improve performance Thanks. Device Emulator keeps a thread pool, so if you have hyperthreaded CPU/multiple CPUs, it will take advantage of it. Other is have atleast 256 MB of RAM. I would suggest you to move to Device Emulator 2.0 Preview. It is actually a lot faster as compared to Device Emulator 1.0. DE 2.0 CTP is free available from Microsoft site. -Thanks, Mohit ...Show All

  • .NET Development Simple Reflection Question - Getting the class name?

    This is probably easy, I just stink at reflection and can't seem to locate the resource I'm looking for... I like to use Debug.WriteLine() in order to help trace events. What is particularly helpful is to know which Class and Function posted the Debug, so I include that in the text, something like this: Debug.WriteLine("MyClass:MyFunction:Fired."); Of course, I have to keep retyping the Class and Function name each time I add this to a new location, what a pain. So I figured it would be easier to use reflection to figure out what class and function I'm in. Something like this: Debug .WriteLine( MethodInfo .GetCurrentMethod().Name + "():Fired" ); That does a nice job of giving me the Function name I'm in. Now I just need t ...Show All

  • Visual Studio Express Editions Program to launch programs :)

    Hey, I am looking to make a program that will be able to launch two other programs simultaneuosly. Can someone show me some code please Im pretty stuck :( Take a look at the Process class and it's Start() method... together you can launch a pair of apps just as easily as:       Process .Start( "notepad.exe" )       Process .Start( "calc.exe" ) ...Show All

  • Visual C# Special type of vedio editing

    We need to make a web appllication, where can be able to put text and/or audio content into an exiting vedio clip. I wonder whether it is possible, especially in web. Any suggestion ...Show All

  • Visual Studio Changing the size of the notes associated with check in / check out

    I have just started using VSS2005 having used CVS a little in a previous life. I was a little frustrated at the apparent low limit on the number of characters I could put in to the comment associated with my first check out / check in. Is there any way to change this limit or am I doing something wrong Thanks Richard Berg MSFT wrote: I believe the hard limit is 63 characters. That's a shame. Still, not the end of the world. We'll just have to invent our own shorthand and use awful txtspk ...Show All

©2008 Software Development Network