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

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

Peter__Pan

Member List

prestorm
Khenat.Ram
pure159112
haba
Will Merydith
Joe Kehnast
ropley
cindyluke
Pete R
Anarchy
PiyuGupta
djshades2004
Cactus77
chipso4
Poetjevel
Olle SW
vats
Alvinas
jonez108
Josh Smith
Only Title

Peter__Pan's Q&A profile

  • Visual Studio Express Editions Stopwatch Questions

    Hey all I have some questions about a stopwatch app that i am working on, first here is my code: Imports System Imports System.Diagnostics Imports System.Windows.Forms Public Class Form1 Dim StartTime As Date Dim EndTime As Date Dim stopwatch As New Stopwatch Dim miletime() As Date Dim mark As Boolean = False Private Sub btnStart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnStart.Click StartTime = Now stopwatch.Start() End Sub Private Sub btnStop_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnStop.Click EndTime = Now stopwatch.Stop() End Sub Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.Eve ...Show All

  • SQL Server The report server is not responding -- and a dozen DCOM errors.

    I almost got Reporting Services 2005 working. Now it's worse. I can't deploy anymore: "an internal error occured on the report server..." "...see the error log for more information." A browser session trying to access Reports/Pages/Folder gives the message "the report server is not responding. Verify that the report server is running and can be accessed from this computer." Running the Reporting Services Configuration Manager, everything looks OK (Windows Service Identify is NT Authority\LocalService, Built-in Account "Local Service", I turned off the Execution Account; Database Connection is (LOCAL)\MYSERVER, Database name is there and Credentials Type is now "Service Credentials". I backed up my Encryption Keys and left Execution Account ...Show All

  • Visual Studio 2008 (Pre-release) How to subclass DocumentPaginator?

    Hi all, I would like to use DocumentViewer Control to display XPS like documents. As my documents may contain several thousands of pages it is not feasible to generate them all in advance. I need a way to create pages on the fly when they appear in the control. For retrieving pages from the document there exists the DocumentPaginator class. For my purposes I would need my own implementation of this class that overrides the GetPage() and GetPageAsync() methods and implement it in a way that a requested page is generated on the fly. This class is abstract so custom implementations should be possible. But my problem is: How can I make my FixedDocument aware of my derived DocumentPaginator FixedDocument has the DocumentPa ...Show All

  • Windows Forms Get Selected Text

    If the user has selected some text in a label or a textbox, how would I get the text Also, is there a pre-made event handler for when the user selects some text If not, how would I accomplish that you cannot select text in a label, only on edit/input controls which have been enabled, like a textbox. I don't think there is an eventhandler for selected text in a textbox You can get the text selected by using the SelectedText property of the textbox (or even the RichTextBox control I believe). You can even programmatically select some text using the SelectionStart and SelectionLength property of the textbox, and the RTB, control. Does this help ...Show All

  • SQL Server SQL Server Configuration Manager to change run as account

    Hi, For the past few days i have been stumped on this problem. Our environment is the following: Windows 2003 R2 64 bit  SQL 2005 SP1 64 bit active/active cluster with several instances. Right now all instances use the same domain account to log on. For security reasons i wanted to assign a domain account for each instance to use. Now the problems start when i am using SQL Server Configuration Manager. I am usually successful in changing an instances SQL server account but once i try and do it for the SQL Server Agent i start to get errors and i am unable to get both running at the same time. Sometimes i will get wmi errors and sometimes the mmc just stops responding. The WMI error i get often is: The server ...Show All

  • Visual C# HTML parsing

    Do C# has any library for html parsing I am developing an application to extract information from html source page and used it in my application. However, I find some difficulties in parsing the html page.Please help me on that... thank you in addition to the response, you could add the webbrowser control (in .NET 2.0) and use that to navigate to your page and it pretty much parses the html content for you and you can get the elements/items you want. ...Show All

  • SQL Server Connection Timeout when processing cube

    I am getting a connection timeout error when processing a cube with measure group containing 4mil rows or so. It errors after 5 mins and after about 3mil rows have been read so it's probably not the ExternalCommandTimeout issue. The Fact table for the measure group is created using a named query. I would appreciate any insight into why the error is thrown after 5 mins. Here's part of the error: =================================== The connection was lost. Close all processing dialog boxes and try processing the object again. (Microsoft Visual Studio) =================================== The connection either timed out or was lost. (Microsoft.AnalysisServices) ------------------------------ Program Location: at Microsoft.An ...Show All

  • Visual Studio Team System Unable to Add New Objects

    I'm having a problem adding new objects from Solution Explorer. When I right click on Tables and select Add New Item the Categories / Templates are blank. Therefore I can't add a table. I've tried re-installing CTP4 but to no avail. Not sure what's changed as I was able to do this before. How do I fix Gert Drapers wrote: In CTP4 we do not allow you to add anything but a generic script type from Solution Explorer, you need to use Schema View if you want to add explicit types in CTP4. -GertD "DataDude" Development Manager What is the Schema View Could this be related to my problem here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=581737&SiteID=1 ...Show All

  • Visual Studio Visual Studio .NET 2003 Debugger Becomes Very Slow on Stepping through application

    Every day at random times, the debugger in visual studio will slow to an incredible crawl and it will take 3-5 seconds to step from one line in the debugger to the next line, making it almost impossible to debug applications, and causing even more problems because the programs I am debugging have timeouts associated with them on other server side code causing my clients to get disconnected. Is there any known reason as to why the visual studio debugger would take between 3-5 seconds to step from one line to the next I must also make it clear that when I am stepping from one line to the next, I am not referring to function calls necessarily, I am talking about simple variable assignments or getter/setter functions taking 3-5 seconds to exe ...Show All

  • Windows Forms C# project published with ClickOnce adds <file> entry for COM dll with embedded manifest instead of depending on the manifest

    Hi, I have a C# project that refers a COM dll compiled with Visual C++ 2005 that has an embedded manifest. When I add a reference to this COM dll, it is referenced as a COMReference and an interop class library is generated for it. I would also expect Visual Studio 2005 to depend on the embedded manifest when I publish this project. Instead, it adds a <file> entry in the application manifest and thus, misses any important <comClass> <comInterfaceProxyStub> entries in the embedded manifest. How can I get Visual Studio 2005 to pick up the embedded manifest and at the same time, generate the interop library The Isolated property does not work out for me, because that only generates the <comClass> entries in th ...Show All

  • Visual Studio Team System updates for standalone fxcop?

    Hi, I've been reading about all these great updates/fixes in VS2005 SP1 and Orcas. When will either and/or both of these change sets be rolled into a new (and public) standalone release of FxCop Thanks! Changes in Visual Studio 2005 SP1 are already available in FxCop 1.35. We will probably be releasing a beta of the next version of FxCop around the same time as the Orcas beta (I can't yet provide any information on when this will be released). ...Show All

  • Visual Studio Team System How to get assembly name from member ?

    Hello, is there a possibility to get the name of the assembly to which a particular member/method is belonging f.e: public override check(Member m) { string current_assembly_name_from_member = member.... Method method = m as Method; string current_assembly_name_from_method = method.... } Best reagards, Anton Papst. That will work, unless you have multiple modules within an assembly, such as System.EnterpriseServices, instead use member.DeclaringType.DeclaringModule.ContainingAssembly.Name. ...Show All

  • SQL Server Experts Pleeease advice Run WWW service in IIS 5.0 isolation mode on wk3 server

    On windows 2003 server i am having a problem, when i call reports 2005 from vs 2003(asp 1.1) it presents an error saying IIS cannot run two different version under one process. (because of 1.1 and 2.0 version conflict) only happens on windows 2003 server. now would like to change the iis to allow www to run on iis 5.0 isolation mode that way it uses aspnet_wp.exe process. which will allow multiple versions under one process mode. But has any one tried this or not , i tried internally on our windows 2003 server which is in our network and it works fine. Please share your thoughts, since i would like to take the same approach with our hosting server which is on intenet. Thank you all for sharing your opinions. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Mesh.Simplify acting weirdly?

    Hi everybody, I'm trying to do a terrain renderer lately. My terrain is made of patches, which I want to generate with a mathematical formula (fractal brownian motion). I try then to simplify  the mesh programmatically, using the function Mesh.Simplify. When i do this for one patch, everything works perfectly (Mesh is simplified). However, when I try to create more than one patch, the Mesh.Simplify drops a StackOverflowException (in mscorlib.dll). I'm using the April 2006 DirectX SDK, tested with the latest D3DX Util file and the first (2902 and 2911 build version). Here is the call stack, as shown in the IDE: [External Code] > Framework.dll!Framework.Patch.Patch(float Size = 16.0, Framework.NoiseAlgorithm Algorithm = {Framework ...Show All

  • Visual Studio Express Editions displaying text on multiple lines

    Hi everyone :) I was wondering if there was a way to display text on more then one line on a textbox when a user presses a button ( I don't mean the mutiple line option from the textbox ) For example: A user clicks on a button called | Signup | and the text would be displayed like shown below one line at a time: Firstname Lastname Address .. etc. Hi, John When user click the button, how do you want it to judge the newline from the text By space or by other symbol Plz give a example to explain, thank you. ...Show All

©2008 Software Development Network