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

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

RobDeveloper

Member List

Pragmented
gpugelni
sammy chen
JIM.H.
FredMunro
Bjørn Liene Gundersen
shekhar saran
Joshua-Programmer
Shabbir Mookhtiar
Manojit Paul
Greg Wilkerson
Khenat.Ram
LeoXue
David McGraw
blackpuppy
Leon Mayne
Travis H
M Sivakumar
Biocide
F. Gsell
Only Title

RobDeveloper's Q&A profile

  • Audio and Video Development Best way to start play of a title and play all?

    The functional demo I'm making has a list of several titles. Each title is played by selecting a button. These are the two methods I have tried for kicking off a title: Player.playlist.titles["videoFoo"].chapters[0].top(); Player.playlist.titles["videoFoo"].jump("00:00:00:00", false); First question: is one method better/more appropriate than the other I ask because it seems like the iHD simulator has trouble with the second method - sometimes the video is blank/black while you can hear the audio. If you select a specific title I want that title to play and then end. However I want the option to select 'Play All' and go through all the titles from start to finish. Second question: what is the best way to d ...Show All

  • .NET Development 64bit Office Interop ...

    Hi all I have some trouble with Office (Excel) Interop integration ... I have a x64 Windows Server System. I have some applications and they are written in C# 2005 and some of them use excel Interop. The applications wont run the Interop.Excel Code on this system. Error message: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154. I guess I need a 64bit Interop.Excel.dll. Am I right If yes, where do I find it Thanks for any comments! Best regards Frank Uray Hi Ken No, I need it on a x64 system ... It works fine on 32bit systems compiled for x86. Best regards Frank Uray ...Show All

  • Visual Studio 2008 (Pre-release) Adorner quirk

    Ok I've created an adorner for a Path element with one polyline segment. A thumb is created at each point allowing the user to change the path to their liking. However on certain thumbs things seem to go haywire and the point no longer adhere to the thumb's location. The problem seems to relate to the DragDeltaEventArgs VerticalChange and HorizontalChange properties. They're normally just 1 or 2 whatever but at certain times they just seem to increment so the point quickly disappears of to infinity. As far as I can tell this happens when the thumb crossers the bounds of the adorned Path. Has anyone seen anything similar I have included my code below as it could quite easily be a bug in it I am incapable of seeing. Thanks, Andrew ...Show All

  • .NET Development auto increment

    public class AddAnnouncement { public void _AddAnnouncement() { XmlDocument newAnnDoc = new XmlDocument (); newAnnDoc.Load( "~/App_Data/Announcement.xml" ); XmlNode newAnn = newAnnDoc.CreateNode( XmlNodeType .Element, "ann" , null ); XmlNode Id = newAnnDoc.CreateNode( XmlNodeType .Element, "annID" , null ); XmlNode Title = newAnnDoc.CreateNode( XmlNodeType .Element, "annTitle" , null ); XmlNode Body = newAnnDoc.CreateNode( XmlNodeType .Element, "annBody" , null ); XmlNode Date = newAnnDoc.CreateNode( XmlNodeType .Element, "annDate" , null ); XmlNode Priority = newAnnDoc.CreateNode( XmlNodeType .Element, "annPriority" , null ); XmlNode Sender = newAnnDoc.Creat ...Show All

  • Visual Basic Creating Tool Panels simular to Visual Studio Slide in, Slide out with pinning. how does on create those?

    Hi All, trying to figure out which tools to use to create slide in/out panels to add objects to simular to what is in the Visual Studio IDE. My Goal is to allow Pinning, but to automatically get the selection panels to slide out of the way making more room for the end user working area. We are using VB.net for this pilot, has anyone had success at creating these types of panels Thank you Very Much for your assistance, Steve Here is a link to a c# example on the code project website that you could probably convert to vb.net with one of the convertors. ...Show All

  • Visual Studio Determining if a project is unloaded

    Hi, How do you use the DTE and object model to determine if a project is in an unloaded state Thanks, Joe Thank you, this solved the problem. I was wondering if there is an enum or documentation describing the possible GUID strings that can be returned by Kind. Thanks, Joe ...Show All

  • Visual Basic How to print a webpage in Windows Forms .Net

    Given a URL say http://www.xyz/report.pdf as an arguement how do i print this document in Windows Forms .Net. Currently im trying PrintDocument Class of System.Drawing.Printing. I see a blank output. Provide me if any code samples. Thanx in Advance. Madhusudhan You can't use the PrintDocument class to print a .pdf file. You can however use the Adobe Acrobat ActiveX component to do the printing for you. Check this thread for info. Be sure to upgrade Acrobat Reader to at least version 7.0.8, previous versions are very buggy, especially the printing methods. ...Show All

  • .NET Development How to use PATH environment variable for an application

    Hi all, I am not understanding the concept of PATH variable. we are defining different path in this PATH variable. I am using one zip file and not specifying the path. See the ziputility variable in below code.. { string arguments = @" -o " + ZipFileName; string zipUtility = @"unzip.exe"; ProcessStartInfo startInfo = new ProcessStartInfo(zipUtility, arguments); startInfo.CreateNoWindow = true ; startInfo.UseShellExecute = false ; startInfo.WindowStyle = ProcessWindowStyle.Hidden; startInfo.RedirectStandardOutput = false ; startInfo.WorkingDirectory = directoryName; Process proc = Process.Start(startInfo); proc.WaitForExit(); } i am not giving the path ...Show All

  • Visual Studio Team System Actions and fields of work items

    1. When I try to associate work item with a check-in I get the list of all work items . But I want to change work item template so that only specific work items in specific states can be associated with check-in. How to achieve this 2. While changing the work item type template can I add more fields and refnames What should I do to make these appear on work item list     That's correct - there's no way to restrict that. From my point of view associating a work item with a checkin is harmless - it cannot be compared with resolving a work item, which changes its state; whenever "resolve" operation is applicable to a work item in its state is configurable through the work ...Show All

  • .NET Development Lost Body component

    I have been scratching my head on this for a few days and for the life of me I can not figure this out. Here's the setup... Using VB.Net I have a main form, which processes data from a server in the background. There are 2 buttons on the main form, which will open or close a second form. The second form has an HTML control on it, and displays html formatted text, as sent by the main form. The control is webText, and I have a global variable in the load event that says "txt = webtext.Document" (where txt has been defined as an HTMLDocument object). As the form load event continues on, it gets some data from the main form, formats the html, and does a "txt.Body.InnerHtml = data". I can do this 100 times, with no ...Show All

  • Visual Basic About import texts From out of program

    Good day... in the program I need to import long texts as HTML code ... I want ro save this texts in Folder and import it in the program ..but I don't want to save the texts like txt files because the user can show and edit it ...I need sort of files that I can import the texts and user cann't know that...Like Dlls ... Notice:I donn't want to use Data Bases. and thank you. If you are trying to hide the info in the file from the user then you should consider using binary files with encryption as a means to store your info Public Shared Sub Encrypt (ByVal path As String ) Member of: System . IO . File Summary: Encrypts a file so that only the account used to encrypt the file can decrypt it. Parameters: ...Show All

  • Windows Forms DataGridView binding troubles

    I hope someone can shed some light on an error I've been experiencing for sometime now, but can no longer continue to ignore :-( I've created a custom entity class which implements IEditableObject. I have then created a custom collection for this custom entity which naturally inherits CollectionBase and implements IBindingList. When I bind my custom collection to a DataGridView and started editing, it works correctly only up to the point where you try to navigate off a newly created (but empty) grid row - the second time , at which point it errors with an ArgumentOutOfRange exception. The stack trace indicates the error occurs in the GetCellDisplayRectangle event and that the parameter name (of the invalid parameter) is rowIndex. ...Show All

  • Windows Forms how to create desktop shortcut automatically by setup project?

    I'm now using visual studio 2005 standard version. By the setup project function, I create the .mis and .exe file. It runs successfully. However, I can not get the desktop shortcut or all program shortcuts. I have to make shortcut from the installed folder. Is there anyway to add shorts during the setup process automatically by visual studio 2005 Or should I choose to use another tool to make the setup project Thank you! Right click on your setup project in the Solution Explorer, and select "View -> File System". In the File System view, select "User's Desktop" in the tree view on the left. In the right-hand pane, right click and select "Create New Shortcut" In the shortcut ...Show All

  • Windows Forms Microsoft Visual Studio 2005 crashes after opening the designer

    Microsoft Visual Studio 2005 crashes after opening the designer of an visual inharited form. The whole project compiles with no errors or warnings and i experience this problem not from the beginning of the inharitance. I have a user control that is inharited. The base control opens fine but when i try to open the inheritor Visual Studio crashes saying "Microsoft Visual Studio has encountered a problem and needs to close ". Has anybody encountered such a problem I looked also in the event log but the error there is completely infamiliar for the google engine. Do you have any ideas how to solve this problem if it's a huge Microsoft Bug - we all wouldnt be running VS2005 since last year...Microsoft DO make sure products are ...Show All

  • Software Development for Windows Vista Custom class as an activity property and the property grid

    I wish to have a simple class containing only primitive types (string, int, etc.) as a property for an activity. However, after adding the property and dragging it onto the workflow, the property grid does show my property correctly. I would like to be able to expand it so I can see and set each individual property of my custom class. I have tried adding [TypeConverter(typeof(ExpandableObjectConverter))] as an attribute to my property, but it did not have the desired effect. Can anyone give me some pointers to accomplishing this I'm new to WF so this is a learning process for me. Thanks, Chris I tried that code and either I missed something simple, or I didn't clarify what I wish to accomplish. Her ...Show All

©2008 Software Development Network