XIU's Q&A profile
SQL Server AcquireConnection returns null
Hi, we are facing some issue to get the underlying OledbConnection from the runtime ConnectionManager. below is the code sample that we are using IDtsConnectionService conService = (IDtsConnectionService)this.serviceProvider.GetService(typeof(IDtsConnectionService)); if (conService == null) return; ArrayList conCollection = conService.GetConnectionsOfType("OLEDB"); for (int count = 0; count < conCollection.Co ...Show All
Visual Studio Team System Can't add domain user to TFS groups
When I select "Add Windows Users or Groups", it only shows the local machine, I can't browse to the domain, and can't add user in the form "Domain Name\User Name". The machine has already joined to the domain and the current user is the TFS administrator (also Domain Admin). How can I add domain user to TFS groups Thanks! While this may not specifically be your issue, since you have your dc on the same box as the AT I wanted to make sure y ...Show All
SQL Server How do I make a column not nullable
This is what I would like to do... 1. Alter Table Status Add ConsiderOpenFlag int null 2. UPDATE values... 3. Alter Table Status Alter ConsiderOpenFlag int not null Steps 1 and 2 are easy. What I cannot figure out is step three. I don't want to have a default on that column, though I wouldn't mind adding it and then dropping it later if it would help. Jonathan The correct synta ...Show All
Software Development for Windows Vista What are the important changes in WWF Beta 2 relative to WWF Beta 1?
What are the important changes in WWF Beta 2 relative to WWF Beta 1 Michael - you can get it from Paul's blog post - here http://blogs.msdn.com/pandrew/archive/2006/01/19/UpgradeWFBeta2.aspx ...Show All
SQL Server Neither System.DbNull or NULL??
How to set NULL values inside VB Script .Net Both causes error: .FECHAAP = NULL .FECHAAP = System.DBNull ...Show All
Smart Device Development Pocket Word or Notepad programming
Hi! Could you help me how to program pocket word or notepad I need to load a portion of a big txt or doc file into a textbox and insert some text into it and paste it back to the big file. How could I display formatted text in Notepad How could I copy a portion from a file and paste it back I need it for a program that can fill in a report and print it. Thank you! I don’t know if it’s possible to ...Show All
Smart Device Development Difference between SmartPhone and the PocketPC
What is the difference between the smartphone and the pocketPC Adapterboy wrote: A quick question then, since there are 2 different SDKs, does that mean that a software developed for Pocket PC will not work on a Smart Phone (Assuming that we use all the controls that the Smart Phone supports) and vice versa How hard would it be to port from one platform to another a majority of the differences I've experienced are ...Show All
Visual Studio Express Editions Problems uninstalling Visual Web Developer 2005 Express Edition
This is the second time I am trying to uninstall, the uninstall process gets stuck at about 25% completion. When this happened first time, I redownloaded the software , installed it all over and now I am trying to uninstall it and it is again stuck.!! Please help I think this has something do with a bug that triggers when you uninstall an unregistered express version (for versions that require registration). For ...Show All
Visual Studio Express Editions SQL and VB
Hello I was wanderin say you create an app that has a sql database ... when you publish it and send it to a friend do they need to have sql database to connect to like i do in VB yea im a complet noob sorry and any sql intros would be great.. ty ty ty ty Yes, they need to have a database program installed ( almost certainly the same one ) and you also need to send scripts to build the actual tables/stored proc ...Show All
Windows Forms SetParent
Up to now I used the Windows API to code my programs. Now I started using C++/CLI and .net 2.0. The Windows API has a function called SetParent(HWND, HWND) . Now I'm looking for the net equivalent. How can I move a Control from one Form/Container to another Form/Container Is it possible to make a Control a Form by setting it's parent window handle to NULL By the way, what is the real difference between a form, a container or a contro ...Show All
Visual Basic An interesting bug
I have NO idea what caused this to happen. However, working with Visual Basic 2005 Express (version 8.0.50727.42), when I finished the Public Wizard (accessed by going to the My Project section under Solution Explorer and then clicking the Publish tab), my default web browser (firefox) opened. The browser then loaded 6 different pages. 1 - file:///C:/Documents on my local system 2 - NASA.gov 3 - A Microsoft site on "Wor ...Show All
Visual Studio 2008 (Pre-release) TreeView bound to DataSet: how to expand items?
I've been trying to expand items in TreeView for hours... Yes I know how to deal with TreeViewItems. Problem is I use databinding to a (typed) DataSet using HierarchicalDataTemplate, getting a nice Master-Detail-View in a single TreeView. This gives much better overview for my purpose instead of using like 2 separate Listboxes the user has to browse through. Everything looks and works very cool except I don't know how to expand/collapse t ...Show All
Visual FoxPro i can't use movelast in ado
Hi guys i can use ado connect to local .dbf and sql server and get the data from it.but i found i can't use movepriveous,movelast function of ado object and also i can't get the recordcount ,any idea o=CREATEOBJECT("adodb.connection") o.ConnectionString="Provider=VFPOLEDB.1;Data Source=P:\test\data;Password='';Collating Sequence=MACHINE" o.Open() r=CREATEOBJECT("adodb.recordset") r.Open("select * from freetable1",o) r.recordcount& ...Show All
Visual Basic Locked property
Why am I able to change the locked property for my combo box or text box in the property window but not in the code The locked property is not the same locked property of VB6, the .Net equivilent is .ReadOnly. All .Locked does is lock the control on the design window and prevent you from moving it. ...Show All
Visual Studio Tools for Office Moving Items in the Outlook Calender and listen to the Event
I'm developing an Outlook Add-in with VSTO 2005, which adds a CommandBarButton to Outlook.AppointmentItem. This Button opens up a Windows Forms which makes it possible for the user to order a room and service for the meeting. The Forms uses the ItemEvents_10_PropertyChangeEventHandler to catch when a property is changed on the Outlook Form. But i need to be able to know when the user moves the Outlook.AppointmentItem through the Calender, ...Show All
