Tanweer Ahmed's Q&A profile
Smart Device Development exif data from jpeg images
Hi, I'm trying to write a program on a pocket pc with windows mobile 2003 on it. I want to write a program to read and write exif data in a jpeg file.Is it even possible because I looked for API's and examined te .net compact framework a bit but I don't seem to find a possible way of doing it. I even searched for open source API's or dll files but I can't even find those. is it possible to write a program like that for windows mobile 2003 ...Show All
Windows Forms Printing DatagridView
Hi, I'd like to print only certain columns of a DataGridView. How would something like this be done I couldn't find any code examples. Thanks Ok i have managed that too. If anyone will run into similar problem here is a way to set it right. In while loop in posted code you must set Do While nRowPos < DataGridView1.Rows.Count - 1 you must delet -1. It should look like this Do While nRowPos < DataGrid ...Show All
Visual C# Items are not removed from Error List until project build
One thing I didn't like at all in my transition from VB.NET to C# is that C# does not remove items from the Error List when they are corrected by the developer. Items are removed only the Build is requested. On the contrary, VB removes items dynamically when corrected. The same applies to the Syntax underlining. When an error is corrected in the code editor vb removes the underlining. C# requires to build the project in order to check if the syn ...Show All
Visual Studio 2008 (Pre-release) Passing var
public void ObjectDumper( var x) { Console .WriteLine( "Result" ); foreach ( var y in x) { Console .WriteLine(y); } } The above code yields a compiler error at the ...(var x) as "Type Expected". Anyone knows how to pass the var type as a parameter Thanks all for your help There is no conversion when you are boxing.&nbs ...Show All
.NET Development response = (HttpWebResponse)httpRequest.GetResponse();
for .net 2.0 I would have assumed that if the url that I was trying to get was not available i.e. file not found I could do response = (HttpWebResponse) httpRequest.GetResponse(); and look at the status from the response, however, if the page is not there an exception is raised response is null and I don't have a good way of dealing with this in a catch block. Based on the documentation I would have not expected a page not found to raise a ...Show All
Windows Forms Wanted: a 'framework' to run multiple applications
I'm looking for a 'framework' application that will allow me to run multiple applications from within it. I'm a bit hesitant about using the word Framework in this context but can't think of a better word at the moment. The major requirements are: * ...Show All
Visual Studio Visio and Visual Studio 2005 (Standard)
I have Visio 2003 (Professional) on my system and I would like to use it with Visual Studio 2005 for reverse engeneering without having the expense of upgrading my Visual Studio edition. Is this possible If not why not - seems to me one purchases Visio in good faith and then purchases VS2005 in good faith but they do not work together! If this is true it would be like being unable to embed an Excel spreadsheet in a Word document! Hoping so ...Show All
.NET Development machine.config file
hi, can anyone tell me where can i find the machine.config file i read it somewhere it says it is in the Microsoft.net framework but i can't find it...please help! thanks Hi, It will be in the Windows Directory. \Windows\Microsoft.NET\Framework\v1.1.4322\CONFIG ( for v1.1 ) NOTE the version specific folder can be: v1.0.3705 - for .NET 1.0 v1.1.4322 & ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Help with compiler (VS2005 c++, D3D)
Well,... the first thing I'm wondering is if anyone else experienced similar problems opening sample solutions from the sample browser - versions for the Vs2005beta. I keep getting critical error that says something like "...XML failed parsing...Property sheet file 'UpgradeFromVC71.vsprops' was not found or failed to load." As the 2005.sln wouldn't load, I tried converting the Vs2003 solutions. Here I encountered the second set of problems ...Show All
Smart Device Development how to solve General network error. check ur network document
Hi, I'm getting "General Network Error" when i try open SQL connection in PPC Apps. My connection string is, "server =myserver;Databse = XYZ;User id = me;Password=square;" how to get connected what is the reason to get this error Thank U! Note: 1) Already turned off firewall and antivirus. 2) loopback adapter is there. 3) same apps is working fine in other PC. Ple ...Show All
.NET Development card layout in .NET
I want to create a GUI which consist of three different pages. Only one page should be visible at the same time. In Java there is a special layout manager handling this case (CardLayout), is there something similar in .NET, or how should I go about solving this I have done a similar project and to force the order you would need to control the visibility of the panels. This does become a complex ...Show All
Visual Basic VB 2005 Syntax reference PLEASE!!
Hello again This is getting ridiculous, I'm spending hours just to do the simplest thing and the VB 2005 espress help is USELESS. I would like to get my hands on a syntax/reference manual PLEASE or I'll electrocute myself eg how do I: SerialPort1.Write(Chr(Origin_Address)) send Origin_Address as a binary byte value (0-255), chr chops it at 127. Get the value of a 2 byte variable into 2 single bytes eg high CRC, Low CRC, where CRC is a 16bit va ...Show All
Visual C++ C++ & SDK
I'm completely new at C++, though have reasonable experience with .NET. I'm trying to switch from VB.net to C++ because I want to write native code... but i'm having problems. I have 'Microsoft Platform SDK for Windows XP SP2' and 'Visual C++ 2005 Express Edition Beta 2' installed. I have also created a dir in "C:\Program Files\Microsoft Visual Studio 8\VC" called 'PlatformSDK' which has the Bin, Include and Lib folders in it. Now how do i m ...Show All
Windows Forms Dll hell is it really gone ....... or just complicated alot more
Hi Guys, I've tried posting this question everywhere......... no-one has been able to answer it, please god someone know the answer! I'm using a simple winform dll in an aspx page with the object tag. Stating dll name, namespace and class. This works fr ...Show All
Visual C# putting attributes into existing assemblies
Hi, I was told that there is something called "Byte Code Engineering Library" for manipulation of Java Byte Code. Similar to that there is a "Microsoft Byte Code Engineering Library" (MBEL) for .NET. It is in the link given below. http://www.cs.arizona.edu/mbel But the thing I was asking was in the "limitations" section of that library.It seems the internal structure of custom attributes in .NET is complex. Can you specify ...Show All
