suzq's Q&A profile
Visual Studio Noob Problem: Web control not showing 2 pages!
I've at least two pages of data in the report but the web control shows it all as one page. If I export it to .PDF I get a handsome 2 page report. Do I have to turn something on in order to get paging in the web control This blog entry explains the behavior you are seeing: http://blogs.msdn.com/bwelcker/archive/2005/08/19/454043.aspx ...Show All
Visual Studio Document Explorer Crash
Thought I'd start a new thread, since I'm using Visual C# Express, rather than full VS2005. Windows XP Pro SP2, Visual Studio 2003 Pro, SQL Server 2000 Developer Edition, Visual C# Express, Visual Web Developer Express, SQL Express 2005, MSDE. I also have Virtual Server 2005 SP1 beta installed. Problem just started this weekend. Whenever I click on any topic in the Index, Document Explorer crashes. I've tried Repair on Visual C# Express, Visual Web Developer Express and MSDN 2005 Express. Same problem. It was working fine last week, I'm not sure what's changed. I have previously had VS2005 beta2 installed, but I removed that by following the instructions before installing the Express Editions -- and, as I said, they were working fine last ...Show All
Visual Studio Crystal report help
original report format is General David conform General Edward Not-conform Gereral Lisa Conform Conform : 2 Not-Conform : 1 i changed the report like below but background color is not applied properly General David conform Edward Not-conform Lisa Conform Conform : 2 Not-Conform : 1 i want to change the backcolor of the General if conform =not-conform yellow else if conform >not-conform green else if conform < not-conform red plz help me on this Hi, In details section i want to show confirmation list like below...david,edward, lisa all those peoples are General category..sev ...Show All
Windows Forms Refreshing a datagrid view
I have several database that I am trying to get information from. Here is the code that I am using to do this: Try dbDataTable.Clear() Dim dbCONBack As String = TreeView1.SelectedNode.Parent.Text Dim dbConnection As String = dbCONFront & dbLocation & dbCONBack Dim strQuery As String = "SELECT * FROM [" & TreeView1.SelectedNode.Text & "]" dbCON.ConnectionString = dbConnection Dim dbDataAdapter As New OleDbDataAdapter(strQuery, dbCON) dbDataAdapter.Fill(dbDataTable) DataGridView1.DataSource = dbDataTable DataGridView1.Refresh() Catch dberror As Exception MessageBox.Show(dberror.Message) End Try The problem that I am ...Show All
Visual Studio 2008 (Pre-release) Show System.Windows.Forms.UserControl in XAML-Window
I try to show a (Custom) Forms.UserControl in a XAML-Window. The Control is in a external Project. Trying to show the UserControl in the XAML-Window generates the follow ArgumentException-Message: "Cannot add instance of type 'MyFormsUserControl' to a collection of type 'UIElementCollection'. Only items of type 'UIElement' are allowed." Is there a Way to use and show our CustomControls in a XAML-Window Code in XAML-Window: < Window x:Class = " Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:ccl = " clr-namespace:MyControls;assembly=MyControls " Title = " TestForm " Height = " 300 " Width = " 300 " > &l ...Show All
SQL Server How to remove unwanted characters during ETL?
Can unwanted characters (e.g. control codes) be replaced or removed in varchar fields during extraction inside DTS package SQL Server/SSIS 2005. Thanks, Andrei. Thanks, Phil! This is the way to go. Unfortunatelly there are couple problems. 1) Function CHAR isn't supported in SSIS (DTSx) package. 2) I'd like to have a filter against any invalid character, e.g. ASCII range 0-31. I'm not sure if SSIS's REPLACE function can do that. I wonder if a custom function, e.g. from a CLR assembly, could be used in SSIS. Regards, Andrei. ...Show All
Visual C# update datagrid
how can i update a changed datagrid if(dg.haschange()) // dg is your datagrid name { dg.aceptchange() ; // or something like that dataadapter1.update( dataset or your table name) } /// dataadapter is a control to update from datatable or dataset to database does it help you/ DongMT, Vietnam ...Show All
Windows Forms Add a TextBox Control to DataGridView
I have added a TextBox Control called tb to a DataGridView Control called dgv as follows: dgv->Controls->Add(tb); I add data to tb: tb->Text = "This is some data"; This works fine except for one strange issue. When I click into the TextBox to edit data, the arrow, Home, and End keys get handled by the DataGridView control - they change the cell selection and have no effect on the caret's position. However, once I enter a character into the TextBox from the keyboard, these keys are handled by the TextBox control and will move the caret accordingly. How can I get the TextBox control to handle these keys (position the caret) without having to first enter a value from the keyboard Seems like some DataGridV ...Show All
Visual C++ VS 8 issue
Hi, I am having a dll which uses a static library. I am dealing with opening and closing of files. My static lib is basically third party code which I could not understand much. However, I found that it is trying to close a file which has already been closed in previous function call. Everything works fine on VS7 but on VS8 it gives assertion in close.c line 48. ["\Program Files\Microsoft Visual Studio 8\VC\crt\src\close.c"] Third party code [Its basic C code] is using open() to open the files and close() to close the files. Any idea, what can be the problem and how it can be resolved Can I put a check before calling function close() to check whether is open or not Thanks, Rama _close will cal ...Show All
Visual Studio Team System Where is the Authoring Work Item Types.doc?
Hello, I've just installed Visual Studio 2005 SDK (2006.09) and I can't find the Authoring Work Item Types.doc Where is it Cheers, Chris They should be available under "VisualStudioTeamSystemIntegration\Work Item Tracking" ...Show All
Visual Studio Express Editions binary
I know you can convert a string to hexadecimal using the Hex() function but is there one to convert a string to what it looks like in binary Private Function StrToBin( ByVal strNum As String ) As String Dim Ostr As String = "" Dim a As Integer Dim ptr As Integer Try a = Integer .Parse(strNum) Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.Exclamation, "Conversion Error" ) Return Ostr End Try ' find Find first set bit For ptr = 31 To 0 Step -1 If a And (2 ^ ptr) Then Exit For Next For ptr = ptr To 0 Step -1 ...Show All
SQL Server Is there a way to parameterize lock type?
Hello, I have a stored procedure where I select data using a lock hint, e.g.: select * from MyTable with (UPDLOCK) Depending on arguments passed to a procedure I need to be able to turn locking on and off, otherwise I will have to create two versions of a stored procedure (or two SELECT blocks in one) with duplicate contents that differ only in lock directive. Is there any way in SQL server to parameterize locking Thanks in advance No. You will have to use different SELECT statements. But what are you trying to do by having different locking behavior for the SELECT statement. Typically you want to avoid locking data for update since that can have serious performance penalties since you need to do it in a transaction fo ...Show All
Visual Studio Team System Adding user from different domain to TFS workgroup
I am trying to add users of a different domain for TFS workgroup in the "Team Foundation Licensed Users" group and it is giving me : "Team Foundation Server" could not resolve the user or group <different domain user name>. The user or group might be a member of different domain or the server might not have access to the domain. Verify domain memmership of the server and any domain trust." I think the domain trust is OK. My question is can we add users from a different domain in the workgroup eidition I tried this successfully in the beta 3 refresh and it used to work fine. I have, with the help of our IT admin dept. set up the trusts between the domains that was felt n ...Show All
Visual C++ breaking into "Microsoft C++ exception" code
Hello, I am currently using Visual Studio 2003. I have code that throws a ton of Microsoft C++ exceptions: First-chance exception at 0x77e73887 (kernel32.dll) in gvrshell.exe: Microsoft C++ exception: unsigned long @ 0x0126cd24. First-chance exception at 0x77e73887 (kernel32.dll) in gvrshell.exe: Microsoft C++ exception: unsigned long @ 0x0126cd5c. First-chance exception at 0x77e73887 (kernel32.dll) in gvrshell.exe: 0x000006BA: The RPC server is unavailable. First-chance exception at 0x77e73887 (kernel32.dll) in gvrshell.exe: Microsoft C++ exception: unsigned long @ 0x0126cdf8. First-chance exception at 0x77e73887 (kernel32.dll) in gvrshell.exe: Microsoft C++ exception: unsigned long @ 0x0126ce44. First-chance exception at 0x77e73887 (kern ...Show All
Visual Studio Express Editions heap bug
i have compiled and run code with linux, borland and it works just peachy. i now have visual c++ express and when i build and run the code it gives heap errors. without given away my code is there any known visual express bug updates Take a look at http://blogs.msdn.com/vcblog/archive/2006/06/22/643325.aspx for the list of bugs being considered. Also, feel free to log the issue at http://connect.microsoft.com/Main/content/content.aspx ContentID=2220 if it is not already logged. For more details, please post a sample source code so that myself and others on the forum could help resolving the issue. Thanks, Ayman Shoukry VC++ Team ...Show All
