EricBauw's Q&A profile
Smart Device Development Today Screen Item with WebService possible?
I have created a Today Screen Item application. It works fine. Right now it simply adds a string of text and an icon to the Today Screen. But the goal is to access data from the internet to display in this Today Item. Coming from the manage code world I thought using a WebService would be much easier than coming up with the native code to connect and access the data from the web. I gave that a try I can add the WebService and call it from my code. But it will only compile if I I add the following definition: _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA Otherwise I get the following compilation error: fatal error C1189: #error : atlsoap.h requires Windows CE platform to have DCOM support or _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MT ...Show All
Visual Studio Tools for Office Adding comandbar to RichText Inspector cause error.
I'm adding command bar to Inspectors using inspector.CommandBars.Add. It works fine for all types of emails except Rich Text. It has something to do with WordEditor. If I open RichText email it cause E_FAIL error ("Tools/Options/Mail Format/Use MS Word 2003 to read Rich Text e-mail messages" should be checked). I tried to add command bar to both inspector.CommandBars and wordDocument.CommandBars objects, but none of them works. I found bunch of posts in Internet about this problem, but none of them tells you any way around it. Here is some of them: http://www.pcreview.co.uk/forums/thread-1856592.php http://www.pcreview.co.uk/forums/thread-1856368.php http://help.lockergnome.com/office/ing-button-word-display-rtf-messages-f ...Show All
Visual Basic string manipulation
I've got a string "6/78=12.34" i need to get the value to the right of the = sign how would I do that Mitch Moving to VB as it's generic language question. Please post all questions like this to VB forum. ...Show All
Visual Studio Team System /analyze + Windows Vista SDK + VSTS2005 = crash :(
Apologies for the cross post but this doesn't seem to be generating a lot of interest in 'Visual C++ General' I have been using VSTS2005 for sometime, main reason for upgrade was to use the /analyze compiler option for unmanaged c and c++. Two days ago I downloaded the Windows Vista SDK, installed it and clicked on 'All Programs->Microsoft Windows SDK->Visual Studio Registration->Register Windows SDK Directories with Visual Studio 2005'. Since then compiling my project with /analyze causes VSTS2005 to crash. I would rather not uninstall the SDK as the compiler seems to be finding a lot more issues with my code, before it crashes! Any suggestions what I can do Thanks in advance. We ...Show All
Visual Studio Express Editions "Start Without Debugging" error?
i've been following this book step by step. it's called "Build a Program NOW!". im stuck on page 41. it tells me to us the "Start Without Debugging" command. everything seem to work right.. says at the bottom right "build started" immediately followed by "build succeded"... but nothing happens! there is no command prompt like there should be! what's going on I mentioned closing the Customize dialog because that is the step in the book prior to running your program. If it is still open, I don't think the buttons in the toolstrip will function. Anyway, looks like you have tried several ways to run the program. What you should see, is the appearance of a window t ...Show All
Windows Forms How to get that the main form is going to be minimized
Hi, Is there any way (like an event) to get that user is pressing MinimizeBox I totally want to know how to get that the user wants to minimize the main from. In this case i want to send my applicatin to notification tray when user minimizes application's main from. With thanks. Here's an example in VB.NET: Public Class Form1 Dim WithEvents ntfy As New NotifyIcon Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ntfy.Icon = My.Resources.Icon1 End Sub Private Sub Form1_SizeChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.SizeChanged Me.ShowInTaskbar = Me.WindowState <> FormWindowState.Minimized 'Me.Visible ...Show All
SQL Server Replication Performance?
I'm having a tough time finding any good resources on Sql Server Replication Performance. Are there any benchmarks / state of any kind How well does replication scale out In my scenario, I have one central publisher and several large tables, all with hundreds of millions of records. Every day I may insert/update millions of records in the publisher, and then I need to replicate the changes (in a few hours at most) onto a pool of subscribers, while they remain online. Is the replication story robust enough to handle a situation like this Is this merge or transactional replication, and on what version lf sql server And what is the approximate transaction size (meaning how many commands per txn) Assumin ...Show All
Smart Device Development Setting a default application in pocket PC
Hi, We have developed an application in C# .Net Compact Framework using .NET Visual Studio 2003 and have it running on the Pocket PC(HP iPaq 5555) as well. I have 2 requirements : 1)I need to make this application the default application that is launched when pocket pc starts up 2)Need to disable all other applications / other windows programs when this application is running. Any ideas on how to do the same Thanks Smitha Smitha Ajay wrote: ... I still havent figured how to get to the startup in the pocket pc and set a shortcut there. Open the File Explorer (Start -> programs -> File Explorer). Navigate to the folder where you have your program ta ...Show All
SQL Server Two transactions + different rowsets = problem
PERSONS data table id PName Label ----------------------- 1 John tall 2 Bill rich 3 Mary rich 4 Susan tall 5 Tom thin 6 Lu tall Indexes: id - primary_key Problem: I have a two parallel transactions T1 and T2. Each of transaction deletes data in Persons table. Each transaction deletes unique rowset from table (situation when both transactions are trying to delete one particular row is excepted). So, see the execution timeline below: Example 1 (works fine): T1 T2 ---------------------------------------+------------------------------------- begin tran T1 delete from persons where id between 1 and 3 begin tr ...Show All
Visual Basic How Can we make any drive read only in windows
Hi All, I want to make any drive in windows read only. The basic aim is to restrict copy between Hard Disk and Removable disk. Thanks, Dinesh Hi I presume from the location of the post that you want to write some code that will stop the copying of secure files. As there are so many different ways to copy a file, I'd recommend that you look towards protecting the files rather than trying to alter the expected usability of peripherals. Other than that, I'd suspect you are heading into driver emulation territory .... is that somewhere you want/are capable of going What type of files are we talking about Richard ...Show All
Visual C++ How to rebuild the C++ STL library for Visual Studio 2005?
I have made some changes to (to solve C2248 basic_ios problem) the VC8 STL library. How do I rebuild the C++ STL for Visual Studio 2005 Hi Einaros, I am currently in Cape Town South Africa . I will contact Microsoft tomorrow, but my guess is that it will take a while to get it (things are a little slower in Africa …). Would it be possible for you to email ( devilspeak2004@yahoo.com ) the patch to me I would greatly appreciate it. ...Show All
Visual Studio Team System MSBuild script question for VSDBPro
I'm trying to integrate a solution that has two VSDBPro projects into my automated build. Here are some snippets from my build script file: < PropertyGroup > < TargetConnectionString > Data Source=DevServer001;Integrated Security=True;Pooling=False </ TargetConnectionString > </ PropertyGroup > < ItemGroup > < DBSolution Include = " DatabaseSource\DBProjects.sln " /> </ ItemGroup > < Target Name = " BuildDBSource " > < MSBuild StopOnFirstFailure = " true " Projects = " @(DBSolution) " Targets = " Build;Deploy " Properties = " $(TargetConnectionString) " ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA / Game Dev Training
Is there a list of training courses I could take to learn using Visual Studio C# and XNA Express more specificly I have varied programming experience but limited C# and am totally new to gaming. I am very interested in any trainging that would jump start my abilities to use the new XNA Express tools and begin coding games. The product is new, so there are no formal courses right now. However, enter "tutorial" in the MSDN Game Dev search box (at the top) and you will get a large number of hits. ...Show All
Windows Forms Changing the databasource of a DataGridViewComboBoxCell at runtime
Hi, I have a DGV where one of the columns is a combo box style. I bind this combo box to some datasource. What I would ideally like to do it to limit the combo selection to make the items available mutually exclusive to what is in other rows. The net result I guess is I get uniqeness in this column over all rows. Is this possible If so, which event should I use to re-assign the datasource property for the combo Thanks for your help Graham Nice idea Luc, unfortunately the filter has no affect on the list. I have the original list in a BindingList<>, I then created a BindingSource, setting its datasource property to my BindingList<> as above. I then set the Filter propert ...Show All
Software Development for Windows Vista Get frame to bitmap from MOV file
Hi, How can i get frames from MOV files using DirectShow Is it possible Can anyone post a sample for me Every example that I have, I always get that the video format is invalid or can't find video stream. Thanks Rodrigo > How can i get frames from MOV files using DirectShow Is it possible The MS dshow QuickTime decoder only supports MOV 2.0 and earlier. There is a "QuickTime Alternative" dshow decoder than you can find by Googling. Otherwise, you will need to implement your own decoder. You can do this with the QT SDK which is available from Apple. - TMH ...Show All
