zenzai's Q&A profile
SQL Server SQL_2005_Express-"Help file not found" err...?
Hei everybody, Can someone explain why I get this err. msg. on SQL express The installation went OK, no err, but when I press "Help" in SQL I get this message! Thank you! Stefan SQL Express doesn't include the help files in order to reduce download size. If you install Books Online it should hook up to that automatically. You can download BOL from the Express download page at http://msdn.microsoft.com/vstudio/express/sql/download . Mike ...Show All
Visual Basic ping IP/host
hey i have now somewhat succesfully made an ip-tracker. how do i make it able to "ping" an IP og host sa it will send out 4 packets or something and then count how many returns you know what i mean im sure. and is it possible to get a "whois" thing build in to it im using Visual Basic xpress 2005. //Martin No The process is purely a call to an external process. You cant update a progress bar from here. This will result in the window not showing. Public Shared Function RunExecutable(ByVal ExecutableName As String, ByVal args As String) As String Dim p As Diagnostics.Process = New Diagnostics ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Strange bug - My system or XNA?
I'm having a hard time troubleshooting this one. I have a simple XNA app where I have 2 cubes rendered with different colors from an FX file and the camera rotating around them. Very basic. 2 weeks ago, all of a sudden the program still works but the colors never show up anymore. It's just the blue background with the cubes 100% black. A couple days later, without changing the code, the color comes back onto the cubes and everything working again. Now today, the cubes have lost their color again! WTF ! I have the latest video drivers using DX August SDK and XNA Beta 2. You can check my test project here: http://www.pepperboy.net/Bin/files/Rainbow.zip This sounds like a problem with the order in which you ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Share source code between projects
Hi, Is there a way to share source files between projects in GSE 1.0 We have now 2 projects for our game, 1 for pc, 1 for the 360, but when I add an existing pc-source file in the 360 project it makes a copy of it and doesn't use the original one. This makes it somewhat more troublesome to keep both projects up to date. Cheers, Maurice This is one of the not-so-good UI design decisions made by VS. You need to link to the source files, which is done by adding an existing file as usual but then when you select the file(s) in the file dialog, click the arrow on the "Add" button and change to "Add As Link". Also, you should check out the XNA FAQ sometime as this is covered in there. ...Show All
SQL Server printing reports
Hi Iam able to print only the first page in the local reports!!! Also, can I give the user the choice of using the local version or the enterprise version of the reports Any suggestions plz help Thanks contractor Not sure about the printing, but the following article by Teo Latchev shows a sample application that connects to both local and server reports http://www.devx.com/dotnet/Article/30424/0 ...Show All
Visual Studio 2008 (Pre-release) Why marshalling instance is not working? [Code provided!]
Hello, I want to marshall an an object to the client from the server, and then use this object. But it is not working giving error: "The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:00:59.9530000'.". Stack Trace: "\r\nServer stack trace: \r\n at System.ServiceModel.Channels.StreamConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)\r\n at System.ServiceModel.Channels.SessionConnectionReader.Receive(TimeSpan timeout)\r\n at System.ServiceModel.Channels.SynchronizedMessageSource.Receive(TimeSpan timeout)\r\n at System.Serv ...Show All
Visual Studio 2008 (Pre-release) Relationship between UI composition and code-behind
Hello, I've got a case where the UI (or a part of it) depends on data loaded at runtime. My question then is: where in the code behind file should I put the code that provides the data for the UI The following is a terse and trivial example that demonstrates how the UI is composed before the static method myMethod() runs, therefore the TextBlock foreground is Red and not Blue. XAML: < Window x:Class = " WindowsApplication1.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:local = " clr-namespace:WindowsApplication1 " Title = " WindowsApplication1 " Height = ...Show All
.NET Development .NET 2.0 Real Time Requirements
Hi. Probably .NET 2.0 and realt time requirements shouldnt be on the same sentence. I'm trying to control a machine that set's me some real time requirements, the machine fires events, inside those events I have to do some processing. On one of them I have less than 200ms to performs the work that I need. 200ms is already very thight I cant waste more than 180ms. Per minute I have fired at least 120 of these events I have to handle all of them and can't stay on them for longer than 180 ms. My question is, is the .NET Framework suited to this kind of work Another thing that I must say to help on the discussion, if I waste more than 180ms the machine stops, and that can't happen I really have to meet the time!!! Even if ...Show All
SQL Server Bring Database Online/Offline
In SQL Server 2005, I tried to take a database offline by selecting "take offline." My computer had a problem during this now I get the following error... ALTER DATABASE failed because a lock could not be placed on database 'CJISData'. Try again later. ALTER DATABASE statement failed. (Microsoft SQL Server, Error: 5061) I can't bring the database online or take it offline. I am not sure where to go from here. Any help will be appreciated. Thanks. Bernie Make sure you drop all connections on the database first or use the WITH ROLLBACK IMMEDIATE. HTH; Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
SQL Server Getting Status/History Info. from .exe that is Run by a Job
Hello. We're using SQL Server 2005 and SQL Server Agent to run some jobs. These jobs execute a custom .exe program (written in C#). What we're wondering is, is there any way to send status/history information from the custom .exe back to the job that kicked it off We're trying to provide execution info. to show if the job succeeded or if some error occurred in the .exe (thus the job didn't complete successfully). Thanks! ...Show All
Windows Forms control into component tray (non-visual area)
I have a class that inherit from control like; public class MyClass: Control {...} This makes it visible in the toolbox and ready for use - nice! But, how to make it drop to the "component tray (non-visual area)" and not to the form at designtime Just like when dragging a normal "Timer" from the toolbox to some form... I guess there is some Attribute to set at class level... but what I can't find any answer on the net... Tanks for any help! ...Show All
SQL Server Subscription Failing in Wizzard Foe SQLMobile ?
Hi, Need a little help on this one.... Using SQL Server 2005 and attempting to create the SQL Mobile CE example Publication and Subcripion. I was able to successfully create the publication on the main server engine but when trying to complete the wizzard for the SQL CE Database subscription I receive an error. The Subscription fails using the wizzard with the following credentials: Publisher: LAPTOP PublisherDatabase: SQLMobile Publication: SQLMobile Subscriber: SQLMobile HostName: InternetUrl: http://localhost/SQLMobile Web Server Authentication: Anonymous PublisherSecurityMode: Windows Authentication I have also created the Snapshot folder that is shared. Here is the error I get when cli ...Show All
Visual C++ Do we need .NET Framework to run MFC application and ...?
I built an MFC application and now I have 2 questions: - Do I need .NET Framework to run MFC application built in VS 2003 or VS 2005 - How can I make the Visual Studio automatically put the library files (*.DLL) in the same folder as the executable file (*.EXE) as I compile the project Thanks in advance. You dont need the .net frame work, if you are not using the service of the same (if your project is not a .net project) If you are only using MFC and Win32, you need to put the the files manually with the files. You can specify prebuild or post build event in the Visual Studio Project Properties. You can do the copy manually through the DOS commands. To know what are the dependencies, please use D ...Show All
Windows Forms how to input text in TextBox control which is inserted into a RichTextBox control
hello: Now ,I have already inserted a TextBox contrl into a RichTextBox control ( the OLE way), but this TextBox can not be focused , and I can not input any text in this control . I want to know how to solve this problem Thanks Alex. http://www.codeproject.com/cs/miscctrl/MyExtRichTextBox.asp ...Show All
SQL Server SQL 2000 ReportViewer Authentication
I can consume the reportingservice using credentials to get reportnames and folders and such, but when i go to use the reportviewer, after i set the reportpath and serverurl, I am always asked to authenticate when using the sample reportviewer with RS 2000. How can i prevent this I know there is the Icredentials that can be set using the serverreport property with the new viewer in 2005, but how about doing the same type thing in 2000 ...Show All
