Duncan McC's Q&A profile
Visual Studio Express Editions No "Update Service Reference" for .map
In visual studio 2k5, I do not have the option to update the service reference on a map file. Does anyone know what I might be missing Thanks! ...Show All
SQL Server The AcquireConnection method call failed with error code 0xC0202009.
I've seen the previous threads on this (although maybe not all of them). However, i don't think I'm getting the error for the same reason. The full error I'm getting is: - Pre-execute (Error) Messages Error 0xc0202009: {F1B3B35C-FAE3-48F6-A169-4E4D8D99F9B6}: An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft JET Database Engine" Hresult: 0x80004005 Description: "Unspecified error". (SQL Server Import and Export Wizard) Error 0xc020801c: Data Flow Task: The AcquireConnection method call to the connection manager "DestinationConnectionExcel" failed with error code 0xC0202009. (SQL Server Import and Export Wizard) Error 0xc004701a: Data Flow Task: ...Show All
SQL Server Datetime function glitch -- same settings, different results
hi guys, i am encountering a pretty weird problem on our SQL database stored procs, particularly those concerning datetime functions. we have two setups, one is on london, and another one is here in singapore. both servers have the same regional settings, the same database tables, stored procs and functions, almost the same in every aspect. the only difference we know is that one is a direct database cut (sql 7.0), while the other used database migration in win2k. here goes: all stored proc functions work just fine on the singapore setup. the london setup however, is not working at all! it does all the functions like change flags and status, but it doesn't update dates nor search for data by date. i have also checked on the collision ...Show All
Software Development for Windows Vista Master Volume control in Vista
hi, can we set the master volume control in vista using any interface or API For setting the master volume in Vista, the EndpointVolume API looks like the best bet to me. http://msdn.microsoft.com/library/default.asp url=/library/en-us/CoreAud/htm/endpointvolumeapi.asp Note: for those who have not used the traditional DirectSound or Windows Multimedia (winmm.dll) methods in Vista yet, attempts to set the master volume will only have an affect on the application that is making changes. ...Show All
SQL Server can't "allow peer to peer" - SQL Server 2005
I'm trying to set up the first distribution server for a peer to peer transactional replication (updateable subscription) between two SQL Server 2005 instances on one machine (for testing). Can this be done without "virtual servers", and if so how do I enable the "Allow peer-to-peer subscriptions" option in the Subscription Options folder of the Publication Properties dialog box I've got: Independent Distribution Agent True (not selectable) Allow anonymous subscriptions False Attachable subscription database False Allow pull subscriptions False Allow initialization from backup files True Allow non-SQL Server Subscribers False Allow data transformations Fa ...Show All
Windows Forms How to set Text to DataGridViewRowHeaderCell dynamically?
Hi, there: I would like to set row header text from a dataset (or other collections) but I am having hard time to do it. I tried to add text row by row but I could not change the size of the row header cell. Basically I only can see a small part of the text. Is there a simple way to do it Any suggestions are appreciated. I found out how to change the row size to display the row header text from google groups. DataGridView1.RowHeadersWidthSizeMode = AutoSizeToAllHeaders Now my question is how to bind a DataTable column to row header. I am doing it row by row using a loop. I would like to see an easier way just like binding to other columns. Anybody has any ideas. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. help with everything
I cant seem too computer connection can some one tell me what to do Have you tried the troubleshooting tips offered by David Weller of Let's Kill Dave! fame If you've done everything in the links that Jim suggested and the troubleshooting tips offered by Dave do not work, then you're going to have to be a bit more descriptive about everything. Things that would help would be knowing more about your network setup, your PC, step by step what you are doing and so on for anyone to really have a chance at helping you. ...Show All
Smart Device Development MessageBox loses focus on Smartphone and reboot is needed
Hi everybody, I use ATL and Visual Studio 2005. I create an EDIT BOX like this: I answered this here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=734430&SiteID=1 ...Show All
Visual FoxPro VFP 3.0 on XP
I need VFP for a small project, and I don't want to spend USD 600 for a new version (is there a beta version still available ) Is it ok to install VFP 3.0 on Win XP Thank you, Tor Henrik Also, unless you have a copy of VFP 3.0b, you are limited to machines with only 384mb RAM or less. And even 3.0b only supports up to 512 mb RAM. Rick ...Show All
SQL Server Handling encryption at the application level
Developing an application, which is handling encrypting for a SQL server 2005 DB at the application level, using symmetric AES encryption. After being encrypted the data is being sent to the SQL server 2005 DB to be inserted. This is what I want to accomplish. But I have one or two questions as I am going through the research for my project. Encrypting the data shouldn’t be that big a deal, but can SQL server 2005 handle to insert these data If yes how I am thinking just simple SQL INSERT statements When the data are inserted can SQL server, as it supports AES encryption, through the DBMS decrypt the data as they have been encrypted else where and then perform specific functions (by specific function I just mean any functio ...Show All
SQL Server use sybase odbc datasource or oledb datasource,run no error,but 0 row data output,why? help me!!!
use sybase odbc datasource or oledb datasource,run no error,but 0 row data output,why help me!!! use sql server2005 ssis ...Show All
Silverlight (formerly WPF/E) How i perform aniamtion on Canvas.Left property
Hi, How i perform animation on canvas.Left property , When i try to set Storyboard.TargetProperty = " Canvas.Left " in DoubleAnimation it does't give error but in browser output is not display. code Like This Canvas Name = "MyCanvas " Background = " Red " Canvas.Left = " 200 " Canvas.Top = " 400 " Height = " 200 " Width = " 20 " MouseLeftButtonDown = " javascript:f_animation " > < Canvas.Triggers > < EventTrigger Name = " et " > < BeginStoryboard Name = " bs " > < Storyboard > < DoubleAnimation Storyboard.TargetName = "MyCanvas " Storyb ...Show All
Visual Studio Team System How to rollback bad check-in?
How I can rollback files checked in a source control The only things I found that I can specific version before the bad check-in but when somebody will get latest version he/she will screwed again. And also I have all kind of problems when trying to modify and check-in those files I loaded from previous changesets - Source Control detects that newer version is available in database and offers me to merge the changes. Which I am obviously do not want as newest check-in is a bad one. How can I remove this bad check-in from the top of the stack OK, so for your scenario I would use branching+merging+rollbacks - I still not convinced shelving as a required feature - but it's nice to have it anyway. I would th ...Show All
Game Technologies: DirectX, XNA, XACT, etc. No text input in WinForm controls
I am putting some WinForm controls on the Game's window, like this: protected override void Initialize() { // TODO: Add your initialization logic here TextBox t = new TextBox (); Form f = ( Form ) Form .FromHandle( this .Window.Handle); f.Controls.Add(t); base .Initialize(); } This works fine for Buttons etc., but entered text does not show up in a TextBox. Not using Keyboard.GetState() does not help. I suppose that the game window consumes all keystrokes and does not pass them to the controls. Any help Still it would be cool if there was some way to embed controls onto the game window. If you had a multiplayer online game and wanted to have a text box for cha ...Show All
Visual Basic Checking existence of form
Using VB.Net 2003 My app has buttons that open other forms. So when I press the button for Parts Listing the code behind my button is as follows. Private Sub btnParts_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnParts.Click Dim parts As New PartList parts.ShowDialog() End Sub When I click the button multiple times I don't want to create a new instance of the form if one already exists. Is there a way to check for this I know I can enable=false but there are other ways to get around this in my app. thanks tattoo You could create a class holding globals for your app. Upon form creation hand each new form a refer ...Show All
