Sarmad's Q&A profile
Visual Studio 2008 (Pre-release) DLINQ + Intellisense
Hi, I have installed the DLINQ May CTP but I can't see Intellisense support, I'm running VS 2005 Team Suite. Thanks We have limited IntelliSense support in the May CTP which is installed by default. I am assuming that you did not turn it off during or after installation. Are you using VB or C# Do you see coloring of keywords in query expressions Thanks. Dinesh ...Show All
Visual Basic Multilanguage Application
Hi everybody, I need to develop a multilanguage application. I don't mean VB & C#. I need one application that provides a german, french and english text. I have done already a ml application. But it was an ASP SQL server solution. Now I'm working with VB.Net. There were some threads with a similar question, but I need quite the basics. I'm sure there is a solution that is now available in VB.Net without a database. Thanks for your hellp. ...Show All
Microsoft ISV Community Center Forums VBA Excel Module opening Access DB with Recordset
Here is the code: Dim cConn As ADODB.Connection Dim rs As ADODB.Recordset Dim sSql As String sSql = "SELECT Table1.Field1,Table1.Field2, Table1.Field3 FROM Table1 WHERE Table1.Field4 = Yes" Set cConn = New ADODB.Connection Set rs = New ADODB.Recordset cConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source='\\path\files\folder\database.mdb'" Set rs = New ADODB.Recordset rs.Open sSql, cConn I get the same error on ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Texture map to 3d head model
Hi I want to map the 2D human face image as a texture on 3d head model in managed DirectX. Can Anyone help me on this problem I have already tried TextureLoader.FromFile(...) Method but it didnt work. This method put some dark shade on 3d model and nothing else. I want to map the image from file on 3d head model. How this would be done thnx What you are looking for require ...Show All
Visual Studio Team System Organizing changes into changesets prior to check-in
Hi all, I've been evaluating Team Foundation's source control capabilities, and have been generally pleased. However, there's one "nice-to-have" feature that doesn't seem to be present, and I want to make sure I'm not missing something. Often, a member of our team will be working on several bugs or features within the same workspace, and will want to manage these changes separately, for example: file1cs, file2.cs - Are bein ...Show All
SQL Server Hierarchical data in result set
How can I create a function that returns hierarchical data from a table with this structure: - CategoryID - CategoryName - CategoryFather I want to bring the result set like this... CategoryID | CategoryName | CategoryFather | HierarchicalLevel 1 | Video | 0 | 0 2 | DivX | 1 | 1 3 | WMV | 1 | 1 4 | Programming | 0 | 0 5 | Web | 4 | 1 6 ...Show All
Visual Studio Express Editions VB: System.Random not random in For... Loop.
I'm having a problem where each number generated using System.Random is the same when created in a loop. The code works fine when stepping through, or using one occurance of the GenerateRandom Function, but at full run time in the loop, results in the same value. I am trying to generate 132 numbers between 1 and 5, and pass those results to an array. Here is what I've got so far... The random class is not all that random. I use RNGCyptoSer ...Show All
Visual C++ VCMAME: compiles with VC2003, fails with VC2005
I'm trying to build the MAME source using Visual C++ 2005. I'm using the VCMAME project files from http://www.vcmame.net/ . I first built the project in Visual Studio 2003, then opened the project in VC++ 2005 and rebuilt. I only had to make a few modifications to the project, like adding _CRT_SECURE_NO_DEPRECATE to silence a bunch of warnings. However, one of the source files (winalloc.c) implements their own memory handling functions so ...Show All
Visual C# Get the unicode of string
Are there any functions in C# such that when I pass a string into the function, it returns the unicode of the string For example, if I pass the string "abc" into the function, it returns the string "616263" (or "610062006300"). Thanks for answering~ I just want to call out that there are two ways to cast Unicode to an array of numbers, and this thread started looking for unicode numbers. If you go to bytes, you may get more bytes than you ...Show All
Visual C# Article on Threading in C#
I've written an extensive document on threading in C#: http://www.albahari.com/threading It started out as a chapter in a book that I'm writing, but ended up outgrowing the book! So I'm making it free and maintaining it in parallel as a separate project. Any feedback would be welcome. I'm particularly interested in comments in regard the Wait and Pulse section. I'm proposing a design pattern that makes Wait and Pulse as simple to use as ...Show All
Software Development for Windows Vista Any New ASP.NET/WF Functionality for TechEd2006?
Hi, Does anyone know if there will be any tighter intergration with VS2005 for asp.net application creation with workflow/pageflow for TechEd2006 I am particularly looking forward to a complete model for PageFlow with ASP.NET that I keep hearing folks talk about. All of the examples done to date are using a "kludged" solution for the whole process. Not that it can't be made to work, but I know there are alot more user friendly solut ...Show All
Visual Studio 2008 (Pre-release) Is there a sample that uses ResourceDictionaryLocation.ExternalAssembly?
The sample that specified ResourceDictionaryLocation.ExternalAssembly for ThemeInfoAttribute was not able to be found. I made MyControls.dll and MyControls.Luna.dll. The resource of MyControls.Luna.dll was not used though ExternalAssembly was specified. What is the name/location of the ResourceDictionary XAML file in your MyControls.Luna.dll System expects that the file will be in the "themes" folder and named according to t ...Show All
Visual Studio Team System Error messages from data driven unit tests - where are they?
I'm working through the testing walkthrough at http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/VSTSSysDesigner.asp . For the data driven test, when the test fails, I'm not seeing any error messages - just a global indication that the test failed. Double-clicking on the failed test in the test results window shows a grid with a line for each row of the data table, including a pass/failed indicator - but no ...Show All
Visual Basic Percent Processor Time - Processor Utilisation
Hi all, I am trying to get the total CPU usage on the local machine. Sounds easy huh Here is the trick; I don't want to use WMI or the Performance Counters (% processor time). Please don't ask why, long story. Now I have slapped this code into VS and it works, but it uses a lot of processor time. Imports System.Diagnostics Imports System.windows.forms Imports System.Runtime.InteropServices.ComTypes Module ...Show All
Windows Forms Override forecolor in textbox.enabled = false on windows form
Is it possible to override the change in forecolor when setting a textbox to enabled = false I would like the control to be disabled but display normally. I have been able to set the backcolor to white, but it seems to ignore the forecolor setting and leave it as pale grey. Alternatively, is there another way to disable the textbox without using the enabled property Screaming won't solve ...Show All
