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

Software Development Network >> Davids Learning's Q&A profile

Davids Learning

Member List

harlequinben
simon_
Strandberg
Jean-Pierre Fouche
hazz
Umair-Shahzad
NickNotYet
Petru66
Kings Indian
prayami
lucerias
GregSmith104
Jon-12345
patriot074
Muhammad Adel
mlawton
Chris Doull
MagedSalah
JenniferBMiller
alesqlserver
Only Title

Davids Learning's Q&A profile

  • Visual Studio Team System .NET Unit test Microsoft.VisualStudio.QualityTools.Common cannot be loaded.

    I have created a test project (C#) and when I try to run the test (debug selected tests) from the IDE (VS 2005) I get the exeception Could not load file or assembly > 'Microsoft.VisualStudio.QualityTools.Common, > Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one > of its .. How can I fix this. Am I missing any references Thanks prad_kav I would go and see if you actually have this file either in VS installation folder or in the GAC. If not try reinstalling Visual Studio, Rgds Rodrigo ...Show All

  • Visual Studio Express Editions Inherits:-

    I've been dealing with a single form form1 only so far, and now that i want to be able to be directed to another form once i click on a button, say form2. Is inherit the way of doing so What should i do Yap, i do it the way you instructed, the form 2 appears. But if i want that once the form2 appears, the form1 dissapear rigth way. I tried with form1.close(), it didnt work at all. ...Show All

  • Software Development for Windows Vista Can't play the avi file by using video control

    Hi all, I am newbie in the directshow and atl using, so I've created the project in the VC2005 as described in the following article: http://msdn2.microsoft.com/en-gb/library/ms787848.aspx . Then I added event handler to the CMyControl class like this void __stdcall CMyControl::DblClickMsvidctl1(){ CComPtr<IMSVidCtl> pVidControl; CComVariant var(OLESTR( "C:\\skiing.avi" )); GetDlgControl(IDC_MSVIDCTL1, __uuidof (IMSVidCtl), reinterpret_cast < void **>(&pVidControl)); HRESULT hr = pVidControl->View(&var); } hr returns S_OK, but avi doesn't play. Please point me w here I am wrong It's usually a good idea to read at least some of the doc ...Show All

  • .NET Development IIS, Service Unavailable

    Hi, My problem is like this. 1. There's a machine with Windows Server 2003 SP1. And i check there is no IIS installed, So i installed the IIS separately with some issues because when I install using the OS cds, it prompt me message like "Please insert Win 2003 CD SP1" which i dont have it. But i manage to solve it and install the IIS. When i try to open the local host, it says "Service Unavaible". How should i resolve this Thanks and Regards Hi, Sorry I dont get it. What do u mean by configure it I thought by default when i install IIS it should work already During the installation, i didn't have the Windows Server 2003 SP 1 CD, so i use the stardard installation Win Server 200 ...Show All

  • Visual C++ Display an Unsigned CHAR as Binary and Hex

    Hello everybody. I was wondering if it was possible to display a UCHAR in binary and hex format using Visual C++ 6.0 Regards Could I retrieve bit by bit by shifting to the right(>>) or to the left(<<) I.e. c='f'; /* $66 - 01010101 */ c >>=1; printf("%c", c); printf("\t%x\n", c); & 26 /* 00101010 */ Where the last bit has gone Regards ...Show All

  • .NET Development WebClient File Download Problem

    Hi, I am trying to download files from the web using System.Net.WebClient. The program works fine and I am able to download the files for the first time. But, when I try to run again I get "An exception occurred during a WebClient request". This behavior alternates for each run. In one of the threads, I read that it was because of keepalive property being set to ON on the webserver. Is there anyway I can fix the problem by some code changes. Here is my code sample. WebClient wc = new WebClient(); wc.DownloadFile("http://someurl/file1.ext", "C:/myfile1.ext"); wc.DownloadFile("http://someurl/file2.ext", "C:/myfile2.ext"); wc.Dispose(); Any help would be appreciated. Thanks, pravi You don't need to. Can yo ...Show All

  • SQL Server SQL Express with Advanced Services - what Reporting Features does it have?

    I work for an ISV, and some of our customers use SQL Server, others use SQL Server Express. I need to develop some reports, so I was happy to read that SQL Express with Advanced Services would have some (limited ) Reporting Services available. Unfortunately, the sign-up period to beta test appears to be over, and so I am left wondering exactly what functions will be available. Is there anyone out there who has played around with the beta version reporting functions Renaming devenv.exe did not work. I did find something that worked though: I extracted (using WinZip) the files from SQLEXPR_TOOLKIT.EXE Within the extracted directory, I ran the following msi: \SQLEXPR_TOOLKIT\setup\vs_setup.msi ...Show All

  • Visual Studio Team System Problem with the Option page

    Hi, On the Option page when I select the Run Test and select the Test metadata file the Next button is diasabled so I could not go further. Please let me know what is the problem with my Team Build. If I don't select the RunTest then I can finish to create a Team Buil. After check in I modified TFSBuild.proj and made changes < RunTest > true </ RunTest > < RunCodeAnalysis > Always </ RunCodeAnalysis > < MetaDataFile Include="$(SolutionRoot) \Hosted\Shared\WebServices\Security\Web\Web.vsmdi" > < TestList> </TestList > </ MetaDataFile> I checked in and execute Build Team Project. It built successfully . In Build steps ...Show All

  • Software Development for Windows Vista Problem in executing codeactivity inside a WhileActivity

    Hi, I am writing a simple workflow which has a whileactivity which contains a codeactivity as its child activity. When i execute the workflow it throws an exception Exception has been thrown by the target of an invocation. with inner exception Could not load file or assembly 'codetest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. and stack trace at System.RuntimeMethodHandle._SerializationInvoke(Object target, SignatureStruct& declaringTypeSig, SerializationInfo info, StreamingContext context) at System.RuntimeMethodHandle.SerializationInvoke(Object target, SignatureStruct declaringTypeSig, SerializationInfo info, StreamingContext cont ...Show All

  • Windows Forms passing additional information to the Custom CollectionEditor

    I have a custom collectioneditor, which i have implemented, inheriting from CollectionEditor, i want to stop adding addition items on certain conditions, 1.(Can  I pass the condition/parameter  to the CustomCollection Editor ) 2. say i want only a defined Max(not readonly) no of items. something like onadd event..check if max..then stop.allowing. where can i write it ..so it can stop adding items after a certain point i am creating a dropdown tools button like in MS office. here is the sample code. public class MyCollectionEditor : CollectionEditor { public MyCollectionEditor( Type type): base (type) { } protected override Type [] CreateNewItemTypes() { ...Show All

  • Visual Basic Modifying datagrid doesnot update the dataset

    Hi folks, I populated a Sql Server table into a datagrid using SqlDataAdaptor and dataset, which works fine. What I want to do now is to update the table when the data in the datagrid is modified. I added these 2 lines, but doesn't work, ds.AcceptChanges() da.Update(ds.Tables(0)) It seems that changes to the datagrid doesnot update the dataset. Any comments appreciated. Thanks! take out the ds.AcceptChanges()   this tells the dataAdapter or rather marks the dataset as if there are no changes, as the dataSet accepted the changes and indicates that there are no changes to be made therefore nothing will be updated to the datasource.   ...Show All

  • Software Development for Windows Vista Access violation in SAFE_RELEASE(Filter_Graph)

    I wrote a code in order to find the video renderer filter in a filter graph. After finding the video renderer filter I want to disconnect it from the graph. Following is the whole class. In the file open dialog, I call the PlayFile function of this class: class VideoProcessor { private : IGraphBuilder * m_pGraph ; IMediaControl * m_pMediaControl ; IMediaEvent * m_pEvent ; HRESULT m_hr ; WCHAR * m_MediaFile ; //////////////////////////////////////////////////////// void FindVideoRenderer ( IBaseFilter ** ppVidRenderer , IPin ** ppInPin ) { IBaseFilter * pRendererLocal ; IPin * pPinLocal ; IEn ...Show All

  • Visual Studio 2008 (Pre-release) ListView - dragging a selection box around items

    Just getting started with WPF and I am pretty impressed. One thing that I can't replicate from WinForms yet is a particular behaviour from WinForms:ListView in WPF:ListView. In a WinForms:ListView, when MultiSelect is true, then one can click the mouse button and draw a box around items to select them (just like in explorer where you can click and drag a box around some files to select them - I don't know what the correct term is - so I am going to call it a drag box). In WPF:ListView, if I set SelectionMode to Multiple or Extended, then I can select multiple items by clicking on each one individually, but I can't drag a box around them to select them. Anyone know if it is possible to replicate the drag box behaviour (Google results for th ...Show All

  • .NET Development Database

    It is necessary to use a database on a local computer that will advise, that like Microsoft Access well it depends on your specification and what your application is intending to do. you can use MS Access or SQL. MS Access is ideal for local stuff, so is SQL but MS Access would be reasonable too. SQL Server is used for remote access generally and is better managed and is industry standard. Again, really depends what your application is doing and its purpose and how many other people will be using your application. ...Show All

  • Software Development for Windows Vista Adding roles to WorkflowRoleCollection

    Hello, I'm developing a workflow with ASP.NET authentication. I have assigned some event handlers in the workflow a WorkflowRoleCollection in their Roles property. When I want to fill the WorkflowRoleCollection with the roles that can raise the event, apparently I don't do it right. The problem is that when I raise that event I get an exception saying something like "authorization error in eventhandler guardaHorari1", and by checking the exception details I've thought that the problem is that when it checks the role of the user that tries to launch the event agains the workflowrolecollection, it doesn't find it there. I fill the collection this way: public WorkflowRoleCollection rolsModificadors = new WorkflowRoleCollection(); ...Show All

©2008 Software Development Network