JavaBoy's Q&A profile
Windows Forms Embedding Flash into a Form's Panel
I'm using Visual Basic in Visual Studio 2005. Does anyone know how to embed a Flash file into a form panel The Flash file can be .exe, .http, .swf, (also I think .jpeg or .gif) Thanks ...Show All
Visual Studio 2008 (Pre-release) How to keep a Popup aligned with a Control
My scenario is the following: I want to show a Popup below a TextBox for giving help informations. The problem is that the (opened) Popup stays at the same location when i move the parent Window or the TextBox (through animation). My question: Is it possible to keep the Popup aligned with the TextBox so that it stays below the TextBox even if i move the window Through databinding or something like that (A tooltip is not an option for me.) Well as I have read other posts and help files, I have come to the conclusion there is no other way to do it but manually. You will have to use the Popup's .HorizontalOffset and .VerticalOffset properties in conjunction with the container/window that is being "moved/dragged". &nbs ...Show All
Smart Device Development Native Exception Error - 0xc0000005
I am running the following code - which takes the data from an XML file and updates a SQL Mobile table - it seems to consistenly throw a native exception error (ExceptionCode: 0xc0000005) Here is the code: #region DataRefreshFromXML public void RefreshDataFromXML() { if ( File .Exists(appPath + @"\data\HandheldInventory.xml" )) try { DataSet ds = new DataSet (); ds.ReadXml(appPath + @"\data\HandheldInventory.xml" ); if (ds.Tables.Count > 0) { using ( SqlCeConnection cn = GetConnection()) { SqlCeDataAdapter da; da = new SqlCeDataAdapter ( "SELECT * FROM MobileInventory" , cn); SqlCeCommandBuilder cb; cb = new SqlCeCommandBu ...Show All
Visual Studio Team System Team Foundation Server vs SubVersion
Hi, Did any one has done comprehensive report comparing Team Foundation Server vs SubVersion vs VSS The comparison will be toward business decision. - Cost analysis. How much saving if using TFS compare to others - Efficiency & Productivity - Quality Assurance. - etc Thanks, John Sorry you didn't have a good experience with Teamprise. If you want to drop me a line at martin@teamprise.com I would love to know what your difficulties were. The feedback we have been getting over the past year or so has been overwhelmingly positive so I would love to know what the issues were and see if we can stop you from resorting to C#. Well C# is ok, but J# - surely things were not ...Show All
Visual Basic circular references between usercontrols and 'main' form in vb6->.net upgrade
in upgrading from vb6 to vs2005 user controls are introducing a circular reference problem in the following way. In the vb6 solution, user controls could access methods in the 'Main Form' upon which the user controls are used. In VS2005, I create a separate Windows Control Library Project for each User Control. For composite controls I 'reference' any other controls as needed. However, there are controls which call methods/functions on the 'Main form' within a Windows Application project. That project includes the references to all the user controls ( which show up in the ToolBox.) Circular references have been introduced which didn't exist before. The Mainform references the User Control. The User Control calls MainForm methods. ...Show All
Visual Studio Express Editions Inet in vb.net
So what is a alternative to inet in vb.net and the .net framework, I have seen the some code for a alternative to inet, but the code looks more complicated, is there a tutorial on using a alternative to inet in vb.net. well what exactly do you want to do In order to help you, we need as much information as possible :-) are you wanting to use a WebBrowser control, so you can access the internet like in IE Are you wanting to use Sockets to do some networking Are you wanting to use Http streams to recieve data from the internet what exactly :-) ...Show All
Silverlight (formerly WPF/E) XAMLPad
Hi, is there any tool where I can use XML (XAML) syntax to write objects and see it in a preview window Michael You might also want to try this online WPF/E XAMLPad: http://www.simplegeek.com/mharsh/wpfepad/ HTH /Billy ...Show All
Visual C++ Warning 2 warning C4995: 'ConstructElements': name was marked as #pragma deprecated
Warning 2 warning C4995: 'ConstructElements': name was marked as #pragma deprecated d:classarr.h 53 the code is as follow: public: template<class TYPE, class ARG_TYPE> class CClassArray { ................... ................... void ConstructElements(TYPE* pElements, int nCount); ................... } void CClassArray<TYPE, ARG_TYPE>::ConstructElements(TYPE* pElements, int nCount) { // first do bit-wise zero initialization memset((void*)pElements, 0, nCount * sizeof(TYPE)); // then call the constructor(s) for (; nCount--; pElements++) ::new((void*)pElements) TYPE; } I only give a few code. Because ConstructElements function was declared deprecated, but I do not use the orignal defintion of this f ...Show All
Visual C++ Change in behavior of properties from VC7.1 to VC8
In VC7.1 in the property pages for a project, if I entered a relative path for an include file on the "Additional Include Directories", then the IDE showed valid paths relative to the project file. In VC8, relative paths are all relative to some path in the install directory NOT my project. How can I get the VC7.1 behavior This new behavior is not intuitive. I never place my files relative to the install directory. Ah - I answered without checking first. Bad. Entering $(ProjectDir)\ does not bring up any autocompletion. Entering $(ProjectDir)\..\ still brings up the wrong tree relative to the install directory. In 7.1 I could enter ..\ and it would provide auto completion directories relat ...Show All
Visual Basic Assigning a currency value to a radio button
Hello, I'm very new to programming and I am starting to grasp the concept. But I can't figure something out, how to assign a property to an object once that object is activated. For example assigning a currency value to a radio button once that radio button is CheckedChanged VisualStudio 2005 VisualBasic Yes and No What I am trying to do is make a system configurator where the user selects 1 of 9 processors (radio buttons). I want to put the name of the radio button in memory as well as set a value for the button selected (price). ...Show All
Visual Studio Express Editions External app as an mdi
Is it possible to load an external application and make it an mdi child of the main form See my post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=185278&SiteID=1&PageID=1 (Page 2) Use the code , (read all comment notes, ) and uncomment these two lines to test it: 'MyProgName = "calc.exe" 'DOS = False ...Show All
Visual C# [C#]conversion from time to double
Hi all :) I would like to know how can i solve this little problem: i've a string like: "32.30" i need to convert in: "32.50" I mean that i need to convert the time rapresentation from 60" in 100". Thanks at all in advance. RaouL. Many thanks for your answer :) But unfortunately i was unable to translate it in C# code, because im a newbie in this beautiful language. May i ask for a code example Thx a lot :) RaouL. ...Show All
Visual Studio code and example xml tags
Has anyone noticed or observed that code and example xml tags seem to work properly when decorating a method, but when the tags are at the class level, none of your sample code seems to appear. Is this an issue that is being worked on Just thought I would pass along what I observed. John Here is a small sample. Didn't paste in the best but you'll get the idea. Also, there is no implementation in the class here that I pasted in, but there is in the actual class. Hope this helps. If I were to put this same documentation tags on a method of the class then the code sample will work. /// <summary> /// Represents a name - value collection in an enterprise library c ...Show All
Audio and Video Development A question about the media file's title.
I want to set the title for the windows media player to display just near the trackbar,for example"clip:river"(river is the title).I can only get the title form the URL.For example,"rtsp://127.0.0.1/123_river_movie.asm".The real url is "rtsp://127.0.0.1/123.asm" while the title is "river". So,which function can be used to set the title displayed on windows media player to be "river" Another question .Because the url "rtsp://127.0.0.1/123_river_movie.asm" is not the real url,but "rtsp://127.0.0.1/123.asm" is, I want to input the former in the windows media player url input dialog,and change it to the latter in the source filter. In this way, I can both get th ...Show All
Visual Studio Team System using msscci w/vs2003 after running the vssconverter
for a small test I created a new project using VS2003. CHecked it into VSS. then ran vssconverter and migrated those sources to a TFS project. I then installed MSSCCI. Now I open the solution and am stuck at how to get it to bind to my tfs project. I endup with the "change source control" dialog and then the "choose folder in TFS" dialog. I browse to where the project is in TFS but the OK button remains greyed out. In fact no matter what I do, the OK button remains disabled. Also there is a text box labeled "type a namde for the solution folder" but it is disabled also. What am I mising thanks Tim By installing MSSCCI visual studio 2003 is changed to use TFS. - yo ...Show All
