Dew777's Q&A profile
Visual Studio Express Editions To stop a Panel from Moving?
I am programming a game where you control a "man" through a series of levels. The only problem is if you press the "Up" key while he is moving up, he will go off the screen. The man is as panel by the way. I fixed my code so that the "man" wouldn't move off the left of right side of the screen. However, when I use the following code, The man will still move off the top of the screen. How should I fix this I would appreciate the help. Dim up As Boolean = True If e.KeyCode = Keys.Up And up = True Then Man.Top = Man.Top - 7 If Man.Top <= 0 Then up = False Else : up = True 'This code is not all in the same place in my project. Wayne. I have the same problem o ...Show All
Windows Forms How to use the UseWaitCursor Property.
Hi, I have a process that takes some time and I like to use the UseWaitCursor Property. I enable it in the button click event to show the user a wait cursor till the end of the process. I write it like this : private void Button1_Click(....) { this.UseWaitCursor = true ; ........ } I don't know why but I don't get any wait cursor while the event process. Thanks, David The cursor doesn't change until you move the mouse pointer. At that time, the form must be processing Windows messages to actually turn the cursor into an hourglass. That makes it less than useful, to put it midly. This works without a problem: private void button1_Click(object sender, EventArgs e) { ...Show All
.NET Development get global ip
hello how can i get my global (internet) ip address now it is 192.168.1.12 but internet ip is 85.xx.xx.xx. I want to get the internet ip in c#. how is this possible thanks ...Show All
Visual Studio Team System Linked Servers
Hi all...SQL Semi-Newb here... I am able to create a link to a SQL 2000 Server from a SQL 2005 Server. I am able to use the wizard and T-SQL to create a linked server under the "Linked Server" section. Issue is that when I click on it to view tables and the like there is nothing there. I am really at a loss...I've been all over the net but still haven't found the answer. Any help would be great...Thanks. Jason I see nothing in Microsoft SQL Server Management Studio Express or when I connect from VB or VWD. When I select the properties for the linked server the "Progress" section says "Ready". Thanks ...Show All
Software Development for Windows Vista Windows Vista RC1 is compativel with chipset NFORCE 2?
Windows Vista RC1 is compativel with chipset NFORCE 2 here I not obtain to install rc1 and I thought to be this the problem ... im afraid your question is in the incorrect forum. These forums are for software development on Windows Vista, developing on DirectShow. The best place to ask: www.microsoft.com/communities Thanks ...Show All
Software Development for Windows Vista Access denied errors using events in Vista
We have an application that runs fine under XP & Win 2K. The application runs at startup and creates a global event (Global\RS_EVENT) and several threads wait for this event. A browser help object (BHO) opens the event and pulses it when it needs something from one of the threads. Using the process analyzer, our application runs at medium integrity. The browser runs at low integrity. We can create the event with no problem but the BHO gets an access denied error (5) when it tries to open the event. If we run IE as an admin, the BHO can open the event even tho it gets a 12006 error (ERROR_INTERNET_UNRECOGNIZED_SCHEME). This error does not make any sense to us. Does anybody know what the 12006 error really means We have tried usin ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Triangle strips Vs. ordered index buffers
Triangle strips are fast, but why exactly Is it because they never have a cache miss, or is it because the cards have some special optimization just for triangle strips (and fans) If I, instead of a triangle strip, have a vertex buffer and en ordered index buffer so that the indices mimics the order of a triangle strip, will this be just as fast as a strip .. or is there something else to it I have a mesh where a triangle strip can not easily be built, but I can however order the indices in such a way that each triangle reuses two vertices of the previous triangle. Each primitive only introduces a single new vertex (index). How would the performance be I could test this, but I would like to have a theoretical answer first and then make ...Show All
SQL Server Transport Security vs Dialog Security
In an environment where there are many initaitors speaking to a central target with frowarders in between, from what i can understand this best policy is to disable encryption on the endpoints, since dialog encryption will be enforced this is all that is really required, is this correct. If the endpoints used encryption the message would need to be encrypted and decrypted at each forwarder resulting in slower perfromance, where as dialog encryption would only encrypt at the sender and decrypt at the target, so is this the best way to go Secondly is it best practice to open a dialog initally and send messages over this dialog for years never ending the conversation This way the services only have to authenticate eachother once, if the ...Show All
SQL Server Installation of SQL Server 2005 post-SP1 hotfix 918222 (Build 2153) fails at copyengine.cpp Line: 689
I believe that I mistakenly attempted to apply the Analysis Services component of this update before applying the SQL Server component. The update now fails continuously with the following message: 02/05/2007 17:58:24.990 ================================================================================ 02/05/2007 17:58:25.021 Hotfix package launched 02/05/2007 17:58:27.615 Product discovery successfully completed during the install process for MSSQLSERVER 02/05/2007 17:58:27.630 SP Level check successfully completed during the install process for MSSQLSERVER 02/05/2007 17:58:27.646 Product language check successfully completed during the install process for MSSQLSERVER 02/05/2007 17:58:27.661 Product version check successfully completed ...Show All
Visual Studio 2008 (Pre-release) C++ and TR1
I've seen some posts to the fact that TR1 is not included in VC 2005. Is there a release where TR1 will be included (Orcas , VC 2005 SP1 ) At the moment, one has to shell around $200 USD to get it from Dinkumware, or wait for the next release of Boost (1.34) to get an incomplete (but sufficient) implementation (smart pointers, regular expressions, etc) with the std::tr1 namespace in it. Regards, Javier I fail to see the severity of this problem, as long as Dinkumware and the publicly available Boost both have working implementations. IMHO I'd rather have the VC team work on implementing 0x, than to sidetrack (and spend precious time) re-implementing already public libs. ...Show All
Visual C++ F1 Help in Visual Studio 6.0
Hi, I am using visual c++ 6.0 and MSDN Visual Studio 2005. I want to link the MSDN to visual c++ 6.0, i.e. if i press <F1> in visual studio 6.0, it should automatically invoke msnd. Any thoughts. thanks, VSAT There's no way to do this natively (since October of 2001). But some guy wrote an unsupported VC++ add-in that will allow it. I cannot find it now, but as I recall, it was on a site like codeproject or codeguru. ...Show All
Visual C++ I don't want to implement Operators Precedence
Hi everyone I've just wrote a bigNumbers class, implemented with string class of C++ (the private member of my class is an object of <string> class), but I have two problems: The fist one is not that important, I don't know yet how to implement the / operator cause this class uses a stirng and it is not possible to use the * operator because this class is for integer numbers only! floating points not supported The second one is very important, I want to implement a function that reads some numbers and operators (including parenthesizes) and operate them with the correct Operators Precedence but I don't want to write the Operators Precedence by myself and look for a way that send this operation to compiler and find a way that ...Show All
Windows Forms How to toggle the highlighting on a row with every mouse click?
I'm trying to do the following in code-behind in C#: When a user clicks anywhere on a row, the row highlights in a different color. Another click on that same row changes the row to its original color. The user should be able to select multiple rows this way. The rows could be rows in ListView or DataGridView, currenttly I am trying DataGridView, havn't figured any possible ways. Please Help. webcliff This thread might help. Post at forums.asp.net to get a better answer... ...Show All
Visual Basic Uploading files to the internet
Hello again, Anyone have a clue on how to have VB create a text document and upload it to the internet... example: File Name: Location.txt Text in document: 222 this will be uploading once or twice a second... so if the location moves from 222 to 210 then the text in the document will be 210 instead of 222... so VB needs to create its own text document repeatedly... and then upload that text document to the internet... Thank you for any help, moveit124 well the file would only contain the text with the number 1-324... nothing else... so it has to overwrite a file everytime... and a file with just the text 324 ... is 4bytes... so yeah... it'll be fast i think... happen to know where i might be able to get code for this create text ...Show All
Visual Studio 'Build failed' - Approaching deadline, please help!
for some reason i can no longer build setup projects within visual studio 2005. all the other project types (VSTO, WinForm, class libraries) build just fine. i have narrowed this problem down to the bare bones by creating a new solution consisting of only a new blank setup project. I then tried to build this, but again without success. All I get is a message down in the bottom left hand corner saying "Build failed". I am loathe to reinstall visual studio as this means i will also have to reinstall VSTO, the outlook 2007 template, the web project templates, etc, so this is going to take me all day. Please can anyone offer a solution as im stuck and up against a deadline. i have jus ...Show All
