manojnaik's Q&A profile
Smart Device Development Setting loacle to UK when installing a CAB file
I have an app which needs it's device to be set to English-UK so that the time formats are right (yes I know I should have used .toUniversalTime but it's too late now). So in a CAB file, I'm going to set theses values in the registry when it is installed [HKEY_LOCAL_MACHINE\nls]DefaultLCID to 1033 And this seems to work. :-) Anyone know what these settings in HKLM\nls are for "DefaultOCP" "DefaultACP" And is th ...Show All
.NET Development How to read the following xml file?
Hi, i searched a lot but i didn't find any good tutorials about this, so i ask you. I have got this xml file: < xml version="1.0" encoding="utf-8" > <DeleteTemp> <properties> <folders> <folder name="temp folder"> <variable>temp</variable> </folder> </folders> <logging>false</logging> <website>http://www.website.de< ...Show All
SQL Server SQL Express user permissions?
I'm trying to build a web application using SQL2005 Express and Visual Studio Express. It all works OK on the local machine, but gives an error "Login failed for user xxxx\ASPNET" when used remotely. I can't find where I can set login permissions for SQLServer 2005 Expresss - can anyone help, please Thanks John This looks like a problem in the login control. The error reported probably has nothing ...Show All
.NET Development How to query delete commands against table with ado.net?
Hi, guess this should be really simple but seems as if I am just on the wrong track. All I want to do is delete every dataset in a certain table, which I would do with a query like that: "Delete From myTable" But how can I do that with ado.net I read through msdn-library but all I could find was something like: "myDataSet.Tables["myTable"].Rows .Delete();" Of course I am not willing to iterate over al ...Show All
Visual Studio Team System RACI Questions
In MSFv4 each Activity is associated with Participating Roles. Those roles are divided into four categories: Responsible, Accountable, Consulted and Informed (RACI). Where are these categories defined What specifically is the difference between Responsible and Accountable Martin Danner Arrowrock Corporation Boise, Idaho MSFv4 is shorthand for Microsoft Solution Framework Version 4.0. So many acron ...Show All
Software Development for Windows Vista Vista UI lacks of Transitions, Fades and some other things
I like Windows Vista very much, but when i compare the current December CTP [of which I am beta tester] with a Mac OS X Tiger video found on the apple homepage, Vista falls behind in some areas. What I find so pleasing in Mac OS X are the cool but not annoying transitions in various parts of the user interface. In Vista, except of the window minimize to taskbar, maximize from taskbar, window open and window close effects, there are none noticabl ...Show All
Visual Basic when true isnt really true
A feature I think would be the best way to describe this... or at least it doesnt behave how I would expect... Try the following: debug.print(true) I would expect a boolean value of -1 to be returned.... true being defined in the VB docs as being a boolean value of -1 with false being a boolean value of 0. What I actually get is a string value of "True" Ah well.... How did I discover this Well I was pre-populating a check ...Show All
Visual C++ Tips for speeding up debugging (stepping through code)?
I've got one particular large C++ project that, in VC 2005, when stepping through code in the debugger, it takes approximately 2 seconds for each hit of the F10 key (i.e. each line of code) to be executed. I've tried many things to attempt to speed it up: disable intellisense, renaming feacp.dll, removing all additional output windows, watch, breakpoints, etc, removing navigation bar from text editor window, disabling anti-virus on the machine ...Show All
SQL Server Express cannot convert different data types automaticly????
I have a SQL Server 2000 database which works like a charm in my asp app. Joining tables by id columns which are of different data types (eg. int in one table and varchar in the other) is no problem with the SQL Server engine, but Native Client refuses to do so and hands me back an error. Even if columns have a slightly different collation (like Slovenian_CI_AS and SQL_Server_1250_CI_AS) SQL Express native client returns an ERROR !!! Is it pos ...Show All
Visual Basic Database error when running program on a different machine
Hi I have just purchased a new computer instead of my old one, and i would of course like to continue working on my application on this machine.. So i installed vs2005 proffesional on this machine and put my program folder on the same harddrive. Theres no problem opening the program and it can easily run and show the forms and everything.. Except when it has to connect to the database. I use access and the oledb connector. When the prog ...Show All
Windows Forms TaskVision WebService Source
Could some1 tell me from where i could download the taskvision webservice source code Just handed it off to MSDN. Will be live real soon! Sometime this week! thanks, Mike ...Show All
Visual Studio Destroy Permanently files and VSS Backup Solutions
Hi, My question here, is regarding to delete a file in VSS. I'm using VSS 6.0, and currently we don't have a really proper backup solution for VSS. All the developers codes are check into the VSS and we only have a few databases. How we do backup is, we just use WinRar and compressed the VSS folders and put it as a daily backup. Everyday we have one backup and we keep for a week. Currently, the size is almost 7 gig the compressed file. I k ...Show All
Windows Forms How to add dataset to datagridview at runtime??
i want to associate the table present in the dataset with the datagridview during runtime.how do i do that.. thanks, nhd //The following assumptions have been made: //ds = DataSet and has at least 1 table inside which is accessed via the Tables array as shown below. //BEGIN CODE dataGridView1.DataSource = ds.Tables[0]; //END CODE ...Show All
Visual Studio UserControl in tool box goes blank
Hi! I am trying to write a add-in that will display a new dockable tool window. I am writing this in C# and using the shim control as decribed in the sample 'ToolWindow'. My UserControl is very simple, just a button and a tree control. My problem is that when I create the tool window as decribed in the sample: objControl.HostUserControl(asm.Location, "ClassViewAddIn.CW_Control"); the control starts OK, and I can switch between docked ...Show All
.NET Development .NET 2.0: Setting WebServiceBindingAttribute.Location leads to a NullReferenceException
Hello, I currently try the contract-first approach when making Web Services on the .NET 2.0. Trying to set the WebServiceBindingAttribute.Location to point on my hand-made wsdl file leads to a NullReferenceException. Does anybody have an idea about what's wrong here Here is the stacktrace: Exception Details: System.NullReferenceException: Object reference not set to an instance of an object . Source Error: An unhandled exceptio ...Show All
