Leandro Rodrigues's Q&A profile
Visual FoxPro How to implement Mouse leave for a form.
I have a very small form that opens up to display some info. I'd like the form to close when the mouse leaves the form. I noticed there is no mouseleave or mouseenter for forms. Any other method to do this Thx In vfp 7 you have: MouseLeave Event - mouse moves out of an object. You may drop a rectangular shape at margin of the form. When mouse leaves the object (aprox.same area with the form) form will close. ...Show All
Visual Studio Express Editions After November
After November will i have to pay for both the Express and the PSDK , or only for the express I also wanted to ask what does the .iso include. thanks in advance for your answers I cannot say with regards to the Platform SDK however I can tell you that the original 'free for a year' offer on the Express Editions was extended and the current wave of them are and will remain free. If that will be the case for the next version it is anyone's guess at this point. ...Show All
SQL Server Import data from a web site
I'm trying to use 2005 Integration Services to import data from a web address into a SQLServer 2005 database. The address I want to download data from is http://www.nymerc.com/futures/innf.txt I'm not sure how I am supposed to access the data on the website. What kind of connection manager do I use Flat File HTTP When I try to use a flat file connection manager, I set the connection string to 'http://www.nymerc.com/futures/innf.txt', but when I click OK, the connection string gets changed to 'c:\documents and settings\....\Temporary Internet Files\Content.IE5\V01H744)\innf.txt' Is this expected What's the best practice for using a web page as a data source Hi ECDOK, Can you get FTP acess ...Show All
Visual Studio Team System Managing Code Analysis Rules at an Enterprise level
We have TFS and VSTS Developer Edition and we have ~150 developers. I have 2 goals regaring Code Analysis: 1) I need to make it as easy as possible for developers (employees and contractors) to load an Enterprise set of rules for Code Analysis and run them as part of their builds. Migrating rulesets from a Team Project policy doesn't work because its only additive (we specifically want a lot of rules unchecked for legacy applications, and to get people used to using code analysis). I have written a VS2005 add-in that handles this, but it doesn't work for websites yet (questions below). 2) I need an eventual enforcement mechanism such that a developer cannot successfully build on our build server unless they "pass" the rules ...Show All
SQL Server MS SQL Server - Transfer Database From non-unicode to unicode
Any one know the process of transfering the database from non-unicode to unicode. Coz I like to transfer the data from english to hebrew. Jebaprakash Johnson wrote: Any one know the process of transfering the database from non-unicode to unicode. i'm not sure if this will work, but you can try to convert the column data types to unicode in management studio. ...Show All
Visual C++ cannot convert from '__const_Char_ptr' to 'wchar_t __gc *'
Hello! Error 1 error C2440: 'return' : cannot convert from '__const_Char_ptr' to 'wchar_t __gc *' When I try to compile this code I receive the above error message. wchar_t __gc * GetFileMappingName( int processId = GetCurrentProcessId(), int threadId = GetCurrentThreadId()) { String* fileMappingName = String::Format(S "wfavhook_{0}_{1}_filemap" , __box (processId), __box (threadId)); return PtrToStringChars(fileMappingName); } Hi Doing as suggested, but I get this error: Error 1 error C4980: '__gc' : use of this keyword requires /clr ldSyntax command line option C:\Programfiler\Microsoft Visual Studio 8\VC\include\vcclr.h 49 Is there any ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Drawing a line?
I've looked at a few threads regarding this, but to be honest, when it comes to primitives, I havent a clue (I'm a 2D relic), now loading images etc etc is pretty simple stuff, I looked in the docs and found an example that is pretty much overkill to my needs, and its just a jumble. All I'm after is how to draw a line from x,y to destinationX, destinationY. Can someone run through it for me, maybe explain a little whats going on, as I'd like to know, it should be simple, but alas, its confusing the life out of me! :D Thanks in advance Dabz It is not as simple in XNA as it was with GDI to draw lines and shapes. Heres a few links that might help: http://blogs.msdn.com/manders/archive/2007/01/07/lines-2d-thick-rounded-li ...Show All
SQL Server Cannot remotely connect on SQL Server Instances by name.
Hi all, On my computer I have installed two instances of SQL Server 2000. The first one is the default instance of SQL Server Personal Edition and the second one is an MSDE instance. From other PCs on the company LAN I can connect, by name, only to the first one and not to the MSDE instance. I have tried the combination IP Address, TCP Port and it work fine. Anyone any ideas Thanks in advance, Stavros Makridis. Jens K. Suessmeyer wrote: Hi, the named instance is accessible with MachineName\InstanceName,PortNumber in SQL Server 2000. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- If tcp port is specified in the connection string, the instance name ...Show All
Visual C++ Can i make VS play a sound when build is done?
Is this possible i know there are post build events and such but even when i try to print an ascii bell char to make it beep, it does not work. it would just be good to know when the build is finished. Actually, there's the Visual Studio 2005 IDE enhancements that includes the Event Toaster that will allow you to associate sounds with various Visual Studio 2005 events including build: http://www.microsoft.com/downloads/details.aspx FamilyID=cd7c6e48-e41b-48e3-881e-a0e6e97f9534&displaylang=en ...Show All
Visual Studio 2008 (Pre-release) ListView background color when not focused
Hi I've been playing with ListViews for the past few days and have finally managed to get it styled the way I want. Now I've got one last problem: the background color of the selected row changes to a light grey when the ListView looses focus. Basically what I'm trying to do is get a ListView to look like a grid (totally transparent), but with the extra features (like automatic column sizing) of the ListView just in case I need them. So far I've created a list view that is totally transparent. The column headings are plain text, with the background showing through. There are no mouse over effects, no resize ability, no column drag ability i.e. the column headings are not buttons any more. Perfect. The same applies to the items: co ...Show All
Visual C# Getting an interface implementation from a type
Hi There, I have an assembly which contains a type which I know to implement a specific interface. I can retrieve the interface from the type but whenever I try to cast the type directly to the interface (to get its implemented properties) the cast fails. Here's the code: Type plugInInterface = type.GetInterface( "IPlugIn" ); // This succeeds and I get plugInInterface back. if (plugInInterface != null ) { // Found the a type that implements the IPlugIn interface. // Load it up! IPlugIn plugInType = null ; if (type is IPlugIn ) // This fails. { plugInType = type as IPlugIn ; } } Does anyone know what I'm doing wrong here It seems that if I can successfully retrieve the ...Show All
SQL Server upgrading to 2005
I have been assisgned the task of upgrading to sql 2005. I was given a dell poweredge 1850 and the sql standard edition 2005 w/ 5 cal disk. I have only used sql a little to make data changes in tables. My boss expects me to figure this out on my own which I like to do anyway. I remember he mentioned when I am ready he would tell me the path to a backup. I guess there is a server on the network that is only in place in the case of the current live one going down. I have been reading this helpful site and hope someone can give me some basic logical steps to take. I feel overwhemed by all the data posted. Please help me if you have time. Oh ya, right now we have sql server 2000 running with about 20 databases on it. It has some tables that t ...Show All
Visual Basic Refactor - cannot get it to work
I just loaded Refactor on my system that has VS 2005 Pro on it. After starting VS2005 I edited a few projects. I placed the cursor on a line and pressed Ctrl+~ , but nothing happened. I even created a new project, added some code, and pressed Ctrl+~ ...again nothing. I have even rebooted (when all else fails). Still cannot get it to work. Any ideas would be appreciated. Thanks, Tom Yes, it's very cool. In fact I may well buy the Pro version in the near future because 1. You get about 50 or so refactorings. 2. It supports C#. 3. It supports both VS 2003 and 2005 And as I work as a contractor I'm likely to be working in all these scenarios in the next couple of years, i.e., using VS 2003 ...Show All
.NET Development calling saved form at runtime.
I have a program where on one form i click a cmdbutton and a premade form with all this information is appears. The user then fills out the information and then saves that form (for example: "Bonusfrm") with a new form. It then dissapears. On another form the user then selects from a combo box one of the forms that he or she has created. When selected I want that form "Bonus frm" to show up and have the informatino that the user put in earlier appearing on that form. thanks for the help twychopen22 , This question is not related to Remoting and serialization and so I am moving this to the right forum. Maheshwar Jayaraman [MSFT] ...Show All
Visual Studio 2008 (Pre-release) Help about WPF!!!
hi,all.Im a newbie with .net development. Today my computer installed the VS2005 extension for WCF and WPF.I make a WPF project,but I confused a bit of programming method.I spend 3 more hours for a program of "hello,word". Now,I got problem: I make controls of button and Image in Winform.I wanna let the Image display a picture which path of "c:\shee.jpg" when I click the button.Please tell me how to figure it out,I really a appreciate for you. Thanks anyway. Some good samples to start with WPF you can found here: http://msdn2.microsoft.com/en-us/library/ms771633.aspx Best regards Horst ...Show All
