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

Software Development Network >> MagedSalah's Q&A profile

MagedSalah

Member List

ImagineNation
Wadworth Waxstrong
Rabtok
m.eisenstein
Lorry Craig
weirdbeardmt
Heinz Krug
Jens K. Suessmeyer - MSFT
dlevers
John Woodiwiss
RizwanSharp
Evan Mulawski
clint 2
venp
Darlek
XNA Rockstar
steven_pack
Bapa
Giber
Krenshau75
Only Title

MagedSalah's Q&A profile

  • Visual Studio Express Editions Highlighting text

    How can I find the text within text box and highlight it For example: I write "text highlight" in text box and in other box I write "high" for searching in first box.   Thanks. The following is what you need Dim x As Integer x = Me.RichTextBox1.Find(TextBox1.Text) Me.RichTextBox1.SelectionStart = x Me.RichTextBox1.SelectionLength = TextBox1.Text.Length Me.RichTextBox1.SelectionBackColor = Color.YellowGreen ...Show All

  • Visual Studio When Sharing a folder containing a project, the .vspscc files go crazy, or duplicate

    Following a suggestion from the VSS Help, regarding ways of maintaing to separate code version for a project, eg a released version, and a developement  version, where fixes from a released version would also be merged into the development stream. I shared our main project folder, instead of just branching it, to save space, so that for bug fixes, we would just need to branch specified files. An addition necessary step was to branch the actual project files (.vcproj) along with the associated vspscc files. This seemed to be necessary for visual sudio to be able to work with these projects and use source control. When I tried to branch the vspscc files they seemed to duplicate themselves. E.G. They would continue to to maintain a ...Show All

  • .NET Development exe problem...

    hi.. when i try to run my application on another computer that doesnt have the .net visual studio installed on it, the exe does not run!! knowing that .net frame work 1.1, and 2.0 are installed .. this happened only after i included directX.capture.dll and DShowNet.dll.. dunno if this is related but i get some worning saying that using UCOMIMONIKER is obsolete.. and the exception message is "No device of the category".... it happens here public static void Main(string[] args) { try { Application.Run(new SocketTeacher()); } catch (Exception ex) { MessageBox.Show("line 113\n"+ "\n"+ ex.InnerException + ex.Message + "\n" + ex.Data + "\n"+ ex.S ...Show All

  • Visual C++ /MTd and /clr options are incompatible. Why?

    Ok, here is the long story. I have a nice C++ component which statically links to about 10 libraries as well as links to ATL, C run-time library and MFC. Component is multi-threaded and it actually runs couple of threads inside but everything is nicely wrapped into one DLL which can be called from any .NET program. It was all fine until I tried to migrate this project from VS 2002 to VS 2005. After migration at first I got this message: Building MFC application with /MD (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD I checked settings and saw that migration changed runtime library option to Multi-threaded DLL instead of just Multi threaded. Well, I have no intention of having 10+ DLLs instead o ...Show All

  • Microsoft ISV Community Center Forums How to use pivot data in function?

    Using VBA, I created a pivot table and I want to write a function that uses data from the table. The function I am trying to write calculates what percentage one pivot data entry is of another pivot data entry. So for example if I have a data label "a" and a data label "b", I want to calculate a/b for each row. Do I need to loop through all the rows and extract the entries in each cell from column a and b for use in my function or is there an easier way Thanks, Mike ...Show All

  • Visual Studio Express Editions Using TabPages as MDI - need some help please

    I am working on an application where I want to use a TabControl with multiple TabPages to display multiple documents. My application starts up with TabPage1 having a certain set of controls (a few textboxes, a datagridview & a button). I want to be able to have an event (a button click perhaps) cause a new TabPage to be added to the TabControl & be populated with the same controls, in the same locations, that are on TabPage1 (which were created at design time). I have pretty much figured out how to add the new TabPages, but here's where I get stuck: 1) How do I duplicate the controls that are on TabPage1 to the new TabPages 2) How do I address the controls that will be added to the new TabPages ie. the DGV that is TabPage1 is call ...Show All

  • Windows Forms Creating a databound property for a UserControl

    I'm creating a user control, that needs to be bound to a control already on my form, similarly to the "control to validate" property of a validator control. How can I create a property that will be a drop down list of all the controls currently on the form thanks, smtraber OK, I found the answer to my question, and I'll post it here in case it will help anyone else out. It was actually way easier than I was expecting, because the .net framework did all databinding for me. What I wanted the property to have was a list of all textboxes and richtextboxes on the form. It was as simple as: Private mBoundControl As TextBoxBase <Description( "Sets the Control to bind to" ), _ Category( "Binding& ...Show All

  • Visual Studio Express Editions so gentle

    I would appreciate any help someone could give me. I have searched this forum endlessly trying to find a way to save 60 or so text boxes on form1 to a file and then later read the information back into the same text boxes. It seems like I have tried every bit of sample code that I can find and nothing works. I have 5 books on VBE and VB5. I am a complete novice at this so please be gentle. Thanks in advance for any ideas/help. Glenn See my reply at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1224757&SiteID=1 Change the term 'radiobutton' to 'textbox' and change the term 'checked' to 'text'. ...Show All

  • SQL Server Changes to data not replicated

    I have an application that uses web-based merge replication. My publisher is SQL 2005 and my subscriber is SQL 2005 Express. I control the replication with RMO code. If I make changes to the data in both databases using SQL Server Management Studio Express, my RMO code correctly syncs the two databases. However if I make changes to the data at the subscription through my application, these changes are not picked up by the replication process, even though the changes are present if you check the tables through Management Studio. What would cause these changes to not be recognized Any ideas would be appreciated. Ok so it's pretty clear that the triggers aren't firing for some reason. Would it be p ...Show All

  • Visual Studio SourceSafe automation and branch information

    Using the automation interface (VSS2005), how do I get the information displayed in the 'Paths' tab on the properties dialog for a branched file Programmatically parsing the output from "ss.exe PATHS ..." is unreliable at best. No- for casual readers not familiar with SourceSafe, the PATHS command to ss.exe has nothing to do with directory paths (local drive/spec) or project paths per se. Instead, it returns the tree of branches(not shares) for a particular file. ...Show All

  • SQL Server Error: "The SQL Server Cannot obtain a LOCK resource at this time ..."

    I am wondering if anyone has any clue about the following error the occurred in a process of inserting a very large number of rows: "The SQL Server cannot obtain a LOCK resource at this time. Rerun your statement when there are fewer active users or ask the system administrator to check the SQL Server lock and memeory configuration". It happened to a SQL 2000 PE. Thanks, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Coding4Fun: Beginning Game Development Help

    I am new to programing and I am a little confused with one part of the tutorial  (towards the bottom).  The instructions say: "Since the timer class is contained in a different namespace we are going to add a using statement so we can use the FrameworkTimer without having to write “Microsoft.Samples.DirectX.UtilityToolkit.FrameworkTimer” every time. At the top of the class in the using directives region add the following line of code: Visual C# Microsoft.Samples.DirectX.UtilityToolkit;" I am having trouble with what I put in italics.  I have no idea where to put the code.  Do I put it in the dxmutmisc.cs class ( ), or my actual "GameEngine.cs" class ( ), or is it something that was changed ...Show All

  • Visual C# Turkish Character problem ( Streamwriter )

    Hi everyone..I want to write 'o' , ' ' , 'u' and 'c' characters to a .rtf file.and I want to use StreamWriter for writing and StreamReader for reading..But when i use StreamWriter and send one of the Turkish character, in the .rtf file there becomes a character like "A ".. what must i do_ and i think i must use "iso 8859-9" encoding.. now further i have an extention of this problem and that is i am querying SQL server and Oracle but whenever turkish "i" comes in between any word the query gives an incorrect result. In this senorio what can i do ...Show All

  • Visual Studio Express Editions how to make a big string array

    Hi, I want to want a group of files which have different extensions, such as jpg, gif, bmp,png etc.. I am thinking to create a string array for each extension type, and then combine all these string arrays into one big string array, how can i do that below is the code to generate the arrays, then how can i continue to combine them into one big array Dim theFiles As String() = System.IO.Directory.GetFiles(FolderViewer1.CurrentFolder, "*.jpg") Dim theFiles2 As String() = System.IO.Directory.GetFiles(FolderViewer1.CurrentFolder, "*.gif") Dim theFiles3 As String() = System.IO.Directory.GetFiles(FolderViewer1.CurrentFolder, "*.bmp") Dim theFiles4 As String() = System.IO.Directory.Ge ...Show All

  • SQL Server Execute Access 2003 Macros in SSIS Package

    Hi Does any one know how to execute Macros in SSIS Package. I have an Access 2003 Macro which has to be executed in a SSIS package... I need to pass some runtime parameter also . How to go about it.... Thanks & Regards Deepu M.I Hi Baiscally to execute an Access  Macros in SSIS package we need to Download  Microsoft.Office.Interop.Access DLL from Office XP PIAs.  Download site http://www.microsoft.com/downloads/details.aspx FamilyId=C41BD61E-3060-4F71-A6B4-01FEBA508E52&displaylang=en   1) Extract the Microsoft.Office.Interop.Access DLL from Oxppia.exe   2) Drag and Drop Microsoft.Office.Interop.Access DLL   to Globa ...Show All

©2008 Software Development Network