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

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

kbiesbrock

Member List

ArthurNicholson
hamou140
Hannes Eder
Dare Obasanjo - MSFT
onewnan
Warren LaFrance
jazman58
Prashanthganathe
Washu
Mike Wasson-MSFT
Ulzii
Sces
Dinesh Jayadevan
Mashhood
desert rose genie
t-965
Olmy
Manoj G
Martijnvl
Cleber Dantas
Only Title

kbiesbrock's Q&A profile

  • Visual Studio Express Editions Is it possible to use two OLEDB datasources In this Way?

    I am wondering if its possible to do something like what I have in my adaptor= line below (which doesn't work at the moment). All I am really trying to do is come up with a quick and dirty way to pull a few rows out of one database/table and pop them into another database/table: Dim constr As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Media\Databases\Configurator.mdb" con = New OleDbConnection(constr) dt = New DataTable() adapter = New OleDbDataAdapter( "Select * into Customers2 from [Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Media\Databases\aDifferentDatabase.mdb].Manufacturer_ ...Show All

  • Visual C# Need parent domain of child domain for AD lookup code

    Here is our situation. We are checking if a user is in the Schema Admins group and were working off a child domain server and all our functions return the child domain server’s domain and we need the parent domain. -GE (Parent Domain) -Server A (in parent domain) -US (Child domain of GE) -Server B (in child domain) I need to query Server B for its Parent Domain and I always get back US and I want GE for AD lookup purposes because of rights issues. I need a consistant reliable way that works on windows 2000, xp, 2003 etc. Here is the current code we use to loo ...Show All

  • Visual Studio Team System Can I undo / discard a checkout from source control explorer?

    Hello, This issue may have already been visited, but I haven't had any luck searching for a solution. Here's my problem: I had a contractor working on my project for quite some time in the early phases. When he left he left files checked out in his Workspace on his desktop. The effect of this is that Source Control Explorer listed a pending change for him dispite the fact that he has been gone for months. How can I discard his pending changes How do I delete his workspace Background: - TFS B3R on VMWare Server - Single server install Thanks as always, Graham I don't think you can do those thi ...Show All

  • Windows Forms Path

    I have the following code: Option Strict Off Option Explicit On  Friend Class clsMain     Public Function OpenConnect() As ADODB.Connection         Dim com As Object         com = New ADODB.Command         Dim dbPath As String         'dbPath = VB6.GetPath & "\" & "ss.mdb"    &nbs ...Show All

  • Windows Forms Determining if SuspendLayout has been called?

    I have a control that Overrides the OnResize method. I thought a call to SuspendLayout before setting the Size property would cause the control to avoid OnResize calls until ResumeLayout was called but it does not. Is there a way to determine if the user has called SuspendLayout in the OnResize call Thanks, Ray If your code in the OnResize event changes the layout of the control (ie child control positions and sizes) then it should be moved the OnLayout method. OnLayout will not be called when a SuspendLayout is in force, and therefore solving your problem. ...Show All

  • Visual C++ /clr and /Gm compiler options not compatible

    I am using Visual C++ 2005 Express Edition. I want to use incremental compilation (Enable Minimal Rebuild - /Gm) option to avoid having to recompile everything every time I make a small change in one of my source and/or header files. But it seems that the /Gm switch is not compatible with any of the /clr options. Why is that How can I avoid having to rebuild everything in my managed /clr application Regards, David. Unfortunately, there is not current way for managed applications. I just talked to the compiler front-end folks who handle this feature and it looks like there were issues that l ...Show All

  • Windows Forms Major confusion on understanding how to use config file in C# 2.0

    I'm so confused with this stuff in C# 2.0. I'm new to C#/.NET (coming from a Java background). I used the vs.net 05 beta to make the properties file and I added one string property to it, but it looks nothing like the examples I see that show the key/value being as: <add key="somekey" value="someValue"/> Instead my generated app.config file looks like: < xml version="1.0" encoding="utf-8" > <configuration>     <configSections>         <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, Pu ...Show All

  • Visual Studio Tools for Office InfoPath 2003 Tools for Visual Studio 2003

    I am a regestered partner, Action Pack subscriber, and part-time developer. I own a copy of Visual Studio Professional 2005 but I do not have a MSDN subscription. I need to create a Visual Studio project to add an enhancement to an InfoPath 2003 form. As I understand it, I need to install the InfoPath 2003 Tools for Visual Studio 2003. How can get the needed tool. The InfoPath tools for the previous version of Visual Studio were available without cost. The only options I see are to pay $2,500 for a Premium MSDN subsription or pay another $799 for a sperate copy of Visual Studio 2005 Tools for Office. That can't be right. There must be ...Show All

  • Smart Device Development Directory.Exists not reliable?

    My code basically steps through a loop, creates directories if not already exist and saves files into the directories and the root path is "Storage Card", which is a shared folder set in the Pocket PC 2003 emulator the loop goes fine for a few rounds, directories and files are created and stored correctly; then fails at this point( the CreateDirectory call below ) if( ! Directory.Exists( dirPath ) ) { Directory.CreateDirectory( dirPath ); } and the fact is that dirPath already exists but somehow the check has given a wrong result and goes on teh execute the CreateDirectory method, which results in an IOExc ...Show All

  • Visual Studio Using visual source safe within visual C++ express edition

    Hello, I have a project under microsoft developper studio 97. This project uses visual source safe 6.0. I'd like to know if, after the installation of visual C++ express edition, it's possible to integrate visual source safe in visual C++ express edition Because when I try to open the .dsw file of microsoft developper studio 97 with visual C++ express edition I obtain the following message :"The source control provider associated with this solution could not be found..." If yes I'd like to know how Thanks in advance for your answers pledreau I don't know which is the bet ...Show All

  • Visual Studio Team System "Check In - Work Items" window number hours spent

    I think the "Check In - Work Items" window should have a column for number of hours spent on the files being checked in. Otherwise the flow is disrupted by the developer having to go into team explorer, find the work item and change the appropriate field. Why is it that when you double-click on a work item in the "Check In - Work Item" window that all the editable fields are greyed out From the Pending Changes window (View > Other Windows > Pending Changes), double-clicking (or right-click Open) on a work item in the Work Items channel opens the work item in an editable VS document. When the Work Item channel is hosted in&n ...Show All

  • Visual C++ /clr and /Gm compiler options not compatible

    I am using Visual C++ 2005 Express Edition. I want to use incremental compilation (Enable Minimal Rebuild - /Gm) option to avoid having to recompile everything every time I make a small change in one of my source and/or header files. But it seems that the /Gm switch is not compatible with any of the /clr options. Why is that How can I avoid having to rebuild everything in my managed /clr application Regards, David. Unfortunately, there is not current way for managed applications. I just talked to the compiler front-end folks who handle this feature and it looks like there were issues that l ...Show All

  • Software Development for Windows Vista MSI.LIB Not Present in VC++ 2005 Distribution

    I was told by one of the VC++ team members in post http://forums.microsoft.com/msdn/ShowPost.aspx PostID=122581  that I should post this message here. The MSI.lib file is not present in the VC++ 2005 distribution (MSI.h is present), either the final release or any of its predecessors.  An issue was filed back in April and nothing was done about it ( http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=0b0da5e9-7343-4027-ab4c-bbca58471816). If the bug was raised by end users to the wrong group, the VC++ group should have passed it to the correct group.  That would have been the prudent thing to do.  W ...Show All

  • Visual Basic What good is this?

    Dim PrgrssBr as New ProgressBar ... and what can you do with it   Thanks. Hello zdrae, The purpose of the dim <variable> as New <type> syntax is to allow you to declare a variable and initialize it all in one go. It is really just "syntatic sugar" for the following equivalent vb code: dim myList as ArrayList myList = new ArrayList Choosing between the two forms of syntax is really just a matter of style. Some developers like to write their variable declarations / initializations in a compact way, so we support that. Hope this helps. -Scott Wisniewski Sof ...Show All

  • Visual Studio Team System Labels and Owners....

    Hi, Does anyone know if I can create a label that anyone can reapply (move) not just the owner We have a ReadyForRelease label that devs move about to indicate the latest releaseable version of code. But once the label has been created by someone, someone else cannot move it. -> Error The owner of a label cannot be changed. Ideas Thanks Andy You will need to grant your developers the LabelOther permission.  (I don't think there's a way to let a person modify Label1 but not Label2.) ...Show All

©2008 Software Development Network