Software Development Network Logo
  • Smart Devicet
  • Visual C#
  • Windows Vista
  • Windows Forms
  • Visual Basic
  • Visual C++
  • SharePoint Products
  • Microsoft ISV
  • VS Team System
  • Game Technologies
  • Visual FoxPro
  • Visual Studio
  • IE Development
  • .NET Development
  • Audio and Video

Software Development Network >> Omar Fawzi's Q&A profile

Omar Fawzi

Member List

GT_MSDN
RayRayN
sleepy01011
andryuha
Steve Hempen
Sharmila k
Rob Lane
Kendal Walton
dindelus
a.d.m
vjn
jheddings
PudBawl
AnimatorX
loic123456
minority80
pratap gaikwad
Ruhina
Taylor Meek
AndrewBadera
Only Title

Omar Fawzi's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Draw a rectangle

    I need to draw a rectangle in 2D on a viewport. Anyone know how to do that Everything in the examples are sprites and I need to draw pixels. Thanks, Nick The easiest way is probably using SpriteBatch, and just setting a 1x1 white textur. Then the sprite color parameter will control what color your rectangle comes out, and you can stretch the sprite to whatever size you need. ...Show All

  • SQL Server Massive Update

    I need to update records in hundreds of thousands records, and I am wondering if I can design a pcakge in a way that it controls level of data update depending on system load like throttling. Thanks, Jay ...Show All

  • SQL Server "parameter is missing a value" error only when I deploy

    Report X passes all it's parameters to Report Y via a "jump to report". Report Y then populates a select box based on the parameters passed to it. The user selects one of these values and clicks "View Report". This works perfectly in the development environment. But when I deploy it to the server I keep getting an error when I click the link that jumps to Report Y. Here's the error: "The 'B' parameter is missing a value" The problem is.. I don't want to pass the B parameter to Report Y. I want the user to select this from a list. I'm very confused as to why this would work in the development envionment but not when deployed. Any Ideas It only happens when you use an ...Show All

  • Visual C++ error integrating mssoap30.dll with msxml4 or msxml6

    Hi.   I was trying to port a Microsoft Visual Studio 6.0 Project(VC++) to Visual Studio 2005. The project has a header which includes mssoap30.dll and msxml4.dll in a header file as follows: #import "msxml4.dll" using namespace MSXML2; #import "mssoap30.dll" \ exclude( "IStream" , "IErrorInfo" , "ISequentialStream" , "_LARGE_INTEGER" , \ "_ULARGE_INTEGER" , "tagSTATSTG" , "_FILETIME" ) using namespace MSSOAPLib30; I got errors stating that the namespace is ambiguous and it cannot be resolved. Sample Errors: d:\tempfilesswdl\z-drive\proj\debug\intermediate\msxml4.tlh(333) : error C2011: 'MSXML2::IXMLDOMImplementation' : 'struct' type redefinition       &n ...Show All

  • SQL Server Restoring a database

    Hullo, I am trying to restore a database rs2005sbsDW from the hard disk but it gives me the following error message. TITLE: Microsoft SQL Server Management Studio ------------------------------ An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ------------------------------ ADDITIONAL INFORMATION: The media family on device 'C:\Documents and Settings\Administrator.UHRC\My Documents\Microsoft Press\RS2005SBS\Setup\Database\rs2005sbsDW.MDF' is incorrectly formed. SQL Server cannot process this media family. RESTORE HEADERONLY is terminating abnormally. (Microsoft SQL Server, Error: 3241) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL ...Show All

  • .NET Development error

    when i debug the .aspx i'm getting an error like this 'Error 1 Could not load file or assembly 'System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The module was expected to contain an assembly manifest. ' i feel that there is no error in the .aspx page could u please help me................ Dear RizwanSharp, thanks for answering my question. but i'm sorry to say that its not working. i added the reference 'system.design' as you told. when i debug the page after that i'm getting the same error in the web.config file please help me.................... i'm not able to debug any of the website because of the same error. ...Show All

  • Windows Forms How to scale controls to 96 Dpi in 120 Dpi environment

    Hello all, I'm stuck on a really serious issue. I need to scale any type of control (e.g. DataGridView) to 96 Dpi in a 120 DPI Windows environment. How can I do this. It would be even better if there is a way to have my whole application (C#) run in 96 DPI and ignore the 120 DPI Windows setting. Is there a way to do this type of thing Please help me on this one, I'm writing this system for someone who runs the app in a 120 DPI environment. It's a desktop app. I see there's a SetProcessDpiAware function that one can use, but I've seen no practical example of how it is used. Could someone please help Thanks in advance Nathanael I have ...Show All

  • Visual Studio Team System Team Build signing assemblies

    Is there a way to have TeamBuild sign all of my assemblies without needing to invoke each individual project file inside of that build. DO NOT modify that file. Instead, override the targets you want to modify by copying them to your .proj file and making any modifications there. ...Show All

  • Windows Live Developer Forums CrashAParty/StartAParty

    I would like to see sources for the demo crash a part/start a party. I am close to moving to G API if documentation for VE keeps being that poor. Any chances for the spources to be loacted someplace as work in progress Ah, I've missed your posts Jeff! Yeah I bothered to even enter it into google and only got this post and some bartending site! But seriously unless it is a MSDN demo I don't think someone is going to simply give you there source code .....or else I'm taking my bat and ball and going home. Strange thread. John. ...Show All

  • SQL Server using RS 2000 as a template

    I have created a template like report which is all working correctly. The report shows a order slip for all orders that are in a certain pick, and has a list of all products for each order. (so a list of products is printed for each order in the pick) The question I have is, when the order is very long ie doesnt fit in 1 page, I need someway of the user easily knowing that there is more than 1 page... ie it should be Page 1 of 2... but in the whole report it may be Page 56 of 60.... is there a way of doing this or something similar... I hope i have made myself clear... and would be VERY garteful for any ideas, im bit lost!... Thanks But I want the total pages in a GROUP (order) and not th ...Show All

  • Visual Studio Express Editions Media Share Starter kit

    I was taking a loot at this, and found that afxres.h is missing from the folder. does anyone have a download fir this it is the only error during compile You probably didn't install the SDK platform corectly. Be sure to add the new paths in tools->options->Projects and Solutions->VC++ Directories, like shown in the video. Also, I had this problem, the video shows that you should add all paths to the executable files. Instead, write "$(ProgramFiles)\Microsoft Platform SDK\Bin" for executable files "$(ProgramFiles)\Microsoft Platform SDK\Lib" for libaries and "$(ProgramFiles)\Microsoft Platform SDK\include" for the include files.. ...Show All

  • Visual Basic tooltips in subItems of Listview control.

    In ListView Control SP6.0 (with Visual Basic 6.0) can set Tooltip in SubItems. How can I have the same functionality with ListView Control Net There's no TooltipText property on SubItems, but this link might be able to help you: http://homepage.mac.com/ruske/ruske/C1501534740/E20060415103448/index.html Hope that helps, Jonathan ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Does XGSE play nicely with Visual Studio 2005

    Hi, I read in one of the threads that XNA Game Studio Express is dependent on Visual C# Express. I have a Visual Studio 2005 development environment on my system and I am worried that installing VC# Express may cause some problems. Will these products play nicely together Thanks. T I have Visual Studio 2003 Standard, Visual Studio 2005 Professional and Visual Studio C# 2005 Express Edition installed all at the same time. I have been switching between them all doing different projects and I haven't noticed anything go wrong with my system or the studios. Microsoft isn't stupid, they know people are going to want to have multiple suites running for different stuff. ...Show All

  • Windows Forms Windows does not recongize that i just insatlled a new program.

    I'm writing up a setup application, and when I install the exe file, Windows does not reconginze that I just installed a new program. Do I need to create a registry file If I do, does anyone know how to create one and what do I need to put in there in order for Windows to reconginze that a new program has been installed. Thanks, Brandon I'm afraid I don't know. If I find anything I will be sure to post. Take a look at this, it *may* help: http://en.wikipedia.org/wiki/Windows_registry I would also suggest looking at standard applications that have been installed (such as Office) and seeing where it creates the keys to perhaps "copy" it for your application. Again, I would strongly advise to use the Setup a ...Show All

  • Visual Studio 2008 (Pre-release) Multiple encodings on one EndPoint

    Is it posible to make single server EndPoint use multiple MessageEncodingBindingElements with the same transport If yes, than how can I do it Or it's better to use new EndPoint for each diferent MessageEncoder If I understood your problem I think that you should create MessageContracts instead of DataContracts and add MessageHeader inside Message that will represent compression algorithm. You could set comppression alg in write message method by accessing the messageHeader. On the server side inside Read method you could take first byte and just check is it starting xml character '<' which is byte 60 public override Message ReadMessage( ArraySegment < byte > buffer, BufferManager b ...Show All

©2008 Software Development Network