mpana's Q&A profile
Visual Studio 2008 (Pre-release) SetValue on Field, or Just Use Property?
Using BezierSegment as an example, can someone explain the difference using SetValue with the BezierSegment.Point1Property field and directly setting the BezierSegment instance's Point1 property There should be no difference. CLR properties like Point1 are there to simplify the coding experience and also provide "up-front", discoverable strong typing since DependencyProperty SetValue has to take objec ...Show All
Visual C# pass array of objects to unmanaged function? void** ??
Hi, I have an variable lenght array of "objects" of different real types i.e. String s = "Hello"; int i = 12345; double dbl = 3456.4532; object[] objArray = new object[]{ s, i, dbl }; I was originally trying to find a way to push this variable number of arguments onto the arglist for an vararg unmanaged function, but gave up on that. ref: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=327050& ...Show All
Windows Forms Can a DataViewGrid have a RadioButton-like setup?
We have a DataGridView of items to be inserted into a Mail merge document. Users can select only one - but we wanted to make the selection clear and easy. We used the CheckBoxes (very clear, very easy) for this and set MultiSelect to false. This did not work. Any suggestions Thanks in advance for your help, Jerry Nixon Can you describe what doesn’t work with this -mark DataGridView Program Manager Microsoft This po ...Show All
Visual Basic Overflow???
This code is generating an overflow exception and I really don't think it should be: Dim u64HiBit As UInt64 u64HiBit += &H8000000000000000 or u64HiBit = u64HiBit or &H8000000000000000 In my understanding this is simply setting the hi-bit in an unsigned integer. It certainly shouldn't cause an overflow unless it's not really a 64-bit entity. There is a worse possibility which is that it truly isn't supported w ...Show All
.NET Development Displaying Japanese script
OK, this probably isn't the perfect or proper thread to ask this question but I couldn't find another one closer on this forum; that is, web related. ASP.NET specifically, so all apologies. If you know a better thread that isn't part of the NewsGroups, (As my network restricts me to go there) please let me know Sooo, my woe is thus. I'm creating an intranet site for a Japanese company. Need I say more. It runs on Win 2003, English version. The ...Show All
.NET Development SocketConnection error in Async call when network drops
Hi all, I have an asynchronous web-service call happening in the background of my application just after it starts. If my device (I'm running on a Windows Mobile 2003 device) drops off the network (I move out of wi-fi range) the application crashes with a SocketException. The error is something like: An operation was attempted on something that is not a socket at Socket.Poll() at Connection.R ...Show All
Visual Basic win xp vrs WIN 2000
I built an App using Visual basic 2005 express on a Windows XP box with a Access Database (Access 2002) The App installs fine to another Win xp machine. I am trying to install to a WIN2000 machine with Access 2003 installed. It appears that the program cannot find the database. I added a form that if the database is not found then the program asks for the location of the Database and changes the connection string. I moved the databas ...Show All
Visual Studio Team System Beta 3
OK, so I keep hearing that there may be a Beta 3 released for VSTS. Could someone please confirm or deny this If this is is true, when will it be released the dates here aren't exactly right. Yes, The client editions of VSTS have RTM'd and are commercially avalibale, but the TFS RTM is not 12/02, but is slated for Q1 CY06. We will post exact RTM date very early in the new year thanks Michael ...Show All
Visual Studio Can someone explain the usage of RegisterAndLockDocument
I'm having a hard time understanding the documentation on RegisterAndLockDocument. How are the flag suppose to be used, they look like they should be OR'd together to get the functionally you are looking for. However, I can't get my head around the interaction of these flags, some seem to cancel each other out. Creates an entry in the running document table when a document is created or opened. Namespace: Microsoft.VisualStudio.Shell.Inte ...Show All
Windows Forms to determine length of audio track
I am using the AxwmpLib which provides me with windows media player...but the property: windowsMediaPlayer.CurrentMedia.duration is always 0.0. Basically I want to know length so that when my player starts automatically...it ends and as soon as it ends I have to enable a button that guide user to next form. ' Set the timer to fire an event every second and start the timer. Timer.Interval = 1000 Timer.Start() ' Note: Use the AxW ...Show All
Visual Basic Why does DEBUG (F9) not work? How do I get it to work?
Why does DEBUG (F9) not work How do I get it to work Michael I assumed your where not making Breakpoints .... Your first comment wasn't really very descriptive. But... You are correct then. F9 is to make/remove a breakpoint, F5 to start debug and F8 to step into. I assume since you marked your own answer as right that the reset worked ...Show All
Visual Studio Team System Firefox as a browser.
Is it possible to use firefox as a browser on web tests Our web browser templates are a collection of HTTP headers that represent each browser. You can create new, custom browser templates or modify the existing ones. They are XML files that can be found here: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Templates\LoadTest\Browsers You can use netmon or Fiddler ( www.fiddlertool.com ) to grab a standard set of header ...Show All
Visual C++ How to convert .Lib to .DLL?
I have a library file(for Djvu file Interaction),which is written in Unmanaged code(MFC).I want to convert it in DLL so that I can use it with C#.Net. How this can be done OR is there any equvilant way to do that. Thanks From Azeem Sarwar I think Chris assumed that the DLL was developed by someone else other than Azeem (the person asking the question). My guess is that Azeem either wrote the code or ...Show All
Visual C# ARROW, BACKSPACE, ENTER keys locked and are not functioning !!!
the issue may seem stupid enough, but not mystical. The behavior started to show self after I set "Visual Source Safe" as "Source Control" tool. As you check out the item you're not able to use any of the above typed keys, but others and mouse. You can achieve NORMAL_EXPECTED_BEHAVIOR of the keyboard as you close and start the Visual Studio again. And here is the mistical point that should explain. Where is that magical option box that I sh ...Show All
Visual C# Add "Help" button
How can I add "Help" button to my forms Like the picture: http://img.majidonline.com/thumb/39010/Untitled-3.gif Where is the picture Where and how you want to have Help implemented ...Show All
