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

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

Jim Perry

Member List

Erl Egestad
Phonics3k
deen
ancient sord
Jeremy Lew
vtortola
KRinOH
Bill Cumming
Raby
jasse_91
Peter Kahn
tronn
Pascal Bourque
FassaBortolo
birch9397
JCExTel
BradyGuy
Raja-kandasamy
Jweige
Mohan1
Only Title

Jim Perry's Q&A profile

  • Visual Studio add in user preferences

    Hi, I'm working on an add in to VS and I'd like to be able to store user preferences. Could someone point me to the way to go I've thought of using a App.Config but I don't know if that's the right way to do this. Thanks for your help. App.Config makes no sense here. You can use either: - A registry location at: HKEY_CURRENT_USER\Software\YourCompany\YourProduct\YourVersion - A disk location at C:\Documents and Settings\<user>\Application Data\YourCompany\YourProduct\YourVersion. Ensure that you are using the Win32 API to get the name of the C:\Documents and Settings\<user>\Application Data special folder since it is localized in other languages and in Windows Vista it doesn't even have ...Show All

  • Windows Forms ListView Help

    Hello All, I need a little help with my listview. I have a list view with 5 columns that are being filled by 5 variables. I also have a while loop that updates the variables continuously and I want to update the listview at the same interval.... I know i can use : listView.Items.Clear(); (then re-add the item) listView.Items.Add(..) however i causes a severe flicker and will not allow the user to highlight a row... I have tried to use Update and Refresh, however this doesn't seem to update the row with the updated variables... Any Ideas Thanks, Andrew Maybe while you are trying to highlight a row, you are re-adding the items, so you can't highlight it. Do you really have to do refresh every moment ...Show All

  • Visual Studio Show WinFrom Add-in for windows.

    Hello There, I have created an add-in for MS-Word application. I have written program using C# 2.0. In that application I want to show a 'From' on some command bar button click. The problem I am facing is that at first time that form is coming properly but on subsequent click that button's click event is not get fire. I have written Code Like this. cmdData = ( CommandBarPopup )oStandardBar.Controls.Add( MsoControlType .msoControlPopup, omissing, omissing, 3, true ); menuCommand1 = ( CommandBarButton )cmdData.Controls.Add( MsoControlType .msoControlButton, omissing, omissing, omissing, true ); menuCommand1.Caption = "Button1" ; menuCommand1.Click += new _CommandBarButtonEvents_ClickEventHandler ...Show All

  • SQL Server V Lookup in SQL

    Hi All, Is there a SQL Equivalent of the VLookup Function in Excel Or can some one tell me about the logic using which I can accomplish this Thanks I have a table which looks something like this, ID NAME LEVEL ======================= 1 ABC 0 2 BCG 1 3 CDE 1 4 DEF 1 5 SED 2 6 BAT 2 7 CAR 2 I want to move this to another table which looks something like this: ID NAME LEVEL0 LEVEL1 LEVEL2 ======================================= 1 ABC ABC 2 BCG ABC BCG 3 CDE ABC CDE 4 DEF ABC DEF 5 SED ABC BCG SED 6 BAT ABC ...Show All

  • Windows Forms Help! Renew Self-Generated Certificate???

    Help guys! The self-generated certificate that I use to sign my ClickOnce-deployed application has expired. I've gone into certmgr.msc, right-clicked on the certificate and selected "All Tasks|Renew Certificate with Same Key", and get this error: --------------------------- The wizard cannot be started because it failed to contact the active directory. --------------------------- ... which is correct - my PC has never been part of an active directory domain. This is a personal hobby project at home! How do I renew this key Am I screwed If I create a new key, none of my users will be able to update, will they I wouldn't hold your breath. See previous topic on the forums at: http:// ...Show All

  • Visual Studio 2008 (Pre-release) Can't get Image Source property to work.

    Hi, I don't seem to be able to load images in WPF using the <Image Source="myImage.bmp"/> xaml syntax. I have tried using the images as both resources and content and as neither. I have read everything I can find on the matter and no-one else seems to be having this trouble. This is even happening with sample code that I haven't modified. As an example: When I try to compile the code for the WPF sample called wordgame1 and then click on the design window I get an error message saying "Images\Start.Gif" cannot be assigned to "Source". The offending line is < Image Source = " Images\Start.gif " Height = " 300 " Width = " 300 " HorizontalAlignment = " Cent ...Show All

  • .NET Development XML Compare

    Assume that there is a XML String such as <Page> <id>1</id> <versionnumber>1</versionnumber> <title><b>This is a test</b> to check</title> </Page> assume the above xml string is version 1 <Page> <id>1</id> <versionnumber>2</versionnumber> <title><b>This is a test</b> to check new version</title> </Page> assume the above xml string is version 2 now is there any way in .net using C# where we can compare OR find the difference between the two versions shown above for the tag "title". Please let me know. Thanks in advance Because you mentioned ...Show All

  • Visual Studio Express Editions webbrowser help

    can anyone help me about some webbrowser I want to have a webbrowser that goes to another page when you click on something in the webbrowser. I do not own the thing in the webbrowser so I can't change that. so I think that it should go to another page when -it navigates to another page (which it does if you click on the right place on the page -or you just click on the webbrowser control. but I dunno how. someone does know and want to help me many Thanks if i am thinking right.... in the top right of the code panel, there is a combo box with all the events : Double click your web browser, and then in the combo box select the navigate. In the new sub put something like MsgBox ("boo") it will say boo whenever the ...Show All

  • SQL Server Linking entities in report builder by table columns that are not primary or foriegn keys.

    What is the best way to join two tables by something other than there primary or foriegn keys in report builder.  I actually want a relationship between two tables based on a combination of two columns. Thanks Dear, Delete the relationship and join the table as per ur criteria.But the Primary and Foregin key Relation is the best to retrieve the record and applying functions. and also on criteria basis. HTH From Sufian ...Show All

  • Community Chat Question with Vista

    Sorry this might be misplaced Will Vista be able to run Xp programs such as games and files Another thing is would you suggest having 2 opperating systems and if yes should I have a seperate drive Will this affect my computer by slowing it down having 2 OS's thanks Yes, Vista should be able to run XP applications without a problem. Having 2 OSs installed concurrently shouldn't cause major performance problems, other than the fact that it might increase drive fragmentation. If you've got a "dual boot" system, it will only run one or the other OS when you boot up the machine, so even though they're both present on the hard drive, only one at a time is running. ...Show All

  • Windows Live Developer Forums Robot Invaders Contest - Who did you vote for?

    The robot invaders contest ( www.robotinvaders.com ) is closed for new entries, so all bots are in. A total of 51. With $40.000 in prizes, everybody of course wants to win. But which bot do you think will make a good chance The prizes: Grand prize (1): AlienwareR MJ-12 7550 Workstation First Prize (1): BoseR LifestyleR 48 DVD Home Entertainment System Second prize (5): AlienwareR Sentia M3200 System Third prize (10): GarminR nuvi 360 User's choice: 80 GB USB Portable Drive / DX1 Input System / LED Binary Watch The bot with the most votes on September 15th gets the user's choice award. It looks like that would be " samplebot@hotmail.com " with a total of 412855 votes! Amazing. Last time I talked to that bot though it could ...Show All

  • Visual Studio Team System Help on importing schema

    Hi all, I'm trying to import the schema for a huge database into the Db project through VSTS for Db professional. But the Db schema import is running into some error and the VSTS restarts on its own. So what I'm trying now is generate the script of the Db using Management Studio of Sql Server 2005 and trying to import it to the VSTS for Db professional. But here also it seems there is no option for doing such type of operation. So if anyone who knows how to handle this issue, please help on how to do it. Thanks, ThunderRock Try asking your question in the Database Professional Forum: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=725&amp;SiteID=1 This forum is tar ...Show All

  • Visual Studio Express Editions Hex data to serial port limited to value of 128

    When I send a hex value of DB to the serial port the actual value that the DB9 connector outputs is 3F. Why is it sending the wrong value If I send a hex value of 75 the output is fine. Here is the code I'm using: Imports System.IO.Ports Public Class Form1 Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim strOutput As String Using comPort As SerialPort = My.Computer.Ports.OpenSerialPort("COM1", 19200) comPort.DtrEnable = True strOutput = Chr(&H24) & Chr(&HDB) & Chr(&H0) & Chr(&H0) & Chr(&H1) & Chr(&H4) & Chr(&HF7) & Chr(&H75) comPort.Write(strOutput) End ...Show All

  • Software Development for Windows Vista very small bug with PolicyActivity (RC4)

    1°Create a Workflow project (WF Release candidate 4) 2°Drag & Drop a policy activity: add one basic rule (i.e if True) 3°In the workflow class code, BEFORE the workflow class declaration, add a simple class class Test { } public sealed partial class Workflow1: SequentialWorkflowActivity {...} 4°Compile => the compiler give you an error : in my case: Error 1 Activity 'policyActivity1' validation failed: Can not find the rule set "Rule Set1". Check if rule set is defined in the rules file. ... WORKAROUND : If the Test class is defined AFTER the workflow class, it's ok. Serge Serge - this is a well-known problem with code files that have desigable classes in them - the class that is to be d ...Show All

  • Visual C++ dshow.h

    Hi all, Where can i get dshow.h and its related directX header files Thank you. you need to download Platform SDK from here . for your reference: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=161818&SiteID=1 if you have further question, post them to the right forum in this forum list , thanks bite ...Show All

©2008 Software Development Network