Software Development Network Logo
  • Visual Studio
  • Microsoft ISV
  • Game Technologies
  • Architecture
  • Visual FoxPro
  • SQL Server
  • Visual Basic
  • Windows Forms
  • VS Team System
  • Windows Vista
  • VS Express Editions
  • Visual C++
  • .NET Development
  • Visual J#
  • Windows Live

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

Lengo

Member List

Amardeep
zreclay
Sandyee
John van Kaam
James Wu - MSFT
delder
Yeek
shelanman
Mikko Larjava
arnoldg
danion
Jerry K
Syva
Ting Wang - MSFT
Lexi Sharp
Art Vandolay Jr.
David X Huang
ssbeginner
neal.xia
Alberto Manzanilla
Only Title

Lengo's Q&A profile

  • Visual Studio Tools for Office Excel Application Object question

    I'm currently trying to make a program that interacts with Excel.  Problem is that when I'm editing a cell directly and try to change the property of ANY cell, the program crashes and says I can't edit the property (stuff like ColorIndex). How on earth can I detect if a cell is currently being edited I'm using the Excel application version that is from Office XP, not Office 2003. There is detailed discussion about Excel Edit mode issues with macro in this VBA forum thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=158493&SiteID=1 Seems like you may be able to use Application.Ready ...Show All

  • Visual Studio Team System source control node sometimes disconnected

    i had successfully setup TFS (beta3 refresh, single server setup), there is a weird thing source control – after create a source code project and some simple check out/in actions, the ‘source control’ node in the project explorer window often shows disconnected state (UI shows the ‘x’) after starting up VS.   a simple restart sometimes fixes the problem.  sometimes not.  if i open the source control explorer, it seems everything works there. i check the event log on the server, and couldn't find any source control related error.  there is almost no TFS related error logs. any hints ...Show All

  • Windows Forms How to handle Ctrl-Drag on design surface?

    Hi, We've got a custom designer working, we can drag items from our toolbox onto the design surface without any problem. However, we want to handle dragging while holding down control - this should create a copy of the control. When ctrl-dragging, the icon changes to a + to indicate that this is what it's going to do, but on releasing the mouse, nothing happens! The MSDN magazine example from March 2006 has the same 'feature'. What do we have to do to enable the creation of the new control Many thanks, Gary Hi, A drag and ctrl-drag off the toolbox should be handled the same way. It doesn't really make sense to m ...Show All

  • Visual Basic Reload parent form

    Hi. I'm using VS.NET 2005 Beta 2 with Visual Studio... and i need to reload a form (FORM A) when i close another form (FORM B). First... Open FORM-A. From FORM-A i open FORM-B. When FORM-B Closed then FORM-A Reload. Thanks! ;) ...Show All

  • Visual C# Loading word file in richtextbox in C#

    hello, i have already loaded the txt file in the rich text box in C#, but using the same style, i caanot load the word file or any other files like .pdf in rich text box. i would be thankful if anyone could solve my problem. only clear text and RTF can be loaded in RichTextBox you cannot load PDF or DOC files in it! the only way to do this is to convert files to rtf and then to load into box hope this helps ...Show All

  • Visual Studio Secure Method to Deploy Web Project to Web Server

    Is anyone aware of a secure method to deploy a web project to a web server from SourceSafe 2005 Based on the documentation it only discusses using regular FTP or a UNC. Can it be done with WebDav, HTTPS or some other secure method Thanks! Paul Paul, SourceSafe does not support the methodologies you mentioned. If you have Visual Studio, you may be able to manage and deploy your web project from the Visual Studio IDE using these methods. -Brad ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Miller & Weller

    Now that our David has toddled off to Microsoft is there a possibility of a joint book between Miller and Weller  I certainly hope so, an awesome combination! I guess the book is going to be great anyway. The two first books where to much for beginners. Finaly some more advanced stuff is turning up. I am starting to get tired of porting code from C++ and the unmanaged API..:) - OO - ...Show All

  • Visual C# Uploading image and then overwriting it?

    I'm making a windows app that allows a user to save an image to their profile. If the user uploads a file and clicks save it works. But if they do it again without restarting the program, I get an IO Exception: "The process cannot access the file 'C:\Program Files\karl\Bosch\dealer_logo.jpg' because it is being used by another process." Here is some of my code: public editDealer() { //load the image if (File.Exists(@"C:\Program Files\karl\Bosch\dealer_logo.jpg")) { pbxImg.ImageLocation = @"C:\Program Files\karl\Bosch\dealer_logo.jpg"; } else if (File.Exists(@&qu ...Show All

  • .NET Development MultiThreading Question

    To the multithreading gurus: Given the following code, is it necessary/good practice to use a lock somewhere Thanks in advance, zulu using System; using System.IO; using System.Threading; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { FileCounter cnt = new FileCounter(); cnt.StartAsync(@"C:\"); while (true) { bool exit = !cnt.IsRunning; Console.Write(string.Format("Files: {0}, Folders :{1}\r", cnt.Files, cnt.Folders)); if (exit) break; Thread.Sleep(10); } Console.WriteLine("\nFinished.&quo ...Show All

  • Visual Studio Team System TS Source Control not getting latest version

    Currently using the following: TFS Dec Beta 3 Refresh installed on a single Windows 2003 server VS 2005 installed on XP machine. If I have a class that has a method that takes a single int paramter and this file is checked in and is assigned changeset number 5 ... then I check out this class and change the method parameter from int to double and check that in and is assigned changeset number 7.  Then I perform a "Get Specific Version" and fetch changeset number 5 version of this class (the one that has the int parameter).  Now at this point if I perform, a "Get Latest Version" on the file or "Get Lastest Version (Recurs ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. TransformedTextured depth (Z) values

    I am using 2 TransformedTextured vertex buffers in my scene: 1 for the background 1 prop I assumed that the Z value was a value between 0 and 1; where 1.0 was the back of the scene. This works well for the background, so with this thought, I also assumed then that z=0.5 would place the plane halfway between the front clipping plane. But this does not appear to be the case. The Z value definitely has an impact on the plane's position between the front and back clipping planes, but does not behave as I would have expected. Can anyone shed some light as to how the Z value of a TransformedTextured buffer is used ...Show All

  • .NET Development ThreadPooling in c#

    I have to upload 70 files using ThreadPooling and code i have used is as below.I have set the maxthread size as 10.But it is uploading only 8 files. Please tell me how to make it work.Also if u can please give a sample code.Help will be greatly appreciated. WaitCallback callBack = new WaitCallback ( UploadFileEx0 ); for ( int i = 0 ; i < 70 ; i ++) { if ( true == isThreadAvailable ( true )) { ThreadPool . QueueUserWorkItem ( callBack , GetFileName ( this . listView1 . Items [ i ]. ToString ())); } else { MessageBox . Show ( "Worker thread not available &qu ...Show All

  • Windows Live Developer Forums BOTS on MSN

    There have been a number of questions about BOTS in the forum in various theads so I thought I would provide this post with a broader update on the topic. MSN has recently started licensing BOTS on the network.  The huge benefit of a licensed BOT is that it will have contact limitations removed (the reverse list), so that millions of people could connect to the same ID.  Our goal is to enable a broad network of these IM applications integrated with other MSN services (Activity API, Search, etc.). To make sure our customers have the best experience with these applications and provide tools to the broadest number of companies se ...Show All

  • SQL Server same visual studio standard 2005 product key from the "ready to launch" dvd set

    Hi, I attended the Technet Ready to Launch event and obtained the dvd set, but when I tried to install the sql product, the software won't take the product key (the key is the same as the studio product).  Anyone experience the same I wouldn't be surprise if they forgot because it's a year ago.  I would probably call them back and refer them to this post.  Took a while, but they did generate a new key over the phone once you give them the part # of the dvd.  Hope this help. ...Show All

  • Windows Forms Click-through on somewhat transparent forms

    I'd like to have a form that's somewhat transparent that's always on top, and be able to click through it to the active application underneath, whatever happens to be "behind" this form. I have an analog clock app that runs all the time, and I want to be able to access, for example, the minimize or maximize buttons of the application sitting& ...Show All

©2008 Software Development Network