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

Software Development Network >> ralph.'s Q&A profile

ralph.

Member List

Tryst
JeffBrown
mobigital
Gagandeep Singh
mogadan
Simon Telling
Mark Goldstein
Joseph Ollero
Al33327
Laxmi.
fdc2005
gudel
JNG
Bing M.
Chadrico
drdexter33
A1Programmer
wld_one
pessi
Anarchy
Only Title

ralph.'s Q&A profile

  • Visual Studio Express Editions DHTML control

    Im usign the DHTML control to make a html editor but the code for inserting pictures into RTB doesent work with the DHTML box, does any one have the code for inserting pictures from a file into a DHTML box ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. please help

    I'de put a pictuer up of the insidint but i can't. When i try to debug it will say, "Couldn't connect (ALOT of stuff) please rebuild project, or place in the right location." i put the right location and i started all over but it's like not working for me soneone please help me!! Using my psychic powers, I believe the original poster is trying to cross-debug from Windows to Xbox 360. When trying to start the program, the 360 apparently does not answer, and the IDE will generate an error about that fact. Make sure that you're signed in to the creator's club, have set up the Xbox to listen for PC connections, have added the right IP address, etc. I think there might even be an Xbox remote d ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Making an entire viewport transparent

    I have a game where your in a maze And I want to display the map in a second viewport that display on top of the game screen. That works fine. But, I need to make this map overlay like 35% transparent. Does anyone know how to make an entire viewport transparent Thanks, Nick The best way is probably to draw the map to a separate RenderTarget2D, then use a single sprite draw to display the contents of that rendertarget over your main scene. Makes it very easy to do all kinds of effects like scaling, moving around, translucency, and tinting, during that final sprite draw. ...Show All

  • .NET Development Apostrophe in email address - Help NEEDED -- URGENT

    We are unable to send emails to certain people having Apostrophe in their email addresses. Please help. Platform: Exchange server 2003 VS 2005 / Framework 2.0 Thanks Make a new MailMessage using the constructor MailMessage(MailAddress from, MailAddress to) and add in the subject and body. Now pass this MailMessage to SmtpClient.Send(MailMessage). That should work. ...Show All

  • Visual C# Method(new Object), when is the object released/disposed?

    Since there are quite a few .NET Framework methods that have a 'Method(new Object)' syntax, when is the Object get released/disposed How is the previous Object instance handled when you do this; Loop:   Method(new Object); EndLoop. Same question for 'Property = new Value' syntax. Loop:   Property = new Value; EndLoop. The object will go out of scope after the last reference to it in the called method. At this point it will be eligible for garbage collection, however there are no guarantees about when this will occur as it is not a deterministic process. The object will not be disposed even if it implements IDisposable as the Dispose() method is never called on it, however if it does ...Show All

  • Visual Studio 2008 (Pre-release) WPF equivalent for windows forms button.ClientRectangle()

    I would like to find out if there is a WPF equivalent for a windows forms button.ClientRectangle() method. Or if anyone knows how to determine whether a given point is inside a WPF button or not or simply how to get a button’s location in WPF If A Button is inside an panel say Grid, then you can use this method to get the location of the Button: Point currentPosition = btnChild.TransformToAncestor(panel).Transform(new Point(0, 0)); and if you wanna get the bounds of the Button, you can do this: Rect rect = VisualTreeHelper. GetDescendantBounds (btnChild); Sheva ...Show All

  • Visual Studio MPF language service - brace matching

    Hi guys, this is a simple (and possibly stupid) question. It is probably a common question, so a couple of quick pointers or urls would be great. I have a MPF language service, and i want to implement brace matching. I used the ManagedMyC project as a starting point, so i use MPPG and MPLex to generate the lexer and parser. The braces i want to match are not the standard {} and () - they are keywords like .IF and .ENDIF - so how do i implement brace matching and highlighting Is it done via the lexer (i.e. there is a rule for it in parser.y), or am i expected to add some code to the parser for it Thanks, sluggy Try these Help topics in the Visual Studio 2005 SDK: "Brace Matching (Man ...Show All

  • SQL Server Rounding Problem in total

    In a cell I have the following: =iif(Parameters!VOLREV.Value= "Volume" ,sum(math.Round(Fields!ADMINSRV_SLS.Value)),sum(math.Round(Fields!ADMINSRV_FEES.Value))) Depending on parameter I am either rounding the sum of sales or the sum of fees. This works beautifully. Problem is when I copy this to the total row it is not the total of the column. They are slightly off. I even tried naming the cell and then creating a calculated field in the total line to make sure that I am adding the values of that cell. =sum(ReportItems!MyNamedCell.value) But this crashes VS everytime and it has to restart. Does anyone have a suggestion please. In the total cell, is the expression rounding and then summing the values, like in the data c ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. load content without Game

    I started a new GSE project and deleted the game instance. Instead I am using a windows form with a graphics device attached to a panelonthe form. This works fine. My problem is I can't get any content to load. Can I load content through a ContentManager without an instance of Game Thanks for any input on this. Don't use the GraphicsDeviceManager, just implement IServiceProvider yourself. It's only one simple method: object GetService(Type) ...Show All

  • Visual Studio Express Editions no subject

    can anyone give me an example as to how to connect and control something from a serial port.....something really simple like a light bulb..... hey maybe this..... I have a teddy bear which runs on batteries when you squeeze his foot he snores.... I would love to connect and control him by the pc any ideas...please thanks for the reply carsten.... the second solution sounds the simplest....although I know absolutely nothing about this..... if you can give me some more info and maybe some code I would be really grateful......pretend I am really stupid.... well maybe you dont have to pretend in this instance.......thank you cheyenne ...Show All

  • Windows Live Developer Forums Robot Invaders Contest - Who did you vote for?

    The robot invaders contest ( www.robotinvaders.com ) is closed for new entries, so all bots are in. A total of 51. With $40.000 in prizes, everybody of course wants to win. But which bot do you think will make a good chance The prizes: Grand prize (1): AlienwareR MJ-12 7550 Workstation First Prize (1): BoseR LifestyleR 48 DVD Home Entertainment System Second prize (5): AlienwareR Sentia M3200 System Third prize (10): GarminR nuvi 360 User's choice: 80 GB USB Portable Drive / DX1 Input System / LED Binary Watch The bot with the most votes on September 15th gets the user's choice award. It looks like that would be " samplebot@hotmail.com " with a total of 412855 votes! Amazing. Last time I talked to that bot though it could ...Show All

  • SQL Server SSIS Tutorial – Problem with Error Redirection (Lesson 5)

    Platform: Win Server 2003 Enterprise Edition SSIS Version: 9.00.1187.00   I’ve been working my way through the SSIS tutorials and have noticed a problem when trying to redirect Error Output in lesson 5 “Adding Error Flow Redirection”.   Having configured the redirection to the ErrorOutput.txt file and running the package, when I went to view the contents of the file, it was empty.   I then removed all but the Currency_BAD.txt data file and re-ran the package. This time the file contained the error row.   Next I returned the other data files, but introduced an error row in the Currency_VEB.txt data file (as this is the last file processed in the foreach loop). I ran the package and watched its pro ...Show All

  • .NET Development [RESOLVED] Decryption unable to brought back original text encrypted...

    Hi everybody,    I am not sure where to put this in this forum. So, I posted at 2 topics. I created a class library that has two public methods Encrypt() and Decrypt(). I reference this dll to a window application. I used DESCryptoServiceProvider Algorithm to encrypt and decrypt then with same Key and IV. But unable to decrypt it back to original text. This project I plan to use all algorithm and Hash. This is Phase One. There is no problem ingenerating the Key and IV and at both encrypt and decrypt they are the same. Can anyone spot the mistake and know how to correct this Thanks. [code]  //Generate a Key         private static void GenerateDESKey(DESCryptoServiceProvider desProv, ...Show All

  • Visual Studio Team System Branching Strategy Validation

    Hello! The following is the branching strategy we used using a source control tool that worked perfectly well for our organization. We are now planning to move on to TFS. I have read through many documentations and forums on team foundation server but I never came across this strategy. Could you please evaluate this and let me know the cons and feasibilities of using the same strategy in TFVC. Product (Team Project) Project1 (TP branched from Product TP) | Proj1_Prod (branch of Project1) Proj1_QA (branch of Project1) Proj1_Dev (branch of Project1) | Proj1_Dev_maint (branch of Proj1_Dev) Proj1_Dev_bugfix (branch of Proj1_Dev) Project2 (TP branched from Product TP) …… Proj1_Dev_bugfix : Used ...Show All

  • .NET Development Uri: getting everything but the filename

    Argh! Is there a way to get everything but the filename with Uri Sure, I can just remove everything after the last /, but I was wondering if it's already built in. I can't seem to do that with Uri.GetComponents(), which would seem like the perfect candidate. Similar to Path.GetDirectoryName(), but for URI's. Uri link = new Uri ( @"http://www.somesite.com/someDir/someDir/someFile.html" ); Console .WriteLine( Path .GetDirectoryName(link.ToString())); ...Show All

©2008 Software Development Network