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

Software Development Network >> Linda Shao's Q&A profile

Linda Shao

Member List

Dvlnblk
dagjo
cfaulk
tnielsen
Duy Thai
Etienne2005
charlie999
GConst
chaza
francisk
Tom v E
PK2000
Fran431916
nigliazzo
Figo Fei - MSFT
GrahamY
Frank Johannessen
zeifer
Chris Lang
Henry_Yang
Only Title

Linda Shao's Q&A profile

  • Visual Studio Express Editions open EXE file in computer with no Visual Studio installed.

    I am currently using VS C# 2005 express edition. There is a problem for me opening the EXE file generated by VS in other computer with no Visual studio installed in the computer, it shows an error messege saying that it cannot initialize the envirnment. If I try to open it in my own computer with VS installed inside, the problem won't occurs. How can solved this problem any help and suggestion is higly appriciated!! you need to download the .NET Framework 2.0 in order to run it on the computers and install it on the other computers. Only then will your .NET Developed application work correctly. you can also use ClickOnce to distribute your component, which will automatically download/install the .NET Framework for you and continue ...Show All

  • SQL Server transaction log size growing very large

    hi all, my tlogs at the subscriber are growing very large irregardless of my recovery mode. any help using snapshot-push replication thanks, joey SQL 2000 I disagree. I have the same issue on all of my 10 ten subscribers. I run a "backup log [dbname] with truncate_only" every 12 hours to keep the log manageable. ...Show All

  • Visual C++ error LNK2001

    Hi, (I saw the post on same subject but it seems to be a little different. so I'll use some word from that post!) There is a project earlier written in VC++ 6.0.  I opened the same project in VS. NET 2005 and I am trying to compile.  The code compiles properly (with couple of warnings) but while linking I am getting unresolved external symbol errors like this: The linker seems to have problem with seeing .obj from files in program (which are in the debug directory). It doesn't seem that the /Zl switch or the /NODEFAULTLIB  are on. 1>Linking... 1>Utm.obj : error LNK2001: unresolved external symbol _RTC_Shutdown 1>Zone.obj : error LNK2001: unresolved external symbol _RTC_Shutdown 1>Zones.obj ...Show All

  • Visual Studio Team System Backup-Installation of TFS

    Hi, Imagine we have a company whichs development happens offshore. On the development-site a TFS-Server is up and running. We now want to have a full backup of this TFS-Server at all time in our HQ. Full backup means that we also want to backup the history. What would be the best way to do this I guess TFS has no built-in capabilities of this Kind regards, Daniel Here are details on how to backup & restore TFS server: http://blogs.msdn.com/vstsue/articles/511396.aspx How to: Backup Team Foundation Server -> http://msdn2.microsoft.com/en-us/library/ms253070.aspx How to: Backup Reporting Services Encryption Key -> http://msdn2.microsoft.com/en-us/library/ms400729.aspx ...Show All

  • SQL Server Whats wrong with my SP

    Whats wrong with my stored procedure i thought i am declaring the varible when i write this check it out can some one help me out thanks!!!! CREATE PROCEDURE dbo.GetCompanyDEMO [ @CompanyName nvarchar(40) ] As Select ContactName, ContactTitle, Address, City, Region, Phone FROM Customers C Where C.CompanyName = @CompanyName CREATE PROCEDURE dbo.GetCompanyDEMO ( ---<--should be parenthesis not square brackets @CompanyName nvarchar(40) ) As Select ContactName, ContactTitle, Address, City, Region, Phone FROM Customers C Where C.CompanyName = @CompanyName ...Show All

  • .NET Development are you missing a using directive or an assembly reference?

    Hi, my friend wrote some code using class library. He wrote Windows Application class with Form1 and other classes are in called "LogParserApp" namespace. When he did the codes works fine but If I want to copy exactly what he did that call object in the form1 from LogParserApp namespace, I add reference from project tab, and add "using LogParserApp" on the top of the Form1. But I get run-time error as "The type of namespace name 'SummaryEntry' could not be found (are you missing a using directive or an assembly reference ). Can anyone help this matter Thank you. KentaroM, Does the class library you're calling have any reference to another assembly (SummaryEntry or similar ...Show All

  • Visual C# Cannot get program to display number with correct number of decimals

    I use Microsoft Visual Studio 2005 and i am not able to get my percents to display the percent sign or display only 2 digits after the decimal without resorting to just putting the % in myself. i thought that putting {1:P} would format the display to have 2 decimals and have a % sign, but nothing happens (yes, i have rebuilt the solution). Here is a sample from my program: Console .WriteLine( "Adults\t\t\t{0}\t\t{1:P}%\t\t${2:C}" , adults, percentA, feesA); #1(not 0) needs to be formatted so its printed out as 25.89% and #2 needs to be formatted to display money like $25.00. I know that {2:C} should make it do this automatically, but nothing happens unless i put in the $ and% signs myself. thank you very much. ...Show All

  • Windows Forms Slow-paced Tutorial on Cursors

    I intend to create and use custom cursors in my application, but most information on creating and using cursors and, more generally, creating and using resources, goes much too fast. I am looking for an 'absolute beginners' tutorial on how to incorporate a custom cursor in my application. Hi Martijin, It really great to hear from you.. You may use SetCursor API function.. Its reference available at http://msdn.microsoft.com/library/default.asp url=/library/en-us/winui/winui/windowsuserinterface/resources/cursors/cursorreference/cursorfunctions/setcursor.asp ...Show All

  • Windows Forms How to pass reference of control to a property?

    I have a customer control and a datagridview control in one of my windows form. What do I want is to and a property in my customer control and refer to the datagridview, just like refer a contextmenu to a datagridview. then in my customer control I want to access that datagridview. my code is like below, but it doesn't work: <code> class windowform Me .UsCtrl.uDataGridView = Me .myDataGridView end class class UsCtrl private v_rdv as windows.Forms.DataGridView Public Property uDataGridView () As windows.Forms.DataGridView Get Return v_rdv End Get Set ( ByVal value As windows.Forms.DataGridView ) v_rdv= value End Set End Property </code> Please help me ...Show All

  • Visual Studio Tools for Office How can I use the Page interface in the Microsoft.Office.Interop.Word.dll?

    I am not sure if this is the correct place for this question but since it relates to Office automation I figured this is a good place to start. My problem is that I need to walk the pages of a generated Word document to add page breaks so that blocks of text are not chopped off during printing. The only way I can find to do this is using the Page object. However, I cannot access the Page interface/object in Microsoft.Office.Interop.Word. It is not listed in the reference and yet it is documented in the Microsoft site. What I am missing Any ideas Anybody Cindy, Thanks for the feedback. I am new to this newsgroup/forum stuff and I cannot determine which one is which. However, I may have explain the pr ...Show All

  • .NET Development Internet Data Connection !!! How to

    Hello Y'all I created a site in the VWDHosting.net website and created a time tracker webpage through a site wizard. now what I need is to access the data I inputted in the time tracker webpage (internet) through a c sharp program running on the local machine. My problem is: 1. I used the connection string = data source='sql1.vwdhosting.net,1441';User ID='raulomar-2';Password=&quot;KqOC6u4oaQ&quot;;database='raulomar-2' 2. In my code I placed string ConnectString; ConnectString = ConfigurationManager .AppSettings[ "connectstring" ]; SqlConnection oSqlConn = new SqlConnection (ConnectString); SqlCommand oSqlCommand = new SqlCommand ( "select * from User" ,oSqlConn); Sql ...Show All

  • Windows Forms GUI customization

    Where is some tutorials for customizing your buttons, menus, toobars, because the standard colors are in most apps, and i want mine different. So where is some reference or info to customizing this stuff. You may want to take a look at the Renderer classes. Information: http://msdn2.microsoft.com/en-us/library/ms171733.aspx http://msdn2.microsoft.com/en-us/library/kxys6ytf.aspx Sample: http://blogs.msdn.com/jfoscoding/articles/491523.aspx ...Show All

  • Visual Studio Tools for Office Persisting formulas in databound ListObject

    I'm populating a ListObject from a database. The columns I have are CostPerHour and TotalHours. I have created the databound listobject through the VS designer and have added an extra column by the name of TotalCost (again through design view) and have applied a formula to multiply the First column by the second column. Now when I run the solution the formula seems to disappear and the multiply does'nt work. It feels as if it is being overwritten. I know I am not doing something right but I just cannot figure out what it is. I've gone through most of the MSDN samples and all of ListObjects in them seem to retain the formulas but I cannot seem to pin point what it is in Code (or design) that I am overlooking. And references to wher ...Show All

  • Windows Forms picturebox.creatgraphics, when i close the window and reopen it the image is gone.

    using System; using System . Collections . Generic; using System . ComponentModel; using System . Data; using System . Drawing; using System . Text; using System . Windows . Forms; using System . Drawing . Imaging; namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click( object sender, EventArgs e) { Graphics g = CreateGraphics(); IntPtr pHdc = g . GetHdc(); Metafile mf = new Metafile ( "c:\\test.emf" , pHdc); g . ReleaseHdc(pHdc); g . Dispose(); g = pictureBox1 . CreateGraphics(); g . DrawImage(test(mf),0,0); mf ...Show All

  • Visual Studio Team System Can the requests from one webtest copied to another webtest?

    Hi, I need to record a webtest which has more than 30 requests.Somehow, in the middle i need to re-record some requests. Is it possible to copy some of the request and to delete the remaining to finish it off Kindly guide. Thanks - Vijay. You could make a copy of the entire web test and delete the requests you no longer need. You can also select a request in the editor and copy it to the clipboard. You can paste this request into another web test. However, you have to be aware of dependencies in the web test. Say for instance requestA has an extraction rule that extracts a certain value into the test context. If requestB binds to the value that request A extracted, than you would need to copy both r ...Show All

©2008 Software Development Network