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

Software Development Network >> Pradeep Gupta's Q&A profile

Pradeep Gupta

Member List

a.i.
Allen_Iowa
Antfor
Don Higgins
S_Parikh
sshaju
GuyFawkes
Joe Burns
Omar Morando
jtaylor42
Canada Goose
kushpaw
JDPeckham
RDuke
Bucketo
Sideout
jitumandalia
Sujithf
tongkusat
UK_2006
Only Title

Pradeep Gupta's Q&A profile

  • Windows Live Developer Forums Disambiguate a location

    I want to use the map control to search for city names and return the lat/long. When a city name is unique (i.e. there is only 1 possibility) it works like this: function SearchFor(city) { map.Find('', city, 1, callback); } function callback(loc) { // do something with the loc[0].LatLong here } But when you enter a name that has multiple options, you get a popup box to choose the right one. This is what I want, but I like to have a callback after one choses the right location. The callback seems to be called before the users choses, and the above method returns the first location. How can I really desambiguate the location and do something with the latlong after the user has chosen The FindLocation method doesn't seem to hel ...Show All

  • SQL Server Need to Subtract the result of two stored procedures

    I am trying to take the results from two stored procedure and subtract them to get credit from two columns. The stored procedures look like create PROCEDURE mw AS select * FROM pla p where p.st in ('ds', 'sd') and (iPlayerID = '5345') compute sum(p.amount) RETURN both procedure have the same syntax. I am not able to use AS in to insert the values into a variable. Is there a wizard to use stored procedures are --Money Played stored procedure CREATE PROCEDURE MoneyPlayed AS select * FROM table s where s.strStatus in ('GP', 'GB') and (id= '4134') compute sum(s.iAmount) RETURN --Money won stored procedure create PROCEDURE MoneyWon AS select * FROM table p where p.strStatus in (' ...Show All

  • Visual C++ Show the active configuration?

    The solution configuration window in VS2005 shows the active configuration (debug or release), until you start the pgm. Then that window is blanked. Is there some way to have it display the active configuration always, even though you cannot change it while the pgm is running This is hopelessly complex for such a simple task. Developers of VS2005 IDE, don't blank that window. Make it read-only while a program is running, if you must, but keep it displaying the configuration. ...Show All

  • SQL Server Using expressions with FlatFile connections?

    This seems so obvious, but is causing me a lot of trouble: The flat files input to my SSIS packages may contain an empty line between each row of data, or may be "continuous" without any extra empty lines. Here are small examples of the data I'm working with: With the extra line: "M","SFH","Single Family Mortgage Loans","Single Fam Mtg" "M","MFH","Multifamily Mortgage Loans","Multi-Fam Mtg" "R","MIX","Mixed/Various/Unknown","Mixed/Various" Without the extra line: "M","SFH","Single Family Mortgage Loans","Single Fam Mtg" "M","MFH","Mult ...Show All

  • Visual Studio Express Editions Problem with more than 2 projects

    In VB 2005 express when creating and reopening 2 small projects, everything is O.K. However, when I save a third small project and then try to reopen it from the recent projects list, it wont open. I have over 1 gig ram, so that shouldnt be a problem. Is there some kind of setting for maximun number of projects allowed that I can change It doesn't give an error when I try to open it. The hourglass appears for a second and then disappears and nothing happens. No form for the project appears. I can create as many new projects as I want, but after clicking save all, I can only reopen the first 2 projects I created. I am just trying to learn vb 2005 and following examples in a book so these are very small projects. I am using Windows ...Show All

  • SQL Server Limit to number of connections to the SQLCLR?

    Is there a limit to the number of connections that can be made to the SQLCLR If so, what is that limit and is it adjustable Thanks! No, I am referring to access to the SQLCLR from any edition of SQL Server 2005. 2005 does not by default limit the number of user connections to the SQL Server instance. Internally to SQL Server, is there a limit to how many connections to the SQLCLR that can be made So for example, if had 1,000 connections open to SQL Server, will I be limited to only 200 (or some number) of them accessing SQLCLR procedures Or, assuming server resources are adequate, can an unlimited number of clients access SQLCLR procedures concurrently ...Show All

  • Visual Studio Express Editions Instant Messenger

    Im new to visual basic and have only had it for 3 days... I really enjoy the software and thing it is the best thing microsoft has made yet... I have been working with computers for 5 years now and know more that everyone in my neighborhood and most of my teachers (Im only 14 years old ). My point is though that while messing around i created My own website with my own internet explorer (website is working but my internet Explorer isn't compleatly done). Now i have decided that i would enjoy to create my own IM for my website but there is only one problem... i dont have any idea where i need to start and what i need to do to make this work... i really want to make my own IM For my website and would like some help... And another thing ...Show All

  • Software Development for Windows Vista How can I install my own driver on Longhorn Beta 2 x64(5384)?

    According to tools and doucments from WDK(5365),I want to sign my driver package and just test it during development phase.But it doesn't work.Is there something special I have to do If only for test, you can just install your driver as what you do in XP and press F8 -> "Disable Driver Signature Enforcement" when boot. ...Show All

  • Windows Forms BindingSource.AddNew from a DataGridView

    I have a DataGridView bound to a BindingSource whose DataSource has been filled from a SQL table. A dgv popup menu offers an 'insert a copy' option, ie it allows the user to insert a new row initialised to values in the row under the mouseclick. I cannot insert rows at dgv level because direct dgv inserts are not permitted when a dgv is bound; evidently .NET 2 evidently wants me to use BindingSource.AddNew. Very well, I add a handler to be called by BindingSource.AddNew ... bindSrcMaster.AddingNew += new AddingNewEventHandler(bindSrcMaster_AddingNew); The popup menu item event handler for CopyRow can figure out which dgv row to copy ... private void CopyRow(object sender, EventArgs e) { ToolStripItem menuItem = sender as ToolStripItem ...Show All

  • Software Development for Windows Vista WS-AtomicTransaction coordination service problem

    Hello, I'm researching WCF WS-AT interoperability and I am slightly confused by the message sent by transactional web-service client based on WCF. In coordination context subtree I expect an address of the registration service, but what I find there is "https://opol/WsatService/Registration/Coordinator/Disabled/". "opol" is the name of my machine, but what about HTTPS port configured for WS-AT in mmc snap-in and what about the rest of url <CoordinationContext s:mustUnderstand="1" xmlns="http://schemas.xmlsoap.org/ws/2004/10/wscoor" xmlns:mstx="http://schemas.microsoft.com/ws/2006/02/transactions"> <wscoor:Identifier xmlns:wscoor="http://schemas.xmlsoap.org/ws/2004/10/wsco ...Show All

  • SQL Server Is there a way to 'peek' the items in a queue?

    ... or some other way to prolong their presence on the queue. The scenario I'm dealing with requires me to receive a batch of messages and fire them off (as a batch) to a legacy Unix application via TCP. What I need to do is keep those messages on the queue (or at least somewhere else in the database) until I know for certain that the legacy app has received them. Comments After reading Roger's online whitepaper ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnsql90/html/sqlsvcbroker.asp ), I've concluded that my particular problem can be solved quite elegantly by transactional messaging, basically by equating one burst with one transaction. It turns out (assuming that the ...Show All

  • Visual Studio Tools for Office How to process a Office document which is encrypted by RMS

    PS: i programme it with C# Does this question have anything to do with Visual Studio Tools for Office technology, or is it a general Office question If the latter, please see the links in the " Please Read First " posting at the top of this forum and ask in a more appropriate venue. Be sure to include the version of Office under discussion and how the encryption was done. If you're using VSTO, please elaborate on the question. ...Show All

  • SQL Server Union for two sets with where clause

    Hi, I have situation where I'm returning comparing data from two date ranges in a chart in MS Reporting Services. In regular SQL, I simply do a UNION between two select statements. I also have a dummy column returned to distinguish between the two selects. i.e. Select *, 1 As 'DataSet' from tblData Where startDate >= @sdate AND endDate <= @edate UNION ALL Select *, 2 As 'DataSet' from tblData Where startDate >= @sdate2 AND endDate <= @edate2 In MDX, I've only seen a UNION for the columns, but not with the WHERE clause included. Is it possible to have a where clause for each set What's the syntax Thanks a lot! Well, I'm having some problems with this query. In addition to the above, I wan ...Show All

  • Smart Device Development Unable to create Cab files (CF Vs2005)

    My VS2005 installation refuses to create CAB files for CF projects: Here's a step-by-step example of what I've been doing: 1. Create new Project, PocketPC 2003 App using CF 2. 2. Build device application (succeeded). 3. Add new project to solution (Smart device cab project) 4. Added primary output to project. 5. Add shortcut 6. Add some registry entries 7. Build smartdevice cab (failed) with the following error message (see below): 8. Try calling Cabwiz from the command line......all produce the same error. 9. Try command line with various earlier versions of cabwiz and makecab ...all produce the same problem. I note from various blogs and MS forum that others are experiencing this problem and no-one has come up with an answer. Can anyone ...Show All

  • Visual Studio Express Editions Button to new form window

    Hi, I want to make a button to a new form window can anybody help me example: i click on about i get a other window with the information of the progam Questions like these are covered in Chapter 1 of any book you can find about Windows Forms. These forums are not created to teach you basic skills you'll need to get started on learning how to program. Start by doing the work you need to do to learn the basics. We'll be happy to acknowledge an effort and help you when you get stuck. ...Show All

©2008 Software Development Network