Ehab H.GEDDAWY's Q&A profile
Visual Studio Express Editions Setting AutoScroll bar's width, height and position
Hi, Could anyone please tell me how to set the width, height and position parameters of the scrollbar that appears automatically when the autoscroll option is set to true Thanks Arpit Arora. The AutoScroll property uses the operating systems scrollbars. Those are not controls but they are rather painted by the system in the nonclient area of the window. To change their position and size will be difficult if not impossible. For exampl ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can't Run Any Programs On Others Machine
What I am running: DirectX 9.0c & C# I am trying to run the compiled version of ( http://www.c-unit.com/tutorials/mdirectx/ t=38 ) this tutor on another machine. These tutorials only work in October Version of DirectX I believe. What I downloaded: ---Microsoft .NET Framework Version 1.1 Redistributable Package http://www.microsoft.com/downloads/details.aspx FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en --- ...Show All
Windows Forms Globalization of special folder names
I turned on the code checking feature of VSTS - what a mistake At any rate it got me thinking because it was suggesting that I put my strings into resources. Is there a method that will deliver the culture dependent strings for the special folder names, in particular Desktop, My Documents, My Pictures, etc. Rather than displaying file names like C:\Documents and Settings\This user\Desktop\somefile.doc, i'm displaying Desktop\somefile.doc ...Show All
Visual Basic using a timeout for file.exists
When I use the file.exists in visual basic, if the file in fact does not exist or there is a firewall involved, etc.... the time to return a value is longer than acceptable for my program. Is there a way I can use a timeout I would like to check to see if the file exists but only if it can give me a return within 2 seconds, for example. Thanks, Arkman5 Hi Arkman5, I haven't experienced a long return time with File.Exists. Are you ...Show All
Visual Studio Creating Delegate Types from Interface Methods
Does the class designer offer any shortcuts for creating a delegate type based on an interface method Great! If i got your question right, microsoft gave us "Generics". I just love it. So, there is a generic event handler: EventHandler < EventArgs > eventHandler = new EventHandler < EventArgs >(DoSomething); I hope this helps you, Regards, ...Show All
.NET Development run servers localy
how can i run 2 servers localy in .net remoting i tried register two different ports in the server side but i got an exception. do i need to create 2 different projects , each one for a server thanks in advanced im finding it a little bit difficult to put it in a config...maybe you can help me the problem is that i wrote- Type theType=new TasksManagement().GetType(); RemotingConfiguration.RegisterWellKno ...Show All
Visual C++ error C2440: 'return' : cannot convert from 'IPromInfo **' to 'ATL::CComPtr<T> *'
Hi, I'm compiling one vc6 project into vc8. It is using vector class of STL. it is giving error: Error 8 error C2440: 'return' : cannot convert from 'IPromInfo **' to 'ATL::CComPtr<T> *' d:\program files\microsoft visual studio 8 \vc\include\vector 302 The calling point is: for (i=0; i< m_vecOptionalRiderBoards.size(); i++) { CComQIPtr<IBoardInfoFileIO> pFileIO(m_vecOptionalRiderBoards ); pFileIO.p-> ...Show All
Visual C++ Batch Build Broken
Re Visual Studio 2005 Standard: I'm testing with a large project (240 components), and I found that parallel builds don't work from the Batch Build box, no matter what setting I use (1-32) for the number of builds. Oddly enough, parallel builds worked fine in Beta 2, and they still work if I choose to build a "solution." When I do a batch build, however, I'm back to one CL process at a time. This same project took 3 minutes to build in Beta 2. I ...Show All
Visual Studio Team System A possible bug: renaming a stored procedure not immediately commited
Hello everybody, did you note when you rename a stored procedure, and then open it, old name is displayed in tab How did you rename the stored procedure Rename that by click the solution explorer item and change the name Or open the script by Sql Editor, and change the stored proc name in the script file, or by invoke rename refactoring for the stored proc ...Show All
.NET Development Removing IIS site port from WSDL
Due to the arrangement we have with our firewall, our IIS server sits behind our firewall and hosts websites on different ports. When requests come though the firewall for different URLs, the firewall handles these and passes them onto the appropriate sites by their port. This is fine for everything but web services. When you try to capture a web service on a site behind the firewall, for some reason the WSDL keeps putting the port of the websit ...Show All
Windows Live Developer Forums :/
ok, i found it apropriate to post here that msn can no longer have forced proxies, would it be posible to reintroduce forced proxies because they are one of the most powerfull forms of making an addon Great trick, works like a charm.... ca prouve encore que les rois des passes passes sont au Quebec ! ...Show All
Visual C++ DestroyWindow
I apologize if this isn't the correct forum for this question, but anyway, I've been trying to track down a bug of mine in which I get an error "Invalid Window Handle" when I try to call DestroyWindow on a window of mine. I have done some looking around but I cannot seem to find what are the possible reasons for a window to be "Invalid" when you attempt to destroy it The window does exist as far as I can tell. So I'm beginning to think that perh ...Show All
Visual Studio Tools for Office Unable to cast COM object of type 'System.__ComObject' error
Hello all, I have created an add-in which adds user properties to appointments. When I try to recover these user properties from the calendar of other users, I use the find method to recover all the appointments between a period of time of 3 months. Then, I browse the results to find if the properties meet the criteria, I have the following error : Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.I ...Show All
Architecture General best practices for .NET development
Hello, I'm an ex Java developer now working for a young and fairly naive company that is largely .NET oriented. I, and really the company as a whole, feel very much "thrown into the thick of things" and I'm positive there are better methods and techniques to accomplish my goals. I just find myself often with general questions about .NET and writing .NET applications. Ideal versioning techniques, sharing libraries we have written ...Show All
Software Development for Windows Vista Object instance
Hi all, I copied the code below directly from the ".NET Framework Developer's Guide Adding Data to a Table" It was the third different scheme I tried to get working over the course of the last 12 hours. The code just below it is the same code modified for my application and it doesn't work. At the second line I get an exception: "Use the "new" keyword to create an object instance." I haven't a clue as to what the ...Show All
