ThE ViKinG's Q&A profile
Visual Basic How could I replace double quotes with single quotes in a string?
Thanks in advance for that, I'm stuck with it. I vb6 I used to have a function on demand which did such stuff: For i = 1 To Len(cad) If Mid(cad, i, 1) = Chr$(39) Then Mid(cad, i, 1) = "`" ' End If Next ...Show All
Windows Live Developer Forums Robot Invaders - Weekend Madness & $200 Prizes
Invasion of the Robots Contest—Weekend Madness! Build a Robot by Monday and you could be one of 5 people to win $200.00 Who Will Win The 1 st 5 people that submit their valid robot entries, which means: Submitted between today 8/9 11:00am PST and 8/14 11:00am This is for new Robots, those that have already been submitted will not be considered Submitted correctly means: Step 1: Build it, host it, and make it available from the time you submit to the time Weekend Madness closes (11:00am 8/14) Step 2: register your robot with http://gallery.live.com , Messenger, Bots, Submit Step 3: https://www.robotinvaders.com/main/Register.aspx Each person is eligible for only 1 Weekend Madness prize ...Show All
Visual Studio Team System How to run third party(TestPartner) UI scripts under VSTS Test Manager?
Hi there, I'm new to VSTS, I'm trying to associate mulitple Testpartner test scripts via VSTS Test Manager. I understand that with Test manager I should be able to attach multiple test scripts and run these consecutively in the one hit. I can run the test scripts independently ok, but cannot find out how to attach these to a Test list in Test Manager and run them in one hit Help cheers Paulog Hi Christine, Thanks for the response. I get the concept for the Ordered tests, however my problem is the Test Partner (Compuware ) test scripts I have created and associated to VSTS are displayed as a cfts type file. I then cannot assoociate these to a Ordered test. They can't be seen in an ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA in Internet Explorer?
I was surprised to find out that XNA doesn't work in Internet Explorer as a WinForm Control. I know I must be smoking crack, but somewhere a long the line I got the impression that XNA would enable a 3D environment in Internet Explorer. If we can put Ink on the Web, http://www.code-magazine.com/Article.aspx quickid=0512062 , then I think we should be able to put a 3D environment on the web as well Anyone know of a way to get XNA or Direct X working as an element of Internet Explorer Thanks, Johnny I am very confused here. Calling WIn32 APIs in a usercontrol is not allowed as part of the default security settings. That requires Full Trust as does Managed DirectX. So your control should not even r ...Show All
Game Technologies: DirectX, XNA, XACT, etc. problem with "your first game: Microsoft XNA game studio express in 2d" tutorial
Hey, i just started using the xna game studio express beta 2 today and i decided to try out the tutorial. I thought i did everything correctly but when i debug it, it gives me an error for the line " spritebatch = new SpriteBatch (graphics.GraphicsDevice);" it says "InvalidOperationException was unhandled" and im not really sure what to do. any help with fixing this would be greatly appreciated, thanks. I am having the exact same problem with my game I am working on. and i have absolutely no idea how to check my graphics card. can you help me out here Thanks ...Show All
Visual C# Minimize an application during runtime
I'm trying to find a way to minimize my application when an event happens, but the help file bundled with VS2005 express is woefully lacking in showing examples clearly, and you have to search in a specific way to find anything. is there way to make my application minimize itself when a program is launched, and bring itself back into focus when said program is closed if the second bit cannot be done, then I'll be happy with just it minimizing itself. Thanks for any help. You can use: WindowState = System.Windows.Forms.FormWindowState.Minimize; to minimize, and: WindowState = System.Windows.Forms.FormWindowState.Normal; to re-show it. ...Show All
SQL Server SQL Replication: 2005 (Publisher) and a 2000 (Subscriber)???
Hi, I was wondering if it is possible to setup replication between a 2005 SQL Publisher and a 2000 SQL Subscriber Is there any special setup steps I need Thanks so much, David Hi David, Yes. It is possible. For things to consider, you may check out this document: http://msdn2.microsoft.com/en-us/library/ms143241.aspx . You would need a 2005 SQL distributor. Peng ...Show All
Visual Studio VS2005 and Visual SourceSafe Nightmare
It seems that we cannot do anything in Visual Studio 2005 without surreptitiously going out to SourceSafe and churning for 3-5 minutes. Granted we have (unavoidably) made the mistake of placing the SourceSafe database on a network file share -- it does not explain these covert and constant SourceControl accesses. For example, loading the project does something like "verifying source control". Why do we need to verify anything and why does it take so long I can launch SourceSafe myself and verify faster than the IDE can. Refreshing the solution (recursively) appears to be doing just that -- RECURSIVELY refreshing the solution -- meaning the refresh of the SLN file causes a refresh of the child projects, and the ...Show All
Visual Basic Test for Web Availability
I need to test for availability using a test site such as http://www.ABC123.com/test.htm that returns <html><head><title>TEST</title></head><body><p>TEST</p></body></html> I've tried the My...download but it fails when their is no web access ( the try and catch mechanism doesn't catch the failure). so... if something( http://www.ABC123.com/test.htm ) then ... else ... end if Any help would be greatly appreciated. Hi Ken, I think #2 approach will work a little better like you say. I just tried it out and it worked pretty well. Note that there were a few problems with my Ping code above: 1) you need to pass a host ...Show All
SQL Server Slow Quick Find Dialog performance vs. F3
I'm running SQL Management Studio SP 2 on Windows XP SP 2. I frequently use Quick Find to look for errors in large result sets by looking for the string "MSG". My result sets are frequently just the # of rows affected by SELECT INTOs, UPDATEs, DELETEs, etc. I'm not doing large SELECTs and looking at the results. What I've noticed in result sets larger than 1000 rows, is that the Quick Find box will often freeze up for several minutes when I'm looking for msg. There is no disk activity, but CPU activity will be maxxed at 100%. No other apps will be open, plus my task tray is pretty empty. My PC is a IBM Pentium 4 w/ 768 MB of RAM, and plenty of hard disk space. However, if I click over to another query window with "MSG" ...Show All
.NET Development How can I get the controls in a web browser?
How to get all the controls inside a web browser, which I did not create. I tried the EnumChildWindows , then the SendMessage with the WM_GETTEXT message, but this fails to identify the control text within the browser window. Also, the EnumChildWindows only itentified 2 items within the parent window, when it was clear there where more. How is this done using the HWND to the parent window, using Windows API and possibly .net Using VS Express C++. You probably want to post this question to the C++ newsgroups. http://forums.microsoft.com/MSDN/default.aspx forumgroupid=8&siteid=1 ...Show All
.NET Development Getting and Clicking buttons on external exe
hi all, i want to create an application that will give me basic automation functionality. this application should start an exe file, when i click on a button/menu or anything it should capture the clicks and check what items are found there, later on i want to simulate these commands again automatically. basically i need to build 2 functions: 1) function that supply information on items found on screen (position, visibility, enable status, class name,....) 2)function that execute the same senario (with confirmation that the command really was executed) using mouse move or remote invocation (throwing the actual events to the application). can anyone help me with this problem Z. I haven't tried it out, but this sam ...Show All
.NET Development RemotingException
I'm getting a RemotingException error. I'm filling a grid control and error is shot when this statement is reached: y = grdA.AddItem(x, 0) Complete Code Public Sub FillGrid(ByRef a As String, ByRef b As String) Dim x As String Dim y As Short = 0 x = a & Chr(3) & b & Chr(3)).ToString y = grdA.AddItem(s, 0) grdA.Row = 0 grdA.Col = 1 End Sub The stack had the following data: System.Runtime.Remoting.RemotingException: Byref value type paramete ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Programming Exercises
Anyone care to share a list of some games a beginner might use to progressively up their skills And I already expect to see 300 responses with pong, tetris and breakout so dont even bother with those titles. I'd go with what you like really, think on some of your favourite shows (or even childhood shows, something on good old thundercats would be nice) If you past the beginner phase by now and starting to branch out, scrabble down your thoughts and then work up the one's you feel are best, there are no wrong answers in this game (well so long as you don't count diakatana!) I've seen lots of very different ideas for games so far from CaitlinZimas Butterfly game to a little boat racing game called Fi ...Show All
Visual Studio Team System TF14043: An error occurred computing the delta. Not enough storage is available to process this command
We're attempting to migrate a fairly sizeable SoruceSafe database into a dual-tier TFS server configuration using VSSConverter. After running analyze.exe, VSSConverter Analyze, then half-way through VSSConverter Migrate we start seeing errors in the EventLog. The app-tier server had been running for about 3 weeks, so we've restarted it and are starting a fresh VSSConverter Migrate. Searching for the win32 error "Not enough storage space is available" seems to indicate that it's run out of memory. However this is a Dual Xeon hyper-threaded box with 3.5Gb of memory and plenty of free disk space. The 2.0 Framework machine.config has <processModel autoConfig="true" /> Can you provide any clues as to wha ...Show All
