vitich's Q&A profile
Visual Studio 2008 (Pre-release) BitmapDecoder Metadata via HTTP URI
I am trying to read MetaData (i.e. Camera used in a photo) from an image sitting on my website. I know the metadata is in the photo, and I know the web server is transferring it by watching a HexDump of the data after a direct request to the server. Also, when I transfer the photo to my local harddrive, I can read the MetaData with the following code: Uri uri = new Uri (" file://c:\\temp\\testimage.jpg " ); BitmapDecoder decoder = BitmapDecoder .Create(uri, BitmapCreateOptions .None, BitmapCacheOption .None); BitmapFrame frame = decoder.Frames[0]; BitmapMetadata m = frame.Metadata as BitmapMetadata ; However, whenever I change the uri to use an HTTP style and pull the image directly from my website without ...Show All
Windows Forms Update DataGridView hidden colums with BindingNavigatorSaveItem event
I have a DataGridView in a VB.NET 2005 form, created by dragging a table on to the Designer from a data source. I am only displaying a few columns in the grid: other columns exist in the table but are hiden to the user. These other fields need to get updated automatically as the user clicks the 'Save' button on the BindingNavigator control. For example, the user enters "2007.01" in a cell, and a hidden column "Month" needs to get updated with the value 7, etc. Could anyone please tell me how the code for this would look Would I achieve it in the BindingNavigatorSaveItem event Many many thanks to anyone who kindly helps on this. Ian Digby http://forums.microsoft.com/MSDN/ShowPost.aspx PostID ...Show All
Software Development for Windows Vista Microsoft Windows XP Media Center Edition 2005- Compatibility with AutoCAD
Hello *, are there any known compatibility issues with autocad 2007 and MIcrosoft Windows XP Media Center Edition 2005 or can I work use autocad with this windows edition This forum is for Software developers with Vista Application compatibity issues. However I did reseach Vista and AutoCad 2007 compatibility. My research shows that there is a soft block for installing on Vista. The soft block message that will appear before AutoCAD 2007 installaion is: "AutoCAD 2007 has a known compatibility issue with this version of Windows. For an update that is compatible with this version of Windows, contact Autodesk, Inc This might be a minor problem. A fix may be available from the vendor of this appli ...Show All
Windows Forms How can I pass datas from a windows form to a webpage in a AxWebBrowser
I put a AxWebBrowser into a windows form. How can I pass the data of windows form into the webpage.Thank you. If you use .Net 2 they come with Web browser control use it instead to pass value to item in web bage you need to get reference to it you can write some thing like //Get the Document HtmlDocument hd = webBrowser1.Document; //Get the inpute which has id= txtID of course change it yours HtmlElement he = hd.GetElementById( "txtID" ); //Set the value attribute to the value in winforms textBox1 he.SetAttribute( "value" ,textBox1.Text); ...Show All
Windows Live Developer Forums Showing multiple layers
Hi, how can i show multiple layers (with different ids)on a map Now it show only once at a time, but i need to show different layers in the same time. Thanks Smincio ...Show All
.NET Development xml - excel
Hi, I have been given an .xml file to investigate how it produces data. Basically there is a file called testData.xml when this file is double clicked, it opens up in excel with data. If you right click and open in excel then a properly formatted excel workbook with two named sheets appear which have both got formatted data in them. I have pasted the first few lines of the xml file for you to see. Could you let me know how this is possible and where is the data coming from < xml version="1.0" > - <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas- ...Show All
Visual Basic fill book marks in an office word template without using the Visual Studio tools for Microsoft office?
If it is possible to direct me to an article that discusses how to fill book marks in an office word template without using the Visual Studio tools for Microsoft office And the end result will be shown on screen in a new word office doc file! ...Show All
Smart Device Development How can I convert the release to a .exe application ?
hi, recently I am learning to develop some program for smartphone. I just wondering how can I convert the release to a .exe application Also, if I install the program on my smartphone, is the icon going to be appear on the start screen (I havent set up a icon yet) if not what can I do about it Is there any web that teaches that Thank you for helping Dennis Once you returned to the home page you can restart your application at any time by clicking on shortcut to it in a start menu like you do with other applications. If you don't have a shortcut then create it with ActiveSync. If you planning to give that application to others make sure to include shortcut into the application’s CAB file. ...Show All
SQL Server What tables have extents in FILE X
Hi How can I find out what tables have extents that are occupieing a certain file I added a file by mistake and want to delete it from a file group but a table has already thrown extents in to it. I would like to identify the tables, back them up, delete them, delete the file and then import them back in Thanks for your help Use CREATE INDEX ... WITH DROP_EXISTING option, to drop and recreate a clustered index on the destination filegroup. If there is no clustered index create one first. FROM 2005 Books Online: CREATE TABLE (Transact-SQL) http://msdn2.microsoft.com/en-us/library/ms174979.aspx When the table or index is created, it is allocated pages from mixed extents until it has eno ...Show All
.NET Development Cannot find configuration tool for .netframework 2.0
Hi, I just install .netframework 2.0 redistribution package on a Windows 2000 server. The installation went successfully but I could not find any configuration tool. It is not under control panel--administration tools and I could not find any SDK Command Prompt. Did I miss another step..Please help as we need to configure its security. Thanks. It is no longer included as part of the .NET Framework 2.0 installation. You need to install the SDK. See this similar thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1052492&SiteID=1 ...Show All
SQL Server Projects location in My Documents
Hi, does anyone know how to move the my projects locatin for SQL Server Management Studio Express. I modified all registry places to move my projects to where I want but when I say File-Save and choose my projects it automatically keesp creating the SQL Server Management Studio Express folder in my documents. Hate to clutter the "My documents" Any ideas ...Show All
Visual Basic please help with Moving folders
Hi I have this code: My .Computer.FileSystem.MoveDirectory( "\\server\kursister$\" & combohvem.SelectedItem & u2 & "\" , "\\server\vaerksted$\" & combohvem.SelectedItem & u2 & "_" & dato) Its working but i only want to move the folders inside \\server\kursister$\" & combohvem.SelectedItem & u2 not the main folder Hope someone understand and can help Regards alvin try: Dim theDirectories() as string = Directory.GetDirectories( Path) for each currentDir as string in theDirectories Directory.Move(currentDir, Destination ) next ...Show All
Gadgets Popup modal frame from web gadget
Hi, I've tried to build a web gadget for Spaces. I'd like to implement a behaviour like when I click Customize while editing my spaces: it will popup, let's say a MODAL FRAME. And this frame can render a new URL inside it like another windows of the browser. And this should be cross-browser compatible! I have used iframe and make it invisible at the first time. If this is the right way, where should I append this iframe Is there anyway to do that Thanks, Bao Nguyen Unfortunately, there isn't a way to pop it up outside, the sandboxed gadgets Iframe. I've done pop-ups two different ways. If you use an I-Frame That links your your personal site... Created it like this.. (From my first gadget) ToddOS close your eyes ...Show All
Windows Forms Newbie: How to mouse-select a ListBox item?
Hello, How do I make a mouseclick select a listbox item I mean: if clicked on a listbox item that item is selected and _Click or _MouseClick event is executed but how to avoid occuring any event when clicked anywhere inside a listbox outside the displayed listbox items Otherwise: is there some website with a survey or quicklist (not details) of behaviour/opportunities of all visual components for newbies (As I'm experienced with Borland Builder and Visual Basic each new language has it's own approach) Regards, Henk If you want an event to occur every time you click some item, you can use selectedItemChanged event. Did you mean something like this :) And check this link for Control events ...Show All
Windows Forms question of DoubleClick on ListView, need help!!
Hi, does anyone know the codes on how to create a double click event for ListView to delete/remove the item that i select from ListView control Hi Ye, Thank you for your codes, by the way,I am using .net CF 2.0 to develop my application in C# and i couldn't get listView1_DoubleClick in my application. ...Show All
