scireja's Q&A profile
Visual Studio Express Editions can't install SQLServer2005express
I tried to install VS 8 and get this error from SQLServer2005 express: Product : Microsoft SQL Server 2005 Express Edition Product Version : 9.1.2047.00 Install : Failed Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_._SQL.log Last Action : InstallFinalize Error String : Failure creating local group SQLServer2005SQLBrowserUser$.. Error Number : 29511 My OS windo ...Show All
Visual Studio Team System test case
I have a function which takes xml as input ,Process the xml and insert the data to database. How to write a test case for this function as there will be no written value. Regards, Venkatesh You can certainly take advantage of the code generation feature in VSTS. In your case there's no return value in the function to be tested. Therefore in the generated test you will need to add your own verification. For e ...Show All
Software Development for Windows Vista Bitlocker interfaces
Hi, - Is there a way to backup/restore the encrypted volume as is - If so, how to backup/restore the encryption keys stored in hardware chip --cbc ...Show All
Visual Basic Hexadecimal
In the code below, ans is declare as byte. It reads values from the registry and converts them to a string. However in the string the values are not returned as hexadecimal as they are in the registry instead they are converted to decimal (i.e. "23" instead of "17" and "245" instead of "f5"). Can anyone help me keep these in hexadecimal format I appreciate the help. Thanks ans = regKey.GetValue("F") For i ...Show All
SQL Server question on namespaces
hi, i cant seem to import Microsoft.SqlServer.Dts.Pipeline. What i only have is Microsoft.SqlServer.Dts.Runtime. can you tell me how to have to this also, how can i access ComponentMetaData object Is this part of Dts.Pipeline thanks. - ranier The code sample you have is the AcquireConnections method for a pipeline component, so it not really relevant. It would suffer from exactly the same issues as yo ...Show All
Software Development for Windows Vista Reentrant workflows and activies
I have a workflow for a purchase order fullfillment that can be restarted if something fails and has retries in it. Some activities must not run again on a retry within the workflow. Is there a way to use the Tracking Data within an activity so see if the activity already has closed thanks Peter YOu might want to look at the conditioned activity group to see if it solves your issue. It provides rules base ...Show All
Visual Studio Express Editions major error in VB2005 beta2
after downloading n installing VB2005 beta 2, i cant compile any source code at all, in fact there will be an error message after compiling ,and the program restarts itselt furthermore,theres no tools in the toolbox. E.g radiobox,drop down menu,check box <--all this doesnt exist in the toolbox. please help anybody know where can i get VB6.0. .i know its not in production anymore but im sure alot of programmers r using it. Try doing an u ...Show All
Visual Studio Tools for Office Help Needed: Smart Tags in Excel and Recognising cell formulas?
Hi there, I have successfully created a VS2005 C#.NET SmartTag DLL that recognises various cell text and actions them accordingly. I am trying to find out how I can recognise a cell containing a "=RTD(,,,,)" type function. The SmartTag Recogniser2 routine only allows me to parse the cell Text and not the formula. Is there any way I can do this Or is there anyway I can locate the source cell that is being parsed ...Show All
Windows Forms Databind to collection object
I've created a customized collection and want to databind it to a DataGridView. After some research, I found that I need to create a bindingsource control and then bind to the specific collection object. The first problem is that I need to retrieve the collection instance for some additional method calls. How can I get the underlying collection instance back I found that the databingsource will use BindingList<T> as its internal store. ...Show All
Visual C# Get value from settings file by usage of ConfigurationManager
I want to know how do i read value from app. settings.settings I have added following entry (by means of settings designer) Name: DebugMode Type: bool Scope: Application Value: true Now i want to assign this value to variable in my code: i was expecting that this would work bool debugMode = Convert .ToBoolean( ConfigurationManager .AppSettings.Get( "DebugMode" )); but it isn't. I guess i'm doing something wrong... ...Show All
.NET Development Collection events
Hi, just wondering if it is possible to have a collections base class send an event to the collection. Not worded well but heres an example. Class Tree Property color Property species Class TreeCollection property ColorCount property SpeciesCount This is very basic but what I want is if the color of a tree changes an event is fired that the collection sees to reset its count of trees with a certain color. Hope this is clear enough Regards ...Show All
Windows Forms Automatic toolbox item service ignores ToolboxItem attribute
The service that automatically creates toolbox items is not using the correct class: it ignores the ToolboxItemAttribute on the component that specifies which ToolboxItem-derived class to use, and instead creates a ToolboxManagerToolboxItem. The result is a bunch of unusable Toolbox items. We have already logic to populate the toolbox with a correct ToolboxItem whenever the designed class is opened in our graphical root designer. So we h ...Show All
Windows Forms Master Child DataGridView + simultaneous insertion of records
Hi ! i have a master and a child grid on a form. ( vb.net Beta 2 datagridview) if i enter a new record in the master grid and subsequently add child records for it in the child grid, and then click on save: It throws an error for the child table because it does not find a master record in the parent table. This is obvious because at the time of updating child record it does not have the reference key to the newly entered ma ...Show All
Smart Device Development about Shell Functions
Hi all, I'm developing a custom input method for Smartphone 2003 Second Edition, and I want to display the current input state on the title bar just like WM 5.0 does. I noticed that WM5.0 uses the SHImeOnKeyPress() and SHImeSetModeIcon() functions to set the state indicator, but Smartphone 2003 does not support these shell functions. So my question is what kind of functions I should call when I want to display the input state indicator on the SP ...Show All
.NET Development WMI MSNdis_80211_ServiceSetIdentifier query returns garbage
Hello, I am using the below code in order to retrieve information about the WLAN network environment. Unfortunately only the first result in the ManagementObjectCollection seems to contain valid information. The other objects seem to contain garbage. Does retrieval anybody know of any issues with WMI and the MSNdis_80211_ServiceSetIdentifier retrieval ManagementClass mc = new ManagementClass ( "root\\WMI" , "MSNdis_802 ...Show All
