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

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

AamirKhurshid

Member List

grblev
Edmundas
rxg
sandeep437
iconjunky
Anil Vemu
ITJoeB
igor_22
Andre Furtado
SparkyCH
chakravarthy_b
Andre.Ziegler
Xelestial
ZopoStyle
eldiener
Ted Strom
KateMtl
D W
vijay1
Bartley
Only Title

AamirKhurshid's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Realtime debugging text?

    Hello. All I`d like to do is display crude text somewhere inside the game screen. Can I do this without having to load/use any type of font. The `Print` commands equivelant I suppose It`s just so I can see a variable changing during play. Please excuse this possibly mundane question but I`m fairly new to all this. -Daz. HI, I created a new project and added `Console.Write("Hello")` ( with lots of permutations in different places .). But I`m not getting any text in the output window Could someone confirm that Console.Write() does work when used correctly and I`m just a muppet :/ It`s frustrating me now. -Daz. ...Show All

  • Visual Studio Internet Plugin Trouble

    I've been trying to install the VssWebService on a webserver the last couple of days with no sucess. The strange thing is that I have installed the service on other computers earlier and gotten it to work but this time I'm really stuck. I have followed every step of the guide at http://alinconstantin.homeip.net/webdocs/scc/vss_internet.htm and I feel like I'm almost there in getting it to work. I have gotten as far as being able to browse the SS database from another computer using VS2005 but when I try to bind a website to the browsed catalogue or if I try to open a new website from SourceSafe I get the following error: >Cannot contact the Visual SourceSafe Internet Web Service or cannot contact the specified database. > >The ser ...Show All

  • Visual Studio Express Editions Name of user control

    Why does this return an empty string when used in the same user control class Private CaptionString As String = Me.Name Later in the same class, CaptionString returns an empty string. In VB6 I used the Extender object to retrieve the name of the control, but the code above doesn't work. It will only return an empty string when I really want e.g. Button1, Button2 etc. I've got half an answer. At design-time, the name of the control is accessible through its Site.Name property: Private Sub Button_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint With CaptionLabel .Size = Me.ClientSize If Me.DesignMode AndAlso Caption = "" Then .Text = Me.Site.Nam ...Show All

  • Software Development for Windows Vista How to call webservices in a workflow in an asynchronous way

    Hi, I am doing R&D on the features of Windows Workflow Foundation which we are going to apply for our project after release of WWF. we are using SOA Architecture. So I need to call services based on the rules. I have succeded in doing them practically using Sequential and State Machine Workflow. So, now I want to achieve Asynchronous way of calling webservices. I don't know whether this can be possible with WWF or not. If it is possible, can any body please help me in doing this. Thanks in advance. Hi matt, Thank you for your response and for sending a code sample. I have done the same thing except raising the webservicecompleted Event after completing the WebService as HelloWorldCompleted in your example and you have d ...Show All

  • Visual Studio 2008 (Pre-release) How to modify an endpoint from the client at run time?

    In my build environment, I am automatically creating a web.config file by merging the wcf configuration with our current web.config using svcutil, svcutil.exe *.wsdl *.xsd /out:ServiceClient.cs /config:Web.Config /mergeConfig The problem is that the endpoints in Web.Config contain the default values. I need to change the timeouts and the message size. How can I do this I see two constructors that I think might help, ServiceClient(string endConfigurationName, string remoteAddress) ServiceClient(Binding binding, EndPointAddress remoteAddress) Is there a way for me to load a Binding class from a config file, make some modifications, and pass this to the constructor My alternative solution is to create a build script that ...Show All

  • Visual Studio LocalReport Export graph in Pdf

    I use LocalReport for generate export in Excel et pdf with Framework V2.0.50727. When RDL contain graph ( bar or pie) the size of file ( render) in pdf is 16Mo. In excel is OK ( 41ko) or with no graph in pdf (89 ko)   Parameter DeviceInfo is a empty string.   any idea We're looking at using local reports exported to PDF as a replacement for Crystal Reports (ReportServer is NOT an option, not even the Express version!!), which have to be emailed. Obviously we cannot use this if the PDF is uncompressed. The fact that is is working in the Express Edition implies that it should be relatively easy to incorporate compression in a service pack, rather than waiting for the next release of SSRS. ...Show All

  • Visual Studio Tools for Office Bind the existing listobject without hard coding the Sheet name

    My VSTO application contains more than 100 sheets. In all the sheets there is one list object and a chart bind to it. I can access the list object SetDataBinding as follows. Globals .Sheet2.list1.SetDataBinding(); Is there any way to bind the existing listobject without hard coding the Sheet name. For example: Excel. Worksheet activeSheet = (Excel. Worksheet ) Globals .ThisWorkbook.Sheets[1]; activeSheet.ListObjects[0]. ( here SetDataBinding() is not available! ) It is possible to add listobject dynamically using Control.AddListObject() and that method is returning ListObject instance, for that SetDataBinding() is available. But I need to bind the existing list object. Is ther ...Show All

  • Internet Explorer Development ActiveX Modal Dialogs do not work in IE7

    Our product is suffering some pretty severe problems because of IE7. We've starting getting calls that dialog windows become hidden. We've heard this is a threading issue. We found out that the problem is actually much worse. Modal dialogs don't seem to function correctly in IE7. You can recreate the problem using VB6 by doing this: 1. Create an ActiveX UserControl project. 2. Add a form to the project (form1) 2. Put a button on the user control (usercontrol1). 3. Add this code to usercontrol1. Private Sub Command1_Click() Dim objForm As Form1 Set objForm = New Form1 Call objForm.Show(vbModal) End Sub 4. Build the project as an OCX somewhere on your hard drive. 5. Find your control's CLSID in regedit. I ...Show All

  • Visual C# Visual Studio 2005 Professional crashes Vista Ultimate

    A couple of weeks ago I did an in-place upgrade of Vista Business to Vista Ultimate and ever since I've been experiencing blue screen crashes of my entire machine. Lately I've been looking at the memory.dmp file Windows generates and Windbg implicates Visual Studio a lot. It actually indicates a hardware problem but I never had problems with my machine while I was using Vista Business so I think reports of a hardware failure may not be correct. In any case, Visual Studio crashes a lot (just the program, not my machine) so I tend to think it's Visual Studio crashing my machine. Any known issues with Visual Studio and Vista Ultimate Just to note I am using Service Pack 1 and the Visual Studio Vista upgrade beta. ...Show All

  • Software Development for Windows Vista Statemashine workflow - handleExternalEventActivity

    is that the  HandleExternalEventActivity must have to handle a different event in a Statemashine workflow why Can't  they  hand the same event  like "approval"  it is impossible to define a lot of events. You will need to change you approve event to the generic name of the new event i.e. ReviewSubmit in my case. And then have the following... /// <summary> /// Raised when an existing workflow item has been reviewed /// </summary> public event EventHandler <FNB.Common.Interfaces. WorkflowReviewedEventArgs > WorkItemReviewed; /// <summary> /// This will raise the workflow item reviewed event /// </summary> publ ...Show All

  • Visual C++ Problem of ActiveX

    When I am trying to call an ActiveX's method in my MFC application, it displays a dialog on the top of my application properly. But before it ends, the OS displays a dialog, which says "Another application is running, switch to ...". If I try to switch to others, everything is OK, my application continues to run. Could you tell me how I can avoid displaying the annoying dialog Why Thanks in advance. Thanks in a million! Could you tell me how I can disable the application (main window) during it invokes the ActiveX's method ...Show All

  • Windows Forms Dynamic Filling of TextBox AutoComplete not working

    Hi guys,   i would like to fill the textbox autocomplete stringcollection "on the fly" while typing. i don't want to fill the collection while initializing, 'cause it's too much data: the sql server-table has about 100.000+ rows. the filling takes too much time and the "autocomplete-popup-find-something-box" itself is getting too slow, too. my configuration: .NET-Framework: 2.0.50727, System.Windows.Forms.TextBox TextBox-Properties: AutoCompleteSource: CustomSource; AutoCompleteMode: Suggest i tried several different things... 1. i did put this code in the “TextChanged”-event, but i think it's 'too late' there: private void textTiteUltTest_TextChanged( object sender, EventArgs e) {     ...Show All

  • SQL Server EnterpriseLibrary Multi Owner Stored Procs DeriveParameters Failure

    Hi I am having diffuculty with multi owner stored procs with enterprise library deriveparameters. Eg: Create proc dbo.test @p1 int as select 'hi' create proc bob.test @p1 int as select 'hi' Deriveparameters appears to tell us the wrong number of parameters. I gather it is getting ALL the parameters for all procs called 'test' regardless of the owner. If anyone can give me some guidance on this I would appreciate it! Rich Ok, thanks for getting back to me. I fully agree that specifying owner is best practice, and this has only cropped up since I (as DBA) implemented a change to force all developers work on their own schema. The way this should work as I understand it ...Show All

  • .NET Development Calling Web service

    Hi, Iam learning Web sevices.So idon't know these simple things. I created a web service.And iam using Visual C# Express Edition.In the Client application I added the web reference to the service i created.It generates the Reference.map,service.disco,service.wsdl. When we click on ADD WEB REFERENCE button one proxy class is generated.I think in that proxy class we have namespace and class name and methods .Using that namespace and classname we call out web service in the client. But in C# Express Edition How to see the proxy class contents. Please help me. Thanks in advance. On the solutions explorer highlight the project that is consuming the web service. There is a button (Show all files) which will toggle the hidden files; it is f ...Show All

  • Commerce Server Basic things about the Pipelines?

    Hi I have an basic doubt in the pipeline function. i have created an basket with one order form and some LineItems in it . after that if i executed an Basket.pcf pipelines means, what the next action in my application actually what - the basket.pcf done in my applicaton.. what are all the things to be changed by the pipeline in my application (in database level as well as catalog level) after then how can i ensure that , this change's are all done by that basket pipleine .. in details like wise what are all the other pipeline functions in commerce server 2007..It will be very help for all the new pipeline developers.... Praba, Check out the following: Commerce Server Pipelines in a Nutshell Everything y ...Show All

©2008 Software Development Network