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

Software Development Network >> Ayman metwally's Q&A profile

Ayman metwally

Member List

Deb Magsam
Paul Dipalm
Amde
Cika
TruePsion
Bob Reinke
mul2006
fscarpa58
cbitting
Michael Vanhoutte
Aamer
sticksnap
Eric Totten
Jon Braganza
Neotec
regthesk8r
Radim Hampel
bk13
Maryam
Dottj
Only Title

Ayman metwally's Q&A profile

  • Visual Studio Team System Creating a folder structure that allows easy merging?

    I have read several blogs and posts here as well but have not been able to get a clear idea of a branching structure to create that will allow merging without any problems (no baseless merging). Here is the sample folder structure that I would use: $/Main/Release $/Main/Release/v1 $/Main/Release/v2 $/Main/QA $/Main/QA/v1 $/Main/QA/v2 $/Main/Src I want to have one codeline per major release in both QA and Release - hence the v1, v2 etc. Dev work would be performed under Main/Src - for ALL releases. Selected builds (labels) would be promoted to QA, and from there to Release. Any bug fixes would be performed on the Release/vXX branch, with the changes being merged back to QA, and Src. This would allow d ...Show All

  • SQL Server Generating and Printing Reports

    I've created a data flow where I have linked to an OLE DB Source then created a Flat File Destination. My file is now on my c: drive. I'd like to use that data to create a report, then print to a PDF. How would I do that Currently I was doing this in Access, but I am moving my processes to SSIS. ifaber wrote: What do you mean by calling the SSRS API I'm using Visual Studio 2005. Shall we start again. What exactly is your VB app going to do ...Show All

  • .NET Development Possible to register a C# program to the R.O.T. for OLE automation?

    Hi all, I was wondering if it was possible to "register" your own created c# program for OLE automation This would be the equivalent of accessing something in Excel via OLE. Like: Dim ExcelApp As Object ExcelApp = System.Runtime.InteropServices.Marshal.GetActiveObject("Excel.Application") Edit: and just to clarify, I understand how the GetActiveObject works (by looking up the object in the Running Object Table). I guess I need to know if it is possible to register a program with the Running Object Table. If it is an access problem you could try the value ROTFLAGS_ALLOWANYCLIENT during registration to allow processes of other users to see your COM object. Without further information it is quite difficu ...Show All

  • Windows Live Developer Forums Getting standard emoticons

    Is it possible to get the collection of standard emoticons ...Show All

  • Visual Studio Express Editions My.Settings file location

    Hi. Is there an easy way to change the location of user config files without having to re-write the entire settings class and provider Reason: I'm the only user of my PC, and I do a lot of small samples that never make it to real life (at least, not on their own.) Usually when I'm done with the test/sample project it's deleted or at least never used again. Then I have several unused user configfiles floating around in the Application Data folders. What I would like was, to be able to save the config files in the bin folder, so if I choose to delete a solution, the config files are deleted as well. I have no need for individual user files. Just one. The Application Settings would be ideal, except that they are read-only. Is ther ...Show All

  • Windows Forms wireless network Problems

    Ok I have an HP laptop that I just did a complete reformat of the hard drive and reinstalled XP. I did all of the security updates and then installed my Office. everything was working great (or so I thought) Now my wireless network is on some kind of drug!!! It goes on and off at will and sometime will even tell me it is "not connected" but it really is connected... We had this problem on another computer with a USB wireless card and the solution was to turn off the "let windows manage my wireless networks" so I thought "HEY, this will work on my laptop!!" Wrong!!! well ok it work for a few hours, but now I am right back to where I was, with my network wireless dropping when even it wants and sometime comi ...Show All

  • Visual Basic how do you load an image from resources?

    I added my background to my resources.resx for the program i am making. I am trying to make that image the background for panel1 by using code but I have been unsucsessful so far. If you add the image to the default resource of the project (with the resource page on the project designer pages). With new VB.My support, it would be very easy to do. The code would looks like: Me.Panel1.BackgroundImage = My.Resources.Image1 Thanks Lifeng Lu MS VB ...Show All

  • Visual Basic To get the remainder of a string AFTER the substring do the following.

    I am confused and or concerned about the difference between the value returned by .length (it counts CHARs) and .INDEXOF I want to parse off the right hand part of a string after the occurance of a substring and was thinking stringname.substring(stringname.length - stringname.indexof(findstring)) Being new to Unicode and 2 chars per character is the above going to get me in trouble INDEXOF returns the position in Unicode characters as I understand it. I suppose this sounds confused but I AM confused by all this Unicode and CHAR mixing in the strings class. Doug W I was more concerned by the action of .length The "caution" in the documentation cautions that it coun ...Show All

  • Visual Basic Call of Duty for a beginner

    Hello, I have a problem here, i don't know how to write a code to launch programs from a tool strip item that was gotten when the form was loaded by a mouse click, the code is: Private Sub form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load For Each filesfound As String In My.Computer.FileSystem.GetFiles("C:\", FileIO.SearchOption.SearchTopLevelOnly, "*.*") Dim fileico As Drawing.Icon = System.Drawing.Icon.ExtractAssociatedIcon(filesfound) Dim fileimage As Bitmap = fileico.ToBitmap() Dim filename As String = IO.Path.GetFileNameWithoutExtension(filesfound) Dim item As ToolStripItem = filestsmi.DropDownItems.Add(filename, fileimage) Next end su ...Show All

  • Gadgets How to add Vritual Earth API in the Live.com Gadget?

    Hi, Is there any way to add Vritual Earth API to Live.com Gadget It seems failure if writing "<script src="http://dev.virtualearth.net/mapcontrol/v4/mapcontrol.js"></script> " in the gadget content. Thanks Hi, The reference of VE API have been solved, but there is still a problem. Gadget seems different from the normal web page. How could I use "new VEMap('elementID')" to load a map in the Gadget Thanks, ...Show All

  • Software Development for Windows Vista SQLTrackingService generates an error

    Hello everybody, I have a problem on my computer with a simple application which use the SQLTrackingService. We are 2 working on the same application. On my collegue's one, it works but not on mine. I spent a long time to search but no more idea. We have exactly the same source. We run application thru debug mode from VS. If I remove persistence, it still does not work. Database is on another machine for the 2 developers. Our services conf: <WorkflowRuntime Name="WorkflowServiceContainer"> <CommonParameters> <add name="ConnectionString" value="Initial Catalog=SWF;Data Source=SRV16;Persist Security Info=True;User ID=swfuser;Password=swfuser;"/> </CommonParameters> <Services> <add type="System.Workflow ...Show All

  • Visual Studio Team System FROZEN rule behaviour

    When the FROZEN rule is applied to a field, it is still possible to select other values, but you can not save them. An error message "The value for field "foo" must be empty or the same as the original value" is displayed. Why is it still allowed to select other values If you do select another value, you will have to look in the history to find the original value before you can save any other modifications. The UI could be smart and not let users change values. But the logic to determine whether to disable selection could be complicated because that rule could change based on transitions and on other field changes and doing that determination ahead of time could get tricky and I believe ...Show All

  • Visual C++ CRichEditView::OnCreate

    I am using MFC single document with base class CRichEditView. I want to display some text on my editor when the editor first opened. I tried this way but the folowing fragment does not set the editor text on start up int CMyView::OnCreate(LPCREATESTRUCT lpCreateStruct) { if (CRichEditView::OnCreate(lpCreateStruct) == -1) return -1; // TODO: Add your specialized creation code here GetRichEditCtrl().SetWindowText("Hello World"); return 0; } what do u think is the problem. is there any function call that will reset windows text after call of OnCreate. Because you are using the doc view architecture the function OnNewDocument or DeleteCOntents might do this. ...Show All

  • Windows Forms Flicker using doublebuffer

    I created a UserControl which contains a Panel. I created an eventhandler for this Panel's Paint event. In this handler I draw a grid for the background and the a line which links to squares the user can move. Every time the squares are moved the panel is invalidated, in order to redraw the link. Repainting gives a lot of flicker. As in other controls I made, I tried to use doublebuffering in both ways, through SetStyle and the DoubleBufferd property. Flicker remains. I also tried to use one transparent panel over the panel with the grid. The grid needs to be painted only once, while the links are often repainted. So I tried to put squares and links in the transparent panel, but the grid panel is still repainted every time the transparent ...Show All

  • Visual Studio Express Editions IOException (disk full) problem

    I using this code to save a file: private void saveToolStripButton_Click(object sender, EventArgs e) { if (saveFileDialog.ShowDialog(this) == DialogResult.OK) { try { // Opens a file and serializes the object into it in XML format. Stream stream = File.Open(saveFileDialog.FileName, FileMode.Create); SoapFormatter formatter = new SoapFormatter(); formatter.Serialize(stream, lev); stream.Close(); } catch (Exception ex) { MessageBox.Show( "Could not write file to disk: " + ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } } } it work ...Show All

©2008 Software Development Network