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

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

DaveSimmons

Member List

joynerCN
Shaik Habeeb
Peter K
waex99
kas1972
SteveC_65
lkld999
Peter Cwik
daijun
NLaw
rahsoftware
Clintonf
clintsinger
kangalert
Alessandro Moacyr Duarte
Liu Hua
chaza
Elmo E
I.Katzav
Webbert
Only Title

DaveSimmons's Q&A profile

  • Visual Studio 2008 (Pre-release) VirtualizingStackPanel and TreeView

    I'm a bit puzzled over the behavior of TreeView. I have overridden the ItemsPanel property of the TreeView control with a VirtualizingStackPanel with IsVirtualizing set to true, and also have overriden it for the TreeViewItems with a Style bound to TargetType={x:Type TreeViewItem} and Setter replacing the StackPanel default for ItemsPanel with a VirtualizingStackPanel. Yet it's still not virtualizing. Any ideas on why this is happening Did this break scrolling for you I've been trying to do the same thing to my tree, but I've run into 2 problems. 1- I get the virtualized behavior only for the root tree elements, if I expand a root element, all the children are immediately loaded despite their panel bei ...Show All

  • .NET Development Folder Copying

    Hi,     i have a requirement where i have to transfer files between two pcs and also update the transfered files in both pcs whenever they are updated in any of the pcs. Am able to transfer the files. but now i have to monitor the files for any updates(i.e.renamed,changed).There is a component Filesystemwatcher in .net to monitor changes occured to files in a directory(It monitors all files in a particular directory).But i want to monitor a particular file in a directory. Is there any other method other than filesystemwatcher to accomplish this task If there is no alternative then how to accomplish Folder copying instead of file transfering As suggestd by rizwan i used f ...Show All

  • Visual C# help with ToolStripButton

    hi all. i have a TooStripButton on my toolbar. on the button i have text and image. can i know if the user clicks on the text or on the image If you talking about a ToolStripButton on a ToolStrip and its DisplayStyle property set to "ImageAndText", then image and text on the ToolStripButton will work as single object. Anyway why do you want to capture click on the text and click on the image of a single button ...Show All

  • .NET Development Dataset Current Row Position

    I am programatically creating a dataset with a table and need to know the current row number I am on before doing something else so I can get back to it. I have no controls bound to this dataset/table and would prefer to do everything in program. In the old days of recordsets I just used to get the bookmark of the current record and then go back to that bookmark. I have searched and can't find how to do this and I know it is probably really simple. Thanks Hello! I'am new in VB. I have the same problem. I understand that there is'nt currentrow concept. So, what is the good idea for this: There is'nt Datagrid on the form. The user click on a button. I want to modify the current record displayed ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA - Microsoft lack of vision

    Its real sad that Microsoft, once again, shows this lack of vision for a games development tool: 1: Get visual: Don't force users to write such a lot of code to do just very little. It reminds the Charles Petzold's "Hello Window" hell of code days. 2: Provide visual tools: Let users choose the components, change their properties and write just the required code for the events. 3: Quick development means quick prototype and minimum learning curve. XNA has a lot of things to learn. Definetively it is NOT for students and hobbists. We will have to wait until someone encapsulates XNA framework into a group of visual components, that can be easily drag & dropped, inspected and tested very easily without having to learn lots of n ...Show All

  • Visual Studio UML Reverse Engineering C++ With Visio 2007 / Visual Studio 2005

    Hi, I have had a looked around the forums, but alas I am still none the wiser! I am running VS 2005 Professional and Visio 2007 Professional -  and every time I try to reverse engineer a C++ project it will only open Visio with a blank document. Any suggestions/advice would be greatly appreciated. :) [Please Note: I have already tried repairing both installs :( ]   Hi, Visio does not automatically lay out the reverse engineered classes on the design surface. The reverse engineered classes are populated in the "Model Explorer". You'll have to drag and drop the classes from the Model Explorer to the design surface to view the classes. The Visual Studio Team System Archit ...Show All

  • SQL Server Importing / Exporting Data using ssms

    I have installed ssms, and the toolkit. When I right click on a database I don't have Import/Export under tasks. However I do have C:\Program Files\Microsoft SQL Server\90\DTS\Binn\DTSWizard.exe installed and can invoke it manually. What do I need to do to get it to show up in tasks If you are using SQL 2005 Express, you will have to use sqlcmd.exe or bcp for import/export operations. (Quite usable -check in Books Online, but perhaps not the choices one would prefer. SQL Express is not intended to be an Enterprise level product and does not have Enterprise level functionality.) ...Show All

  • Visual C# Using Path.getfullpathname() returning different results

    I was under the impression that when i use Path.getfullpathname(folder) it returns the full path name of the 'folder' if found in the debug directory or VS. This is usually the case, but sometimes it returns a completely different address. This, obviously is a problem. How do i get the path name of a folder in the debug directory everytime. Am sure there is a hole in my knowldge here. As the problem occurs after i select something from a different adirectory. It is like VS is remembering where i selected a file (using the openFileDialog) and then when i use getFullpathname, is going back to the dir from the open file dialog. Anyways around this without hard coding in the path You misunderstand what GetFul ...Show All

  • Microsoft ISV Community Center Forums CreateProcessA problem - no DOS windows appearing

    Hi I have an Excel model which (once a lot of data is entered) saves some data as a text file and uploads it to an OLAP database. It does this using CreateProcessA to run a command line. (Code at the bottom of this message.) The code wasn't written by me, but comments on the code say it was from the MS web site. This has worked fine in the past, but I have recently upgrated from Windows 2000 to XP (and from Office 2000 to 2003) and it no longer works. The CreateProcessA command fails to open a DOS window. I thought it was an XP problem, but a colleage has the same set up as me and the upload works fine on his PC. So I think the code's OK, but it seems there's something on my PC that's interfering with it. Any ideas where I can start to loo ...Show All

  • SQL Server Delete connection file

    I've inherited a procedure that performs a few transforms and writes to flat files in a working directory using a connection in connection manager. After the manipulation, the system cleans up by deleting the working files. Works fine in development, but from the command line gives: The process cannot access the file <filename> because it is being used by another process.". I suspect this is because connection manager still has the file open. Any ideas Thanks Guy So this would be in a script componenent after the last valid use of the connection and before the deletion I take it I would also probably need to force RetainSameConnection to use only one connect ...Show All

  • Visual Basic Web Browser Popups

    Hello everybody, I have created a successful webbrowser in VB Express Edition 2005, with all controls (back, forward, stop etc..). Yet when a link is clicked which opens a new window on a website, it always opens in internet explorer... how can I prevent this from happening Thankyou Ben If you simply want to block links from opening in a new window, you can use WebBrowser's NewWindow event: Private Sub WebBrowser1_NewWindow( ByVal sender As Object , ByVal e As System.ComponentModel.CancelEventArgs) Handles WebBrowser1.NewWindow e.Cancel = True MsgBox( "A Popup has been blocked" ) End Sub If you want to capture the link and open it in your own WebBrowser instead, that's a differen ...Show All

  • SQL Server Stopping job after timeframe

    Is there a way to stop a scheduled job after a particular amount of time has passed I have jobs in which the running SSIS packages wait for a file to appear in a particular folder. As is, the job will wait all day. What I want is the job to fail if after say 5 hours, the file never appears. (Plus for the next day I need to package to "reset" itself with the current date.) That is exactly what you do. Yes, it is a hack. In most places that I work with that have larger numbers of servers, we don't use SQL Server Agent at all and instead purchase 3rd party software to handle all of our jobs. Of course, the 3rd party software handles scheduled tasks for DB2, Oracle, Windows, Unix, and several other sy ...Show All

  • SQL Server SQL Express and SQL 2005 developer edition on same machine

    Hello, I am wanting to setup both SQL Express and SQL 2005 developer edition with visual studio 2005 professional on the same machine and want to make SQL dev edition the default local accont to where I can set the sql connection to server=localhost. Is there a way to do this Thanks So, I then should proably install SQL 2005 dev as default instance, then go ahead with the visual studio 2005 pro with SQL express installation after, correct Also, I am seeing this in the IIS ASP.net configuration settings connection string data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true. I am assuming that sql express is the default server. ...Show All

  • .NET Development .NET Remoting SocketException

    Hello all, My console .NET remoting server is crashing randomly and producing this stack trace. Any ideas what I could do to help solve it I think the problem stems from the client not accepting invokations coming back from the server (when an event occurs). System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond Server stack trace:    at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)    at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)    at System.Runtime.Remoting.Channels.RemoteConne ...Show All

  • Visual Studio Tools for Office Get The text of Words from a word document

    This may be a topic for some other group, but this group gets replies faster then then Automation or some other Word groups, so maybe someone here knows this. I really want to thank Cindy for pointing me in the right direction for what I wanted to do. I ended up using the DsoFramer control to host my word doc, and now I have the document loaded, when I first saw the Word.Document.Words collection, I thought cool a collection of string variables for words. Microsoft would never make it so easy. Does anyone know how I access the words in the document, and highlight a word that matches my search criteria (similiar to the way Google highlights your results). I am heading to the book store to buy an Office book next, but if someone has ...Show All

©2008 Software Development Network