Lakshmi Kiranmayi's Q&A profile
SQL Server I can't deploy a solution
I installed April CTP 2005 in a new computer and I can't deploy an existing solution which works in the old computer. When I deploy it give me Error -1056899072 with no messages. If I make a new solution then it works fine. I'm sure the problem is with the datasource. Because when I try to deploy with june CTP give an error: "no se ha efectuado ninguna asignacion entre los nombres de cuenta y los identificadores de seguridad" and in English i ...Show All
Visual Studio Tools for Office Binding ArrayList or List(Of type) types to Listobject
According to documentation and example, it seems we should be able to bind any array of type that supports IList, ICollection, etc etc etc... However, when we bind a listobject to a, say arraylist using SetDataBinding() call, nothing shows. If we do the exact same as a example and move the data into a DataTable type then it works... Can someone let us know why this seems to be the case Thanks in advance. Don Mohit, Based on what you said, ...Show All
Visual Basic ButtonColumn in DataGridView Control
Hi I am cheching out the DataGridView Control in VS2005 Beta 2 to see if this control meet the needs for our application. So I am working out a few small examples and have a Grid with a ButtonColumn. I am trying to make this ReadOnly, so the Button can't be clicked, but nothing happens. Is ReadOnly the right Property for this Tommy ...Show All
Visual Studio SQL Server 2005 Express April CTP Fails from VSTS DVD
When installing VS 2005 (Team Suite) the SQL Server Express install fails with an error code 1603. Also tried reinstalling it after VS but still fails with same error code. Anyone else got this problem /Per Salmi This was a clean installation on a new PC. I can't find the installer or the folder you mentioned to do a manual install. ...Show All
Windows Forms Treeview Nodes.Add Problem
I have a problem when I add a child node. When the tree loads the first time, all the child nodes display correctly. If I add a child node, it gets saved to the database, and I clear out the tree (treeview.Nodes.Clear) and repopulate it for the new node to show. However, now the new node I just added, appears in another location and I end up with 2 child nodes with the same name. Any ideas on how to make the treeview refresh cor ...Show All
Visual Studio 2008 (Pre-release) Usercontrol Nightmare
I do not know what I am doing wrong but I am starting to pull my hair out. I am using VS and EID to create a quite complex UI, and I am trying to use usercontrols to encapsulate as much as I can. However... Any user control I create and put on a window or page either never renders and just shows up with the classname of the usercontrol in the top left corner, OR when you place it on the page in EID it says "Cannot instantiate <ClassN ...Show All
Visual C# keyboard input from the user to halt the program (C#)
Dear all, I am trying to use a keyboard input from the user to halt the program as such static void ctrlc(){running = 0;} in the main function {...while (running) {...capture data and write to file} } I chanced upon this URL in MSDN and copy the code into my C# VS.net 2005 version 1.1 software to run. But it cant compile saying "The type or namespace name 'ConsoleCancelEventArgs' could not be found(are you missing a using directive or assem ...Show All
Visual Basic How do I collect info thru a web form and insert it in a text file or spreadsheet?
I am new to VB.net. I want to create a web form where users can insert their email and name and submit it. I want the results to be added to a text file or spreadsheet. Do you know of a web turtorial or other resources that explains how this could be done I am using VB under .net 2005. Thanks If your going to create a web form to do this its pretty much the same as a windows application in the respe ...Show All
SQL Server Microsoft reporting Services Support & Changes
Hi We are planning to install the Reporting Services, but have been given a very negative feedback by some companies which planned to move to this. The type of uncertainities that are coming through are: 1) product may either undergo a signifcant change 2) lose support Can anyone help me with these questions, as i myself believe that it is hard to imagine such a big change. Let me know what you think about this Thanking you in anticip ...Show All
Visual C++ vc2005: strcpy(char[100], CString); doen't work. Why?
Hi, Recently I updated to Visual Studio 2005 (from 2003) In VC++2003 this code worked: char SuperString1[100]; //m_supervar is a member variable associated with some Dialog Edit contron (CString) strncpy(SuperString1, m_supervar, 5); This does not compile in VC++2005... the same problem with strcpy... So question is how to convert CString to char in VC++2005 Thanks in advance Serhiy ...Show All
Visual Studio warning MSB4056
Hi all How this warning effect the compile process I can't understand from the text " warning MSB4056: The MSBuild engine must be called on a single-threaded-apartment. Current threading model is "MTA". Proceeding, but some tasks may not function correctly. " Thanks Certain COM Interop scenarios don't work with MTA threading, so when the MSBuild Engine is called from co ...Show All
SQL Server bug installing SQL Server 2005 Express Edition with Advanced Services
ENVIRONMENT Windows 2000 Professional (Build 2195: Service Pack 4) Previous version of SQL Server 2005 Express Edition with Advanced Services CTP was removed using Add/Remove Programs Visual Studio 2005 Professional is installed WARNING MESSAGE (should it be an error message since what was requested did not take place ) --------------------------- Microsoft SQL Server 2005 Setup --------------------------- Warning 28123.Warnin ...Show All
SQL Server Need SQL for distinguishing SQL 2005 from 2000 and 7.0
I want to use 'ALTER LOGIN' if the SQL Server is running 2005, but have to use sp_password if it's SQL 2000 or 7.0 Currently I use the following SQL to determine the version: int nVersion = 7; // this will throw an exception on 7.0 rs = con.execute("SELECT SERVERPROPERTY('productversion')"); if (rs != null && !rs.getEOF()) { strVersion = rs.getField(0).getString(); if (strVersion == null) strVersion = &q ...Show All
Visual Studio Express Editions Null
Is there an equivalence to IsNull() if u r dealin with Data base null value then e.g. If <DataReader>.GetValue(0) Is DBNull.Value // it is null; do something End If ...Show All
Windows Forms TableLayoutPanel Cell Background Color
Is there any way to set the background color of an indiviual cell using the TableLayoutPanel. I'm trying make a custom Calendar and the tablelayoutpanel seemed like a good start, but I need to be able to set background colors for individual cells. Any help would be appreciated JGA ...Show All
