Arshvinder Bhatia's Q&A profile
.NET Development array redim and redim preserve
Greetings All, The following is the vb.net code i need equilant C# code. can anybody pls help me to complete the following Dim vaResultSet If Not IsArray(vaResultSet) Then ReDim vaResultSet(0) Else ReDim Preserve vaResultSet(UBound(vaResultSet) + 1) End If Thanks in advance sai Sadly, Microsoft were forced to preserve a lot of VB6 *** in VB.NET. Read this link: ...Show All
System Center does DmDiag utility has the version?
Does the Dmdiag has version If so how to get the version. Does it has any relation or dependancy on msi.dll. Hi vid - as far as I know DmDiag is a disk diagnostic tool shipped with Windows Server 2000 and 2003. I suggest you ask your question over on the Windows Server newsgroups. ...Show All
.NET Development COM vs Component
Hi, I am looking at developing a component within .Net which can be distributed to non-Microsoft (Java, C, Delphi) design environments. Traditionally, this would be performed through distributing the code as a COM. According to Microsoft's website, it is suggested support for COM is being phased out, and all future development work should be done as a component. Since components appear to be incompatible with non-Microsoft design environme ...Show All
SQL Server Reporting Services on the Web
Hi there We use Reporting Services within our organisation to display real time reports on our business, we access this by typing the URL to our server, We want to make Report manager visable over the web, how can this be done thanks Tim http://ServerName/Reports this will open report manager in IE. If you want to open this from remote location then you have to add remote machine ...Show All
Visual Studio Express Editions Send E-mail in VWD Express
How do I send e-mail in Visual Web Developer Express please help me. thanks. You can use the System.Web.Mail.MailMessage class to do this. VB Dim message As New MailMessage( "orders@msft.com" , "to@msft.com" , "Order Confirmation" , "Your order is confirmed" ) Dim emailClient As New SmtpClient( "smtp.msft.com" ) emailClient.Send(message) C# System.Net.Mail. Mai ...Show All
Windows Forms Comparing strings
Hi I have a class that loads up stuff from a database Basically if i want all the items from a column called "Categories" from the database I can type this For Each objCategory In myManager.MediaCategories ...Show All
Visual C# How to increment the date?
May i know how to increment the date in an easy way For example, date a = 11/26/2005, after 4 months, the date will be 3/26/2006(mm/dd/yyyy) Look up the DateTime type in the help to see all the options for adding time. DateTime a = new DateTime (2005, 11, 26); a.AddMonths(4); To display it, use string s = a.ToShortDateString(); ...Show All
Visual Studio Team System Mismatch in Installation guide for Beta3 for SQL server and set up of SQL server Sept CTP for Servers
Hi there, I'm trying to install TFS server using Beta3 instalation guide. In How To:Install Microsoft SQL Server 2005 for Team Foundation Server (single server setup) it says on 7th step 7. On the Components to Install page, select SQL Server Database services,Analysis Services and Reporting Services and then click next. But when I am trying to install using en_SQL2005_WKGP_Servers_Sept2005.iso file downloaded from MSDN ...Show All
SQL Server Update errors on a SmallDateTime field
I am trying to update a table and the DateInactive smalldatetime field is causing errors. Here are the statements and errors. UPDATE Categories SET DateInactive = '7/31/2005 15:32', AdminInactivating = 36 WHERE CategoryId = 15 causes ODBC Error Code = 37000 (Syntax error or access violation) [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '7'. UPDATE Categories SET DateInactive = '7/31/2005', Admi ...Show All
Visual Basic Purchase Order Number Generator
I'm designing the forms for our business, and am currently working on a Purchase Order form. The aim is to create a form that, when opened, creates a new PO number that runs in sequence. IE: I open it one time and I have GH-0001, but next time it's opened, we have GH-0002. I'd like to avoid anything based on date and time because those make for very long PO Numbers, and slightly weird. Any suggestions or redirections are welcome. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. some code
Windows Forms link + output
I have created a snk file with VS prompt Command sn -k netTest.snk in AssemblyInfo.vb : <Assembly: AssemblyKeyFileAttribute("netTest.snk")> I'm using vb net and SDK says : Visual Basic .NET looks for the key file in the directory containing the  ...Show All
Smart Device Development Using POOM in Visual Studio 2005 for PPC 2003 Projects
Hi guys, I'm using Visual Studio 2005 to write an PPC 2003 application. Now my major problem is to create tasks and items in the calendar. Are there any tutorials about doing this in an easy way I did not find an easy to use solution using google. Thanks to you all!! Ralph This library works like the WM5.0 libraries but also supports WM2003 devices:- http://www.inthehand.com/WindowsMobile.aspx Peter ...Show All
Visual C++ Running an .exe file compiled in VC++ 2005 on a different computer
Hello, I've got a question regarding how to run a program compiled using VC++ 2005 on a different computer. Although I have seen the thread by suda5181 and the answer by RonaldLaeremans (http://forums.microsoft.com/msdn/ShowPost.aspx PostID=23371), I can't find the redistribution pack for the current Visual C++. I have found a page with the Redistribution pack for Visual C++ 6.0 (http://msdn.microsoft.com/library/default.asp url=/library/en- ...Show All
Visual Studio Team System DeleteTeamProject.exe ?
Need to blow away a project but this exe seems to be missing in B3 From Bruce T: D:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\TFSDeleteProject.exe ...Show All
