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

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

AndyL

Member List

IceAngel89
DotNetDave
Atlantaazfinest
MBann
Gorm Braarvig
Saurabh Kulkarni
Peter Freeman
gorla
Nitin Sharma22
ULeas
kenlefeb
DevDanS
rjevans
Michael_Giagnocavo
eric1969
imanish11111
Corrado Cavalli
VOC
KaiserSozeTR
cdemez
Only Title

AndyL's Q&A profile

  • Visual C# what is Impersonation

    can someone expain me what is Impersonation from an ASP.NET side and when it can be used. If you have any simple examples, please share. Thank you, Hi the code above is really not necessary... there you are using values (from web.config/registry) to impersonate one specific account! what you described above was to pass on the user credentials of the person connecting to the site: if that is what you want you need to do two things: impersonate = true (which you have done) http://msdn2.microsoft.com/en-us/library/xh507fc5.aspx and set the authentication to windows http://msdn2.microsoft.com/en-us/library/eeyk640h.aspx Hope this helps you out, please close the thread if it does ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Rocket Commander XNA Game

    Hi everyone. I ported my famous Rocket Commander game (first .NET 2.0 game, free game with source code) to XNA and thanks to some multi-threaded optimizations it runs very good on the Xbox 360 too now. More information, the download links, screenshots and some notes about the porting process from MDX to XNA can be found on my blog: http://abi.exdream.com Rocket Commander XNA Screenshot: Great game =D The code will keep me occupied for a while also, trying to find my way through my own XNA game (which I will post in a few weeks once I get past the triangle collision problems, for which the functions are like, non-existant). I'm proud of you, fellow European! Now go out there and make some more games! Christmas pizza to you! ...Show All

  • Software Development for Windows Vista Unwanted Yellow tint in DirectX-VMR9-Application

    Greetings everybody, I customized the VMRAllocator9-Sample from the newest Platform-SDK to project a Video-Texture on a Geometry supplied by me. I used to compile it with the nmake-Tool, as MS does not deliver a MS-Studio Project, and everything works fine that way. I set up a Project by myself for better comfort in VS8, copied all the Files and had quite a hard time resolving all the missing libraries and External Symbols for the Project to compile properly. The point now is that despite it compiles without errors and even displays the Video on my Geometry, the whole Video (and also Bitmap-Textures) is tinted Yellow. It seems like the Program misses the Blue-Channel, letting Blue Color out and displaying only Red and Green. I have no clue ...Show All

  • Visual Studio 2008 (Pre-release) Bug ? The Enabled control is not effective by MenuItem.Command.

    When the menu is displayed with the ALT+F key in the following codes, MenuItem doesn't become effective. MenuItem becomes effective if it clicks with the mouse. Is this a bug Window1.xaml file <Window x:Class="MenuBtnTst.Window1" xmlnshttp://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:l="clr-namespace:MenuBtnTst" Title="MenuBtnTst" Height="300" Width="300" > <DockPanel> <ToolBar DockPanel.Dock="Top"> <Button Name="btn" Click="OnOpenFileMenu"> <Button.Content><AccessText Text="_File"/></Button.Content& ...Show All

  • Visual Basic Change system time using vb.net

    Does anyone know how to change the system clock using code. I want to be able to set the date and time in my code. Any thoughts Thanks!!! here is what i have Global declared Public theCustomDateTime As DateTime = New DateTime(Today.Hour) i have a button and a textbox in the button code i have txthour.Text = theCustomDateTime.AddHours(1) when i click the button 1 displays in the textbox but when i click it again nothing happens. I want each time i click the button the hour increases by 1 and goes until 23. This should be changing the system clock so that whatever hour i put it as the system clock will change to that hour. ...Show All

  • Windows Forms how to use function key to set focus

    Hi, I have a problem here is that I have a grid which I am keying in value. What I need to do is that how can i use the function key any will do be it F1 to F12 to focus on some other combo box. protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { if (keyData == Keys.F12) { comboBox1.Focus(); return true; } return base.ProcessCmdKey(ref msg, keyData); } ...Show All

  • Visual J# How to Convert Java.awt.Image object to System.Drawing.Image object in J#

    I need to convert an instance of java.awt.image to System.Drawing.Image and vice versa. Is there any particular way to do this. I have an int[] containing the pixels of the image, as returned by a PixelGrabber. How can I generated a System.Drawing.Image from these integers Here's what I've tried: ------------------------ int[] pixels = ...; MemoryStream stream = new MemoryStream(); for(int i = 0; i < pixels.length; i++) { ubyte[] bytes = BitConverter.GetBytes(pixels[ i ]); stream.Write(bytes, 0, bytes.length); } Image image = Image.FromStream(stream); // ERROR: invalid parameter ------------------------ Any ideas how to do this ...Show All

  • Windows Live Developer Forums Explicitly show text for pushpin (no mouseover)?

    Folks: Is there any way to force the display of the pop up for a pushpin without requiring the user to mouse-over it I'd like to start the display of a map with a handful of my pushpins already popped-up; is that possible N.Z. Bear The Truth Laid Bear http://truthlaidbear.com There is an example out there that does this but we wanted both. A small label on the point itself and a detailed mouse over. We used AddControl, but that only half of it, you also need to remove them. Have a look at this (left out the AJAX query to get data): var map = null; var pinID = 0; var LabelID = 0; function GetMap() { map = new VEMap('MapDiv'); map.LoadMap(new VELatLong(0, 0), 1 ,'r' , ...Show All

  • SQL Server New login problem

    Hi, When i create a new login on my sql server 2005, i have a default database role selected. Is there a way to remove it or to modify it Thanks Zahir Hi, do you mean the public role This role cannot be removed or disabled. Try to make the role secure an grant not that many rights to it. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de ---- ...Show All

  • .NET Development Detecting Disconnected Sockets

    I'm creating a multi-threaded Tcp-Server, each thread reads from it's Network Stream in blocking mode. How can I detect if a client is lost (not disconnected correctly) My server works by catching the IO exception or receiving 0 bytes from the read function to alert a disconnect. The problem is closing the connection (and thread for that matter) when the client's power is lost or it loses network connectivity. Any help would be appreciated. Thank you.   Durgaprasad Gorti wrote: Yes on the server side you can post a receive. One thing you can do is always have an async post on on the socket to get if there is any received data if that gives 0 or exception then the ...Show All

  • Visual Studio Express Editions Get back to my program with keyboard

    Hi, My program will be hidden and at times I want to come back to it with a keyboard combination, such as alt-u. Can anyone tell me how to do that Thanks in advance, Wayne Good pickup NoBugz I personally wouldnt register hotkeys with Windows for a number of reasons. 1) the hotkey you assigned could change within say future version of Windows (unlikely) 2) the hotkey maybe registered with perhaps another applications It is good that you unregister the hotkey just before you exit, good practice. But that was just my own personal opinion :-) ...Show All

  • Smart Device Development wsdl and the compact framwork

    I am sorry if this is the wrong forum for this but if any one has any ideas thanks. I have the following problem run the wsdl.exe program to get the cs file with the definitions in works fine when run in a windows app with the full framwork. But if I try to move it over to the compact framework I get an error with the " AsyncCompletedEventArgs " in the file as this is not part of the compact framwork. Is there a way to get round this. Many thanks Slim Thanks for that at least its a start. I know there must be a parameter for the WSDL.exe to do it its just finding it. many thanks Slim ...Show All

  • Visual C# System.TimeZone/TimeZone resource

    I am creating an application that will use timezones, both nationally and internationally. Are there any resources on the net that I can get a list of time zones, or development insight I don't know if you are familiar with SimpleTimeZone, but that is what I am using for this project. However, it requires the Abbreviation and Daylight Abbreviations. Is there somewhere I can get this information I can't find information on half the Time Zone's listed in the registry. ...Show All

  • Microsoft ISV Community Center Forums 0x62304320 referenced memory at 0x62304320

    How do I fix this ...Show All

  • .NET Development Read Until “,” Store Value – Help me out!

    Hello, I’m reading form a Txt file that has comma separated output, then taking that data and passing it to variables for use later on. Sample Data Entry: 71,339,384,12 So exactly how is that done To make matter more complex each of these numbers can range from 0 to 9999. Any idea hi you would do something like this using ( StreamReader sr = new StreamReader ( "path" )) { //for every line while (sr.Peek() != -1) { String [] pieces = sr.ReadLine().Split( ',' ); //giving you an array of strings // cast them to number to do something with them.. int i = int .Parse(pieces[0]); } } Hope this helps, please close the thread if it does ...Show All

©2008 Software Development Network