Premal Mistry's Q&A profile
Software Development for Windows Vista Vista download
I signed up fro beta testing but can someone let me know where to get the beta or the file name I need to download robc180 wrote: I signed up fro beta testing but can someone let me know where to get the beta or the file name I need to download ...Show All
Visual C++ create C++ DLL to be used by C# ?
I want to write a native C++ function that I can later access from C#. Please keep in mind I do not have much experience developing on windows, (mostly unix) and that my only windows compiler is VS2005. I tried creating a MFC DLL. I am able to access this from a C++ .net program, but not from a C# program using P/Invoke. It seems that a plain MFC DLL is not "good enough" for use with DllImport. Is this correct It seems that I h ...Show All
SQL Server Cannot connect to SQL Server 2005 April CTP from remote computer
Hi, I am trying to connect to a SQL Server on a Windows2003 w/sp1 Server from a remote computer but always seem to get the infamous "Access is denied or Server Does Not Exist" error. However, if I try to connect from the machine that is running the server, there is no problem. (Used sql account, server=mixed authentication) The windows 2003 Server is a single server installation with .Net 2005 Beta 2 Team Suite, Team Foundation Server and ...Show All
Smart Device Development Can no longer add reference to CF 2.0 assembly in windows forms application
Hi everyone I had solution that contained many projects which was written in visual studio 2005 beta 2, the solution contained both smart device projects (windows forms and class libraries) and projects that targeted the full framework as well (windows forms and class libraries). Some of my full framework projects contained references to my .net CF 2.0 class libraries as I wanted to share the libraries between both platforms. This ...Show All
Visual Studio Team System Code Analysis Check-in Policy Fails after a clean build
Question: Why does the Policy Warnings tab of my Pending Changes window contain a Code Analysis error message for a project that has just been rebuilt without error or warning Background: I have a Team project that contains one Visual Studio Solution with four Visual Studio Projects. I have enabled Code Analysis for all projects with just one rule enabled (CA1000). I have also set a checkin policy for the Team Project to in ...Show All
Visual Basic Replacing the shown name of items in a FileListBox
I'm creating a small video player. I inserted the wmp.dll control, created a FileListBox to select the file I want to play, and then a button to play the selected file. Here's what I have so far, and it's working fine: Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load FileListBox1.Path = "D:\My Videos" End Sub Private Sub Button1_Click( ByVal se ...Show All
Visual Studio 2008 (Pre-release) database support
Hi! Will LINQ support database providers other than sql server Actually, I didn't ask -- someone else did. But I *was* wondering when a Mono-affiliated project was going to be doing something with this, aside from the XLinq classes that were whipped up during PDC. ...Show All
Visual FoxPro Changing Report Label Text At runtime using ReportListeners
Hi, I want to change the Text of the Labels in the Report using Report Listener. My exact scenario is like this. The application which i am working is a international product and used in various languages, i want to change the report Text, Label and Static Text to the Corresponding Language selected in the application. Is there any way using ReportListener we can dynamically change the static content in the Report especially Labels and ...Show All
SQL Server Row Number Tranformation
I have looked to no avail... Anybody see a dynamic way to set the seed in the Row Number Transformation I do not see any expressions property and the only property that takes a variable is the FINAL number... I would have though that a very common use would be to get the maximum IDENTITY from a table and use that value (after adding one) as the starting number for the rows being imported... See if this help ...Show All
Visual C++ How to read the last line of a file in Managed C++
Hi, well this is a very stupid question but I can't find the efficient way. I need to read the last line of a very very large file. So, I don't want to open it and loop through all the lines but I need another way. Help, please, anyone can post a code snippet Try to use: FileStream::Seek( Offset, SeekOrigin::End ) FileStream^ fs = gcnew FileStream( "path", FileMode::Open ); fs->Seek( -4, SeekOri ...Show All
.NET Development can we use stored procedurem to return several results (accessing SQL server)
Can I use sqlDatareader with a stored procedure to return more than one reultset that I ll be accessing through MyDatareader.MoveNext Any Little example on both the stored proc and the .Net side Thanks Stored Procedure: CREATE PROCEDURE DISPLAYDETAILS AS SELECT * FROM EMPLOYEES SELECT * FROM CUSTOMERS VB.net code Dim con As New SqlConnection Dim da As SqlDataAdapter Dim com As SqlCommand Dim dr ...Show All
Windows Forms using FolderBrowser code works in 2000 but not in XP
Selected Path is not being returned. This is an older application using 1.0 lib Public Class getFavClass Inherits System.Windows.Forms.Design.FolderNameEditor Private PathString As String 'avoid public variables. Do this with properties Private&n ...Show All
Visual Studio 2008 (Pre-release) Why Sum over Nullable return Nullable in same time as Min over real values throw exceptions for empty collections ?
This is two related questions: a) Why Sum over int return nullable int not a regular In this example int a = null ; int b = 1; var check = a+b; // Result in null int [] numbers = { a, b}; var numSum = numbers.Sum(); // Result in 1 Value of numSum is 1 - but value of check is null. What is a reason to return nullable int in case if null-value never expected b) ...Show All
Audio and Video Development Advanced subtitle
Is it possible to add advanced subtitle in existing pre-recorded HD DVD Thanks. 4.6.1 Alternate subtitle stream An alternate subtitle stream which has been previously downloaded and cached on the user’s home network is listed on the subtitle menu along with all of the on-disc subtitle streams. When selected the alternate subtitle stream is synchronized to the feature film. The user can toggle between the cached subtitle stream and th ...Show All
Windows Forms Problems serializing a collection out of Windows form Collection Editor
Hello All, A. I have a class named Plural2SingularItem B. I have a class named Plural2SingularItemCollection which inherits CollectionBase. C. In a custom control, I have a property of Type Plural2SingularItemCollection I set everything up the way I did so that I would be able to use the default ObjectEditor in design view. Everything works as I would expect EXCEPT that nothing is Persisted when I click the OK button in the Editor. ...Show All
