Mongsreturn's Q&A profile
Visual Studio Express Editions C++ Question
hey i got a question with this visual studio C++ 2005 express program. i have been trying to create 3d images using c++ code but i keep getting an error. i want to know if this is a problem with the progam i wrote or if this visual program is unable to identifie the code need for 3d images. if it is a problem with my code could some one give me an example code of a simple 3d image. thanks. You should post all of your C++ oriented question to http://forums.microsoft.com/MSDN/default.aspx ForumGroupID=8&SiteID=1 ...Show All
SQL Server SQL2000 Enterprise Manager error: An error 1051 - (A stop.....
Hi: I am migrating an SQL2000 Server Enterprise Edition and I get an error with the Enterprise Manager. (hardware need to be replaced) Current Environment: OS- w2000 Advance Server SP4 , SQL2000 EE, 6 instances patched with SP3a Target Environment: OS- w2003 SP1, SQL2000 EE, 6 instances patched with SP3a On the Target environment, each time I try to stop an instance I get the following error message: An error 1051 - (A stop control has been sent to a service that other running services are dependent on) occurred while performing this service operation on the MSSQLServer service. I have notice that the error is related to the SQL Agent running. When I try to stop the instance I do not get the question related t ...Show All
Visual Studio 2008 (Pre-release) Format of ActivityId
Hi all, I am trying to handcraft messages to send to a WCF service (for a JS client sending JSON messages to a WCF endpoint that has a custom JSONEncoder on it) and I am looking to generate the Message headers. I see that MessageID and ActivityID are essentially GUIDs, and are added automatically by WCF. MessageID is from the Addressing namespace, and w3 define it as any URI (which seems to be done by prepending "urn:uuid:" to the generated GUID). So I am assuming that any unique identifier within that field will do. However, on investigating the ActivityID I see that it is a pure GUID in the SOAP, and this is confirmed by using reflector on System.ServiceModel.Diagnostics.ActivityIDHeader. Is this an essential header What is i ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DreamBuildPlay is up!!!
Now go register!! Actual contest details to come the week of Feb 5th I'm not speaking for Microsoft, but if you want to enter you can always enter a US State and Zip code and phone number for now until they get that addressed. I'm assuming that you can edit your information later once that's been corrected. Again, I don't speak for Microsoft on that, that's just what I would do in your shoes. ...Show All
Visual Studio Express Editions system.outofmemory exception, music problem
i have music resources and it seems i keep getting system.outofmemory exception. here is my code, and if you could figure out why exactly im getting this exception. im thinking it has to do with my music resources, and i checked the songs they work fine. Public Class WWE Friend WithEvents mediasoundplayer As New System.Media.SoundPlayer Private Sub ComboBox1_SelectedIndexChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged ComboBox2.Show() End Sub Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim answer As MsgBoxResult answer = MsgBox( "Are you su ...Show All
Visual Studio Team System Getting the server names cached on the local machine.
Hello, Is there a way to programatically get the TFS servers that are stored in the local machine cache I have written some code to get the list of servers from the registry (HKCU\Software\Microsoft\VisualStudio\8.0\TeamFoundation\Servers) but was hoping there was an easier way through the object model to get these The reason is follows... I have an application that pulls up the DomainProjectPicker dialog to list the servers/projects to have the user select. If you don't have access to a server that is in your list, the DPP just gives an error from the UI that you don't have access instead of prompting for credentials. So before I call the DPP I want to verify that I am authenticated with all the servers in the list so that you can ...Show All
SQL Server Multiple reports to multiple tabs
No, this is not a single big report that needs to go into different Excel tabs but different reports that need to go into separate tabs. Chris, What if I want to have a *single* report that exports to an excel workbook with several worksheets - example ... one report that runs for 10 clients and when exported to excel it should be a single workbook with each worksheet named with the client's name rather than Sheet 1 , Sheet 2 , Sheet 3 etc ...Show All
.NET Development Updating MS Access database
I have created a test database in MS Access to verify I am able to save/retrieve data. 1. Created a new windows application project named TestDB 2. Added the datasource TestDB and selected the table named Files and three fields to be in the Dataset 3. Added a dataset to Form1 and assigned it to the typed dataset created by the designer when adding the datasource 4. Added a table Adapter assigned to the Files table in the typed dataset The following code adds a new row and updates without errors but when I close the project and open the mdb file in MS Access there are zero rows. Would anyone be able to give me a clue as to what may be the cause of this behavior Me .FilesTableAdapter.Fill( Me .TestDBDataS ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA performance
In the past i learned c++ cause its faster as managed code for games and stuff. Now we are about to start a pretty large game project. This project will be an multiplayer first person shooter (swat kinda game, like Swat4 of sierra, Raven Shield of UbiSoft, ...). Cause high performance is a big requirement on this project we want to know if XNA framework (using XNA studio express) is the best (or good) sollution for this. Writing this game in c++ will be a long, long, long way, maybe XNA can shorten this development process, only we want to be sure about the performance. Nightmare_BE wrote: hmm, k, seems like i'm gone use XNA :) maybe i know why i had performance differences with ...Show All
.NET Development halt a databind in progress?
I have a very large query, and I'd like to present the user with per-page results. I have no interest in using the datagrid to do this, and have written my own paging object. For various reasons I want to halt a databinding operation once a certain condition is met. I do NOT want to use e.Item.Visible = false; which solves only the display problem and yet iterates unecessarily when really what I want the code to do is "stop binding, and exit gracefully". Ideally I could use the SqlDataReader object and set some sort of bounds (which it doesnt currently have) that could tell it to "jump to record X, and close out at Y records". This should not be confused with the SqlDataAdapters ability to fill within bounds ...Show All
Visual Basic Work with a file without adding it to current project
Work with a file without adding it to current project I used to work with temporary files, under VStudio 2003, without having to add them to my project, by using Ctrl + N. Now, when I do that in VStudio 2005, the file is added to my project. How can I achieve the same behavior as in 2003 Thanks in advance for the help, Jelgab PS: I can later delete the file but, that causes confusion because it registers a change under source control and checks out the project. Thank you. In this case, I need this feature, to work with new files. For example: I copy XML contents from another source, to the clipboard, and want to paste it in a new file, and work with it from within my workspace. I also do that with HTML, Text, XSL, etc. Fo ...Show All
SQL Server Creating Graphs in access on a click of a button
I need to create graphs in access in a lick of a button all the data will be in the sql transfered from the access. If anybody did this before ar having Idea please let me know I was talking about the Report Wizard in Microsoft Access. SQL Server does not have a report wizard. For SQL Server, you want to investigate installing SQL Server Reporting Services, it will let you create very nice reports inside Visual Studio against SQL Server. ...Show All
Software Development for Windows Vista Error using System.Network.Wireless in SideBar Gadgets
Hello, I'm trying to develop a Winows Vista SideBar Gadget using the System.Network.Wireless Object. When I try to get the Wireless-connection-information the first time, everything works well, but when I try to read the data again, an error occurs. MyCode: function getwlan( ) { try { wlanip.innerHTML =System.Network.Wireless.address; wlandns.innerHTML = System.Network.Wireless.primaryDNSAddress; wlansec.innerHTML = System.Network.Wireless.secureConnection; wlansignal.innerHTML = System.Network.Wireless.signalStrength; wlanssid.innerHTML = System.Network.Wireless.ssid; } catch (e) { wlanssid.innerHTML = "Fehler"; } } As I said, when I call the getwlan-function again, wlanssid.innerHTML gets "Fehler" from ...Show All
.NET Development Write data on webserver.
Hi, I wants to create a xml file in the webservices virtual directory from C# desktop application. can any one help me out In your ASPX page you could do this: void Page_Load(object sender, EventArgs e) { XmlDocument doc = new XmlDocument(); doc.Load("<test/>"); doc.Save(Server.MapPath("/test/foo.xml")); } Where "test" is the writable directory. ...Show All
SQL Server Can not open SQL Management Studio
All of a sudden out of the blue today, Sql Server Management Studio refuses to load and open. I'm running Windows XP x64. Sql Server Dev. Edition x64. (Release version.. There were never Beta versions on the machine) When I open the program this dialog opens: --------------------------- Microsoft SQL Server Management Studio --------------------------- Package 'Microsoft SQL Management Studio Package' failed to load. --------------------------- OK --------------------------- (It appears twice and then the UI fails to open) Also, in Visual Studio 2005, when I try to make a database connection in Server Explorer, I get this error --------------------------- Microsoft Visual Studio --------------------------- Cou ...Show All
