iceberg777's Q&A profile
.NET Development primarykey
i have a table in ms-access named AccTable with fields MemberID and AccountType The MemberID is primary key in Master table, and in this table(AccTable) , it is foriegn key. In AccTable table, how can i set MemberID and AccountType fields as primary key. (I dont want to set any other field as primary key) pls tell me Or if you are in Access, go to Design view of the table and Right-click the field, t ...Show All
Windows Forms External component has thrown an exception
Hi, I'm getting this error really sporadically in my Winforms app. Seems to happen when trying to display a form with a call to .ShowDialog(). It doesn't seem to happen on any particular form, just pops up now & again. I can close the application and restart it, then I can view the form without the error The application is running in a Citrix terminal server environment, the assemblies themselves are running from a network share. Ca ...Show All
Visual Studio 2008 (Pre-release) GridSplitter seperating Rows
Is there a way to have a splitter for rows Here's the xaml I am trying to use: < Grid VerticalAlignment = " Stretch " HorizontalAlignment = " Stretch " > < Grid.RowDefinitions > < RowDefinition Height = " * " MinHeight = " 0 " /> < RowDefinition Height = " * " MinHeight = " 0 " /> </ Grid.RowDefinitions > < StackPanel Grid.Row = " ...Show All
Visual Studio Crystal Reports
I am developing a crystal report in Visual Studio 2003 using ASP.Net and C#. when i print the report using a Canon Laser printer the report format is absolutely fine, but when i print it using a HP Deskjet printer the whole formating get disturbed. can anyone tell me how resolve this printer specific formatting problem, because client can use any kind of printer to print the report. regards Neeraj Jain ...Show All
.NET Development CoCreateInstance is called in VS 2005 and Multithreading, Urgent help !!!
Hello folks or guys from MS can help, My code structure like the following using VC++ : CIrDlg::OnInitDialog(){ ..... m_pWaitForMessageThread = AfxBeginThread(WaitForMessage, this ); //create a thread ..... } ClrDlg::WaitForMessage(){ AxCOM::Class2 * pObj = new AxCOM::Class2(); //AxCOM is managed component; hRes = CoCreateInstance(clsid,NULL,CLSCTX_ALL,iid, reinterpret_cast < void **>(&pObj)); ...Show All
Visual Studio Error When Deploying Application
Hi, When I deploy my win app which includes a reportViewer control I get the following message. Unable to install or run this application. The application requires your system to be updated to Microsoft.ReportViewer.WinForms Version 8.0.0.0. Any idea what this error means Terry, that didn't work for my problem of using a ReportViewer in a webform in local mode at a hosted website. By the way, your previous article, "Visual Studio 2005 ...Show All
SQL Server Problem with SSIS Transaction...Transaction Scope
Hi, I am having some problem with SSIS transaction. Eventhought I tried to imitate the concept that Jamie presented at http://www.sqlservercentral.com/columnists/jthomson/transactionsinsqlserver2005integrationservices.asp . My workflow is as followed ********************************* For Each ADO.Record in Oracle (transaction=not supported) If (Certain_Field_Value = 'A') Lookup Data in SQL DB with values from Ora ...Show All
Visual C++ Managed Debugging Assistant 'LoaderLock' has detected a problem
I have a mixed assembly and a mixed exe (managed and unmanaged). I try to start the exe. The result is a message message box with the following text: Managed Debugging Assistant 'LoaderLock' has detected a problem in 'd:\VACNT-32.5\System\debug\ves.exe'. Additional Information: Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function. The msdn2 documentation ...Show All
Visual Studio Team System Can't connect to the tfs
hi, in our project we work (five users) with the team foundation server (RC). All is good and we haven't problems at all. In that time a colleague ask me, whether he could connect to the server. i said to him that the only thing he has to do is to install the team explorer and connect to our project server. He get the following error even though he works in the same domain. Error: TF31002: Unable to connect to this team found ...Show All
Windows Forms Problems updating dataset changes
I have a winform whit this load event to retrieve a User from the database: userController = new UsuarioAD(); userDS = UserController.GetUsuarioByLogin("test"); //Return a filled datased textBoxNombre.DataBindings.Add(new Binding("Text", userDS, "Usuario.nombre")); in the button save event I have: userController.UpdateUser(userDS); userDS is a private variable (DataSet) and userController is the Bussin ...Show All
Visual C++ C++ name mangling change between 2003 and 2005
We have a Win32 console DLL that we currently compile with VS C++ 2003, but we need to be able to allow it to be linked to and used by executables compiled with VS C++ 2005. For the most part this works. However, we have a couple of functions that take a std::exception as an argument, and these cannot be used in the 2005 executables because the name mangling is different. In 2003 the mangled name is: foo@@YAXVexception@@@Z and in 2005 ...Show All
Visual Studio Express Editions Web host for Visual Basics Express Editions ?
Hello, All Does anyone know a hosting company that supports SQL Server 2005 Express I currently have a host but does not support Sql Express. I'm going out of my mind looking for one. I'm done with my work now all I need is a host the supports the Express editions. Thanks for the help ! We support SQL Server 2005. Visit here for more information. We will do whatever we can to help make you product ...Show All
SQL Server SQL Server 2005 Beta 2 expiration date?
What is the expiration date of SQL Server 2005 Beta 2 (time bomb) Thanks Jus ...Show All
.NET Development Restricting Web Service to localhost
Hi, I am trying to restrict the web service to only respond to clients from the same server. In other words, I am checking the ' HttpContext.Current.Request.UserHostAddress'. I have couple of questions, 1. Is it possible for the client to manipulate the value of 'UserHostAddress' so that it looks as though the request is originating from the local machine even though actually it is not 2. Is there a ...Show All
Windows Forms Dynamic User Controls, Custom Properties
I created a User Control under VB.net and I want to add the control dynamically. Thats all working. I get the control added and I have managed to access the standard properties, however I am not able to access the Custom Properties ...Show All
