Software Development Network Logo
  • .NET Development
  • Visual C#
  • Visual Studio
  • Visual Basic
  • Architecture
  • Visual J#
  • VS Express Editions
  • Smart Device
  • Windows Live
  • Game Technologies
  • VS Team System
  • Visual FoxPro
  • Windows Forms
  • SQL Server
  • Visual C++

Software Development Network >> Qaiser Mehmood Mughal Islamabad's Q&A profile

Qaiser Mehmood Mughal Islamabad

Member List

vbMikef
Denv
John Justice
usagimys
Noddy
cristms
MrFaith
Christian Gram
Ilia
blanc0
Compugab
Jose M. Ladero
Rajesh Nagpal
Letícia Banffy
MartinZ
chrisgoose
Nexus_019
millercj
Ferry Meidianto
Harin
Only Title

Qaiser Mehmood Mughal Islamabad's Q&A profile

  • Visual Studio Adding code lines to a VS 2005 source code file

    I need to add some code lines to an existing source code file (.cs or .vb) in VS 2005. I'm writing a VSPackage that has to do this. Which is the better way to do this - I add code lines directly in the source file as text - I get the code dom graph and I add the code lines adding instruction statement to it and then serializing it again. - other... Any hints Thanks the code dom lets visual studio worry about language syntax and positioning, but doesn't do a good job of covering things that are different between languages or new in vs '05 (for example - i haven't found a way to use t ...Show All

  • Visual Studio 2008 (Pre-release) Lambdas in Custom Attributes

    I want to pursue the concept of embedding lamdbas in custom attributes. It is not supported today to my knowledge but I believe could be very valuable for DLINQ and more.  public class Customer {   [Association((c, o) => c.CustomerID == o.CustomerID && o.Status == OrderStatus.Incomplete)]   public Order[] IncompleteOrders; } I believe that a syntax such as this would generalize the join conditions that are supported by AssociationAttribute and allow for additional conditions. In that way, queries need not repeat those conditions.  Note that regardless of whether DLINQ adopts this, there is a deeper is ...Show All

  • Visual Studio How to get project properties in partially modeled project system

    Hello, The blog at http://blogs.msdn.com/jim_glass/archive/2005/05/25/421798.aspx  describes how to get project properties using the automation model.  What if the project system does not implement the properties part of the automation model   Is there another way, through VSIP interfaces, that I can access the values of the various properties in the project properties Thanks, Notre I see what you mean. Unfortunately today, the only way to get to those are through the automation model, so in your scenario of a project that doesn't implement this, you would not have access to those. Rusty ...Show All

  • Visual Studio Team System Distributed System template

    Hello, I've just downloaded Visual Studio Team System Beta 2 and started "looking into" the Team System features but was unable to locate the Distributed System Solutions project types when creating a new project.  Where can I find these Thanks, Scott Mead Marking this as the correct answer for now while Jyothi and Scott work on this offline so I can stop getting reminder e-mail every day ...Show All

  • Windows Forms how to disable all other controls on a form, when an event handler is being executed.

    Hi,  I have a windows application. I would like to "suspend" all other controls on a form, while an event handler is being executed. Currently, what happens is say, I hit a button called "save" while it's click event is being handled if the user clicks on any other controls on the form, their event too gets kicked off. How can& ...Show All

  • Smart Device Development M2003SE SQL Data Collection Application

    I'm adding records to an SLQ Mobile database. Thus far I can view the data in a Grid Control and add new entries using the code below (without the 'Clear the fields section). My problem is that when I insert the handlers to clear the TextBox.Text fields and put the cursor back to the first data TextBox (ID) it does not save the record. Ideas, suggestions, clues, pontifications Private Sub btnAddRecord_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAddRecord.Click Try 'Me.Validate()part of MSDN code for Northwind Me .InventoryBindingSource.EndEdit() Me .InventoryT ...Show All

  • Visual Studio Express Editions Bought VB2005 express, loaded CD, but only web developer shows. Where is VB5?

    Bought VB2005 express, loaded CD, but only web developer shows on install. Where is VB5 Not on the other CD's either (the other two are the training video and images). The CD is labeled Visual Basic 2005 Express Edition, but VB is nowhere to be found. What gives Do I have a bad CD Thanks Hi, I think that Microsoft not sale the VB express edition yet because it's a freeware for use for one year. you can download from Microsoft URL: http://msdn.microsoft.com/vstudio/express/vb/default.aspx also you can download the video training kit for free and the Microsoft SQL 2005 Express edition too. Thanx ...Show All

  • Visual FoxPro Importing ODBC tables into VFP 9.0

    I am designing a db for employees for my HR dept.  I want to save time by importing already existing info that lies on our SQL server in a db program called Timberline.  The HR director doesn't like how hard to get around & "ugly" Timberline is, so she wants me to come up with a way to fix this.  My question- can I import tables from Timberline into VFP 9.0 & make a "pretty" form to search for info or display info from Timberline   I don't want mess anything up in Timberline meaning I don't want to change data that lies in it. Any ideas   Thanks!!! With Remote Views; when ...Show All

  • Windows Forms DataGridView IndexOutOfRangeException

    System.IndexOutOfRangeException: Index -1 does not have a value. I get this exception when I try to do this: products.Add(pdi); this .dgvOffer.DataSource = products; products is an ArrayList of Product objects. In my case I have a bit of complexity maybe not the best solution, but the one I thought of first. So here goes. I have an array of ArrayLists and each item in that array holds a list of Products. I then have a combobox to select different items in the arraylist. When that happens I have a variable ArrayList products, which I give the value of the corresponding ArrayList item in the array. And then assign the products to the datasou ...Show All

  • Visual Studio another problem while adding a project from VSS to local

    Hi guys Now Im facing another problem while adding a web-project from VSS to local "The folder D:\Development\DOTNET\eEmployerAdmin cannot be used for the  solution or project you are trying to open because it is already in use to store part of another solution or project" I tried and still trying to solve this problem. Do let me know if any one got solution. Thanks in advance. Cheers Vijay Hi Vijay, From the error message it seems that a project in your solution is controlled and contains files from the eEmployerAdmin folder. 2 projects cannot control the same local folder and be bound to ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Can i use .x files to render spline shape models?

    I have a model in 3ds max using only spline shapes. Can i export it as .x file and render in my application I also want to have control on line thickness of splines. I'm pretty sure you can't store higher-order surfaces in an X file unless you convert it to a triangle-mesh first (which defeats the point really..) Given that you're using 3DSMax, you might want to look into their plug-in SDK and see about writing your own exporter and then reconstruct it (as appropriate) in your D3D application. It's a lot more work, but I think it's probably your best bet hth Jack ...Show All

  • Smart Device Development DirectShow Filter

    I tried to port the sample of DirectShow, AsyncFilter, to Windows Mobile 2005 Pocket PC. I added Strmbase.lib to project library list, but still has some symbols that do not get resolved. AsyncFilter.obj : error LNK2001: unresolved external symbol " public : virtual long __cdecl CBaseFilter::FindPin(wchar_t const *, struct IPin * *)" ( FindPin@CBaseFilter@@UAAJPB_WPAPAUIPin@@@Z ) AsyncReader.obj : error LNK2001: unresolved external symbol " public : virtual long __cdecl CBaseFilter::FindPin(wchar_t const *, struct IPin * *)" ( FindPin@CBaseFilter@@UAAJPB_WPAPAUIPin@@@Z ) AsyncFilter.obj : error LNK2001: unresolved external symbo ...Show All

  • Visual Studio Express Editions win 32 console application

    ok, i know how to make a form run hidden, but is there a way to make a win32 console application run in the background pyrodouthat wrote: ok, i know how to make a form run hidden, but is there a way to make a win32 console application run in the background I'm not sure about "running in the background" but there is a way to hide the console window and only see what the application creates in displayable Windows classes (like Message Boxes). Using the console version of MessageBox that I compiled, here's how I just did that. Put the .exe of the program wherever you want to run it from. It can be some out ...Show All

  • SQL Server INNER JOIN Question

    How do I deny a Innet join(make the inverse) I tried to use <> at the condition but it keeps bringing the equal results... Thanks From what I understand you want to do something like SELECT id, t1.stuff, t2.stuff FROM table1 t1 INNER JOIN table2 t2 on t1.id <> t2.somerelationalid This may help http://msdn2.microsoft.com/en-us/library/ms190014(SQL.90).aspx ...Show All

  • Visual C++ Support/Lifespan of Visual C++

    Does anyone know if Microsoft is planning on dropping support and/or no longer releasing new versions of Visual C++ after the VC2005 version   I have heard nothing regarding this, but the Systems Architecture group at the company I work for is using this as an argument against using Visual C++ for current and future development. Thanks, Chris Microsoft is definitely not about to drop support for Visual C++. The Visual C++ team is currently busily engaged in planning for the work we want to do for the next two versions of Visual C++. You should ask your SA group where they got this informatio ...Show All

©2008 Software Development Network