WEB SERVICES VS REMOTING's Q&A profile
Windows Forms design time bug?
Hi , if i create a control/usercontrol , and add say a button and a textbox to it. compile and add my control to a PANEL on a form select the panel , copy it (ctrl+c) paste it (ctrl+v) a copy now appears with a copy of the control on it .. so far so good. now , try to select the control by clicking either the button on it or th ...Show All
.NET Development IStream.Read documentation
The msdn documentation for IStream.Read says the following about the pv parameter: When this method returns, contains the data read from the stream. This parameter is passed uninitialized. What does uninitialized mean here As far as I can tell this method does not work as expected unless pv is a byte array with length equal to the cb argument. If I use the interface from C# it wont even compile if I leave pv uninitialized. Instantiation is slightly different than initialization. You instantiate a variable when you create it using new or by simply using a declaration statement. However the initial v ...Show All
Visual C# SendMessage to Date Time Picker Control of different process
Anyone knows why a SendMessage/DTM_SETSYSTEMTIME fails across processes when the message is send from one process to the Date Time picker control in a different process, SendMessage returns 0 - indicating an error - and the picker remains unaffected. How can one then modify the DTP of another application Any suggestions ...Show All
Smart Device Development time() / localtime() in VS 2005 Windows mobile 5.0 pocket PC projects
VS 2005 compiles Windows mobile 5.0 pocket PC projects that use time()/localtime(), but the linker does not find their implementation. So which replacements exist under Windows CE that I can use Maybe you can try to use SYSTEMTIME structure instead of use localtime() function. Like this: SYSTEMTIME curTime; GetSystemTime(&curTime); Hope this can helpful. ...Show All
Windows Forms Terrarium 1.2 : My creatures throw error after deserialization
My converted Terrarium 1.1 creatures now throw errors after deserialization (i.e. when I reload the Terrarium). Anyone with the same problem It seems that calling 'CanAttack' just after deserialization causes the problem. Reproducing it is very easy; just make a call to CanAttack somewhere in the LoadEvent or IdleEvent. Introducing animals works fine, but after closing and&nb ...Show All
Visual Studio Team System Newbie!! TFS requirements
Hi all, I'm going to install TFS. After reading documentation and resources, of course, not all of them, I wonder if: 1. Is TFS require active directory domain controller 2. May I install everything, active directory domain controller, DNS server, Web server, SQL 2005 server, Sharepoint server on the same box Win2003 Enterprise Edition Server Best Regards, Hi, for Dual Server Installation, AD is necessary. But not to Single Server Installation. For Single Server Installation you can use a computer that is member of the workgroup. (almost documentation say that). regards - gabriel ...Show All
Visual Basic Streaming text from a view to a file.
The following code is supposed to place data rows from a SQL Server 2000 view (vwExport) into a text file: G:\doc\Output.txt. The compile error I get is: 'Application.ApplicationDataSetTableAdapters.vwExportTableAdapter' cannot be converted to 'System.Data.DataTable'. Code: Dim strExport As String = "" Dim strExportFile As String = "" Dim x As DataView = New DataView(VwExportTableAdapter) Dim z As Integer Dim y As Integer For z = 0 To x.Table.Rows.Count - 1 For y = 0 To x.Table.Columns.Count - 1 strExport = strExport & x(z).Item(y).ToString & vbCrLf Next strExport = strExport & vbC ...Show All
Windows Forms standard countries & cities in comboboxes
Hi, I want to incorporate standard city and country comboboxes. i.e. the first combobox displays the standard countries and the second combobox displays the standard cities corresponse to the contries the user first selected. I've search the forums but only found those binding with database. 1. Is there any class for standard countries and cities 2. How to match the cities with a country Thanks in advance ps. I'm using C# 1 - No 2 - Have a list of cities for each country and look up the right list when a new country is selected. A hash table of lists ...Show All
Visual Studio Adding a Database Project using DTE
Hi All, I was able to add a Windows Application Project in the runtime using the Automation Object Model but I couldn't add a Database Project (including SQLServer and empty database projects). The thing was I found the template zip files in the VS folder and I used solution.GetProjectTemplate() function to find the template path but for Database Projects I couldn't find any zip files that contain the template and it is located in a seperate folder that cannot be accessed using this method. Can anybody give me a clue for this. Thanks! Best Regards, Imesh If GetProjectTemplate doesn't help, you can use ...Show All
.NET Development Signing from a SmartCard
Hi everybody! I'm trying to create a XMLSigned signature using a key stored in a smartcard. The problem is that there is no way to create a RSACryptoServiceProvider to do that. When I try: RSACryptoServiceProvider rsa = (RSACryptoServiceProvider)cert.PrivateKey; Where cert is a X509Certificate2 that points to a key stored in a smartcard then I get the error "There are more data available". I'm a bit desesperated so if someone can help I will invite him/her to a bier whenever he/she comes to Barcelona :-) First of all thanks for your reply, I have already seen the post you mentioned but it doesn't ...Show All
.NET Development Best Practice for modifying object in collection
Hi. I am just wondering what is the proper way/correct way/best practice to modify an object located in a specific index of an array The way I have looked at it is to do this: object B index = in array, look for object B if index != -1 //we found it! someCollection[index] = objectB someCollection.Sort(); //or whatever else // do whatever end if is this a bad way if so - why how can it be improved please do tell me, I want to know!! :-) nothing at all, and wow what a speedy reply - thanks! I just wanted to make sure that I am not being an idiot and wanting to learn new and perhaps better wa ...Show All
SQL Server sql server 2005 express edition and reporting services
Hi all, Does any one knows a link to a place telling the limitations of reporting services on a sql server 2005 express edition Hi, I need the info about this as well. Have you found something Goran ...Show All
SQL Server SQL Server Business Intelligence Development Studio not found
I have installed the evaluation version of SQL Server. When i click on the Intelligence Development Studio link it starts looking for the file devenv.exe. The file is not on the pc. Repeated installation twice making sure that all components are selected. What is causing this file not to be available Haris Does this means that to run Business Intelligence Studio the Visual Studio must be installed If so should this installtation be done prior to installing SQL Server or as post installation step Why did microsoft did not mention this in the setup instructions Regards, Haris ...Show All
Visual C++ SSE3 Programming question
I am trying to use the sample code in Visual Studio 2005 Beta 2 to compile SSE3 math operations, and am having problems. The first issue is that the intrinsic math functions (_mm_addsub_pd for example) are not declared in emmintrin.h. This is the only file that the MSDN help says is needed to include. If the sample code is compiled with this header file, unresolved externals occur. I managed to find pmmintrin.h in the Intel C++ compiler installation which fixed the problem of unresolved externals, and declares the SSE3 functions. The next problem is that the sample code causes an access violation: "Access violation reading location 0xfffffff ...Show All
Visual Basic Error - How do I fix this?
I am getting this error when running my program: Error 1 Unable to find manifest signing certificate in the certificate store. I can still continue but want to stop this from happening. Thanks! Brian IN Previous Item Q2 - Click Once Deployment requires that the manifest be signed. So when you try and publish this is why this is occuring. ...Show All
