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

Software Development Network >> Terence Tung's Q&A profile

Terence Tung

Member List

Eli Gazit
Bear23
Scheinka
XeonYK
LKeene
JulianRidley
Helen999888
barkingdog
Venkatroyal
JohnWein
poita
moss
VonRath
rekhareflection
12HH
YoK
fhunter
shmulik_segal
R.Tutus
Luv Walia
Only Title

Terence Tung's Q&A profile

  • Visual C++ Problem with char *

    How can I copy 2 char * in a third one, so it seems like this char *one = "This"; char *two = "is a text."; char *three = ... And it has to be native C++. For pointers, you need to allocate memory first. I would recommend reading more about pointers and memory allocation. Thanks, Ayman Shoukry VC++ Team ...Show All

  • Visual Studio Team System share a shelveset

    Hi guys, Could someone please tell me how to share a shelveset with others thank you Hi: To be a bit more specific the way to share a shelveset is to let the people know the name of the shelveset and your username. When a person is trying to locate a shelveset by using unshelve they will need to know both of these to be able to locate it. The second requirement is the need to have read and pendchange permissions on these files since unshelving them actually executes a checkout on those files. Thanks, mario ...Show All

  • .NET Development Email Reports

    How do I go about emailing Access reports, via Outlook Please stick to one topic for this discussion......(in the other thread you have replied to) yes, COM interop and different than directly invoking the default email client. As they say, there is always more than 1 solution to a problem in most cases ...Show All

  • Visual Studio Team System High SQLServer Memory Usage in LoadTest

    Hi, I am executing a load test with 8 webtests and 4 web test plugins, 1 for 2 webtests. In each of the plugin, I am pulling data from the SQL Server with select statement like "Select top 20000 from tablename"; and in the post webtest method in plugin, I am deleting the row which was used for webtests. While executing the loadtest I am seeing hight memory usage for SQL Server in taskmanager and in turn causing my system to be damn slow. How could I get around this problem Does my select and delete statements causing high sql activity Thanks. One thing I could improve on is the delete statement. Instead of deleting the record after each webtest, I will keep a track of a ...Show All

  • SQL Server Report Builder Question

    Please help!!!! We have recently implemented an SQL Server 2005 and when i click on the report builder button (reporting services) for the user i am getting the message "Application Download did not succeed. Check your network connection or contact your system administrator or Network Service Provider" This is actually performed while the user has administrator privledges. If someone has this problem or a solution, could you please post. Thanks This sounds like at authentication problem. If the logged-in user's default Windows credentials are not appropriate or sufficient for authenticating to the report server, then ClickOnce cannot download the application. In these cases (i.e. whe ...Show All

  • .NET Development Prevent instantiation of COM-visible interface

    Hi, A COM component can expose an interface to consumers, but at the same time prevent consumers from creating an instance of the interface by not defining a coclass. Is there a way for a .NET component that is COM-visible to expose an interface to a COM component without the interface being creatable by the COM component Thanks, Roy Interfaces are by definition not creatable. What I think you want is to separate class interface into an explicit public interface and a non-public (or at least non-ComVisible) class. ...Show All

  • SQL Server Localization of Report Manager to Portuguese

    Hello to all! I want to translate de interface of the Report Manager to Portuguese. I'm develop a class that implements Microsoft.Reporting.WebForms. IReportViewerMessages The class is in a file called "ReportViewerMessages.cs". The structure is like this, the project is called "PortugueseReportManager", there is a namespace named "PortugueseReportManager" and the name of the class is "ReportViewerMessages". So far so good, but when I change de web.config file in the report manager folder I'm getting over and over this error message when I try to see a report: The type PortugueseReportManager.ReportViewerMessages, PortugueseReportManager, Version=1.612.19.1, Culture=neutral, PublicKeyToken= ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. ? Beginners

    My friends and I have no experience with coding or anything like that but have taken an interest in XNA and have some ideas that we would like to try to create. How easy is XNA going to be to use to make a simple 2d game just for fun I know it uses C# and I am going to start trying to learn, but is this going to be something where only experts can use this program, or is someone like myself going to be able to create at least simple games and not have to spend hundreds of years doing it I am also a beginner on Visual C#, but with the help of the absolute beginners videos wich are also on the microsoft site, you can learn a lot, so i have taken the oppurtunity to watch those lessons, and trying something ou ...Show All

  • Gadgets Opacity in Sidebar Gadget

    I'm facing a problem, when setting opacity in Sidebar Gadget. Gadget gets the opacity, but it has purple background instead of it's parent (body) background. Web Gadget is working correctly by setting the alpha filter, but Sidebar Gadget is not displayed correctly - no matter whether I'm using oObj.style.filter = "alpha(opacity=[int value])"; or System.Gadget.opacity = [int value] . What is "totally black transparent" and "totally white transparent picutre" I never makes semi-transparent png works...unless it is inserted into g:background and have a non-transparent pixel below it. ...Show All

  • Visual Studio Team System Batch file to start a web test

    I’ve attempted to create a batch file that, with Windows Scheduler, would automatically kick off a test. In the MSDN library is an article How to: Schedule Tests Runs. The directions on creating the batch file will not work for me. The use of the MSTest commands results in an invalid command comment. Here’s the file content. Any suggestions :: VSTS.bat @ECHO OFF ::opening the application c: CD\"Program FIles\Microsoft Visual Studio 8\Common 7\IDE" start devenv.exe ::This 20 second delay is due to the app frequently reloading upon opening. ping -n 21 127.0.0.1 ::Trying to get the path right CD\"Visual Studio 2005\Projects\XNet Production ::Supposedly opening the meta ...Show All

  • Visual Studio Express Editions Need a parameter for saving an image

    I can't use b.Save("C:\MyPic.bmp") here because the user specifies the location and name when saving the image. I have no idea what parameter to use. Public Class Form1 ' Controls: Button1, Button2, PictureBox1, OpenFileDialog1, SaveFileDialog1 Private myImage As Bitmap ' User opens an image of his choice. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e _ As System.EventArgs) Handles Button1.Click OpenFileDialog1.FileName = "" Me.OpenFileDialog1.Filter = "Images (*.BMP;*.JPG;*.GIF)|*.BMP;*.JPG;*.GIF|All files (*.*)|*.*" If OpenFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK _ Then myImage = CType(Bitmap.FromFile(OpenFileDialog1.FileName), Bitmap) Pict ...Show All

  • Software Development for Windows Vista Error while Opening an activity in designer view.

    Hi, I've installed the latest version of .Net 3.0 & VS Extension for WF. But whenever I'm trying to open any workflow in designer view, following error is occuring. Method 'GetSelectedPropertyContext' in type 'Microsoft.Workflow.VSDesigner.ExtendedUIService' from assembly 'Microsoft.Workflow.VSDesigner, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation. Hide at Microsoft.Workflow.VSDesigner.XomlWindowPane..ctor(DesignSurface surface) at Microsoft.Workflow.VSDesigner.DeferrableWindowPaneProviderService.CreateWindowPane(DesignSurface surface) at Microsoft.VisualStudio.Design.VSDesignSurface.Microsoft.VisualStudio.Designer.Interfaces.IVSMDDesigner.get_View() Please help.... ...Show All

  • Software Development for Windows Vista Design pattern for enlisting a "plain old API call" in a transaction?

    We have a third-party workflow server process that exposes a plain old managed .NET API with the following the following methods: 1. Connecting to the server 2. Setting datafields within the server 3. Causing the datafields to be updated within server 4. Closing the server We have a business object with a UpdateServer() method that accepts a collection of datafield values and calls the above methods to store them in the workflow server. We want to include the call to UpdateServer() amongst some database update calls. We need to have these calls to execute as a single transactions - i.e. the UpdateServer() and database updates are all executed; or they are all aborted/rolled back. In EnterpriseServices, I p ...Show All

  • Visual Studio Team System Team Explorer connecting to the wrong hostname?

    Hi Guys, I've installed VSTS to a rack server we are renting from a hosting company. The computer name was assigned to us with some internal name used by the hosting company. We have configured DNS etc. etc. on the box such that for all intents and purposes it appears on the web as a normally resolving internet hostname. However, when I attempt to add a New Team Project through Visual Studio to the VSTF Server, it seems to be putting this onto an incorrect web address. So instead of the site being http://www.something.com/sites/ProjectName it is being added as http://servername/sites/ProjectName , where servername is the name assigned by the hosting company, and as such does not resolve over the web. It fails stating that it cannot connect ...Show All

  • Visual C# Conversion Issue from VS.NET 2002 to VS.NET 2005

    All the classes are converted to partial and in the user controls the shared property has following error. "Reference to a non-shared member requires an object reference". Partial Public MustInherit Class workingNewHeaderControl2 Inherits System.Web.UI.UserControl Protected WithEvents companyLogo As System.Web.UI.WebControls.Image Protected WithEvents Image1 As System.Web.UI.WebControls.Image Protected WithEvents Label2 As System.Web.UI.WebControls.Label Protected WithEvents accountLable As System.Web.UI.WebControls.Label Protected WithEvents TodayDate As System.Web.UI.WebControls.Label Public Shared Property Set_Title() As String Get E ...Show All

©2008 Software Development Network