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

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

dmcmillan

Member List

mark1110
ajaimes
Aman B
Prabu.
veep
erbenji
clint 2
MartijnP
sharpMoon
Qaayam
dpoon
Meisash
Daniel Coleman
Angry Coder
Deb Magsam
MicMit
Sneh Mani Tripathi
AussieNoobie
Dan Mikkelsen
adrshen
Only Title

dmcmillan's Q&A profile

  • Windows Forms How to execut an SQL statement using BindingNavigator

    Hello suppose we have some text boxes already binded with BindingNavigator how to execute an SQL query using the code so the binded data can be specified with this SQL statement yes you can. what I have try is add a datagridview, three textbox, one navigatorbar to the form, I set Dataconnecion to sql server by IDE so it generate follow dataset, bindingsource and Tableadapter for me private TestDataSet2 testDataSet2; private System.Windows.Forms. BindingSource tBIDBindingSource; private __11.TestDataSet2TableAdapters. TB_IDTableAdapter tB_IDTableAdapter; I add follow at the form load event this .tB_IDTableAdapter.Fill( this .testDataSet2.TB_ID); this .bindingNavigator1.BindingSource = this .tBIDBin ...Show All

  • Visual Studio Team System Clearquest integration?

    For the moment my division is still using Clearquest for issue tracking. For the time being at least we would like to use TFS for source control but still use CQ for issue tracking. Does anyone know of a way to get the CQ integration to work with TFS source control the way it used to with VSS (It used to auto prompt to add comments and insert records back into the CQ's). This has come up as a migration concern for our existing process. Thanks Hi: We have a migration path from CQ to TFS Work Item Tracking but currently there is no two way mirror for them. As for integration, we are working with IBM to see if they extend this type of support but we have not moved very far. We are encourag ...Show All

  • Windows Live Developer Forums message

    omi recieved a message..if yiu have upgraded to a new of the msntb_toolbar_full_name and have not restarted your computer since the upgraded/pl try restarting your computer.if the problem persist re install the msntb_toolbar_full_name....what should i do ...Show All

  • Windows Forms How to implement copy/paste/cut commands in C#?

    Could someone please tell me how to implement the copy/paste/cut commands for the Edit menu items in C#  2005 I can implement those commandsfor each textbox individually, but my application has about 100 textboxes. It will be very tedious to do the same thing for each of them. I guess there must be some way to implement those commands for the whole application.   Thanks! It's easy for there's also an ActiveControl property in ToolStripContainer, just change Control ctrl = this .ActiveControl; To Control ctrl = this .container.ActiveControl; Hope it helps. Best Regards. Ye. ...Show All

  • Microsoft ISV Community Center Forums Word 2003 Includetext XPath

    I have a word document that has an includetext field. The text is extracted from an XML file that is generated from an external database. I want to load it into word and insert text from different sources that is formatted data into different elements. I do not have problems extracting data from a n element when using a raw xml document. But if I add random text with formatting to an element, I need to save as a Word XML. If I save as raw data I will lose the added formatting. I can't seem to make the xpath statement work after that. Shouldn't it extract all text with formatting as long as I make sure the namespace and node name is correct. I would appreciate any suggestions Hi Mary -- I sent yo ...Show All

  • Windows Forms Tabbed Browsing

    Hi I am using this code for a tabbed web browser: Public Class Form1     Public Class WebBrowserTabPage         Inherits System.Windows.Forms.TabPage         Private WithEvents WebBrowser As WebBrowser         Public Event Navigating(ByVal sender As Object, ByVal e As EventArgs)         Public Event Navigated(ByVal sender As Object, ByVal e As EventArgs)         Public Sub New()             Me.WebBrowser = New WebBrowser()          & ...Show All

  • Visual Basic Copy Folder to new location

    Help. I am trying to setup a sample application code I got from someone to copy a folder of a persons choosing from a dialog box, to a new location that is chosen from another dialog box. Currently this application works, but does something I don't want to happen. When the files are copied, it recreated the entire root structure to the folder instead of just coping the folder selected. Example: folder selected was c:\documents and setting\user\my documents\labels Copy to: c:\documents and setting\user\desktop The application created the file structure documents and setting\user\my documents\labels on the desktop instead of just the "labels" folder. Any insite would be grateful. Private Sub But ...Show All

  • .NET Development Connection Strings in DLL's

    Hi Folks, I'm new to .NET development and have a couple of things I need help with. I have a Forms application that utilizes a DLL Database library that I've written to interrogate an Access Database. The first problem I have is how do I get at a connection string setting saved in the app.config file for the DLL and set through the project properties dialog When I use the following code fragment taken from the Help I seem to get some spurious connection string in the settings object which I can't find anywhere in the project: - ConnectionStringSettings settings; settings = ConfigurationManager.ConnectionStrings ["DatabaseConnection"]; How do I get at the Connection string to instantiate my connection ob ...Show All

  • SQL Server reference member in user hierarchy

    hi, I have a user hierarchy in my Date Dimension such as [Calendar]->[Years]->[Quarters] And I can access the member by directly call the memeber name, for example: select [Date].[Calendar].[Years].[2006].[Q2] on columns, ................................... The results will be correct. However, if I use reference to call the member, for example: select [Date].[Calendar].[Years].[2006].&[2] on columns, ................................... There will be nothing in my results. Would you please tell me what shall I do to enable the reference call to my hierarchy member Thanks. Nice that it works. Without attribute relations you will not get any aggregations on the t ...Show All

  • Visual Studio 2008 (Pre-release) Help: RC1 ListView Memory Leak

    I've got a memory leak problem with the ListView. I just have a long list of items that I put in a list with 2 GridViewColumns, and as I scroll up and down the list the memory goes up and up and up, until I eventually run out of memory on my machine if I do it long enough. I find it hard to believe that there's a problem like this with list view, so I'm wondering what I've done wrong. I'm running RC1 on Windows XP x64. I've done a real simple example. The code is below. You can run an XBAP version from here: http://150.101.100.238/~john/LeakyList/LeakyListXBAP.xbap In task manager, watch PresentationHost.exe Mem Usage grow as you scroll the scrollbar up and down. Press "Collect Garbage" and the Mem Usage won't go down ...Show All

  • Software Development for Windows Vista Is there any chance to write codes to set environment variables of command-line window?

    The goal I want to achieve is that when I open a command-line window, I run my exe, and then it will add a new environment variable or modify an existing one of the command-line window , and the enviroment should only be local (effective only in the command-line window). Further, I don't want a batch file to do this, I know batch file can easily do this, but that's not what I want. Any ideas Thanks! Environment variables are a per-process resource. Meaning, unless you're creating a child process you can only change the environment for the entire process. Use CreateProcess to provide environment variables to a new process. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. What's difference between Express and Professional?

    I've installed the Express edition beta 1, but I have interesting to the Professional edition. I thought the Professional edition should have more classes than Express edition, but I've never seen any documentation to compare the class library of each edition. Could you tell me the differences of them, particularly about class library Or I'd be happy if I could find the reference manual of XNA Game Studio Professional on the net. Thanks, Hayashida The FAQ states that the pro version will be for signed developers with dev kits, which kind of restricts who will ever be able to use it (and probably talk about it)... Q: What if I have an 360 Developer Kit – can I use the XNA Framework with a title t ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XACT won't set LoopEvent property

    Hi, I have a problem getting sounds to loop from within XACT. I open my project, open the Sound Bank window, select the sound name and highlight Play Wave - this causes the Event Properties panel to reveal LoopEvent, amongst others. Now, when I try to open the combo box to set "No" to something else, I get a dialog saying: "Object reference not set to an instance of an object." So, two questions: 1. Is there a way around this bug in XACT 2. Preferably I'd like to set the sound to loop from within my code. Is there a way to do this in Beta2 Many thanks =) Mark Aha! Our testers have indicated a potential source of this issue. Apparently the XACT authoring tool ...Show All

  • .NET Development Auto replay in c#

    Hai all, Please guide me how can i write a programme for auto email sender or tell me how can i retrieve sender's address from email server. Thanks n advance. shino sending emails..take a look at this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=760457&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=788366&SiteID=1 ...Show All

  • Smart Device Development Writing to the registry on the emulator

    Is it possible while debugging using the emulator to write to the registry This works fine on a live device, but I can't write using an emulator. Is there something that needs top be set up prior to using the emulator Thanks Here's the code: Try Microsoft.Win32.Registry.LocalMachine.Close() MyRegistryKey = Microsoft.Win32.Registry.LocalMachine.CreateSubKey( "\Software\SmartCop\Common" ) If (MyRegistryKey.ValueCount = 0) Then MsgBox( "Could not write to registry" , MsgBoxStyle.Critical) Else MyRegistryKey.SetValue( "ConnectionString" , myConnectstr.m_connstr) MyRegistryKey.Flush() MyRegistryKey.Close() End If REM Catch ...Show All

©2008 Software Development Network