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

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

Diber

Member List

Rraj
yosonu
Docpro777
J. Clark
dbldown768
Scott Simms
Whoisit
el-chema
MrMMills
CollegeSeniorProjectNeedsHelp
daph4ntom
vbmom
MunishGupta
vdv_phuong
Tryin2Bgood
SQLChamp
jd_cowan
eugen_r2
kuankuo123
Weixiao Fan
Only Title

Diber's Q&A profile

  • Audio and Video Development MFPKEY_ProtectedContent: Not in SDK beta 2?

    Hi I can't find the declaration of MFPKEY_ProtectedContent in beta 2 sdk. Also I'd like to know if MFPKEY_ProtectedContent is just for application to check by MFRequireProtectedEnvironment, or will it change some logic in MF control layer I mean, if I don't have that key enabled, will MF still try to load ITA and do other PMP stuff ...Show All

  • Visual Basic How to set the install path for application

    I noticed that my app doesn't install to the Program Files directory as VB6 does it. Instead, the wizard creates a jumbled multi level directory and sticks your app in there. How can we change that Thanks. Open up the File System view in your setup project Right Click on "Application Folder" and select properties Look at the "DefaultLocation" Property Set the value to to the desired location on the user's computer. ...Show All

  • Software Development for Windows Vista Invoking a workflow from an activity

    I want to start a workflow instance from the ExecuteActivity method of my custom activity. The child workflow definition is available to the custom activity as a string (XAML). This might explain what I'm trying to do: ... private string workflow, rules; protected override ActivityExecutionStatus Execute(ActivityExecutionContext aec) { //get a reference to WorkflowRuntime - this is what I don't know how to do .... XmlReader workflowReader = XmlReader.Create(new StringReader(workflow)); XmlReader rulesReader = XmlReader.Create(new StringReader(rules)); WorkflowInstance instance = workflowRuntime.CreateWorkflow(workflowReader, rulesReader, null); instance.Start(); .... } .... I could probably have done ...Show All

  • Visual C++ [C++] Implicit linking...

    Is there any way in C++ to specify a custom path to implicitly link a dll I don't want to stay under the Windows Os dll path search. I would like to specify a path in my source or through the linker/compiler. You could always go with a combination of LoadLibrary and GetProcAddress, that would leave you in control of the whole procedure. Otherwise, the searched locations will depend on how the target system is configured (see http://windowssdk.msdn.microsoft.com/en-us/library/ms682586.aspx ). What you could do, is have a dummy application launch your real application, and feed it with custom environment variables to alter the default locations. ...Show All

  • Visual C# How to use the calendar of an Exchange Server

    Hello everybody, hope you can help me. I'm in research for how to program an Exchange Server. The main problem is that I simply don't have enough background on this and don't know where or for what to search. The problem I'm trying to solve is that I want to respond to an entry in the calendar. For example, I have a meeting at 12 o'clock. When it is 12 o'clock I want my program to react and do some things, like blocking my telephone line for the duration of the meeting and unblock it when the meeting ends or something like that. I simply don't know how to interact with the Exchange Server in such a situation. Are there some events fired when the meeting starts or is there some other mechanism which helps me to detect such things I don't ha ...Show All

  • Visual C# xml comment customization

    I'm currently trying to set up a comment template for our developers. I've seen some information on creating a template for a file, but I would like to edit what is displayed when a user enters '///' There is a thread on how to add a developer tag in the VB template at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=321766&SiteID=1 but I'm trying to figure out how to add this for c#. I've tried changing the name of the file to be CSXMLDoc.xml, but that doesn't affect the contents. I'd love to be able to get the appropriate copyright fields in all my files without using a macro. Essentially I want this information forced into my developers files. We could add it in code review, but I'd rather take out that extra step if poss ...Show All

  • Visual C# String compa Cannot implicitly

    I cannot get the syntaxt to work on the string compare here.  I don't know why I keep getting a message saying it's trying to conver an integer to abool in my String.Compare:                    foreach (string excelDescription in exceldata)                     {                          using (ExcelWrapper     xl = new ExcelWrapper(excelDescription))             & ...Show All

  • Visual Studio Team System Team Project Creation Failed

    Hi all, I've just encountered an error when creating a new Team Portal Site using Team Explorer which I wondered if anyone may be able to offer a solution to. I ran through the wizard though I didn't add a source control db at this time however, on clicking Finish I received the following error, is this something that you've experienced before and if so was it easily fixed Error TF30004: The New Team Project Wizard encountered an unexpected error while initializing the Microsoft.ProjectCreationWizard.Reporting plug-in. Explanation TF30171: The Microsoft.ProjectCreationWizard.Reporting plug-in used to create the new team project could not be initialized and returned the following error: TF30222: The New Team Project Wizard could no ...Show All

  • Visual Studio Express Editions College Wont Upgrade How can I Take Work into College??

    Hi there all, I have a problem with taking work into college at the moment as they have Visual Basic.NET 2003 and i have the 2005 express edition. how can i save my work in 2003 mode so i can add to it at college i hope there is a way! all the best rob unfortunately not. Different framework versions altogether. The only way would be to get VS2003 or download the .NET 1.1 framework and write code in notepad for .NET 1.1 if you don't have VS2003 You cannot, AFAIK, convert a new version back to old, but from old to new yes, this is possible. The frameworks are different and "tied" to the IDE especially. There may well be some free IDE's out there perhaps for .NET 1.1 if you cannot afford V ...Show All

  • Visual Studio Team System Displaying Code coverage results with automated MSBuild

    My assemblies.testrunconfig file includes code coverage setup. When I run my build direclty from VS, the code coverage results are displayed correctly. I am running an automated build and I run into couple of issues: a) The test results file does not contain the code coverage when I open the corresponding trx file on the buildserver b) The test results folder cannot be published on the drop location. I checked my security on both servers and I have full control. Anything I am missing Here is the excerpt from the build log: Target CoreTest: Creating directory "C:\Build Output\Alpha Releases\ConnectTest\BuildType\..\Sources\..\TestResults". __________________________________________________ Project "C:\Build Output\Al ...Show All

  • Visual Studio Express Editions VC# control library template

    I'd like to create a usercontrol in VC# 2005 Express Edition and then add this control to the toolbox. I've been looking for info on the net and it seems I need the "control library template". Is this correct And if so, why dosen't this template appear in the supplied templates 1. Step: Create your own class library, add a user control to it and then compile it. 2. Step: RightClick inside your toolbox -> Choose Items 3. Step: Browse for the *.dll file and add it ...Show All

  • Visual Studio Express Editions ComboBox value question

    I have two combo boxes looking up to a table. The first box has values of a product type. The second box needs to display all items of that product type. How do I get the combo box 2 to lookup when combo box 1 is changed Regards. UKMDG interesting. you would, I believe: 1) read data into a combo1 2) implement an OnSelectedIndexChange event for combo1 3) in this event, execute a query from your datasource (i.e SQL/MSAccess), which will bring back the results, then bind the filtered results to the combo2 control   This should do i for now... I will find a more effecient way on querying a dataset, which means that you do not have to constantly connect to the database and execu ...Show All

  • Visual Studio Express Editions Can Somebody help me Please!

    Hi , I have an application written using Visual Basic, which uses Crystal Report 8.5 for generating reports and Sql Server at the back end. I have installed the application on client systems. The Client system uses NPViewer for displaying Crystal Report. Applications displays the reports just fine. But the problem is Export option [I can see the Button] on the NPViewer is not working. Nothing will happen if I clicked on the Export Button. The client machine uses Windows XP. Is it because of any missing DLL or what. can some body please help me out Thanks in advance.. Hi, No the Export Button is not getting enabled even after opening a report. I suppose it's because of some missing dll, but don't know ...Show All

  • .NET Development .Net application Eating Memory & releases when minimized

    Dear all, I have developed an application based on C#, The problem is "Garbage Collector being not called" from the application, i have not used any unmanaged code. The application is a Multithreaded application and the Memory Usages figure in Task Manager comes to minimum when i minimizes the application. Example: Task manager's Mem Usage is showing 328 MB and on minimizing the application it shows 45 MB. thanks in advance... aniruddh Hi Aniruddh Task Manager is unfortunately a very poor way to measure how much memory your application is using. What you're seeing is "working set", and Windows automatically trims an application's working set when it is minimized. T ...Show All

  • Visual Studio Express Editions big problem

    Hi I have serious problem. I wrote an application where people are entering information about machines and then I store it in database. User can retreive machine information by entering starting date and ending date, and then everything that matches that time period should be displayed in excel. However it doesn't wnat to work. My code looks alright to me. I don't know what to do !!!!    this is part of my code:   mydate = InputBox( "Please enter your starting date " , "StartDate request" ) myday = mydate.Day.ToString() mymonth = mydate.Month.ToString() myyear = mydate.Year.ToString()   mydate = InputBox( "Please enter your ending date " , "EndDate request" ) myday1 = mydate. ...Show All

©2008 Software Development Network