Mohit Saini's Q&A profile
Visual Basic Adding a resource
I am in my first hours of .Net programming. I want to add a resource to play a wave file from my VB.Net app. I can't find in help how to add the resource. in your senerio...you need to package the perl executable in the project distribution...in opther words when you install your app to a remote computer..make sure you distribute the perl exe also and place it in the app path... proc.StartInfo.FileName = ...Show All
Visual Basic problem with arraylist Is this a bug?
Hi all is the following a bug or something i misunderstood PopulateList1 the array list will take on the last value updated PopulateList2 worked but is this the correct way Note the location of " Dim TempData As New Data" with the two sub please advice Public Class Form1 Private ArrayList1 As New ArrayList() Private Sub Button1_Click( ByVal sender As Syste ...Show All
Windows Forms .net Control inheritance forum, club.. website anywhere?
I'm looking for somewhere to trade inherited control code and ideas for any of the .net apps. I've done some nice things with it, right now I'm actually wondering about inheriting from the image control and to override the ImageUrl property or add a property to use actual bitmap reference instead of a link. This goes so that I could use images stored in the Global_Resorces folder under a resources.resx file. Any info about a website, club, foru ...Show All
SQL Server Unable to connect to Developer Edition
I am having difficulties connecting to a named-instance of SQL2K5 Developer Edition running along side a default instance of SQL2K, from another machine. - workgroup member, non-domain - running on XP - domain clients trying to connect: Win2003 Server/SQL2005Ent machine, XP with SQL2K and SQK2K5 client utilities I haven't been able to find documentation on limitations of Dev Edition that could cause this problem. Any ideas ...Show All
Game Technologies: DirectX, XNA, XACT, etc. October 2005 DirectX SDK is available!
The DirectXR Team is pleased to announce the release of the DirectX 9.0 SDK October 2005 Update! The October Update includes the first public release of the XInput SDK. This SDK will allow game developers to fully support Xbox 360 Controller for Windows. To download or learn more about this release please visit http://msdn.com/directx/sdk . Features added in the October 2005 DirectX SDK update - XInput XInput is an API that ...Show All
.NET Development Handling Special characters in Indexing service
There are certain documents in the Indexing server that have special characters like ' and - in the document title (Document properties -> Title). On querying for these documents, these values are corrupted in the title example - is converted to ... How can this be fixed to get the correct results use contains in the query @Doctitle contains 'xyz' i think the following link explains http://ncru ...Show All
Game Technologies: DirectX, XNA, XACT, etc. capture audio
Hi! REALLY sorry to post this here but didnt know where else! is there a way to capture audio from the sound card I am trying to use directX but the sample I have seen is hard to understand unfortuantly :( How do I capture audio either using DirectX or some other method I want to capture it to a normal wav file Thanks! :-) You should take a look at the Windows Media Encoder SDK. http://msdn.microsoft.com/library/en-us/wmencode/ ...Show All
Windows Forms datagridboolcolumn
Hello I've got an datagrid and in it i have a column with datagridboolcolumn. It works fine but the problem is that i'm filling the grid with empty rows when it's not filled with data. The problem is that a would like to get rid ...Show All
Visual C++ good books on win32 programming
i am a computer engineering student and i have been a .net developer for a few years now. i want to delve deeper into the world of windows api programming using vc++. please suggest good introductory texts, books and resources for begining my journey. please recommend books for windows api porgramming and not introductory C++ stuff. See http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=107484&SiteID=1 for recommended books. If n ...Show All
Software Development for Windows Vista WWF performance
Hi, I realise this is a bit of a daft question, similar to "how long is a piece of string". But what sort of performance is anticipated for the initial release version of WWF Let me try to narrow down the scenario I am considering using it for to potentialy help with answering the question. I am architecting a solution which intercepts internet service provider trafic and at a simplistic level, filters it. The decision to filt ...Show All
Visual C# Whats the easiest way to filter string for offensive language
Hi, Just wondering the best / easiest way to filter string for offensive language is. I have some text that I want to filter for offensive language based on a list of key words. Thanks Simon You can simply use String.RemoveAll(word). (not 100% on that syntax, it might just be Remove(word)). If you start with your string STR and your list of words WORDS[], then repeatedly calling STR = STR.RemoveA ...Show All
Visual Studio 2008 (Pre-release) Security options reduced when hosted in IIS?
When self-hosted, one can use ServiceSecuritySettings.SetUserNameAuthentication to specify a custom MembershipProvider or even custom UserNamePasswordTokenAuthenticator for validating users. Similarly, when self-hosted, one can use ServiceSecuritySettings.ThreadPrincipalMode with GenericThreadPrincipalMode to specify a custom RoleProvider or supply a custom ThreadPrincipalMode class. When hosted in IIS, however, these options don’t seem to be av ...Show All
.NET Development Service and COM don't work with Windows XP Service Pack 2
I have a service application created with VB.NET that creates a COM object. The service works fine in Windows 2000, but in Windows XP with service pack 2 it doesn't because it receives the "Access denied" error. If I create a windows form application instead of a service, it works fine even in Windows XP with service pack 2. Can someone help me You are experiencing a security issue because your ...Show All
Smart Device Development Trouble installing eVC Upgrade Wizard for VS 2005
I installed the eVC Update Wizard, but it has evidently broken VS 2005. When I start VS 2005 now, it says "A problem occurred when loading the Microsoft Visual Studio Menu. To fix this problem, run 'devenv.exe /resetsettings' from the command prompt. Note: this command resets your environment settings." When I click the OK button, VS2005 exits. Okay, I performed the recommended action. Several times. It restarts VS 2005, and ...Show All
Visual C# Partial Class For a Form Problem
Hello! When I create a partial class for my form the "View Designer" button is shown for my partial class. For the MyForm.Designer.cs partial class it isn't shown and that's the kind of behaviour I want and what I expected, especially as the "View Designer" button show another form, not the form that my partial class extends, but at the same time it overwrites entries in the MyForm.Designer.cs file, destroying my original Form. I looked in ...Show All
