Peter Moore's Q&A profile
SQL Server KB913580 related problem
I hope this is posted in the correct forum. I have Linked Servers that are used to query Access databases that reside on a file server. This has been working for a long time, until I applied KB913580 which references the Distributed Transaction Controller. I am running SQL Server 2000 on the same desktop (development environment) from which I am accessing the Linked Server. The file server is on the same LAN segment – there is no firewall involved. I uninstalled the update and rebooted but still getting the error: OLE DB provider 'Microsoft.Jet.OLEDB.4.0' reported an error. [OLE/DB provider returned message: The ...Show All
Smart Device Development CameraCaptureDialog Issues
I've been having some issues using the CameraCaptureDialog class on an HTC Apache device (rebranded as the UTstarcom 6700): 1. After exiting my application, the device's camera capture screen comes into focus. This happens whether I dispose of the class instance or not, and the Close() method is protected, so I can't call that. Any ideas on getting rid of this lingering capture screen 2. On a seemingly random, intermittent basis, an InvalidOperationException will be thrown from within the ShowDialog() method. Sometimes this will happen after taking 4 or 5 photos, but other times it will work fine for 40 or 50 photos before I give up trying ...Show All
Windows Forms Properly drawing C# user controls?
[Ported from a post in the C# forum by Moogy...] I have created two usercontrols; one is a panel that has a gradient background, and another is a 'header' control that merges icon and border graphics - they look great. The problem is the order of painting. Right now, when the control is resized, I get a nasty flicker with my 'Header" control (not the panel control). I am curious, what's the best way to properly process the painting of user controls in VS 2005 and C# It's been awhile since I've done this... Thanks! You can turn on double-buffering: DoubleBuffered = true ; ...Show All
Visual C# datagridview selection and column span
have a DataGridView populated by an SQL db. What i need to do and can't, is to doubleclick a row, and retrieve a value from a column in that row into a string or int. I also need some help on making a column span on a DataGridView.. Could anyone help me on this Thx Pedro ...Show All
Visual Studio Enable toolbox items with tool window
Hi, I understand that toolbox items are enabled/disabled by implementing IVsToolboxUser on a the document view on a designer. Is it possible to enable/disable toolbox items using a tool window or can this only be done with a true document (editor) window Thanks, Notre This is answered in a MSDN Visual Studio extensibility newsgroup post: It will "only [work] for document windows. The toolbox would ignore all UI selection contexts except SEID_DocumentFrame" ...Show All
Software Development for Windows Vista support fade in/out in owner drawn button [DrawThemeBackground(BP_PUSHBUTTON)]
I have an owner drawn push button. How can I support the fade in/out hoover effect in Vista. Currently I'm using DrawThemeBackground(BP_PUSHBUTTON,PBS_HOT) to create the hoover effect. But this effect is abrupt. It doesn't fade out like in original controls if the mouse leaves the control. Steffen Hi Steffen, Owner draw push buttons do not support the new Vista push button fade effects. When you receive a WM_DRAWITEM to draw your button, you have full control over how you want to paint, and as a result there is no way for the button to apply meaningful fade effects at appropriate times. In beta 2 we may introduce some n ...Show All
SQL Server Pictures not displaying
I tried to search for this but couldnt get a satisfactory solution.. We have pictures stored in a table as BLOB files. When I try to display them through RS it just shows 'X' in that field... Any help is appreciated.. I have tried setting MIME type to JPG and doesn't work either. These images are stored in the SQL server as image (BLOB) files. The user just right clicks an image on his computer, select copy and then clicks paste in the ACCESS field to paste the image. This is how it gets to the SQL database. They have been doing this to jpeg files. As I said b4, I tried this with a bmp file ...Show All
Visual Basic smtp virtual server problem
I installed the smpt by adding it from window componenet. However I can't find the Default SMTP Virtual server Folder from my IIS. Appreciate some advice so that I can go about configuring the access replay. Thanks ...Show All
Visual Studio Team System Test Run deployment issue: directory is not trusted.
Hi all, I have an application which uses a DLL from our network drive M:\VS2005. Build works fine, but when I call the Testproject it always aborts with this error message: Failed to Queue Test Run ... with id ...: Microsoft.VisualStudio.TestTools.TestManagement.ExecutionException: Test Run deployment issue: The location of the file or directory 'M:\VS2005\MyDLL.dll' is not trusted. Here i've read about caspol.exe and I tried it with every combination like M:\VS2005\* or //server/share/vs2005/* or else, all without success :-( I even set off security with caspol -security off and it still does not work :-( Copying the dll to local file and ...Show All
Visual FoxPro DO FORM does not work in exec (for me)
I have close to 50 clauses, it turns out, DO FORM in my application. They all work perfectly well in interactive mode with the browser but do not work at all in exec after I built it. By "do not work" I mean that I do not even get an error message. Those statements are completely ignored. What I've done so far is trying to find a formula under which I could call outside forms. As I mentioned, when a statement DO FORM <formName> is placed inside a method it does not work. I tried to place them in a prg file--the same negative effect. Or rather no effect. The next trick was to invoke a form in my startup (main) prg file a ...Show All
Visual Studio Team System Build Failed In December CTP
I moved a project from a server with TFS beta3 refresh installed to another with December CTP. When I build it, a referenced file can not be found. structure of my solution is like: Solution |_______Project MapiLib (C++ dll) |_______Project My.Blog (vb.net library) |_______Project CommunityAddin (C# library) MapiLib and My.Blog projects are refered by CommunityAddin. When I build it locally and in a server with beta3 refresh, it is all right. It could not find the MapiLib's output during team build on server with December CTP. ...Show All
Windows Forms Outlook 2003 Clone - Owner Drawn background Color problem
Hi All, I am writing some prototypes for our new product line, and have sampled parts of the Outlook 2003 Clone application. The part im having trouble with is the folderView control. I created a new control in my project (workspaceView) which mimics the folder view but i load my tree nodes at runtime. The ' DrawAnnotatedText' method gets called as it should do, so that some of the nodes are bold when the count is > 0, but when i click on the bold node, the background highlighthing color does not highlight all of the node text. Its always about 10 pixels short. The link below shows an image with a highlighted node that should read ...Show All
Visual Studio FPSE Version Number question
All: Having recently installed W2K3Server SP1 (32-bit), I've have noticed that our FrontPage Extended Webs now report that they are running version 5.0.2.6738. According to the FPSE website from Microsoft, the following holds true: 5.0.2.6738 The version of FrontPage Server Extensions 2002 for Windows x64 editions only. (emphasis mine). Now, this tells me that my 32-bit version of Windows Server 2003 SP1 is running a 64-bit version of FPSE, which obviously can't be right, as surely you couldn't even run a 64-bit installer/executables on a 32-bit host. Soooo...does that mean a) The 32-bit versions have now b ...Show All
Visual C++ I'm stuck and cunfused. ARR U C++!
ok. i made a small ...small SMALL msdos program with Visual C++ express (yep a newbie) and all it was, was a whats ur name age and if u like this kind of music or game. now i figured out the whole press one if u like this or press 2 for no. but i want to make it a says YES FOR YES! and so on. get it good. here's my code. im really stuck #include <iostream> using namespace std; int main() { int number; /* This describes the number int. */ char conversation1[256]; int halo; char variable = 2; char option; cout << "Welcome To the computer talking program.\n"; cout << & ...Show All
Visual Basic How to put a picture into a picture box fetched from a website using WinHttp
Hi, I need to fetch an image from a website and put the image into a picture box using WinHttp in VB. I referred to the article in the following URL. http://msdn.microsoft.com/library/default.asp url=/library/en-us/winhttp/http/about_winhttp.asp It has the following code.But the code gives error. The lines that give error are marked in bold as follows. Private Sub Form_Load() ' Create an instance of the WinHTTPRequest ActiveX object. Set WinHttpReq = New WinHttpRequest End Sub Private Sub Command1_Click() ' Create an array to hold the response data. Dim d() A ...Show All
