Hacker_594's Q&A profile
Smart Device Development Can eVC++ 4 SP4 be used for Windows Mobile 5.0 development?
Hi, As stated in the download page of the SP4 for eVC 4: <<Service Pack 4 (SP4) allows existing eVC4 users to target Windows CE 5.0 based devices. >> but the WM05 SDK is currently only for Visual Studio 2005... Any possibilities to use the eVC4 to develop for WM05 best regards Pietro That's correct, you will need eVC3 for PPC2000/2002, but you can throw away eVC4 as long as you don't need it for other CE4.2 non-PPC devices. We thought about attempting to support PPC2000/2002, but the technical and logistical barriers were too high, and would have required us to cut critical features. Cheers! Jeff ...Show All
Windows Forms Displaying selected items in an unfocused ListView
Hello, I have the following problem : I want to display the selected items in a ListView even if the ListView isn't focused. As far as I have noticed, in .NET Framework 1.1 the default behaviour is NOT to display them while the ListView control is not focused. Any workarounds Andrei All answers above did not do the trick for me so i spend some hours and came up with the following change on Tanmay D code. Hopefully this helps! Cheers, Rutger [ Description ( "ListViewWithSelection" )] [ ToolboxBitmap ( typeof ( ListView ))] public class ListViewWithSelection : System.Windows.For ...Show All
Visual Studio Team System Saving Requirements Documents
Having trouble saving a requierments documents back into Team System. When opened up they display Read Only on the title bar and when selecting Save As... from word there is not an option to save back into Team Server. I am in the Project Administrator's group. Any ideas. This works successfully for other users in other Team System projects. Any Ideas Thanks The Team Explorer integration with SharePoint will attempt to open a document in a few different ways to try to guarantee the best user experience under different conditions. Office documents are opened using the SharePoint.OpenDocume ...Show All
Windows Forms Refresh Designer at Design Time?
Hi, I’ve created a simple user control which resizes its height automatically according to the image size loaded by a user at design time. After loading the image my control resizes but the control selection area doesn’t resize automatically - only when I click on the control. My control also has a custom control designer which restricts the control user to set the user controls height at design time. Is there any particular reason why this is happening How can I fix this Thank you, Eric Maroudas. In your custom designer, after you've done ...Show All
Windows Forms Passing a string to my form
I want to start my windows application (exe file) from command prompt and pass for example a name string to the exe. How and where do I retrieve that string in my form code I thought that I could just get it from the EventArgs variable in the Form_Load eventhandler, but that doesn't work. Can anybody help me do it in the m ...Show All
Visual Studio Team System Install ok but error messages connecting to TFS from client
I have installed a single server (WORKGROUP) setup of TFS without any issues in the installation routine The only non-standard selection I made was not to enable the Team Foundation Alerts. However when I try and connect a TFS client, I get the following error message in the client window :- TF30291: There was a problem on the server of unknown cause. See the Team Foundation Server event log for details. Time 2005-10-14T10:09:53:562 Looking in the event log on the TF Server I get two messages :- Type : Error Event ID:3000 An unexpected condition has occurred in a Team Foundation component. The information containe ...Show All
.NET Development problem saving DataTable to Access file .mdb
Hi friends, I have a problem saving data from a DataTable to Access file .mdb. I used the following code: Dim dt as DataTable ....read dt from mydb.mdb OK ....show dt in a DataGridView OK ....modify data in the DataGridView and update the DataTable dt OK ...now I want save data to mydb.mdb: Dim cn As OleDbConnection, adapter As OleDbDataAdapter ConnectAndOpenDB(cn) 'this function open the connection with mydb.mdb sql = "update " & tablename Try adapter = New OleDbDataAdapter(sql, cn) adapter.Update(dt) Catch.... Now I check mydb.mdb but the data are not chang ...Show All
Visual Studio SourceSafe Setup problem
Hello all, I have tested VS 2005 b1 for a while now and started testing the VSS a few days ago. I'm having a problem setting it up right. Here is my teams setup. 2 developers: A, B Developer has opened an existing website (on a remote server) and added it to the SourceSafe database which is placed on the same remote server (accessed by file share). Developer B now opens the website from SourceSafe and a local copy is generated on developer B's computer. But when developer B add's new files or changes some of the existing files, the website is not updated. The only thing updated is the SourceSafe database. I ...Show All
Visual C# Windows forms component
Hi All, I have developed a Windows form component as an Assembly(DLL) which contains many Windows form controls. I want use this with a Web application to display on the web page. Please suggest the procedure. Thanks. you cant use Windows.Forms controls in a web application without downloading to the client. If thats what you want to do, you need to use the <object> tag much like an embedded activex control. ...Show All
Visual C++ Why MsgWaitForMultipleObjects returns 0xFFFFFFFF?
I wonder why this fairly simple code makes MsgWaitForMultipleObjects to return 0xFFFFFFFF The result from GetLastError is Access Denied. What access could be denied in this code HANDLE l_hComm = CreateFile("COM1", GENERIC_READ | GENERIC_WRITE, 0, 0, OPEN_EXISTING, 0, 0); if (l_hComm == INVALID_HANDLE_VALUE) { l_this->m_staticText.SetWindowText("Couldn't open COM port."); AfxMessageBox("Couldn't open COM port."); ifs.close(); l_this->m_btnCancel.SetWindowText(_T("Close")); return -1; } if (!l_this->SetupCommPort(l_hComm)) { l_this->m_staticText.SetWindowText("Couldn't setup COM port."); AfxMessageBox("Couldn't s ...Show All
Visual Studio Express Editions Moving Data from Sql Server Express to a master Database with Sql Server 2005 in code.
I have built a Click-Once deployment application that installs SqlServer Express on the intended clients which works pretty well. The question that I have is the database on the clients are created from sql scripts that were generated from a master database, once the client application has completed inserting data how can I move the data from the clients machine running Sql Server Express to a Central Database server running Sql Server 2005. Everything must be done from code which poses an even bigger issue. you can use the SQL Command line tools or the SMO Interface in code to Attach and Detach the data ...Show All
Visual Studio How to abort a commandline build.
I am trying to abort a commandline initiated build before it does any work. I have a OnBuildBegin handler that does some checking to see whether to actually build. None of my current approaches work reliably. Invoking Build.Cancel in the handler. As far as I can tell, commands are not availablewhen running in commandline mode. Is that correct, or am I missing something Using the HRESULT for the callback. As far as I can tell, that value is ignored. Hook into CommandEvents.BeforeExecute. I believe the same limitation will apply here as for invoking Build.Cancel. Commands seem to not be accessible (the build is not started via a command). ...Show All
Windows Forms Minimizing process window in windows forms
Hi, I have an MDI application that launches a internet explorer web page by calling iexplore.exe in a seperate process. I want to minimize the iexplore window on load. Is there a way to do this My code is as follows: Process p = new Process(); p.StartInfo.Filename = "iexplore.exe"; p.Start(); // Code here to minimize process I would think the&nbs ...Show All
SQL Server Could not establish trust relationship for the SSL/TLS secure channel
Hi, I am working on sql server reporting services 2005 , i got this error while deploying a report Error 1 The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. C:\Temp\NotificationReport\db.rds 0 0 NB: i checked IIS no ssl required on all sites. Any Help Thanks Tarek Ghazali SQL Server MVP I had the same problem, but I had entered the wrong certificate name in the Reporting services configuration manager -> Report server virtual directory -> Certificate name. I had used myName ins ...Show All
Visual C# How to get the Name property of an Image Resource?
Is it possible to access the Name property of an Image resource from my application resource For instance, I'd like to do something like this: { ImageList il = new ImageList(); Image myImage = Properties.Resources.MyImage; String myImageKey = Properties.Resource.MyImage.Name; //doesn't exist il.Images.Add(myImageKey, myImage); il.Images.ContainsKey(Properties.Resource.MyImage.Name)... } In other words, I don't want to have to maintain a separate list of ImageKeys to correspond with the resource names. Any suggestions Thanks in advance! -John Hi! Image do not have ...Show All
