Muhammad Adel's Q&A profile
SharePoint Products and Technologies Install WSS 3.0 with Search but without SQL Server
I'd like to make a full WSS installation with the exception of SQL Server Express. If I choose "Basic" or "Advanced -> Full" intallation scenarios it installs SQL Server and I cannot uninstall it separately. If I select "Web Front-End", it then lacks search service (as per imbedded help). Is there any workaround I found a trick to uninstall the SQL Embedded Instance at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=949426&SiteID=1 . But after removing it I get an error when starting Configuration Wizard: "Failed to start the database service MSSQL$Microsoft##SSEE. Repair this product by selecting it from the Add/Remove Programs menu". So I see that the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Threading - WaitHandle
Hi, I thought now might be as good a time as any to try and get a grip on Threading in .Net and specifically for the 360. I've been having a a look at the "How to: Use a ThreadPool" article that is linked to at the bottom of the "Thread Pools in the .Net Compact Framework for Xbox 360" article in the XNA Help. The only problem with the example code seems to be that WaitHandle.WaitAll(...) does not exist on the 360, but does under Windows. WaitHandle on the 360 seems to serve no purpose at all as it's only methods are Equals and ReferenceEquals... so I'm at a loss really. If we kick off a load of threads in the constructor of our entry class what is the best way of waiting until all the threads in the ThreadPool ha ...Show All
Visual Studio 2008 (Pre-release) DLinq in WCF
namespace Microsoft.ServiceModel.Samples {[ServiceContract(Namespace="http://Microsoft.ServiceModel.Samples")] public interface ICreateTeacher {[OperationContract] string Create_Person(string FName, string MName, string LName, string FaName, string Per_Add, string Pre_Add, decimal Home_Ph, decimal Cell_Ph, string ID, string Email);} [ServiceBehavior(ReturnUnknownExceptionsAsFaults = true)] public class CreateTeacher : ICreateTeacher { public string Create_Person(string FName, string MName, string LName, string FaName, string Per_Add, string Pre_Add, decimal Home_Ph, decimal Cell_Ph, string ID, string Email) { // I have use the sqlmetal tool to generate the stuff required for it. Naveed db = new ...Show All
Visual C# Type initializing function throws an exception
Hi, Were working at a project here where we're use WMPLib.DLL (library wich includes windows media player). Since we've included this reference, the application crashes at some machines, only some. we distribibute the wmplib.dll with the application but on some pc's it just crashes. even better, the constructor constructs the wrapper class, after that, the application crashes at this line: private System.ComponentModel. IContainer components = null ; Hence, when diving into the dissambly i've seen that the app crashes at this line: 00000083 mov dword ptr [esi+000001B4h],edx Wich for my knowledge makes absolutely no sence. Stack trace: (bij==at) bij System.Reflection.Module.GetTypesInternal(StackCrawlM ...Show All
Visual Studio Express Editions some more questions :p
yep, its me again and i have some more questions xD 1) how can i create a picturebox in the code itself like when i click button1 then there is a picturebox created 2) i want my 'if' thing to have 2 things in it (like if (MyInt == 0 and MySecondInt == 5)), how do i do this, as 'and' didnt work 3) u can write things in a combobox, but how can i disable that u write things in it 4) u can check and uncheck a radiobutton by clicking it, but how can i do that u cant check and uncheck it by clicking the radiobutton (i have some other ways to check/uncheck the radiobutton) thx in advance oh and i still dont understand where exactly i need to put this: (for in the frmsplash thing) private void ...Show All
.NET Development TCP Connection throttling at Socket
Hi, I have been wrestling with this issue for quite some time now. For an application I am developing, it is necessary that I receive data from an HTTP request at a reduced rate. This is not unlike run of the mill bandwidth management. Here is the problem: After a network stream is set up, it seems that the winsock buffer is set to around the TCP window size (about 64k). I have attempted to set the socket receive buffer to the minimum size, as well as control the networkstream that is passing the data up. The only solution I have found to be truly effective is to modify the socket buffer size in the registry. Besides modifying the registry, it seems that no matter what I do, the socket will receive about 65k before I am allowed to m ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Scrolling a 2D Background
New tutorial on scrolling a 2D background on my site XNADevelopment. This is the quick and dirty approach. It covers creating the project, adding images to the project and scrolling those images horizontally in a continuous loop. I've posted the tutorial and the source code if you're interested. So far, I'm SUPER impressed with XNA development and just how easy it has been. The support from the XNA developers in the forums here has just been outstanding. These guys are really going over and above helping out all of us XNA newbies as we struggle to fly and learn the ropes. I'm also just amazed at the variety and number of tutorials being put up each day by sites in the community. If you haven't been to these sites yet, I highly recommend th ...Show All
Visual C# Microsoft FingerReader
Does anyone knows if there is something done, to use with Microsoft FingerReader Like, some to software to add users, or to make a query in a database Thanks Like, I need to do an application(in C#) that receives the fingerprint from the device, check if the user exists and open his profile ! What I'm asking is if you know any application or sample application that does this that I can get the source code... Cause I don't even know how to begin ! Thanks ...Show All
Visual Studio Express Editions How Do I Use the "Enter" Key on a form?
How can I use the enter key on a keyboard to operate a button (or something else) on a form I'd like it so that when I press the enter key an event happens (in this case, to close a form - but it would be useful to know for other things also). The form I'm using is a dialog form with a label that displays an answer to a question - and by pressing the enter key (or any other key of my choice) I'd like the form to close. I've worked out that I have to change the "Keypreview" setting for the form. The form's AcceptButton property was designed to automatically click a button with the Enter key. For other uses, you can use this code: Protected Overrides Function ProcessCmdKey(ByRef msg As Message, ByVal keyData As ...Show All
SQL Server Error handling for Script Task
I'm importing an Excel file and massaging it with a custom script task. I get an error "Index was outside the bounds of the array." That error is helpful but I needed to know which of the 70,000+ lines the error occurred on. What is the best way of devbugging this issue Try-Catch-Finally with messageboxes in the Catch clause Barkingdog Assuming this is Script Task, not Script Dataflow Component, you can set a breakpoint at the beggining of the task, then use menu Debug > Exceptions, check the 'Thrown' box - this will make IDE stop when an exception is thrown by the Script Task. P.S. 70,000+ lines seems to be way too much for script task. You may find a custom task to be a better opt ...Show All
Visual C# Want to sort strings in a collection array, any idea???
Hi, I am a beginner in C# and want to sort the strings in a collection array. Can you please give me which collection array class one will fit with my requirement Thanks, vcboy The generic Array.Sort is great. using Pair = KeyValuePair<string, MyCustomObject>; class Program { // Compares two Pairs public static int Compare( Pair lhs, Pair rhs ) { return lhs.Key.CompareTo( rhs.Key ); } static void Main( string[] args ) { Pair[] array = new Pair[10]; // ... // Add your pairs here // ... // Uses the named delegate to do the comparison System.Array.Sort( array, Compare ); // Uses anonymous delegate to do the comparison. System.Array.Sort( array ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Dream Build Play Contest Question - Using languages other than C#
I've managed to use Chrome ( www.remobjects.com ) to create some small XNA demos that use the content from SpaceWars. The rules do not mention whether non C# langauges are allowed to enter the contest. Since there are several .NET 2.0 compatible compilers out there shouldn't this contest allow these entries as well as they can use both the Windows and XBox 360 XNA assemblies. Just to clarify, I have Visual C# Express and Game Studio Express installed on my machine, but am using Chrome via Visual Studion 2005 to write and compile my XNA demos and the plan is to use that combination to write future XNA games and contest entries. Could someone from the XNA contest team please clarify your position on the use of non C# languages for the Dream ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Spacewar .fbx models.
Just me, or are the models used in spacewar needlessly huge in dimenisons and in vertex count In wireframe render mode it's easier to see - the ones with gun barrels that have cooling holes are individually modeled that way - it's not like you can see that level of detail. The flying saucer one has an enormous number of verticies can could have been welded away. I haven't seen anything as to what's 'right sizing' a model for xbox360 but these have got be excessive for the level of detail that's shown in game. http://www.flickr.com/photos/83003783@N00/397075140/ Screen cap... 16,000 may not sound like much - but consider maybe you want to have more than one ship on the screen. If they could look identical and use maybe ...Show All
Software Development for Windows Vista Release Plans
Can somebody supply any information that is available re; the planned release dates for WF, in particular with regards to: 1) A version compatible with the Beta 2+ build of Visual Studio 2005 that was provided on the goods disks at the PDC 2005 conference. 2) A version compatible with the VS2005 being released in November. 3) A version with a go-live license. Information regarding Go-Live was published this morning Pacific Standard Time. You can find more information about Go-Live possibilities on http://msdn.microsoft.com/winfx/getthebeta/golive/default.aspx It only applies to certain downloads and components, so please review restrictions and requirements carefully. ...Show All
SQL Server When restoring - Cannot find the specified file
I am attempting to restore a backup into a database using SMO. It works great except in once scenario. The database and backup device is on my local drive (C) but when i copy the backup device to our dev server and try to restore using SMO, I get the following error: "System.Data.SqlClient.SqlError: Directory lookup for the file "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\CSI-Greenville.mdf" failed with the operating system error 2(The system cannot find the file specified.)." The difference is that the databases and backup devices on the dev server are on drive D, not C. I cannot figure out, using SMO, how to tell it to grab it from D, not C. My code looks like this: Dim db1 As Management.Sm ...Show All
