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

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

ldt

Member List

Tim Daley
Ori Lahav
shahji
Super Iain
Santiago Cepas Lopez
mbaluyos
Angal
JOCable
Jordan Parker - MSFT
fastdev
preissen
Suneet
Cyril839
bhowerton
CCHuang
LarryFarrell
Philip Coyner
Francois Malgreve
DGMoffat
Mr. Jerzy
Only Title

ldt's Q&A profile

  • Visual C# how do i prevent "show desktop" or "windows key+m" from minimizing my program?

    hi, i don't want my program to be on "TopMost" but i also don't want it to minimize. Never. even if i disable the minimize feature, the program can still be minimized by clicking on the "show desktop" icon or pressing Windows Key+M. I'd like to prevent that. Can someone tell me a possible way to do it btw, the "show desktop" button doesn't trigger the 'resize' or 'changesize' event in the form. Thanks, You can't.  And it's probably not a good idea to do so either - imagine if some other program did that when you really wanted to see the desktop! ...Show All

  • Visual Basic Word Automation

    I encountered the problem described in http://support.microsoft.com/ kbid=188546 BUG: Starting Word Manually Uses Same Instance as Automation Now the KB article describes the work around for this problem being the following: Set temp = CreateObject("Word.Application") Set wrdApp = CreateObject("Word.Application") temp.Quit The problem is the note underneath the workaround: NOTE: This workaround does not work when a document is launcheddirectly through the Windows Explorer, typically when someonedouble-clicks a document. For me that is a hugh problem because it must be absolutely possiblethat users do that and that my application k ...Show All

  • .NET Development Datasets aren't finalized after leaving the scope

    Hi, we discovered a strange behaviour concerning garbage collection of datasets. Because our application needs a tremendous amount of memory and constantly allocates more and more of it we are counting the instances of our objects in memory. Thus we able to determinate if an object is finalized by the garbage collection. Basically most of our objects contain these code snippets in the "new" and "finalize" methods: Public Sub New ()     MyBase . New ()    TestClass.SharedCounter += 1       'Shared variable of integer End Sub Protected Overrides Sub Fina ...Show All

  • Windows Forms Parent/Child-Save options

    Suppose we want to display a data from both parent and child in the same dataGridView control. Is it possible to update both the parent and child tables by providing the same save command The DataGridView does not have support for displaying both parent and child data in the same grid. You can use two DataGridView controls and show parent and child in the two grids. Then you can write additional code in the ParentSaveItem_Click event handler (assuming you are using a binding navigator) and call Update for your child dataset. -mark DataGridView Program Manager Microsoft This post is provided "as-is" ...Show All

  • Visual C# private void treeView1_Click... not working

    Hello, Why the following code is giving me an error: private void treeView1_Click(object sender, EventArgs e) { MessageBox.Show(treeView1.SelectedNode.Text); } (I am populating the treeview from a database) Thanks in advance. Are you exactly any error... I hope so not. But you may not get the desired results. In TreeView, AfterSelect event will be fired after Click event which means, the selectednode will not have the last selected value but an old one. So try your code in AfterSelect event. ...Show All

  • Visual Studio Team System Need to do web tests and develop code

    I am a developer who also needs to write web tests and do load testing. Which version of VS 2005 can I use I am forced to choose one of the 3 editions even though I wear several hats. If I choose the Testers edition, can I still write code for my web app If so, what developer features do I lose All of the Team Editions are based on Visual Studio 2005 Professional Edition, so you can absolutely develop code using Team Edition for Testers. The functionality you will be missing from Team Edition for Software Developers is: - Static code analysis (similar to FxCop/PreFast. examines code for security/performance ...Show All

  • .NET Development Downloading Files through the Web Browser Control

    I have embedded the webBrowser control in my C# program. And I am navigating it to a page that I created where I try to invoke a download by setting my headers to this: header("Content-type: application/x-msdownload"); header("Content-Disposition: attachment; filename=$transport_var3.xls"); print("$xlsheader\n$xlsdata"); Has anyone been successful in using Content-Disposition in IE 6.0 If so please let me know how. Any ideas Found the answer:   I'd been trying to figure out why I couldn't get Internet Explorer to download a file if I used session_start().  It only happened with certain files.  Here's the undocumented (I ...Show All

  • Visual Studio Team System getting sources by label

    Hi, I want a Team Foundation Build to get sources by label. As the build works currently it gets the latest version of all sources. I have different ideas how to proceed: 1) I use the 'Microsoft.TeamFoundation.Build.targets'-file where I change the CoreGet-Target. One way would be to change the Microsoft.TeamFoundation.Build.Tasks.Get task to get sources by label. I found no documentation documenting the input parameters of this task 2) Second idea: I use again the CoreGet Task. But this time I do something like <Exec Command="tf get TestTeamProject_Agile /version:Lsystem_tested /recursive" /> This doesn't work. I ...Show All

  • Visual Basic TextBox BackColor change OnFocus and LostFocus

    Hello, Is it possible to extend the TextBox class to include an event where the TextBox changes it's background color on focus and returns it to the default on lost focus Kind regards, Hello, Appreciate your answer. It works perfectly. Would the same solution apply with a form that has, say ten TextBoxes- I mean, repeating the same code for each one of the TextBoxes (TextBox1,....2,...3. etc) Kind regards, -------------------------------------------------------------------------------------------------------------------------- This newbie can't talk and can't walk. Embarrassing. ...Show All

  • SQL Server SSIS package execution environment requirements

    Hi, What software components are required to run (as opposed to _develop_) SSIS packages   Is a Sql Server instance required on a machine that hosts an SSIS solution   If a Sql Server instance is not required, are there other non-freely distributable components that would need to be installed on a box in order for it to run an SSIS package In other words, what are the licensing requirements - if any - for deploying SSIS solutions Thanks!   kenambrose wrote: update: The information I have received from Microsoft sales leads me to believe that a sql server license is required for each SSIS host server. ...Show All

  • SQL Server Upgrade from RS 2000 to RS 2005 - client print problem 0x8007F304

    Hi, Over the weekend, our company upgraded reporting services 2000 to 2005. Now the clients get a print error when they try to print reports using the ActiveX object - Print error occured during printing (0x8007F304). I did find out this was related to an old version of the RSClientPrintClass, and that deleting and have RS 2005 replace it works. My question is can this be done automatically by RS 2005, or does the manual delete process have to occur on each client that downloaded the RS 2000 version The client machines are external to our company, so we can't run network scripts - we have no remote control over them. Thanks ...Show All

  • Windows Forms ZOrder of dropped control incorrect?

    I'm using VS 2005 Beta 2, and I've built a usercontrol that consists of 2 other user controls as the 'default base'.  The problem is when a user drops a control in my container control, it goes BEHIND the background image control!  I can manually correct this by doing a "Bring to Front" to the newly placed control, but I need it to automatically be on top, and not allow the user to move it behind the main graphic control. Any ideas or recommendations Thanks! Is the control used at design time or at run-time . If the control have a designer behavior, you need set its Parent property to the DesignerHost's RootComponent (Se ...Show All

  • Visual C# Error moving a form

    I have created a nonrectangular form I have introduced the MSDN instruction in my application to move the form : http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vbtskCreatingNon-StandardShapedWindowsForms.asp But when I have the mouse on the form area, the form is "runnig" and I cannot do nothing.Look at the code: public partial class Style_MainWindow : Form { // Chestii de la Visual C# public Style_MainWindow() { // Forma care trebuie incarcata InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { } private void b ...Show All

  • .NET Development ArrayList.Add problem - values and references

    Hi, I'm having a problem with my code. I have an Array called moves of length four that contains ArrayLists, each of which I modify according to user input. Each time input is complete I want to save a copy of the moves so that I can go back and retrieve previous entries. In order to do this I have a separate ArrayList called history to which I add moves after input using history.Add(moves); In this fashion I can retrieve previous entired by accessing history(0) for the first set Array etc. Sadly each time I alter the contents of moves , all of the objects I have added to history are also changed, so I just end up with an ...Show All

  • Windows Forms How to populate a listbox with a complicated query

    How to populate a listbox with a complicated query  I created a query in the KeywordSetTableAdapter SELECT KeywordSets.KeywordSet, KeywordSets.ID FROM KSGroups INNER JOIN (KeywordSets INNER JOIN KSGroupKSAssignments ON KeywordSets.ID = KSGroupKSAssignments.KeywordSetID) ON KSGroups.ID = KSGroupKSAssignments.KSGroupID WHERE (((KSGroups.ID)=5)) ORDER BY KeywordSets.KeywordSet Fill a datatable method: FillByKSG5 Return a datatable method: GetDataByKSG5 What is this about I assign KeywordSets - say Peres, Shimon, to KSGroups. In this case I'd include Peres, Shimon to Persons, which KSGroups.ID=5. I've also assigned him to other groups ...Show All

©2008 Software Development Network