Christy's Q&A profile
SQL Server Linked servers and Windows Authentication
I have seen similar questions, but none of the answers have solved my problem. I have several SQL2000 servers running under Win2003. In the past, we have been using SQL logins, but I have been trying to transition to using Windows Authentication. It has been working great except that sometimes queries using linked servers fail. The linked servers are set up for the connection to use the login's current security context. For testing this problem, I have limited myself to two servers to do this between. My Windows account is defined with sa rights on both servers. I have tried explicitly to impersonate my account, I have told it to ex ...Show All
Visual C++ Visual C++ Toolkit for VS2005?
What is the Visual C++ Toolkit 2003 The Visual C++ Toolkit is a free edition of Microsoft’s professional Visual C++ optimizing compiler and standard libraries--the same optimizing compiler and standard libraries that ship in Visual Studio .NET 2003 Professional! Hi, I used to have Visual C++ Toolkit installed along with my VC++ 2003. This tuesday, after attending Microsoft VS2005 launch event, I came back with VS 2005 Standard Edition and would like to start developping with it as soon as possible. Is there any equivalent of VC++ 2003 Toolkit but for VS 2005 Or is it already included Tha ...Show All
Visual C++ VC8 Crash Bug
The following code sample is not valid code, and is not intended to compile cleanly. It does, however, crash the VC8 compiler. The compiler spits out all of its error information and apparently finishes the whole compile process before crashing, but at the end it does crash (Windows pops up an error reporting dialog and everything). template < typename T> struct test { template < typename T> { } operator T() { return 0; } }; int main() { test< int > x; x = 1; r ...Show All
Smart Device Development Debugging of eVC++ 4.0 application on WinMobile 5.0 using VS2005 dummy project
Hi Friends, I am doing following steps- 1) Install eVC 4.0 SP4 and Visual Studio 2005 on the same machine. 2) Build the eVC 4.0 MFC project and copy the executable to the appropriate location on the device using Remote File Viewer from Visual Studio 2005. 3) Create a dummy project on Visual Studio 2005 (this must be an executable project) for the correct WM 5.0 platform. 4) In VS 2005, open the project properties page and navigate to the Debugging page. Set the Remote Executable to the eVC 4.0 application using the macros to specify the target directory. 5) F5 and things should just work. ...Show All
Visual Studio 2008 (Pre-release) Binding sample causes error in VS - workaround doesn't seem to
Just FYI Steps: Extract and Build - Binding to a Non-Text Property Sample ms-help://MS.MSSDK.1033/MS.WinFXSDK.1033/wpf_samples/html/c08d47f3-610a-4dae-911c-7c201ba1909e.htm Result: Error 1 Assembly '' could not be found. Are you missing an assembly reference C:\Monarch\Sandbox\nball\WinFx\BindNonText\CSharp\Page1.xaml 5 11 BindNonTextProperty Error 2 Type 'c:MyData' could not be found. Are you missing an assembly reference C:\Monarch\Sandbox\nball\WinFx\BindNonText\CSharp\Page1.xaml 8 6 BindNonTextProperty --------------- Note:MyData is part of the project. < DockPanel.Resources > ----------------- Here's t ...Show All
Visual C++ GUI using VC++
Hi all, I am very very very new to this field. I am making a GUI for an executable file that runs in DOS Shell (or command prompt) using Windows Forms Application of Visual Studio using VC++. The exe has many flags with it where the user can give his own inputs. i am able to run the .exe using WinExec though with default arguments, what I need to do is to take the inputs from the user and then pass it to exe. how do i do this I tried using scanf but doesnt work... i know my question may be very very simple...but please help !!!! thanks martin, but what I really am not able to do is to read ...Show All
Visual C# Object reference not set to an instance of an object. - pulling my hair out, please help.
Hi everyone, I'm doing some work with structures, the following is an extract: public struct sectionScore { public int sToScore; public ArrayList qInSection; } public struct questionScore { public int qToScore; public int qScore; } as you can see, quite simple. The question to score struct stores a couple of ints, the values from these int's are stored in the array list qInSection. The idea is that the will be many questionsScore structures stored in several sectionScore structures - but this question relates to storing 'n' questionScore ...Show All
.NET Development Inserting large amount of rows using ADO.NET
Hi , I have a requirement to read rows from Table A on Server A and insert into Table B on Server B. Unfortunatley, Server A and B are not linked , so i can't use a Insert SQL to do the inserts. I am thinking of reading rows from Table A and inserting into Table B using ADO.NET. My question is : 1) Is there a way in ADO.NET 1.1 to do bulk inserts The insert will be done by a stored procedure , but I don't want this Stored proc to be called for every row in the datatable. 2) In case I do have to call the Insert Stored Proc for each row in the table, will it be efficient enough for a datable with say 1 million rows 3) Is there ...Show All
Visual FoxPro line/column numbers are not displayed
In the status bar of my source code editor there are no column or line numbers. I go to Edit-->Properties and the checkbox "show line/column position" is properly checked. The help says that the numbers aren't displayed if wordwrap enabled. It is unaccessible in my editor properties dialog box. I cannot enable it because it dimmed. What else is missing here Thanks. Alex, I normally run with the debugger set to FoxPro Frame, which gives me just the debug windows I want to use trace and locals most of the time, sometimes debug output and watch. To see the data environments click the toolbar button to open the Data Session Wi ...Show All
Visual Studio 2008 (Pre-release) DataContract and DataMember
I have a class and I need pass the class to the client of service without put the DataContract and DataMember atributte in the class, without modified the class. Can I put the DataContract or DataMember attribute in another place, or how I pass the class schema to the client without those atributtes If the type is already marked [Serializable], you're done. If it isn't marked with [Serializable] or [DataContract], you can use XmlSerializer as suggested here, but only the public data members will be serialized. Otherwise, you can implement what's known as a data contract surrogate by implementin ...Show All
Visual Studio Express Editions Can I suppress print preview multipage icons?
Visual Basic 2005 Exress Edition: On the print preview, there are icons for: 1 page 2 pages 3 pages 4 pages 6 pages But, my application always only prints out one page. Can I suppress those icons Hi. Could you please be more clear in your problem definition Thank you, Bhanu. ...Show All
SQL Server Connection failed!
Hi guys, I have problem with this code: TCHAR szCurrentDir[250]; TCHAR szDataDir[250]; lstrcpy(szDataDir, TEXT( "DRIVER={SQL Native Client};SERVER=.\\sqlexpress;Trusted_Connection=Yes;DATABASE=MyDic;AttachDBFileName=" )); GetCurrentDirectory( sizeof (szCurrentDir), szCurrentDir); lstrcat(szCurrentDir, TEXT( "\\Database\\Data.mdf;" )); lstrcat(szDataDir, szCurrentDir); SQLDriverConnect(hdbc, hWnd, szDataDir, SQL_NTS, szConnStrOut, sizeof (szConnStrOut), &cbConnStrOut, SQL_DRIVER_COMPLETE); When I run my program, I get this message: --------------------------- Microsoft SQL Server Login -------------- ...Show All
Visual Basic Improve Form loading at runtime -- NEed Help
I have a form with more than 65 label + 67 textbox + 3 listview + 10 combobox. and in my listview, i have 10 columnheader in it. During form loading, it has to load only some default data from database into combobox. But it still took me a while to get the form completely loaded /show on the screen. Is there a better way to improve the form loading speed Beside, as this form is always used by the user, and I get it dispose everytime after form closed. Would that be a good idea Please help ! Regards, David I agree. Its better to just hide the form and reuse it than reloading it if this form is used many times. Regards, Vikram ...Show All
Smart Device Development SQL Mobile Debug Speed
Is there a way to "optimize" the what parts of the code can be debugged, rather than everything What I am after here is to debug my own base code, but get limited information from the debugger when talking to the SQL Mobile database. I have a simple form that builds a tree with about 10 nodes that were generated from a query from the SQL Mobile database. When you run in debug mode, it took 25 sec to bring up the form, but only 1 sec when compiled for release. I do not see that type of speed up on other parts of my code, but debugging with SQL Mobile seems really slow. Thanks, Juan Foegen ...Show All
Visual Studio 2008 (Pre-release) about richtext
Hi I'm new to avalon and i've a small doubt on richtext box. Here i'm entering some message in rich text box and i dont know how to save that message also how to load external file(.rtf) into current richtext box. thanx Nagu http://blogs.msdn.com/jfoscoding/archive/2006/01/16/513383.aspx ...Show All
