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

Software Development Network >> fathi S. Elashery's Q&A profile

fathi S. Elashery

Member List

Cattox
Vaish
Secsi
silentC
Spider
Tom25
YMaod
Prashweenet
Peterbrown77
Abhishek bhadouria
GR101
GrayMatter Software
Brian Kinder
withRajeev
kadabba
Brent-GPTX
Erik Svensen
小育
dn8
Matt Morehead
Only Title

fathi S. Elashery's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Texture without shaders

    Is it posible to texture a primative without the use of a shader (Like in managed DirectX) All the tutorials seem to use a effect to accomplish this. I'm asking this becouse I want to keep the system requirement for my program as low as possible. ...Show All

  • Visual Studio Express Editions ie toolbar

    code for add toolbar to ie hi, you have to use COM interop to do so this article has nice tutorial , you have also to read the discussion below the article http://www.codeproject.com/csharp/BandObjects20.asp hope this helps ...Show All

  • Windows Forms Cannot Read .Text Property of TextBox

    I am simply trying to read the .text property of a TextBox in VS2005 but, even though I know there is text in there, no text is detected. I'm wondering if it has anything to do with the textbox being on a tabContainer in a SplitContainer. The textboxes are bound to data and the data displays on the form. My code recognized that the textBox is there but does not read the text: foreach (TabPage tp in tabControl_ProcA.TabPages) { tabControl_ProcA.SelectedTab = tp; if (tp.Name == "tabPage1_Cabinets" || tp.Name == "tabPage2_CylPipes" || tp.Name == "tabPage3_AngleIrons" || tp.Name == "tabPage4_Beams") { foreach (Control ctl in tp.Controls) { ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Packaging assets

    I haven't got into using XNA as of yet, however I very much like the idea to play my games on the Xbox360 (blah blah blah). I see that the XNA team has put large amounts of effort into some asset management in XNA, that includes the XACT audio cues for like "make it possible to change the sound triggered by some event without doing it in the programming". I'm fairly deep into the process of making my customized packaging format with the goal to essentially archive anything (textures, sounds etc) into a single or more packages. There are several reasons, one of them because I started before the XNA project was convened, and to ease distributions on levels and mods by packing several files, textures, sounds, scripts in a single package file. ...Show All

  • Architecture Synchronizing Database

    Hi, I have application that use SQL server database in local network, and I have remote network that has same database structure and I want to synchronize data. I have problem how to know deleted rows and added rows in the database. I little other words: Updated rows -> Normal updating using table primary key and depending on modify date. Deleted rows -> Normal deleting using table primary key but how can I now if the rows is deleted or new . Added rows -> Normal adding, but how can I now if the row is new or deleted one Note: I want to get merge data between both databases because all databases have users.   Regards Roger is right -unless you have some funky netw ...Show All

  • Visual Studio 2008 (Pre-release) Help: RC1 ListView Memory Leak

    I've got a memory leak problem with the ListView. I just have a long list of items that I put in a list with 2 GridViewColumns, and as I scroll up and down the list the memory goes up and up and up, until I eventually run out of memory on my machine if I do it long enough. I find it hard to believe that there's a problem like this with list view, so I'm wondering what I've done wrong. I'm running RC1 on Windows XP x64. I've done a real simple example. The code is below. You can run an XBAP version from here: http://150.101.100.238/~john/LeakyList/LeakyListXBAP.xbap In task manager, watch PresentationHost.exe Mem Usage grow as you scroll the scrollbar up and down. Press "Collect Garbage" and the Mem Usage won't go down ...Show All

  • Smart Device Development How to deploy pocket pc application to device and necessary prerequisites before deploying

    Hi I wanted to test pocket pc application on device. But I have basic queries like, What are softwared I should install before testing on device vs.net tool provides an option deploy on to device, is the way to test or we should deploy on to device by making setup file. I have already taken vs.net 2005 and SQL Developer 2005 authorized( Licensed ) copies. Framework, SQL Mobile comes as part of VS.NET 2005, those are helps me to install on device or any other s/w is required Please suggest any one with little details, I would appriciate your time and reply. thanks, If you are running Microsoft Visual Studio 2003 using .NET Framework 1.1, then follow the instructions in the following URL: http://ms ...Show All

  • Visual Studio Express Editions Odd behaviour with ErrorProvider

    Hi, I'm using VS2005. I have an ErrorPRovider for a masked textbox and also am using an 'Enter' event (to select all text in the masked textbox when you enter it.) The odd behaviour is that the ErrorProvider icon doesn't show unless you hit tab twice; the caret doesn't leave the textbox with the first 'hit' of tab, but doesn't show the ErrorProvider until the second hit. I traced the code and what's happening is that the first hit of 'tab' causes the 'Enter' event to fire; this delays the showing of the ErrorProvider icon. This seems strange since my understanding is that setting e.Cancel to 'true' prevents the user from leaving the textbox until the problem causing the error is fixed. Why, then, is there a re-enter going on ...Show All

  • Smart Device Development .NET Compact Framework 2.0 installation on T-Mobile SDA (UK)

    I have tried to install the .NET Compact Framework 2.0 on my T-Mobile SDA (UK), which runs Windows Mobile 2003 Second Edition. I receive a message saying that the program is not compatible with the operating system and may not run on the device. I have tried to continue installing but get a message saying 'unable to install' whether I try to install to phone or storage card. Any ideas Is that SmartPhone device (without touch screen) running Windows Mobile 2003 SE for SmartPhone If so it’s not supported by NETCF V2 at all. If not, I’ve seen at least one 2003 SE PPC with the same issue, it probably was unverified leaked OS image. ...Show All

  • .NET Development Trouble Iterating through htmldocument links in VB 2005.

    I'm learning Visual Basic 2005 and have come to a problem I'm not sure how to solve. I have a web browser that pulls up a web site and I'm trying to iterate through the htmldocument.links collection. Here is a little bit of code to show how I was trying to do this. Public Class Form1 Public IE7 As New Person Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Me .IE7.CollectWebPage( "http://en.wiktionary.org/wiki/Special:Allpages" ) End Sub End Class Public Class Person Public Function CollectWebPage( ByVal Address As String ) Form1.WB.Navigate(Address) While Form1.WB.IsBusy End While ...Show All

  • Visual Studio running unit tests in build scripts

    Is there a way in build script to run unit tests only in debug mode Yes, just specify an appropriate condition to the target that performs the unittesting e.g. <Target Name="RunUnittests" Condition=" '$(Configuration)' == 'Debug' "> <!-- do whatever to run unittests --> </Target> ...Show All

  • Windows Forms out of memory exception

    In run time i wanted to check and see if there is an error bcs of out of memory exception.   Is there a way to catch this exception(out of memory) in run time . Jared Parsons MSFT wrote: There is one other case where an OOM exception will be thrown. If you attempt to load a file through Image.LoadFromFile and the file is not a valid image file, it will throw an OOM. Is there some way to avoid this behabior or throw another exception type (ie ArgumentException) It's good know it, thanks. Regards. ...Show All

  • Windows Forms Windows.Form.DataGrid And Large Sets Of Data

    Hi there, I guess this is a FAQ-type of question, and I actually seen it asked for a number of times on these forums but nobody was able to answer it so I am giving it another try... I am having a large data set (in a broad sense), and would like to browse it using the mentioned above datagrid. I've implemented IList for my data (which resides in a simple binary file), and trying to use the grid with my implementation of IList. THE PROBLEM: DataGrid is sucking all the data into memory, and the app eventually runs out of memory. (I put a breakpoint in my item[] implementation and yes, it is called as many times as there are items in my list, actually a little more). This is not acceptable for 2 reasons: program runs out of memory, and if ...Show All

  • Internet Explorer Development Default disabling of "Navigate sub-frames across different domains" breaks many sites

    The default disabling of "Navigate sub-frames across different domains" setting is causing numerous web sites to stop functioning. This issue has been discussed most lately at "IE 7 and Frames" by raghava66 on Oct 19, 2006, but the problem was actually reported as early as RC1. Since it is a long established browser default setting, many frameset-based public and intranet sites have grown to rely on the ability for one subframe to navigate the URL of another subframe, e.g. in a tree/list view - reading pane layout. Asking end users to manually change their default security options here is not a viable option. In addition, many new AJAX applications are built to rely on cross-frame cross-domain messaging (not scrip ...Show All

  • .NET Development Problem accessing parts of IHtmlDocument2 via .net interop on Windows XP

    Hi, I've written some code to attempt to get the selected text from an HTML document loaded in a running instance of IE. I need to be able to access the frames collection of the IHTMLDocument2 interface so that I can get text from the documents contained in the frames. Here's what I've got: using SHDocVw; using mshtml; ShellWindows m_IEFoundBrowsers = new ShellWindowsClass(); foreach (InternetExplorer Browser in m_IEFoundBrowsers) { if ((int)win.Window == Browser.HWND) { m_IE = Browser as InternetExplorer; browserExists = true; break; } } if (!browserExists) { return; } IWebBrowser2 doc = m_IE as IWebBrowser2; ...Show All

©2008 Software Development Network