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

Software Development Network >> Hossam Abdel Wahab's Q&A profile

Hossam Abdel Wahab

Member List

TRTwiggy
Henny
Ofir Epstein
llebron
PsYcHoToE
Acanthus
Corres
alamandra - MCP
Jarod.Net
Kapalic
Brian Kramer
ewitkows
TarPista
Maclau
search and deploy
Tom Janssen
E.Geg
DanDMan
Roof Top Pew Wee
DVen
Only Title

Hossam Abdel Wahab's Q&A profile

  • Visual Studio Tools for Office ThisApplication_Startup not being called - ie. plugin not loading

      I have written an outlook plugin using VSTO. The plugin loads fine and works great if the user clicks on the outlook icon. On the other hand, if outlook is started via automation and then outlook is opened, the plugin does not load. These cases are described below. When the user signs on to windows xp with activesync set to run on startup. ActiveSync syncs with outlook by starting it through, AFAIK, automation. Now when the user opens Outlook by clicking on the outlook icon,  the plugin is not loaded. Another example is when the user has Outlook closed and they click on an oft file on their desktop, and then open Outlook, the plugin is not loaded. Please advise. Thanks. ...Show All

  • Visual Studio Express Editions Simple Question

    I've found another simple problem..I can't seem to make an equality to a null field. In some languages I think you can use 'value' = " " or 'value' = null but neither of these seem to work. It does give a help that says use system.nulldb but that doesnt seem to work either. I'm sure it's easy but I cant find it. Could someone help Thanks. Eric Some of these things use '=VBNull' and some use 'if X is nothing then'. <> "" works is some places. 'Isnot' is a good keyword to know also. (As opposed to the old 'is not') ...Show All

  • Visual Studio 2008 (Pre-release) Questions about Multimedia and WPF

    1. Does WPF support all video formats and container types supported by DirectShow if the necessary codec decoders and format parsers are installed 2. Do you plan to have any extensible audio-video codec framework for the next version of WPF, similar to the WIC (Windows imaging component) in the current version of WPF 3. Can bitmap effects applied to videos as well 4. Can DirectX audio effects be used in WPF apps You know I've been intending to clean up/extend this FAQ, but have been busy with other things. I think I can answer some of your questions, but let's pull this into a separate thread. ...Show All

  • Visual Studio 2008 (Pre-release) License to deploy June CTP WCF in a server

    Hi Is there necessary to request a special license to deploy June CTP in a producction server Thanks in advance Javier Hello Javier, I am afraid that we have not provided a Go-Live agreement for the June CTP release and do not recommend using the release in a production environment. If you need to deploy your release into production, use the Beta 2 release (after signing the supplemental use agreement), or wait until the next production quality preview release of the .NET Framework 3.0 that will ship with the next major Windows Vista project release. Thanks, - Craig McLuckie ...Show All

  • SQL Server SQL Server Mobile vs SQL Server Everywhere

    So what's the difference between the two There are a number of serious challenges to using SQL Express as a smart client database: 1. Deployment - ClickOnce deployment is the preferred deployment mechanism for Smart Clients. While you can certainly ClickOnce deploy a SQL Express database, the user who is receiving the deployment must be an admin on their machine for the install to work. Next, the surface area of SQL Express comes completely locked down by default, so you can't actually connect to the database engine without modifying the surface area config to enable a protocol the engine understands. Finally, the replication components of SQL Express (if you plan to synchronize data between SQL Express and a server) are a separat ...Show All

  • Visual Studio 2008 (Pre-release) Popup

    Hi, How do you make a PopUp follow the form when the form is dragged Thank you, Jaco if you have a handle on the control and a handle on the grid, you can use TranslatePoint. e.g., Point pt = ctl.TranslatePoint( new Point(0,0), grid ); will give you the upper-left corner of the control relative to the upper-left corner of the grid. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. this.IsMouseVisible = true;

    Is there anyway to change what *.cur is used I didn't see anything but I may be over looking it. I also tried making a GameComponent, using a sprite as the mouse cursor and this allows me to change the texture when needed. I ran into a problem with this also. When the mouse leaves the GameWindow the Texture stays there and it appears to have two cursors on the screen. You could set rules that if mouse > screenWidth don't draw but if you move the mouse with anytype of speed it never updates. To work around that I set: Mouse .IsCaptured = true ; Which works great. Till the GameWindow loses Focus. Once the Focus is lost the cursor does not act the same. IE: Prior to losing focus, cursor will go UNDER the top blue windowbar (where ...Show All

  • .NET Development How to judge if an .Net object is static?

    I only have the refrence to that .Net object Thanks.   There are limitations to what information you can get. If for example you are looking at a string reference then you will only get the static declared state for system.string. However, if you are reviewing a class or method then the picture changes. Review - System.Reflection.TypeDelegator ...Show All

  • Visual Studio Express Editions Need help reading a file

    I need a way to read the contents of a binary file up to a certain string of characters & then read x number of characters after that. Could someone kindly show me how Thanks... But I need a way to check the characters as they're being read in. The character string that I'm seeking could be anywhere in the file, not just at the 100th byte. So how do I accomplish that ...Show All

  • .NET Development HttpWebrequest Post

    Hello Im trying to upload a file to a https address using the getRequestStream method of the httpWebRequest class. The code appears to work fine and no exceptions are thrown, but the file does not appear to have uploaded to the server. The stream is working as it should. The server requires authentification via a public key, which i have and is installed. I have used the CreateFromCertFile method of the X509Certificate to add the certificate to the WebRequests client certificates. I belive this method extracts the public key from the certificate If I try and call the GetResponse method, an exception is thrown - The remote server returned an error : (401) Unauthorized. The URL is something like https://somesite.com:500/test/tes ...Show All

  • Visual Studio 2008 (Pre-release) Missing XML Declaration in HTTP/SOAP requests

    When using the basicHttp binding I am getting errors from web services because my WCF client is not sending the request beginning with an XML declaration '< xml version="1.0" encoding="UTF-8" >'. Is there any way to enable this Thanks. BasicHttpBinding requests add the encoding declaration as part of the Content-Type of the HTTP messages (e.g.: Content-Type: text/xml; charset=utf-8). The SOAP binding profile 1.0 (which is implemented by the BasicHttpBinding), specifies that it's the HTTP Content-Type header that indicates the encoding, not the XML document itself ( http://www.ws-i.org/Profiles/SimpleSoapBindingProfile-1.0-2004-08-24.html#Character_Encodings ), so WCF does not add ...Show All

  • .NET Development Get the LastModified date of the application

    Is there any way to programmatically determine when the running exe was last modified In fact I'm using this:- System.Reflection.Assembly.GetExecutingAssembly().GetName(). Version.ToString(); Works pretty well. ...Show All

  • Visual Studio VSS deploy causes client sessions on web server to terminate

    Each time I do a Web-->Deploy from Sourcesafe to the web server running the application, all application client sessions on the web server are stopped. Is there are way to Deploy without stopping active sessions on the server VSS just copying the files to the location you specify. Perhaps when you overwrite some binaries or a file that running web app needs, IIS restarts this web app.   Does it happen all the time (even if only one .htm file is changed) ...Show All

  • Visual Studio Tools for Office Excel: Smart Tag icon not visible in worksheet copies

    Hi everybody,(I'm using VSTO 2005) In a very simple Workbook test project containing a SmartTag wich inherits Excel.SmartTag and overrides Recognize, everything works perfectly as far as I type my text in the 3 default sheets. As I copy an empty worksheet (i.e. sheet3) and try to type the same recognizable text in the newly added worksheet (i.e. sheet3(2)) : 1. The smart tag still always recognize correctly every cell (I put a breakpoint on the line where I perform the PersistTag method in the Recognize override). 2. On the newly created worksheet the smarttag icon (and relative arrow and menu) doesn't appear anymore 3. On the original worksheets (1,2 and 3) the icon remains visible only associated to text previously typed but as I type ...Show All

  • .NET Development Call a Web Service from Client VBScript

    Hello!, I have a requirement to call a ASP.net Web Service from vbscript. The Web Service returns a string array . How do I call it in vbscript and use the array that the Web Srevice returned. I found code to consume XML returned by Web Services, but could not find anything on what I need. Please help. Thanks! Hi John, Thanks for ur timely help... I have deployed my webservice and now the code is working fine. Dim oXMLDoc, oXMLHTTP Sub btnApproveLeave_Click Set oXMLHTTP = CreateObject("MSXML2.XMLHTTP.3.0") Set oXMLDoc = CreateObject("MSXML2.DOMDocument") Msgbox("Calling WebService To Approve Leave") oXMLHTTP.onreadystatechange = getRef ...Show All

©2008 Software Development Network