Niaz's Q&A profile
Windows Forms Checked items in ListView on TabPage disappear when switching tabs.
I was wondering whether anyone can explain why I have the following problem and suggest what I can do to solve it (I think it is a .Net bug myself but will be very interested to get any other input or opinions!) I have a VB.net ...Show All
Visual C# parent - generic why not?
How can use parentes with generic links I talk about this constructions: struct abc<tfrom>: tfrom {...} or class abc<tfrom>: tfrom {...} but i need constructions like public class aaa <tKey, tVal, tTVal> : IConfig where tKey : int wher ...Show All
Visual C# How to know the Language of the System(Windows)?
Hi all, I have question about how i can know if the windows StartMenu on the left (English Interface[Language]) or StartMenu on the Right (Arabic Interface [Language] for example)..Just i want which language of windows runnig..on the system..using C# Code..Can any one tell me..how i can know that Kind Regards.. Thanks You can use the CultureInfo.CurrentUICulture property to get the UI Culture info, that is normally the same as ...Show All
Visual C++ I want to compile xerces-c as Com Object use VC6 & PSDK2003SP1
Google gives me this :- http://groups.google.com/group/microsoft.public.platformsdk.base/browse_frm/thread/686fb0df3fd296f2/7848941543f399ab vinson.zeng wrote: but,i catch compile error message: LINK : fatal error LNK1104: cannot open file "atlthunk.lib" Error executing link.exe. xerces-com.dll - 1 error(s), 0 warning(s) please,somebody help me,thanks! ...Show All
Visual Studio Team System Suggestion: Extend InstantiateArgumentExceptionsCorrectly to include ArgumentException.ParamName
Just a suggestion: Extend the InstantiateArgumentExceptionsCorrectly rule to check that the ParamName parameter is not null (ideally only in methods with more than one argument; but, I won't push my luck :-) ). Catching an ArgumentException with a null ParamName is close to useless with no specific means of ensuring the Message property has useful content. Peter, In regards to InitializeReferenceTypeStaticFieldsInline firing on th ...Show All
.NET Development user/group authontication (active directory)
help !!! we are developing a new project in VB.NET , the startup page recognize the user loggen in , i need to look in the active directory to find if the user is part of authorized group . thanks in advance avner User the following code where GroupDE is a directoryEntry pointing to group you want to check the membership for and UserName contains the CN of the user you are trying to check. T ...Show All
Windows Forms Validation in MDI application
I have an MDI application. I launch child form 1. And then I launch child form 2. Then I get focus back on child form 1. The validation event of the control in child form 1 (which had the focus) is not fired! How can I have ...Show All
SQL Server ISNUMERIC function
select isnumeric('-') returns 1 indicating valid numeric value, but select cast('-' as numeric) returns Arithmetic overflow error Could someone explain this behaviour of SQL server Anand Basically, if it can be cast as any numeric type, it will pass. e.g. SELECT CAST('-' AS SMALLINT) ------ 0 There are some really weird examples, but also a workaround: http://www.aspfaq.com/2390 wrote in message news:02a3c43d-ea59-43cf ...Show All
SQL Server Need Advise on SQL Express with Advanced Services
Hi Guys, Need some advice on the free SQL Express with Advanced Services provided. I plan to develop a small departmental multi-user applications with 5 to 6 simultaneous users using the free SQL Express with Advanced Services with VB.net and stored procedures on a local area network. Is it a good choice to use this free SQL Express with Advanced Services or is it more advisable to purchase a standard version Appreciate if someone c ...Show All
Software Development for Windows Vista Can Visual Studio 2005 RC be installed on Vista (PDC beta version)?
I can't get passed installing .NET 2.0 framework. Are there any special steps that I should know about Windows Vista PDC CTP Edition already has .NET 2.0 Beta 2 bits and you should not be able to install the .NET 2.0 RC bits nor the VS RC bits. For more information about what works with what, see http://channel9.msdn.com/ctpmadness/ . There is a little applet on the right side that lets you pick a product ...Show All
Visual Basic How do I automate?
I am trying to automate an install of an application. Is there a way to "next" the next screens and add the machine name when the installation process asks for it Thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to get start with Game Development?
I'm a student, and I want to get into game development. but I don't know from where to get start, some one can give me a straightforward path to enter this realm I'm reading <Beginning Direct3D Game Programming> by Wolfgang F. Engel. and tried to write some simple samples, is this a good start or some one can suggest me some good books beside, I have a <Tricks Of The 3D Gamming Programming Gurus> by Andre LaMothe, I have read ...Show All
Windows Forms PrintPreviewDialog.showDialog
Hello folks i use the PrintPreviewDialog.showDialog. It works only one time. at the second usage i get the exception "Cannot access a disposed object" what can i do Thanks for your help. That exception occurs when you try to call a method on an object that has been disposed. Are you call Dispose on the PrintPreviewDialog at any time Can you post the smallest amount of code that can reproduce the ...Show All
Visual C# Migration from .net to vs2005
hello, Im writting test tools for different hardwares. I started with C# .net and everything seems to work normally. Then the company wants to migrate everything to 2005. So i opened my projects in 2005 and convert them. first of all i noticed that everything run slower (does 2005 mean better ). I have some cross threading issue but i turned the warning off with the system controls so it works like .net. And third thing which is the worst is t ...Show All
Windows Forms How to: Position a new Form just below a clicked button? (relative)
Please help... My new form always opens at "unwanted" locations. click on BUTTON to open Form (FFFFF) Button has the location here 6,4 Topleft of the Screen . . . ......BUTTON ......FFFFFFFFFFFFF ......FFFFFFFFFFFFF ......FFFFFFFFFFFFF ......FFFFFFFFFFFFF Thanks Peter public FFFFForm( Control c) { InitializeComponent(); Point p = c.Parent.PointToScreen(c.Location); p.Y = p.Y + c.Height; this .Locati ...Show All
