samithad's Q&A profile
.NET Development sending an array as a parameter
if you look at the statment below you will see data array. how do I pass dataarray as a paramter generalstatus = FunctionForBits.GetIndexDataFromFrimware( DataArray [], DataIndex .GeneralStatus, ref err); ...Show All
SQL Server linked server exec stored procdure results in Transaction context in use by another session.
I am using sql 2005 beta Microsoft SQL Server Management Studio (expires in 355 days) 9.00.1116.00 Microsoft Analysis Services Client Tools 2000.090.1116.00 Microsoft Data Access Components (MDAC) 2000.086.1830.00 (srv03_sp1_rtm.050324-1447) Microsoft MSXML 2.6 3.0 6.0 Microsoft Internet Explorer 6.0.3790.1830 Microsoft .NET Framework 2.0.50215.44 Operating System 5.2.3790 i have defined a linked server as : sp_addlinkedserver @server = N'AAServer', @srvproduct = N' ',   ...Show All
Visual J# jdk aned j#
exsisting applications written using jdk 1.4 will j# support thanks ...Show All
Windows Forms TableAdapter Query not populating DGV.
I have a project with two forms. Each form uses a table adapter to fill a dgv. On the first form the query populates the dgv just fine. On the second form, an identical ( I think) query runs without error messages but no data goes into the dgv. First form, frmFindAccountNumber, executes the query and populates the dgv residing on first form. Since both dgv are bound to this table adapter, shouldn't they both be populated when this query runs Currently, only the dgv on the first form that runs the query is updated. MsgBox( "FillbyAccount" ) Try Me .MemberFileTableAdapter.FillByAccount( Me .TrialBalanceOneDataSet.MemberFile, New System.Nullable( Of Integer )( CType (txtSelectedAccount.Text, Integer ))) C ...Show All
SQL Server Report parameters being searched for after they have been removed from all visible interfaces
I've been building and testing my reports and have found that if I decide that a report parameter should be removed, removing the parameter causes the report to fail. If I remove a report parameter via the 'Report Parameters' menu, and I also remove the associated data dimension, filter expression and parameter check boxes, when I preview the report I get an error message. It appears the report is searching for the old parameter name even after it has been deleted. This leaves me with the option of either restoring the parameter as it was, or rebuilding the report from scratch. I've done some investigation and the parameters seem to exist within the XML code that underlies the report despite the parameters being deleted. Is there ...Show All
Visual Studio Team System Managing permissions
Is there a way to restrict a user's ability to create, edit and delete labels or branches What I want to do is to have only certain users to have permission to manage labels and branches. Can this be done The link above gives me http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=478&SiteID=1 which doesn't point to Chandru's instructions. Can you give me the link again Thanks! ...Show All
Windows Forms ClickOnce Question
Can I use ClickOnce for the deployment of an Office add-in of type class-library Thanks... Hi, Is this a shared add-in (under Extensability). If so, using the generated setup project is the way to deploy the solution. It's a VSTO add-in we do have a Click-Once like deployment model, You can find details at: http://msdn2.microsoft.com/en-us/library/hesc2788.aspx Thanks and regards, Darryn Lavery [MSFT] ...Show All
Architecture Windows Operative System Architecture
Hello, i'm not sure about if this is the right place to post my qtion. i'm now starting (really starting) in kernel mode development, but actually my knowledge about the operative system internal functionality are very little. Fine, i want to learn how windows works in the deep system internals... the basics at least . Where i can find related and good quality documentation about the internal windows operative system architecture ( you know, kernel, user mode, subsystems etc ) thanks for your help! ;) Juan Carlos Ruiz Pacheco Ingeniero de Sistemas Bogota - Colombia ok, what you suggest to me 1- buy the book 2- wait for Windows Vista and buy a book ... may be : Windows Vista Internals ...Show All
Visual C++ C4448
Visual C++ v8.0 (Visual Studio 2005) Warning C4428 The compiler issues warning C4428 when compiling the following program: #include <windows.h> #include <stdio.h> #include <tchar.h> int _tmain( int , _TCHAR*[]) { // The statement below raises warning C4428 in VC 8.0 but not VC 7.1. // There is nothing wrong with this code. // See sections 2.13.4 and 2.2 of C++ Std (ISO/IEC 14882:1998). // A universal-character-name is a valid s-char. wprintf (L "\u00a1Hello!\n" ); return 0; } This seems to be a compiler bug. The help text for the C4428 warning is: The compiler issues C4428 when it detects at least one universal character name in a source co ...Show All
SQL Server Trigger not executing
I will try to keep this as simple as possible and make a long story short. The college I work for has bought a third party package to basically run the operations of the school. There is a component for registration, admissions, billing, etc. It also has a web component so students can access their school information from anywhere. The backend for all of this is SQL Server. To make things easy, the vendor has provided us with the steps to bulk load users, via DTS, into the system and create their accounts for the web portion. The way this works is as follows: I create a CSV file which I then load via DTS into their "Bulk Load" table. This table has an "on insert" trigger that fires off when the load happens on the &q ...Show All
Visual Basic Problems converting a byte array to string
Hello, i need some help on this one, i have a byte array with some information i get from an UDP server here is an example of what my code looks like Dim b() As Byte = {0, 179, 68, 252, 255, 128, 234, 244} Dim s As String = System.Text.Encoding. Default .GetString(b) Debug.WriteLine(s) Now if notice the first byte is 0, when this happens my result string will be nothing Any ideas on how to fix this Thank you 0 is typically the null terminator character - as such, most display libraries won't show anything past it. In this case, the conversion to string seems to be doing things correctly - if you check the length of the string it is 8, indicating the characters were converted. If you use consol ...Show All
Windows Live Developer Forums Bulk add data to local.live
I have a lot of spatial data that i would like to add to local.live and I was wondering in there a bulk uploader available to do this. I don't know is this the correct forum to ask...if its not can you point me in the right direction.. Thanks in advance.. Ray I agree with you Jeff but what i'm trying to do is upload data into my own private collections and then share these....the idea is that say instead of adding each *** house in Germany, i could just upload them all with come type of bulk uploader and then share them out...I have all my data in SQL Server already....would it be easier to just write an app I like all the extra functionality that is in local.live though such as directions etc..!! Thanks for the quick re ...Show All
Visual Studio 2008 (Pre-release) How to make tooltip follow UIElement while dragging.
Does anyone know how you make a tooltip follow a UIElement while dragging I tried to update the tooltip's horizontal and vertical offset and it kind of work but the results are unexpected. It doesn't align with the left and top number of the UIElement in the canvas that I am dragging it in. Thanks. I actually got the tooltip to work the way I wanted to. In the PreviewMouseLeftButtonDown... ToolTip tt = (( ToolTip )((( TaskCard )( this .ElementBeingDragged)).ToolTip)); tt.IsEnabled = true ; tt.IsOpen = true ; tt.PlacementTarget = this .ElementBeingDragged; tt.Placement = System.Windows.Controls.Primitives. PlacementMode .Relative; In the PreviewMouseMove... ToolTip tt = ( ...Show All
Windows Forms Toolstrip usercontrol
I have a toolstrip user control with some items (already added). When i add this toolstrip user control to a form in my App, the items don't appear on the form but show up when i run the App (this behavior is inconsistent). i guess its still a WIP coz its in beta 2, hopefully this gets fixed in the release. Please take this information and create a bug on the MSDN Product Feedback center. http://lab.msdn.microsoft.com/productfeedback/ thanks - mike ...Show All
Microsoft ISV Community Center Forums Creating a Toolbar and a button that is linked to a macro
Hello, I'm looking to add toolbar and then a button inside that toolbar that will be linked to a script using vba. Baiscally, on excel start a toolbar would be placed at the end of the existing ones at the top that would have a button named Run and would be linked to a macro named play. On close I want that to be deleted. Thanks Hi I think this is nearly what you want. Create a workbook and put the first part of the code in ThisWorkbook module, and the second part in a standard code module. Save the working program in the folder set in Excel as the one where all files will be opened at Startup. This is actually a cut down version of some code I use, so I've left some extras in that sa ...Show All
