Software Development Network Logo
  • Visual FoxPro
  • Visual Studio
  • Visual C#
  • Windows Forms
  • IE Development
  • Smart Devicet
  • SharePoint Products
  • Windows Vista
  • VS Team System
  • Visual Basic
  • Game Technologies
  • .NET Development
  • Audio and Video
  • Visual C++
  • Microsoft ISV

Software Development Network >> bberti's Q&A profile

bberti

Member List

RMatthe
Vedat ARAL
Ilya Margoulis
Fadi Kahhaleh
dagfari
April m
riemerg
Chris W
byronfromwesleyan
BalajiSanro
R8VI
rcurrie
paschott
Denis Pravdin
jaimemontoya
Rafael Mores
Osiris43
martinabc
Danca
learnerplates
Only Title

bberti's Q&A profile

  • Visual Studio 2008 (Pre-release) Lazy-Load

    Hi. I've got a classic Master-Detail DB structure Master ID Name Detail ID Name MasterID I generate the EDM with EDM Designer and I add a navigation property "Details" from Master to Detail entity type, so I can have details related to a master entity simply by typing Master m = .... m.Details I've noted that if I type the code above and run it, the details collection is empty. I've to add m.Details.Load(); and then I've got the expected behavior. Is it a normal behavior Is it the ADO.NET lazy-load implementation If yes, doesn't the lazy-load mechanism have to be transparent to the user I hope that my questions were clear. Thanks. Roberto. Actually, th ...Show All

  • Visual Studio 2008 (Pre-release) WCF / IIS 6

    Hi I'm trying to run a WCF-Service under Win 2003 / IIS 6 (on Vista / IIS 7 it works!). But here I always get the exception: System.ServiceModel.FaultException: An error occured when verifying security for the message. I am using message-security with a custom Username-Authentication: <system.serviceModel> <services> <service behaviorConfiguration="RmsServiceBehavior" name="connvision.CvSystem.Core.Services.RangeManagerService.RangeManagement Service"> <endpoint binding="wsHttpBinding" contract="connvision.CvSystem.Core.Services.RangeManagerService.ServiceCont racts.IRangeManagementService" bindingConfiguration="RmsBinding" /> </serv ...Show All

  • Visual Basic Simple data access to access

    I am trying to learn using vb.net express. I have a single form with a single button. the button exectues this code: Dim constr As String = "Provider=Microsoft.Jet.Oledb.4.0; Data Source=d:\mydocs\db1.mdb" Dim conn As New OleDbConnection(constr) Dim dt As New DataTable() Dim cmd As New OleDbCommand( "select guid from table1 where company = 'sspi'" , conn) conn.Open() Dim dr As OleDbDataReader = cmd.ExecuteReader() dt.Load(dr) Now I want to have a msgbox that reports the results from the select statement. How do I do that What is the return object Ryan Sanders wrote: I dont know exactly what this does yet but it s ...Show All

  • SQL Server error when backup transaction log

    hi guys, I'm using sql 2000 and I got this error when I run backup transaction log in maintenence plan. "The job failed. The Job was invoked by Schedule 38 (Schedule 1). The last step to run was step 1 (Step 1)." but even it return an error the backup file is created. please advice. thanks There has to be a more detailed error, if you did not choose to log the job execution, try to do this, as this. Otherwiese you will only get this common exception which does not really help very much. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Windows Forms Dynamic TabControls and Tabpages

    Hello Friends, My Form opens with two tabcontrols and each tabcontrol has 2 tabpages. Now in the menu of the Form..I have to set an option where I can give number of tabcontrols and tabpages to be displayed..If i give 4 tabcontrols and each tabcontrol must have 4 tabpages..then Form must display those.. How to do this dynamically Can anyone gimme hints/suggestions how to do this Thanx in advance ...Show All

  • Smart Device Development Termination process ( Null handle )

    hi, DWORD CKillExeApp::IsProcessRunning( char * pname) { char* szExeFile = new char[MAX_PATH]; PROCESSENTRY32 proc; proc.dwSize = sizeof(PROCESSENTRY32); HANDLE lTlhlpHndl; lTlhlpHndl = CreateToolhelp32Snapshot(TH32CS_SNAPALL,0); if(INVALID_HANDLE_VALUE != lTlhlpHndl) { PROCESSENTRY32 lEntry; BOOL lRetVal; memset(&lEntry,0,sizeof(PROCESSENTRY32)); lEntry.dwSize = sizeof(PROCESSENTRY32); lRetVal = Process32First(lTlhlpHndl,&lEntry); while(lRetVal) { WideCharToMultiByte(CP_ACP, 0, (wchar_t *) lEntry.szExeFile, -1, szExeFile,20, NULL, NULL); if (strcmp(pname,szExeFile) == 0) { delete[] szExeFile; return lEntry.th32ProcessID; //return processID from here.. observe in debugging } lRetVal = Process32Next(lTlh ...Show All

  • .NET Development .net 3.0 install

    I've seen this error in other spots, but I can't seem to find a way to fix it. I'm trying to install the .net 3.0 framework on my computer and it's failing with the following: error msg (sent to microsoft): EventType : wap10setup P1 : 13165 P2 : 3.0.04506.30_waprtm_x86_sfx P3 : mc P4 : inst P5 : f P6 : writeregistryvalues P7 : 1402 P8 : 1603 P9 : - P10 : windows communic Log: [11/11/06,19:11:38] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603 [11/11/06,19:11:51] WapUI: [2] DepCheck indicates Windows Communication Foundation is not installed. [11/11/06,19:11:51] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3. ...Show All

  • SQL Server using CASE statement in a prediction query

    Hi, Can i use a CASE statement in a prediction query. the following query is throwing me an error SELECT CASE [Sales Forecast Time Series].[City Code] when 'LA' then 'Los Angeles' WHEN 'CA' THEN 'California' ELSE 'OTHERS' END, PredictTimeSeries([Sales Forecast Time Series].[Sales Value],5) From [Sales Forecast Time Series] ERROR: Parser: The statement dialect could not be resolved due to ambiguity. Also Is it possible to discretize the Sales Value column using a the CASE statement, the output column of PredictTimeSeries function. Is there a link that can give me a comprehensive info on what can be achieved and what cant be using DMX queries DMX does not support (yet) the CASE ...Show All

  • Visual Studio Team System Team Foundation server sending the same alert content multiple times

    Hello, We have users that have subscribed to the standand "Work items changed by others" alert For some reasons, the TFS server sends the exact same e-mail over and over again. The user will receive it each hour all throught the day (exactly one hour, clockwork). The content are exactely the same. If we make further changes to the work item, the initial notification continues to be sent. I have seen the same behaviour on the check-in alert (the one that shows the change set information) I have only seen this behaviour on this one internal team project we have (we have installed may TFS at other customer sites and I have never seen this behaviour, nor can I see any other complaints about this). I have not ...Show All

  • Visual Studio Team System Active Directory Domain Rename

    Hi. We plan to rename our domain like described in this article: http://www.microsoft.com/technet/downloads/winsrvr/domainrename.mspx Our Team Foundation Server is a member of active directory, and we heave many domain users connected to this TFS system. The question is: After domain rename must we make something/or perform some additional steps to keep TFS System still works like before And domain users can logon with previous privileges to our TFS system without any additional administrative actions best regards Slawek Sp. This is exactly what "tfsadminutil sid" is for. You'll use it with "/change olddomainname newdomainname" and it will update the SID's (security ...Show All

  • Windows Forms Inserting items checked in checklistbox to database

    Hi, I have a checklistbox called from a table with permissions as value and a "Save" button. I am able to display the permissionlevel as checklistbox. For example, Read Write Execute Full Control (Save) button I have another table which associates with userid and permissionlevel. If a user has read and write permission in the table, when that user signs in, I want Read and Write checkbox to be displayed as checked. The user may uncheck or check more permission. When he clicks "Save" button, I want everything that is checked to insert to a table and delete anything that is unchecked from the table. I am new to C# and still trying to learn this new language, so if you can be specific with your answer, ...Show All

  • Visual Studio Documentation Compiler - Sandcastle

    We did code complete of documentation compiler ( code named "Sandcastle") on June 15th and currently we are testing the tool building our .NetFramework documentation. We would like to release the CTP version of Sandcastle in Microsoft download center by next week. The perf in our testing has been great as we are able to build the entire framework content in less than 1 hour. I am in the process of going through final check and code signing required to post this in our download center. Please expect the CTP in the next week or so and I will provide an update here as soon I post the CTP. Anand.. Great, Thanks. Will this handle non-standard tags (exmple: nested tags named: objects, object, parameters) Will sandbox render th ...Show All

  • Software Development for Windows Vista get PTS from MPEG2 live stream / demultiplexer

    I've got an MPEG2 transport stream which is pushed through the Microsoft MPEG-2 Demultiplexer, with audio and video streams being rendered through two output pins on the demux. Fairly standard stuff. I've also got another output pin carrying some private data in PES packets. These packets contain data that needs processing loosely synchronized with the playback PTS. Is there any interface I can use to query the live streams start position I'm after an absolute value (reference time) rather than the stream time. Any ideas ...Show All

  • Windows Forms .NET 2.0 WebBrowser does not handle javascript calls, navigates instead

    Imagine a web page that includes the following <A> tag: <a id="ButtonOne" href=OnCheckout();"><img ... ></a> Any browser, including the application I'm working with that has a .NET 1.1 C# WebBrowser control embedded in it, will call the javascript OnCheckout() function when that link is clicked. I can expect that, because of the code in that function, I will shortly have a BeforeNavigate2 event fire where the URL is something like http://host.domain.com/page.aspx . Because that happens. Every time. So reliably that we sell it to customers. Now that the 2.0 Framework and VS2005 have come out (and for a few other reasons), we're writing a new version of this product that happens to use the .NET ...Show All

  • Windows Forms datagridview cell editing

    I am programatically trying to edit some cells. I change the value using DG[index1,index2]=value. Then I execute EndEdit on the DG. But I notice that the currentcell is not the cell I edited. It seems to be causing problems. What is the best way to make sure changes are committed to the DataGridView once I make changes programatically. Thanks Nik When you edit a cell using DataGridView(cellIndex, rowIndex) = value and then execute DataGridView.EndEdit(), it does not actually change CurrentCell property of a DataGridView. To change it programmatically use DataGridView.CurrentCell = DataGridView(cellIndex, rowIndex) . ...Show All

©2008 Software Development Network