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

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

Pradeep Gupta

Member List

AlexBB
hungryghost
mwoehlke
AstAn
qmatteoq
p0lar_bear
Rhubarb
kawing0510
barkingdog
dbro101
Babak Farahani
Fritzenhammer
dvferretm
Royal Zaid
chrisanderson
omniGames
Eric Best
WalangAlam
NickNotYet
DevboyX
Only Title

Pradeep Gupta's Q&A profile

  • Software Development for Windows Vista Workflow transaction question

    I have a database containing orders, and I'd like to use Workflows to track the in-process orders. When a new order is added, I need to create the related Workflow in the same SqlTransaction. Any help or pointers would be appreciated. Thanks - Mike V1 of Windows Workflow Foundation does not support flowing transactions with the exception of WorkflowInstance.Unload, see Joel's post here for more information. However, you put all your logic into a transaction scope activity and participat in its transaction for your sql work. ...Show All

  • Windows Forms Using the DesignSurface to create html forms

    Hi All, In .NET v 2 windows forms application, i have used the System.ComponentModel.Design.DesignSurface to create a windows forms designer, but now i would like to try using the same surface to create HTML forms. Most of the articles i have seen for using the designer host say that it can be used for hosting ASP controls, but, i cannot seem to get it to work. Most of these articles were written for .NET 1 using IDesignerHost . Whenever i have the designer surface use a root component of type System.Web.UI.Page ( or any other web ui hosting control ), i get an exception because the design surface internally is trying to load class's from the 'Microsoft.VisualStudio.Web.dll'. Obvisouly i cannot ship dll's from Visual Studio with my code, b ...Show All

  • SQL Server shrink tempdb

    I have a sql2000 server that has a 24 /7 uptime. The tempdb size is increasing rapidly. it was 4 Gbs and i restarted the sql server to shrink the tempdb size which worked fine. but now after 1 week then tempdb size is almost 1.5gbs. Is there anyway that i can shrink the tempDb without restarting it. Asking the users to stop using for a certain timeframe after every month or so seems like a hassle for the users. Do a sp_who2 to check whether users (or applications) are connected to tempdb.  If you know there are no users, shrink the tempdb.  I agree that downtime is required for you to do this.  Also, for performance concerns, allocate a space for your tempdb which will not require it to gr ...Show All

  • Visual Studio Reserved.ReportViewerWebControl.axd browser window remains open after PDF export

    Why is this blank browser window remaining open after I save an export of a PDF export Here is the entire url in the blank browser window: https://cacluster/claimscontrol2a/Reserved.ReportViewerWebControl.axd Mode=true&ReportID=944716ea708946eaace90ce3d0725872&ControlID=298bb5b5-7b3d-4fea-80dc-bbb48e4fe792&Culture=1033&UICulture=1033&ReportStack=1&OpType=Export&FileName=rptClaimsOutstanding&ContentDisposition=OnlyHtmlInline&Format=PDF Here is the web.config: < httpHandlers > < add path = " Reserved.ReportViewerWebControl.axd " verb = " * " type = " Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutr ...Show All

  • Visual Basic desktop shortcut

    shortcut icon keep copying itself on to desktop and is over running it tryed to delete shortcut and tryed to find program to remove. ty srboyt, What is your taks on this problem I guess you are trying to make a program to delete the shortcut and also the program related to the shortcut. I suggest you to do a research on the ClickOnce technology which is newly added in .NET Framework 2.0 and linked as follows: 1. ClickOnce intruduction: http://msdn2.microsoft.com/en-us/netframework/aa497348.aspx 2. ClickOnce Deplyment: http://msdn2.microsoft.com/en-us/library/t71a733d(VS.80).aspx Hope that helps :-) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Starting work on my GUI system

    Well, I've hit a wall with my game's development, and since there was no GUI with XNA 1.0, I've decided to go ahead and make my own GUI system. I implemented a lot of mechanics for my game, but I need greater interaction to proceed development in a sane manner. So far I've just implemented the text drawing stuff from scratch. It uses only monospace fonts generated with BMFontGenerator without using the generated .xml file. It's decidedly minimal to use only monospace fonts, but keep in mind two things - 1) my particular game doesn't require anything more robust than monospace fonts and 2) a game's engine should be designed around the game's specifc requirements. Otherwise you're scope creepin. I remind myself constantly not to let cool ...Show All

  • Visual C++ Multiple Slider Controls

    Hello, When it comes to C++ and dialog boxes I'm at a loss.  What I want to do is have multiple horizontal and vertical slider controls with static text that shows the position of the slider.  I have made one horizontal and one vertical slider with a static text parameter for each and this works.  But when I added the second horiz and vert sliders nothing happens when I change the horiz_slider2 or vert_slider2. What am I missing   Thank you for your help.  void CGPSsimDlg::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) {     m_horizslider1_value.Format("%ld", m_horizslider1.GetPos() );     m_horizslider2_value.Format("%ld", m_hor ...Show All

  • Visual C# DateTime.ToShortDateToSting()

    protected DateTime _CreatedOn = Convert .ToDateTime( DateTime .Now.ToShortDateString()); I thought this method return the date in this format 10/12/2005 but mine is giving me the time too....I just want the date and thats all...is there something wrong with how I am doing this _CreatedOn will always have time, because it is of type DateTime. If you want to get current date and time to be 12:00:00 AM then you need this: protected DateTime _CreatedOn = DateTime .Today; ...Show All

  • Visual Basic Internationalization. Try setting the Culture .

    Big word, hopefully small problem... I am in the process of internationalizing my application. I have created a string resource file so that I can create all the required language translations but how do I go about changing the shortcut keys on menus etc to correspond to each language Is there an easy way to do this Cheers Mark   Mark The Archer Evans wrote: Looks like your asking me for help rather than answering my problem .... Not sure what you are trying to achieve but I am going to use google to translate my strings into the relevant language and then store these strings in my resx file... Back to my problem, anyone any ideas how to set the shortcut key using possibly a ...Show All

  • SQL Server How to display money type data with commas every 3 digits?

    How to display money type data with commas every 3 digits I tried : CONVERT (money, ProjectCost, 1) AS ProjectCost but it gives me the type as 1234.56 no commas in it can anyone help me with that thanks! If ProjectCost datatype is money, You have to try like this convert ( varchar , ProjectCost , 1 ) AS ProjectCost If ProjectCost Datatype is any other numeric, try like this convert ( varchar , cast ( ProjectCost as money ), 1 ) ...Show All

  • Visual Studio Express Editions emailer form

    Im tring to make a form that a user can fill out and send all the data in the form to my email... so far i have 2 text boxes, 1 Text field and a button What would be a code for this Thanks Loads of examples but the class/namespace you want to be looking at is System.Net.Mail. This will enable you to send email. You will need a mail server and you may need to authenticate yourself to send the emails but the general code is something like the following. If it doesnt work then do a web search on vb.net + system.net.mail.mailmessage for more information. 'Create a new MailMessage object and specify the"From" and "To" addresses Dim Email As New System.Net.Mail.MailMe ...Show All

  • Visual C++ How to use a DLL in VC 6.0 created in VB 6.0

    Hello Everybody, i want to register and use a dll which has been created in VC 6.0 and use one of its function. i don't know the syntax to use it. Pls help me. Thanks and Regards Munish Gupta     A VB6 dll is a COM dll.  It's called in a different manner.      Please see this thread :   http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=388578&SiteID=1      For any further questions related to VC6 or VB6 p lease use the newsgroups at   http://msdn.microsoft.com/newsgroups     Regards       Sahir Shah    ...Show All

  • SQL Server Cube Design - Number Max of Dimensions

    Hi all, Some cubes into my project have been designed containing 11 dimensions Is there a number max of dimensions The performances look fine so far but I was wondering if it will be a good idea to split these cubes to have a limited number of dimension per cube. Thanks a lot for your support Juan What do you mean by 'restitution', sorry Do you mean query performance If so, no there's no reason why a cube with many dimensions should perform worse than a cube with few dimensions, although as I said you need to be more careful with your aggregation design when you have many dimensions in order to get good performance. Chris ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Upcoming Starter Kits

    From yesterday's webcast (where was everyone ), it was mentioned that a puzzle starter kit would be included in the RTM version and that the XNA Racer starter kit would come with the Creator's Club membership. I didn't get a chance to confirm this. Is this the case Also, are there any plans for other starter kits down the road Joel Martinez wrote: Hmm, a quick google search turns up nothing ... I suppose maybe I was just remember this post . :-) I remember that thread. I'd love to see FPS and RTS starter kits. There's a lot of other possibilities - board game, RPG, side scroller, etc. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Dependent Content Builds with Custom ContentProcessor

    So I'm trying to understand how to customize the content pipeline by building my own content processor for a fictional filetype (.tlf). This filetype is merely a list of relative paths to textures separated by newlines. Unfortunately, the sample in the docs only shows how to make a custom processor for something with no dependencies. However, thanks to our good friend reflector, I came across the BuildContent api in the ContentProcessorContext class. According to the docs, it can be used to (for example) "replac e the original TGA file references with new references to the converted texture files". This seems like the perfect candidate ... however, I'm not really sure what to do with the returned ExternalReference object which ...Show All

©2008 Software Development Network