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

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

GSReddy

Member List

paso
Amorous
Joel Hensley
Steve Jensen
gon_no1
Benoit Confait
S_Mayu
Solar9
DQM
cisfreak2
Frank2808
fripper
TboneToo
Wiegje
dzimmy
James Cornell
webrod
Hf Kok
Abdul Jackson
Ron J51027
Only Title

GSReddy's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. 2d Platforms

    I understand it'd be pretty difficult to help me with a problem with me just describing it, without seeing code so... http://skynes.tripod.com/TheWizard.zip There's a link to a zip file containing my XNA project and all images. The Project so far is a mix of a couple of tutorials I found online (2d wizard and a tile engine) along with sprites I found online. I haven't made any of my own sprites yet cause I don't see the point until I have everything working, but I will be using all my own original sprites when it works. Anyway. So far it's a wizard who can jump and shoot fireballs. An enemy (movement currently commented out) walks across the screen, firballs dont do anything yet, but touching the enemy costs you a life. M ...Show All

  • Architecture where to put the generic code to check for browser language?

    We are building a website in three languages English, Spanish and German. On every web page that is being accessed by the user we need to check the language of the browser to retrieve the correct data. Our question is what would be the best location for the generic code to check for language. Should we put the code in the Page_Load of the master page since every page is build using the master page Or should we have a CommonPage.cs which all other pages inherit from Or do you have any other/better ideas What is the best practice Thanks, Newbie! My way of Implementing functionalities common to a subset of a site It depends really - I use either of the fol ...Show All

  • SQL Server Convert Date

    Hi ! I think I need your help... to convert the date (2006-09-09) to weekday, weeknumber, month number, month, year in OLE DB source editor ... created following sql, which is not working. How about using derived Column transformation editor SELECT DATENAME (WEEKDAY, YYYYMMDD) AS weekday, DATEPART(WEEK,YYYYMMDD) AS weeknumber, MONTH(YYYYMMDD) AS month_number, DATENAME(MM,YYYYMMDD)AS Month, YEAR(YYYYMMDD) AS year, DAY(YYYYMMDD) AS date FROM Purchase thank you so much... curiousss wrote: Thank you! I only change the YYYYMMDD to date as follows SELECT DISTINCT DATENAME (WEEKDAY, date) AS weekday... etc etc and everything work fine until the error in Execution of task... OLE DB Destination is red. [OLE DB Destination [608]] Erro ...Show All

  • .NET Development Socket connection over network share program

    I have a program that makes a connection to a socket. I am currently trying to run it over a network share (the executable is on another machine and I am just running it from that, not copying it to my local machine then running it). The program works fine except for when I try to connect to the socket I get an exception, and the message of the exception is as follows: Request for the permission of type 'System.Net.SocketPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Does anyone know how to make it so I can connect by in this case Whether it be a windows option to change or something in the code. Thanks Thanks, I put a strong name key in my assembly and just ...Show All

  • SQL Server SQL Server 2005 merge replication without a hard coded password

    Hi. I've looked all over MSDN, newsgroups and the web but I can't find the answer to a problem that I am having. The application that I am working on used both transactional and merge replication. I want to avoid hard coding passwords into an application that kicks off the pull replication on the client machine. The client machines are all using SQL Server 2005 Express. The other machine is running SQL Server Standard. The passwords and login details are specified in the subscription properties in the Management Studio. A fragment of the code is posted below. The transactional sychronization works fine without having to specify any passwords - however the merge replication does not work if both of the passwords are not specified. priv ...Show All

  • Windows Live Developer Forums Add "Drive To" and "Drive From" To Pushpin Menu

    I was wondering if it was possible to add "Drive To" and "Drive From" to a custom pushpin menu on a map I am creating Thanks (if so could someone please show me a code to do so ) Thanks again Hey! Thanks. That would be great if I could get a code (only if you have the time of coarse) because I am new at coding and dont really understand unless the code is in front of me. If you have time.. Thanks ...Show All

  • Visual Studio Is there a way to show one Class depends on another without using Show As Assocation?

    I'd like to show, visually (with lines) when one Class depends (or uses or 'contains') another class. It seems that the only way to do this is with the "show as association". If I have several properties which are all of a certain class or structure, then I end up with a lot of lines between the classes. I'd just like to show one line for the dependency. Actually what you see in that link is not a new feature added in the upcoming release of Class Designer, unfortunately. I am actually curious how the MapPoint team did that - my guess is that they captured the image and then drew a line using a painting tool. Ramesh Rajagopal. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. bool constants

    When adding such a line in a pixel shader: bool bArray[16] : register(b0) ; I'm getting this error msg: D3DX: Internal error: failed to find pool name 'b0'. If I remove the register(b0) part, I'm not getting the error msg and the asm shows that the regs are correctly placed at b0. For now, I only have a single case where I need bool regs. But I will probably need the "register(b0)" part in the future. Can I be doing something wrong somewhere I'm using DX 9.0 feb 2006 thanks! ...Show All

  • .NET Development A simple .NET 1.1 / 2.0 hosting question...

    This question has been asked before but I want to know if anyone has actually tried it. Can you build a .NET 1.1 assembly that loads in the CLR version 1.1 and call a COM+ server application (aka hosted in dllhost.exe) that loads a .NET 2.0 assembly Obviously the marshalling is a performance penalty but believe it or not I have an API that only seems to want to support 2.0 and I don't want to start rewriting all my 1.1 apps (at least not yet :) -Tom Only one CLR can be loaded per process. Since you're essentially loading two processes to perform the COM+ transaction (I'm assuming it's a transaction) then COM+ will/must load whatever CLR that other assembly needs/wants. ...Show All

  • Smart Device Development Code to start recording

    I am trying to write some code in Visual Studio.Net to run on a Pocket PC. I have a GUI with a start and stop button and for mouse click on the start button I want the pocket pc to start recording and mouse click on the stop button stops the device recording. Any ideas Check the OpenNETCF Smart Device Framework specifically the OpenNETCF.Media.WaveAudio namespace. If you download the samples you will find a solution called MobileVoiceNotes which uses the classes you need. ...Show All

  • Visual Studio Express Editions How Can i Connect SQL Server 2005 to a Remote Computer Using VB Express Edition

    Hi I am using VB2005 and i would like to create a new DATA SET without creating another database at SQL server 2005 i should be needed to a remote computer THX ...Show All

  • SQL Server [rsAggregateReportItemInBody] The Value expression for the textbox 'textbox6' uses an aggregate function on a report item.

    I put this into a textbox, why isn't this possible =SUM(ReportItems!GrossGoal1.Value) I need to do this!!!! [rsAggregateReportItemInBody] The Value expression for the textbox 'textbox6' uses an aggregate function on a report item. Aggregate functions can be used only on report items contained in page headers and footers. [rsMissingAggregateScope] The Value expression for the textbox ‘textbox6’ uses an aggregate expression without a scope. A scope is required for all aggregates used outside of a data region unless the report contains exactly one data set. Build complete -- 2 errors, 0 warnings I also need to be able to accomplish the same thing. Is there any way to get this done I have been searching for an answer for ...Show All

  • .NET Development Executing a method in a given thread context

    I'm porting win32 code (non visual component or "user control") to .NET. In win32 code, I was using Windows messages between threads to signal events form a worker thread to another thread. This was done to make sure an event handler was executed in the context of the thread having created an instance of the component class. The [non visual] component class use a hidden window to receive the messages from the worker thread it created. Now I'm porting this code to .NET using C# as language. I'm using the socket class and use the asynchronous operation, for example, Socket.BeginAccept to make the runtime use a thread to wait for incomming connections and call my callback function when a connection is available. From the ca ...Show All

  • Windows Forms DataGrids

    I was wondering.. If anyone can show me a really really simple example of datagrids with maybe just one row of a random information... I have a load of tuts.. but I cant find the right one to start with. Ok I wil ltry these out.. but. .what is the difference in post  ahmedilyas and and r3ns also im using .net 2005, but im coding this raw for knowledge purposes. ...Show All

  • Windows Forms Find row in dataset after datagridview sort

    I set the datasource of my DataGridView to the defaultView of a table in my dataset. I then click on a column header in the gridview and the grid rows are sorted, as well as the rows in the defaultview. How can i grab the correct row in my original dataset using a row index from the grid My original dataset is not sorted, only its defaultview. I'm using a typed dataset here so grabbing the row object from the DataRowView doesn't work. Another issue: Once the DataGridView is sorted by clicking on a column header, how can I undo the sort int iRowNumber = -8; for (int i = 0; i < dv.Count; i++) { if (grd.IsSelected(i)) { iRowNumber = i; } } after that get da ...Show All

©2008 Software Development Network