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

Software Development Network >> Jim Perry's Q&A profile

Jim Perry

Member List

Holy Seraph
Leo Liu
Ozberg
SweptSquash
Meteor73
Iris Stern
Lok_Tan
John Turnbull
Mark Kaplan
Xi0N
tedh
Bill Reiss
shaunhw
AnthonyAM444
anf600
Rups11
Spenceee
RostaB
unahb
ahmedilyas
Only Title

Jim Perry's Q&A profile

  • Visual Studio 2008 (Pre-release) NavigationWindow - Memory/Perf Advantages?

    When navigating between pages what are the pros and cons of using navWindow.Navigate(...) vs. navWindow.Source vs. navWindow.Content. Are there signifcant memory/performance advantages with any particular method I read that when navigating the following events occur... -Page2.Initialized <-- Are the GUI objects reinstaniated -Page1.Unloaded <-- What happens to the GUI objects Do they still exist -Navigated -LoadCompleted -Page2.Loaded I have a follow-up question. Is Navigating to a Uri with the KeepAlive property set to true the same as Navigating to an Object ...Show All

  • Software Development for Windows Vista capturing audio from various devices using Directshow

    hi, i want to record the audio, from various sources, i have started coding by seeing the msdn help, i am getting the problems for creating the filters like CLSID_FileWriter. And there is no class id like the CLSID_WavDest which is written in msdn help at http://msdn.microsoft.com/archive/default.asp url=/archive/en-us/directx9_c_Summer_03/directX/htm/creatinganaudiocapturegraph.asp does any body have refernce code for capturing of audio. thanks in advance I need to know about the same issue that happend to you thats about CLSID_WavDest. How you overcome this for Wav file Please help me..... Thanks in advance ...Show All

  • Windows Forms Other version is already installed

    I get this error message running setup created by VS 2005 Setup and Deployment project. Setup asks to remove old version of the program and install new one after this. What can I change in the setup project to prevent this - I want to update existing application without removing it. I tried to set RemovePreviousVersions to true, change UpgradeCode - this doesn't help. After Phil's helpfull direction, here is what I found in experimentation .... It seems a good idea to keep the setup project version the same as the application version. However, I found they are incompatible with each other! The application version requires a format of 1.0.0.0, and will not let you leave off any of those segmen ...Show All

  • Visual Studio Express Editions Button Click within a for each loop

    Fairly new to VB express. Is it possible to have a button click event from within a for each loop on a form i.e. the button being clicked refreshes the form and moves on to the next iteration of the loop Any suggestions welcomed. I hope this helps or sheds some light: Dim myOtherArray() As String = { "Bob" , "Beth" , "Conrad" , "Grant" } Dim i As Integer = 0 For i = 0 To 3 Label1.Text = myOtherArray(i) 'MessageBox.Show(myOtherArray(i)) Me.someButton .PerformClick() 'this will click the button specified, replace "someButton" with the name of the button you want to click Next is this what you are after my apologies for being ...Show All

  • Software Development for Windows Vista Pipes won't work with limited accounts

    I am using Named Pipes to commmunicate between a Windows Service and one or more client applications (depending on the number of users logged in). Everything works fine if the client app runs under a user with administrator rights. When it runs under a limited user account I get the ERROR_ACCESS_DENIED message when the client is trying to connect to the Pipe Server (created by the service). This is the code section generating the error message: hPipe = Win32API .CreateFile( pipeName, // pipe name GENERIC_READ | // read and write access GENERIC_WRITE, 0, // no sharing IntPtr .Zero, // default security attributes OPEN_EXISTING, // opens existing pipe 0, // default attributes IntPtr . ...Show All

  • Windows Live Developer Forums Windows DDK 3790.1830

    I have just installed Windows DDK 3790.1830 and followed the installation instructions to verify the DDK installation. However, I got all errors from "build -cZ" and with no file compiled. I wonder if any one knows the issue and give me a hint. By the way, one question about what is different of Windows Server 2003 for SP1 DDK and Microsoft Platform SDK for Winows Server 2003 SP 1 Hi, You might want to repost your DDK question in one of the Windows API or Device Driver forums. This forum is for Windows Live web services discussions. We don't know nuthin 'bout no DDK. ;> -Danny ...Show All

  • Visual Studio Team System Error while Laoding Projects !!

    Hello friends , I have One Solution file Contais Three Project One is VB Project and Other two are C# Project. But Today I am Getting Following Error For Each Project !! To Day My CheckDisk(CHKDSK) was ran and it had made some changes in My system. So this may be reason for following errors. My Every ProjectFile and Code files, Solution files are its properlocation but still I m not able to load Project !! Unable to read the project file <projectname>. Could not load file or assembly 'CustomMarshalers,Version=2.0.0.0,Culture=neutral,PublicKeyTokem=<key>' or one of its dependencies. The System cannot find the path specified. How to resolve this Error And Also I am Getting the Same Error While I am Creating a new Project ...Show All

  • .NET Development How to create XML file from XSD Schema?

    I have given a xsd file format,I have to extract data from multiple tables of database and create a xml file based on XSD schema.Can any one help me out Create a dataset from the XSD schema using the usual methods. Fill the dataset (you can use a SqlDataReader) and then use the dataset's .WriteXml(string filename) method. ...Show All

  • Windows Forms Changing the application icon

    Hello, I have an application where I have an options dialog, which lets the user change the application icon. I ask the user to browse for a file and then he/she can pick up an icon. My question is how do I change the application icon dynamically, or is it possible at all Thanks for you time !! Thank you so much guys !! But in my case there is a problem. The Options Dialog is in a separate class file, OptionsDialog.cs but it is in the same namespace as the main form. Main form is in a class called MainForm.cs. How can I reference MainForm.Icon from within my OptionsDialog Am I making sense ...Show All

  • Visual Basic Reading binary (or any it seems) registry data in VB.NEt

    Hi all, I'm wondering how to enumarate a key, one that's binary into a string or other system.type in VB.NET. I created a similar app as an hta with vbscript, and it was a breeze using the GetBinaryValue method. This does not seem so prevelany in .net. The code I have so far is here (be nice, it's my first week doing visual basic!) What I'm doing is searching through the guid keys under the 'base' key and looking for the REG_BINARY keys that have the value '001f6700'; the location of loaded .pst files. Everytime i tried to use the GetValue method it would return the value, not the data, i.e. 001f6700.....argh. Any help is appreciated. Thanks! Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System. ...Show All

  • Windows Forms Default MSI Property Value for Merge Module

    I'm using VS 2005 SP1 to build an MSI deployment project which consumes a pre-existing MSM merge module. This merge module requires a property (e.g. a path name) to be set, but I don't want to present a UI to get this property value from the user - instead, I want to set a default value for this property in the MSI for the merge module to use (i.e. hard-code the property's value in the MSI file). Does anyone know if it is possible to set default property values in a VS 2005 Deployment Project, or do I have to resort to building the MSI then manually adding the property and its default value using Orca (that's Orca the MSI editor, not to be confused with Orcas the next version of VS!) Thanks in advance... :D ...Show All

  • Visual Studio Team System System Definition Model Extension Package for Visual Studio 2005

    There is new a new tool about an integration of the SDM and the Visual Studio, you can download and try it out. This tool helps creating a new SDM component inside the VS. Also this package contains a DirectiveProcessor for the SDM model, so you can use the SDM to generate artifacts using the T4 TextTemplate Engine. http://eastbanctech.com/services_sol.html Evgeny Popov This project was moved to CodePlex community http://www.codeplex.com/Wiki/View.aspx ProjectName=SDM If you are interested in contributing to this project, join us. Evgeny Popov ...Show All

  • SQL Server Application roles and Module signing

    Hi, Am migrating my SQL 2000 legacy app to SQL2005 and am dealing with restrictions on the underlying system tables. Have taken advice that Granting VIEW state to all users is heavy handed (especially meta data access at SERVER level). Now looking at Module signing which is great. I can supply SP's which target the few System table/ information schema fields that I require. Now I Sign the Sp's cool, now I grant exec rights to the application role (doesn't work). Create a db role and put my users in it, okay grant role exec on Sp's (fine they work). However my application runs under an application role always, so my users rights are ignored and it appears that its only the users not the approles who can benefit from the module signing I ...Show All

  • Windows Forms how to change background color when image selected in listview

    hi,   I have a listview in that i added images using imagelist. when i click on one image it changes to other image.. but my problem is that when i click on image there is a blue color displayed over it. due to which image is not displaying properly.. so can that blue color be removed from there and image displays clear.. is anyone know how to resolve this problem....   You're probably talking about the selection highlight, it is normally blue. You can change the way that gets painted by setting the OwnerDraw property to true and do your own drawing. The MSDN library article for ListView.OwnerDraw has a good example... ...Show All

  • Visual Basic Serialport Help

    I am writing a class that talks to a controller I use in my lab. I send the controller a command and it gives a response. I wrote a routine that sends the command and receives the response. HOWEVER.... If I step though the code everything works great. If I run the code it runs too fast and misses the response from the controller. I don't want to poll the serial port to see if the response arrived as this consumes CPU time unnecessarily. What I want to do is to write the command to the controller then suspend the method until the DataReceived event or a timeout occurs, then continue my method. Any suggestions Thanks in advance! Kenny HappyHappy, According your de ...Show All

©2008 Software Development Network