l_steve_l's Q&A profile
Visual Studio 2008 (Pre-release) Reading and Writing image "Rating" metadata
I'm looking for a way to read and modify "Rating" metadata that Vista uses to rate image files. I'm able to read the rating although I noticed that the rating is written in several places in metadata... and I'm not sure which Vista is using... it looks like all of them are changed at the same time and are kept in sync... so do I have to modify all of them to keep them in sync /xmp/Rating / xmp/xap:Rating /app1/{uint=0}/{uint=18246} When I'm trying to modify the rating... nothing happens... I'm using this code Stream fileStream = new System.IO. FileStream (path.LocalPath, FileMode .Open, FileAccess .ReadWrite, FileShare .ReadWrite); BitmapDecoder decoder = BitmapDecoder .Create( this .fi ...Show All
Visual C# How do I use a subset of columns from a DataSet to fill a DataGridView?
Hi there, I have a DataGridView with 5 columns on a Windows Form, that I have filled from a matching DataSet, and that's working fine. If I want to expand my DataSet for other purposes, how do I go about binding my DataGridView to only the 5 columns that I require on this particular form TIA, JackStri. Thanks Mark, Yes, that's an option as well. What I have done in the meantime is created a second DataSet that contains a subset of the first one, and then used that for the binding. It seemed the shorter option rather than approx 40 hide statements! Thanks again, JackStri. ...Show All
Visual FoxPro Will VFP6 work with Windows Vista
My company operates a series of VFP6 runtime databases successfully in the Windows XP environment. We currenly have one PC loaded with Windows Vista. When the runtime setup is run it does not install the runtime files onto the Vista PC. Can VFP6 work in the Windows Vista environment How can this problem be overcome Many thanks in anticipation. One word of advice, when you get VFP 9.0, spend a few minutes reading the "What's New" section in the help file- there are some significant changes from VFP 6.0 - especially to the SQL Engine. You might also consider investing a few pennies in this book too: http://www.hentzenwerke.com/catalog/wnvfp9.htm ...Show All
Visual Studio Express Editions Parallel Port access... At the end of my rope!
HEEEEELLLLLLPPPPPP!!!! This is getting silly now. I have tried everything i can find on the net about Parallel port I/O but just cannot get my head around it. All the tutorials and guides are great up to a point but then say "just do this" and it is one or two steps above my level of knowledge. Ive played around with WinIo.dll / .sys etc but just cant get it to work. WinIo keeps giving my loads of errors about default-int, missing ; and syntax errors when i havn't even writting any code - just #include "winio.h"!!! Ive tried using inpout32.dll as well but got no where with that. Please!!! If anyone can point me in the direction of a step by step, beginners / dummy / simpleton's guide to sendi ...Show All
Visual Studio Team System Is it possible to define checkin rules via templates?
In TFS you can specify checkin rules that force users to run unit tests, specify workitems etc. before a checkin command can be issued successfully. Now I would like to specify these rules as well as the Code Analysis ruls inside my template so every project I create has the same set of rules, but I can't find documentation for that. Is there a way to do that Guenter from Frankfurt/Germany ...Show All
Windows Forms Forbid user to change to another tab in a TabControl
Hey, I'd like to forbid users to switch to other tab in a TabControl, while allowing them to interact with the controls in the selected one. Setting TabControl.Enabled to false is not going to work, as the whole container and its children will be all disabled, as well. Is there any way to do this Thanks, Claudio Hi nobugz, Thanks for your reply. Is it possible to also have visual feedback of this Something like setting the :Enabled property of the labels in the other tabs to false would be great, though it seem not possible. ...Show All
Visual Studio Problem with Crystal Report
I have developed a crystal report with the wizard by selecting the fields in a typed dataset. One of the fields in the table is 'Function'. I developed this report in C# project. I wanted to use the same report in a VB.NET application. I just added the above report and changed the 'Function' field to 'Func' as Function is a keyword in VB. I tried different things to change the previous datasetName.Function to datasetName.Func but I could not find a way to do that. But the field is still there and it is searching for a missing field datasetName.Function. Is there a simple way to replace or modify the existing field on the report so that the report works Thanks Basani I am designing it off o ...Show All
SQL Server Service Broker end conversation
Hello people I am new to service broker and would like a little help please. I have a SP which gathers information from a collection of tables. Depending on the data gathered it may or may not begin a dialog conversation with a service broker queue. What i'm needing to know is should at the end of the SP once the required message has been sent should i end the conversation or not Many thanks in advance, Michael No, you should leave the conversation active untime it has finished. If you send only one message then the destination should end the conversation when it has processed the message. This will result in an EndDialog message being sent to the FROM SERVICE of the dialog and when the F ...Show All
.NET Development Ansycranous Socket "Login" (Help Please)
Ok,I'm going to post up the VB.NET Section of the Code for the Data_Arrival Event for the Login,Than post the C# part of it that i'v been working on.But have some Errors with in the Code,If someone can look at both..Tell me where i went wrong and show me how to fix it... Thxs Rattlerr VB.NET Code:: Private Sub Socket_DataArrival( ByVal eventSender As System.Object, ByVal eventArgs As AxMSWinsockLib.DMSWinsockControlEvents_DataArrivalEvent) Handles Socket.DataArrival Dim Index As Short = Socket.GetIndex(eventSender) Socket(Index).GetData(Buffer(Index)) Debug.Print(Buffer(Index)) If Mid(Buffer(Index), 12, 1) = "W" Then Sessionkey(Index) = Mid(Buffer(Index), 17, 4) ChallengeString(Index) = Mi ...Show All
SQL Server Job activity = slow, non job = fast
I have created an integration services package with a script-source reading data from Active directory. Pretty much data is read and written into a sql2005 database. I have notised that when I run the package via right-clicking the package (Under stored packages\MSDB) and selecting "Run Package" it takes about 45 minutes for it to complete successfully. The same goes if I run the package from inside Visual Studio. However, when I create a job and put this package as one of it's tasks the task takes about 1h 40min. This is more then double the time! In neither case the server is occupied with soething else. And I have tried it several times so it wasn't just an "accident". Any idea of what this depends on regard ...Show All
Visual Basic read binary data stream from com port, write to file between certain characters
I am new to using vb.net with binary and com ports and have a project where I need to monitor com5 for a binary data stream that I will receive every 5 minutes from a sensor. The data stream starts with "cs" and ends with "end" and I want to simply save the binary data that falls between these characters as a file with a ".000" extension. The "cs" and the "end" cannot be in the resulting file. I wasn't sure about removing "cs" and "end" since the data is in binary. Do I need to convert the entire binary stream to ascii and test for the "cs" and "end" then convert back to binary before saving Does anyone have a code snippet or suggestion on how I sh ...Show All
SQL Server SQL Express 2005 and BIDS
I'm sorry but I am so frustrated from searching and trying things! I can't understand why this can't be resolved much easier.............anyway I am trying to use BIDS on sql server express 2005 after attempting to install the tool kit a couple of times on different platforms. I have installed: 1) VS 2003 (also Visual C# Express on another machine); 2) .net 1.1 and .net 2.0; 3) SQL Server 2005 Express with Advanced services and the tool kit. The sequence of installs is as follows 1).net 1.1 was there from the beginning 2)VS 2003 3).net 2.0 4)sql server 2005 express 5) tool kit I see BIDS in the menu but devenv.exe does not exist. I've seen several workarrounds including finding and running vs_setup.msi but ...Show All
.NET Development Searching Database for results
Hi everyone i needed a little help with my coding what i wanted to do is allow my users to search a table in the database for links that are stored there for a user searches for a ringtone by a artist and the search returns any results with that value to the sure to be able to download the ringtone. I am using ODBC as well all help is appreciated Will this allow me to get the query from my textbox SELECT * FROM acidvaul_xtra.servers WHERE (name LIKE '%+ txtSearch.Text +%') ...Show All
SQL Server It was suppose to be so easy!!!!
We have a web site where we log impressions (results from searches with partial descriptions of web content) and clicks. I built a fact table with cost of click which is 0 for impressions FactId int, WebId int, ActTypeId int, I have dimensions Web Page (WebId int, URL varchar(255)) Activity Type (ActTypeId int, Name varchar(100)) I originally put 2 members ('Impression' and 'click') in Activity Type but then realized in my processing that I had to account for double clicks or refresh so I added two more activity types 'invalid impression' and 'invalid click' Problem I am running into now is how would I calculate the click through rate impressions/clicks for a web page I thought I could just create CREAT ...Show All
SharePoint Products and Technologies Installing sharepoint services 3.0 on the machine with sharepoint services 2.0
Hello, We are running windows sharepoint services 2.0 as part of Team Foundation Server. We would like to setup sharepoint services 3.0 on the same machine. Is it possible Thank you for answer regards Wojtek ...Show All
