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

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

AsifHameed1

Member List

stallion_alpa
Zacky
http200
Clive76
Hypnotoad
NozFx
MNDANG
Ibrahim Y
Krista
rohit nagesh
Ultrawhack
walkswan
georgeob
dg2007
Raffaele Rialdi
srlito
Sugan
SanjaDj
Forgon
adb123
Only Title

AsifHameed1's Q&A profile

  • Visual Basic LoadLibrary returns null

    Hello, I have a windows application in VB .NET (VS 2005) that tries to load an unmanaged dll dynamically using LoadLibrary. However the LoadLibrary constantly returns 0. I checked the last error message right after the call to LoadLibrary using Marshal.GetLastWin32Error and it returns 998. It is interesting that when I laod the same dll in VC++ .Net using the LoadLibrary function it returns the correct handle. I appreciate if someone could help me out with this, Thanks in advance STabrik wrote: Hello, I have a windows application in VB .NET (VS 2005) that tries to load an unmanaged dll dynamically using LoadLibrary. However the LoadLibrary constantly returns 0. I checked the last error message right after the ...Show All

  • Visual C++ This application has failed to start because the application configuration is incorrect

    Hi, I am just starting programming using Visual C++ 2005 Express Edition. I have had some limited practice in other languages and older versions of C++, so I have some idea whats going on but not much... Anyway I made a short program which perfroms a bubble sort on an array of numbers which the user enters (I know its nothing to write home about but its a start), it works fine on my PC and when I sent it to a freind who also had VC++ 2005 Express Edition it worked fine for him. However I then sent it to a freind without it (in a fairly poor attempt to persuade him to download it) , and my program didn't work on his PC giving the error: "This application has failed to start because the application configuration is incorrect". I was wo ...Show All

  • Visual Studio 2008 (Pre-release) XBAP not loading dll once published.

    I usinng the latest .Net 3.0 installations with VS 2005 on a xp sp 2 box. The app is being published to a window 2003 server with the .net 3.0 runtime components installed. When i pull the app in the browser, it begins to act like it is going to work and starts to download the files but it fails and gives me this error in the log: Downloading http://myserver/xbox/XBox_1_0_0_0/XBoxClient.dll did not succeed. - The remote server returned an error: (404) Not Found. What is strange is i can navigate to pull up everyother file in XBOX_1_0_0_0 folder but i can't pull up the dll eventhough it is physically there. TIA Brian What would a map .deploy to For testing purposes I configured .dll to the 2.0 aspnet isap ...Show All

  • Windows Forms Using visual inheritance with the UserControl

    Hi there: I have a UserControl where I defined som controls (groupbox and buttons) and I'd like to inherit from this to create other user controls (generic functionality, etc.). I am using C#. I exported my UserControl as a template and now I have it as part of the "Add new item" wizard. However, none of the controls are visible in the designer. Moreover, if I try to assign properties to these controls in my InitializeComponent method (I know, shouldn't do that, I just wanted to try to see if it works) I get an error in the designer saying the control is not defined. Is this even posisble, or should I go try some other approach Thank you, Thanks for the input, it works like that now (sort of). What I have ...Show All

  • Smart Device Development Symbol Barcode Reader

    Hi, When I use the Pocket PC 2003 emulator with my application that uses the Symbol.dll and Symbol.Barcode.dll (version 1.0.5000.7) the following line throws a NullReferenceException. this .MyReader = new Symbol.Barcode. Reader (); The same line (and the application) works fine if I use the version 1.0.5000.3 of the Symbol.dll and Symbol.Barcode.dll. Any ideas I am using VS2005 and CF 2.0 Thanks, -Suri Suri, Why are you using such and old version of the Symbol SDK The version 1.4 SDK for .NET is out and works much better then the previous versions I've used. My dll version is 1.4.1.1. ...Show All

  • Visual Studio Team System Migrating to another server : The IIS application pool user name is invalid.

    I am following the new TFS Admin guide : TFSAdmin-v61101.chm, in order to perform a test restore of our TFS installation onto a vm hosting a TFS installation with another name. i.e. TFSProd -->Move to --> TFSVM The VM is in Workgroup mode, but is a full-blown TFS (i.e. not Work Group edition) I am following the guide document entitled "How to: Restore Team Foundation Server Data" I have restored Sharepoint databases, including STS_Config I am trying to Set the Configuration Database Server in WSS, but get the following error: The IIS application pool user name is invalid In IIS I have STSAdminAppPool and STSAdminAppPool_1 - both are under the Network Service identity. In SQL Server, Network Service is mapped to th ...Show All

  • .NET Development Managing datatable rows

    I have a datatable in my web application and I need to insert a new datarow into this datatable. The row must be added in a specified index and I need to shift all other rows (for example if I need to insert a row in 3th index position then all rows afther the 3th position must be shifted of one place so old 3th row will become the 4th row, old 4th will become 5th etc...). Is there an a method in the framework to do this operation Thank you Mirko I have tried it but the "InsertAt()" method give me an exception if try to save a new row into an index where another row is stored :( I'll try to do the procedure manually with two datatable and a cycle ...Show All

  • Visual Studio Tools for Office How to create shortcut of excelsheet

    Hi, Actually i am working on VSTO (Excel) deployment. I have successfully created setup file for my excel application & its working fine without any error/exception. Now problem is: After installation user dont want to navigate to "ProgramFile\TargetOfTheInstalledFolder" & then search for excelsheet & double click on it to open. User want that, At the time of installation there should be a shortcut of the excelsheet file (not of the folder in which application installed) ctreated at the desktop & by clicking on that shortcut, the excelsheet that installed in the installation folder get open & start working. Please help me so that I can add this feature into my setup file. Thank you ...Show All

  • Visual C# How to trap keyboard? Keydown or Keypress

    I need to get what key has been pressed, but I need 8-bit ascii code, also I need to detect all keyboard keys, like enter, escape, f1-f10, etc. Which do you think is the best way to handle this thanks in advance for your help, Edward I'd suggest looking at the code provided within this CodeProject article . I've used it in a couple of projects myself with great success. ...Show All

  • Software Development for Windows Vista Using Correlation...

    Is it possible to start a workflow with a listen activity, two branches with a handleExternalEvent in each of them. Both events consuming the same interface and event, but responding to different correlation tokens. There is a sample in HOL (05 – Communicating with the Workflow Host Application), where the correlation value property is set through a CallExternalMethod activity in the beginning of each branch. But my question is, Is it possible to set the correlation “subscription” value, without using a callmethod (or eventsink) to do just that. Mikael Although this was not the answer I was hoping for, I am (as many times before) thankful for your help. I was looking at creating my own CorrelationService, but a little too m ...Show All

  • Silverlight (formerly WPF/E) Another text question

    Is it possible to have anchors in text, In SVG we can have <text text-anchor="end" x="341.17" y="443.50"...... Can also have, middle, baseline etc... thx Richard No, we don't have any plans to introduce anchors or right-aligned tab stops for quite a while. What is the scenario where you use them -mark Program Manager Microsoft This post is provided "as-is" ...Show All

  • SQL Server Connectivity to excel from a different domain

    Hi, I would like to know if anybody has successfully connected to Analysis services cube using Excel 2007 over a different domain using the msmdpump I am able to connect it over the intranet, but if I try to connect from any other outside environment it fails to connect . My analysis server and IIS are configured on the same box. Any suggestions most welcome. Thanks JK I have no problem with connecting over HTTP to the server in another domain. For example, DSP Panel runs open server in Internet - I just connected to it from Excel - just put the following in the wizard: http://demo.dspanel.com/olap/msmdpump.dll HTH, Mosha ( http://www.mosha.com/msolap ) ...Show All

  • .NET Development Suggestion: Overload TryParse to accept defaults

    Hello- Most simple types (bool, int, double, etc) support a static TryParse function that will take a string, and a typed variable to try to parse that string into. It would be handy if there was a second overload of this TryParse function in each case that would also take a default value. Here's how it currently looks: bool foo; if (!bool.TryParse("true", out foo)) foo = true; Here's how it could look: bool foo; bool.TryParse("true", out foo, true); Thanks for the consideration, Eric Hey Stephen- Feeling like a stupid user in action here, but I'd actually tried going there first. I couldn't figure out how to get to a point where I can submit th ...Show All

  • SQL Server SQL Server Profiler Cant Dump To Trace Table

    After upgrading SQL 2000 to SQL 2k5 I cannot dump Profiler Results to a table anymore. the trace immediatley fails with the following Error: "Failed To Start A New Trace" so, I run the Trace dumping results to a trace file or just to the UI\grid and later attempt to "Save Output As Trace Table" and receive the following Error: "Failed to save table XXXXXX. Cursor operation Conflict" What Gives Has anyone else seen this issue with SQL2k5 Greg, I searched our defects database and the only related issue was a case when someone tried to save trace to a table that contained '][ ' characters in the name and was on SQL 2000 server. This was due t ...Show All

  • Visual Studio Team System How to add TFS programatically?

    Hi, I want to provide the functionality of adding Team Foundation server (team explorer -> add existing team project - > servers... ->add) programmatically. i.e. when user enters the name of a machine and port (8080 by default), i want to verify if TFS is installed on that machine. If not, I want to show an error. Is there any API for doing this Or any other work around Manasi Do you mean you wish to programmatically connect to a TFS instance or programmatically add a TFS instance to the list that shows up in Visual Studio. If the former then something of the style of: TeamFoundationServerFactory.GetServer(myTFS); or TeamFoundationServer(myTFS new UICredentialsProvider()); ...Show All

©2008 Software Development Network