ahsankhan's Q&A profile
Visual Basic Accessing List items
Got on of these Lists on the go, it goes a bit like this: Structure Player Dim etc etc etc End Structure Dim lstPlayers as List (of Player) Now that's working fine, and I can access them using a For... Each statement. BUT... When I have one (Say, for example For Each tmpPlayer In lstPlayers) I can access all the properties of each player, but cannot change them. Is there any way around this It may make things clearer if I say that I'm using ...Show All
.NET Development How to programmatically release logical port ?
Hi All I am developing an application host (Remoting listener) from C# v1.1 for windows clients. I am using logical port ( say 9000 ) for my server to listen for the client’s request, I need to release/close the logical port when ever I restart my listener, so, how can I programatically release/close any logical port used by my application Thanks! Regards, Karthikeyan ...Show All
Windows Forms Cannot add the appupdater component, somebody helps
Hi everyone! I just downloaded the appupdater component (dotnetupdater.zip right here from this windowsforms site) and I want to use it, but when I try to add it to the .NET Frameworks Components list so I can use it I get this error messa ...Show All
Visual Basic How to write QUOTES to a text file?
Hello! I am attemping to write a text file utilizing My .Computer.FileSystem.WriteAllText( In Visual Basic 2005. However when I try to write a line like: varname = "value" With the quotes my string breaks up and creates a new instance. I happen to be attempting to write a VBS page for a website that needs to generate from a VB program, thus the " " are not optional. Anyone happen to know how to make writeall ...Show All
Windows Search Technologies Outlook 2000 crashes on exit with WDS installed
I ran into 2 problems with WDS version 2.06.0000.2083. I have just installed WDS for the first time on XP SP2. I don't have MSN Search Toolbar installed. My Outlook setup doesn't use Exchange and just connects to my ISP to retrieve email. The problem I have is that Outlook crashes on exit. I can post memory dump if necessary. Additionally, if I let WDS finish indexing while Outlook is up, WDS doesn't ever find anything in the email message ...Show All
Visual Basic How to Raise and handle events in same class?
How can we raise and handle events in the same class.This is the code I tired and got JIT debugging error. Public Class Form1 Inherits System.Windows.Forms.Form Public Event msgdone() Public WithEvents h As New Form1() Public Sub dgdone() RaiseEvent msgdone() End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click dgdone() End Sub Public Sub dd_handler() H ...Show All
Visual Studio VS 2003 Enterprise developer hangs during re-installation
Hello All, I am facing a weired instalation/un-installation problem with VS 2003 Enterprise developer version on Windows MC 2005. When I first installed VS 2003 on my dell lattop, installation went perfectly fine. I have used the VS 2003 for couple weeks. Suddenly debugging feature stopped working. One of the visual team developer asked to submit mini dump and repair VS 2003 to fix the problem. I created a mini dump and submitted the bug. ...Show All
Visual Studio Team System Running UnitTest from command prompt
How to run the UnitTests from the command line. I have a UnitTest project that works wonderful from the Studio using the TestManager. I want to run it from the commandline as a part of my nightly build Thanks in advance You can use mstest.exe (Available from any 'Visual Studio 2005 Command prompt), or using the TFS Team Build functionality if you are using TFS. ...Show All
SQL Server SQL Server Import Copy or Query
Hi All, I have an issues with running the above. I am trying to import tables from an Oracle Database and want to use this wizard. The problem is that when I use the wizard it is not letting me select the "Copy data from one or more tables or views" it is not selectable, it's greyd out. It will only let me select "Write a query to specify the data to transfer". Or if someone can provide me with basic a script that will ...Show All
SQL Server Text in to Datetime Question
Using SQL 2000 I have created a DTS Packages to import data from our back office database, which uses DBF files. This works great, however the way in which the dates are stored in the DBFs are as follows: - 4th May 2006 = 05/04/A6 (The A was a desperate bid by the developers to get by the Y2K issues) Now the data is in SQL, I have created a view for each table, which re-orders the date data so it is displaye ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Ack! 3D Studio Max sticker shock!
Autodesk's 3D Studio Max is a whopping $3500! There has got to be a better (cheaper) way! Anybody know one You could also try silo for $109. http://www.nevercenter.com/ ...Show All
Visual C++ How to use Microsoft Active Accessibility ?
Dear Sir, I want to get the handle of Textbox present in the web page. I came to know that it can be accessed using Microsoft Active Accessibility. I want to know that, Microsoft Active Accessibility programs can be written in C language. If possible please give me web Address. I am using NT 4.0 it is possible to write the Microsoft Active Accessiblity or what platform i have to write the programs. Please let me know any other inf ...Show All
Windows Forms Master-Details using Listboxes
Hi, I am using Windows Forms, not Web Forms. My desire is to set up a Master-Details interface using 3 Listboxes. I have three Listboxes (not DataList and not DataGrid): 1) Listbox_A 2) Listbox_B 3) Listbox_C Listbox_A is the master of Listbox_B Listbox_B is the master ...Show All
Visual Studio Express Editions How to create a playlist?
Hello.I have a question How I can create a playlist or a list with file in my application thanks... At the very least you could just go with a flat text file that is a list of the files... or you could implement your playlist as an m3u which is a standard for audio playlists. What more are you looking for ...Show All
Visual C# How can I get special system directory?
How can I get special system directory I want to know special system directory such as c:\Windows c:\windows\system32 ... what do I do I see the following code from a sample openFileDialog1.InitialDirectory="%SystemRoot%"; // it work well openFileDialog1.ShowDialog(); I think the code should be the below: openFileDialog1.InitialDirectory=Environment.ExpandEnvironmentVariables("%SystemRoot%"); openFileDialog1.ShowDialog(); Why does ...Show All
