azmath76's Q&A profile
.NET Development Need inputs regarding attachments using DIME, MTOM, etc
Hi All! ! I am currently in a project and researching about how to go about uploading and reading an image file using web services. I've been reading about DIME, MTOM, 64-byte encoding, MIME, etc. I could not simply decide which way to go. Is there someone who can possibly give light to this To give you more details about the technical requirements. We intend to use all .NET implementation both server and client side, so no interoperability issues. We are constrained with Visual Studio 2003, .NET Framework 1.1 and WSE2.0. Another question currently in mind is : If MTOM is the way to go, will there be any issues that I should consi ...Show All
Visual Basic Best way to plot points along a curve (oh yeah, AND to draw the curve)
Hello again people. I am writing an application that requires a function to draw a curve that is plotted between two points where the user can specify the amount of curvature of the line between the two points. (If that makes sense). Once this has been processed, I need to be able to break down that curve into an infinite number of points and find the perpendicular normal angle of each of those points. I know, I know, it's enough to make your head explode, but I know it can be done, but I don't even have a clue where to begin :-( Hopefully you fine people can give me a bit of assistance. (Just for a bit of background, I'm ...Show All
.NET Development jpg file information
Hi, Using C#, I'm trying to get some information about a .jpg file (it's a photo): for example I'd like to get the date and time when the photo was taken. ....It's easy to get information like file creation date (by means of File.GetCreationTime() ) but I can't retrieve information about the photo. can you help me The following is a class to get EXIF info out of a jpeg. using System.Drawing.Imaging; using System.Text; using System.Text.RegularExpressions; using System; using System.Collections; using System.Drawing; using System.Diagnostics; using Sys ...Show All
Visual Studio Offline / Online help...
I've found that there is some help topics missing from the local offline help, If I find the help topic online at msdn, can I add it to my local help so I can view it offline and How can I create my own help files to add to the Document Explorer this is more of a Document Explorer question than a C++ question but I could not find where to post for the Document Explorer. Thanks in advance for your replies... Hello Japreja You are probably seeing content online that has been added after we shipped the offline content. There is no way to get that content into the local version. Your only option for that at this point i ...Show All
Visual Basic get the text under mouse pointer?
howto get the text under the mouse pointer from the other application into the .net winform. Set up a handler function for the MouseHover event of all the controls you are interested in looking at. All the things you are looking at should have a Text property (otherwise it doesn't have text... and you aren't interested). Public Sub LookAtText (sender as object, e as SomeEventArgs) Handles Button1.MouseHover, TextBox1.MouseHover, ... and so on Within that function, the Text property of the sender object should have the info you are looking for (since the sender will be the control the mouse is hove ...Show All
Visual Basic converting datetimepicker value
i had a datetimepicker named dtpBirthDate, and want to use this as a meduim for obtaining birthdate of a user, what i want to happen exactly is upon choosing the date, three(3) textboxes namely, tboxYears, tboxMonths,tboxDays would be fill up by the number of years,months,and days the user was. here's the code: Private Sub dtpBirthDate_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles dtpBirthDate.ValueChanged Dim dtpReg As DateTime = Me.dtpRegDate.Value Dim tStart As DateTime = Me.dtpBirthDate.Value Dim tFinish As DateTime = dtpReg Dim TotalTime As TimeSpan = tFinish.Subtract( ...Show All
Visual Studio Express Editions windows services
Hi, Are we able to implement windows services and Remoting in visual c# express edition The project templates are missing from the New project dialog. However, you don't need to have a template to write services. All you need is your own two hands and you can write out a component which derives from ServiceBase! Actually, I recommend you nick someone else's .NET service code and work from there. The same goes for remoting. ...Show All
Visual Studio Team System Visual Studio Final and TFS Beta 3
Hi Will there be any problems building solutions developed in Visual Studio Professional (released today on MSDN) with TFS Beta 3 Thanks I was wondering about that. There's no sign of the Team System "Beta 3 Refresh", and also no RTM of SQL Server 2005 other than Developer Edition (as far as I can see). I'm going to try installing the VS Team Edition RTM on a sacrifical PC - I'll let you know how it goes. ...Show All
Visual Studio Team System Possible bug(?): LinksControl as a required field
Hi all, I have a LinksControl field on my form and I made it a required field (Before a task can be added, it must be linked to an SCR). But even after I add a SCR to the control, it still doesn't recognize that the field is no longer empty; therefore, I can't save the task. Does anyone know if there is a workaround or if this is a bug Thanks in advance. Sorry for the problem you are facing. Link fields are Core fields and can cannot be modified, In the sense that RelatedLinkCount cannot be made required. Can you please post you work item definition, So that I can take a look and see what exac ...Show All
Visual Studio Check in web service that are already under source control for VS2003
At this moment we are upgrading web services, that are already under source control, from VS2003 to VS2005. The upgrade is successful, but when we want to check these web services in VS2005 is complaining that the *.asmx is already under source control and stops with check in of the other files. For a web service we checked the other files in with our source control manager and reopened the project. VS2005 do not notice that these files (app_code\*.cs) are under source control. Does anybody know what the problem is thanx in advance How did you migrated your VS2003 web project To a (folder-based) website o ...Show All
Windows Forms How to : make sort types of DataGridViewColumn when click HeaderColumn
Dear all, In my application have many types of DataGridViewColumn such as : Comboboxcolumn, MasktextBoxColumn (this type i customize), checkbox Column ... without DataGridViewColumn is make sort but other is not. Please help me my problem. Thank for your collaboration. Khiem Vo. Set the column's SortMode to Automatic. -mark Program Manager Microsoft This post is provided "as-is" ...Show All
Visual Studio The "ResolveAssemblyReference" task failed unexpectedly
Hello, I have the exception hereafter while building (or rebuilding) my application. How can I know which directory he's talking about I tried to remove all bin and obj directories to make a "clean" build, but it does not help. Sebastien Error 1 The "ResolveAssemblyReference" task failed unexpectedly. System.IO.IOException: The file or directory is corrupted and unreadable. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOptio ...Show All
Visual Studio Team System Using Unit Tests to drive the Profiler
I have several operations that take a long time, and I'm trying to determine what exactly the bottleneck is. I have created tests using the testing infrastructure that allow me to run the same operation over and over, so I can see trends in how long the operation is taking. What I really want to do is have the Profiler run while the Tests are running, so that I can figure out what portions of the code are taking a long time. So far, I can't figure out how to do this. How can I maket his work -- Chris Mullins Hey Chris, Once you have run your tests and see the results in the Test Results window, try right-clicking on a single test.&n ...Show All
.NET Development Custom converters not invoked
I am creating a set of property pages for our company's custom project types. A number of the properties would benefit greatly if they had custom editors associated with them. I have the following code, but it isn't working as it should: [PropertyPageTypeConverter(typeof(StructReturnValueConverter))] public enum StructReturnValue { Default, Register, Memory } The StructReturnValueConverter class inherits from the EnumConverter class. When I set breakpoints in the constructor and the overridden methods of the StructReturnValueConverter, none of them are ever called, and I do not get the inten ...Show All
Smart Device Development Smartphone 2002 and later - dialer modification (pre-dial code)
Hi, I need to develop new dialer application/ or modify existing dialer on Smartphone 2002 and later to make it pre dial some number before dialing any number on phone. Like when you want call 123456 you smartphone should dial "567,123456" instead, where 567 is some defined code and ',' means pause. It should also work with all numbers in phone book in same way Is anyone has ideas how to implement this Seems i cant catch any event for this and cant wrap standart tapi make call function, right Or can i Any your suggestions/ideas Please help! Thanks Regargd, Vladimir Gurgov ...Show All
