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

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

mojoshaneman

Member List

bryanedds
Alle
vimalbharathi
Jeff Johnson
Jonathan Ward
RichLeyshon
Derek Smyth
Hongxue Cai
cunha
jaimlin
Subhasmita
Neil_D_Jones
libyan
djarctic
seewan
Jassim Rahma
mcclgn
ManojS
.NETBloake
Crane101
Only Title

mojoshaneman's Q&A profile

  • Visual Studio Express Editions "This project is out of date" on Debug Immediately After Successful Build

    When I try to run my application with the debugger, I get a pop up which says: Visual C__ 2005 Express Edition This project is out of date: ProgName - Debug Win32 Would you like to build it [Yes[ [No] [Cancel] [ ] Do not show this dialog again I find this somewhat bothersome, because the very last thing that I did just before that was build the application. And the build did complete successfully (immediately before I clicked on Start Debugging -- F5.) Nevertheless, I've debugged the application and it works OK. But is there a solution to this annoying pop-up Dan iccle wrote: Unknown Name wrote: But is there a solution to this annoying pop-up Yes there is, check "Do not show ...Show All

  • Windows Forms Active X Controls for DVD

    When I attempt to play a DVD on my Dell laptop, I get an error message that states your Active X security settings prohibit running this content. I've tried going to Tools in IE and enabled almost everything, including anything related to Active X. But my DVD still won't play. Any suggestions Sorry but this is a development forum and not a Windows/IE troubleshooting forum. The best place to ask would probably be: www.microsoft.com/communities or contact Dell Support. Thanks! ...Show All

  • Windows Forms Smart Tag Display On Design Surface

    Hi There I'm creating an application which hosts the window forms designer using the DesignSurface Class When I place a Control on to the designSurface all the adornments for that control show up apart from the SmartTag button. I'm just wondering, do I need to create my own implementation of the smart tag panel and If so, am I right in thinking that I just need to create my own SmartTag Adorner (with relevant glyph and behavior) and add that to the behaviorService provided by the IDesignerhost  (I've tried this method and It seems to work) Thanks Trev     Martin, Thanks for the kind reply. I did implement the steps as you described. The below is my DesignerOpt ...Show All

  • Visual Studio Team System SQL server management studio error

    Hi When I try to create a maintance plan, it stops with a message box  saying Guid should contain 32 digits with 4 dashes (xxxxxxxx....) Whats wrong I was having this GUID error when creating new maintenance jobs on a fresh install of SQL 2005 Std and have now applied SP2 and the problem has gone away for me. Paul. ...Show All

  • Visual Studio Team System Installing Team Foundation Server (Databases) on a Cluster

    I cannot get the TFS databases to install on our existing SQL cluster. The installation doesn't give any errors during the system health checks, but, returns a general setup failed error during the actual install of the databases. The VSMsiLog has the following errors in it. ConfigureSql: Error 0x80004005: Failed to determine if database already exists ConfigureSql: Error 0x80004005: Failed to ensure database CurrituckDB.D19110DD_8531_4670_8844_A399C45690FF exists ConfigureSql: Error 0x80004005: failed to install databases Please help!! That might be the problem. TFS v1 can not work with named instances of SQL Server irrespective of the fact whether it is on a cluster or not. Excerpt from th ...Show All

  • Visual Studio 2008 (Pre-release) Binding FrameworkElements, Parent Not Set

    I Have the following: < ItemsControl ItemsSource = " {Binding Source={StaticResource myData}, Path=FxList} " > < ItemsControl.ItemsPanel > < ItemsPanelTemplate > < Canvas IsItemsHost = " True " ></ Canvas > </ ItemsPanelTemplate > </ ItemsControl.ItemsPanel > </ ItemsControl > FxList is List<FrameworkElement>. The elements in FxList correctly show up in the Canvas. But the Parent for the elements in FxList is not set through the binding/templating process. I suppose I am not too surprised at this though things would be more consistient if it were set. The binding is less useful to me here since I have to go back and mess with this detail. ...Show All

  • Visual Studio 2008 (Pre-release) How To: Attach event handler to element in DataTemplate?

    This question/problem is a little bit esoteric, but hopefully someone has seen it before... I need to attach an event handler to the Loaded event of Image elements within a DataTemplate. The Loaded event handling method is in a utility class, so I can't use XAML to attach the handler. In a Window's Loaded event handling method I call this method in the utility class : FrameworkElementFactory factory = listBox.ItemTemplate.VisualTree; while ( factory != null ) { if ( factory.Type == typeof ( Image ) ) { factory.AddHandler( Image .LoadedEvent, new RoutedEventHandler ( OnImageLoaded ) ); break ; } factory = factory.FirstChild; } There are two problems, one is not too bad (just odd) and t ...Show All

  • .NET Development Security Exception on socket connection

    I have developed an ActiveX control in C# using VisualStudio.NET 2005. The control assembly has the COM Visible attribute. I have inserted the control in an HTML page, under IIS. The control tries to establish a socket connection with the same IP address from which the html page is loaded, but on a different port: 4321 The connection fails with a Security Exception. How can I avoid this Thank you. Luigi Fonti Is it possible to register or install the control once on the client machine, granting to it the socket permission Luigi Fonti ...Show All

  • .NET Development passing parameter from popup to parent

    I am having trouble passing a parameter from a label control in a popup window to a textbox in the parent window. i have tried post and get methods and queries as well but none work.am i missing something here pleasze help really doestn help too much.right now my popup calendar opens in a newwindow but to send back the selected date to the opener is what i cannot figure out. right now i hv set it up such tht on selecting a date the original web form opens up with the date but in the popup window. i ned the date to go back to the original page not in the popup window. popup class Partial Class MA_POP_Survey_Admin_DateSelect Inherits System.Web.UI.Page Protected Sub buttonSelect_Click( B ...Show All

  • Software Development for Windows Vista how to force the interactive user to logoff

    is there a way for a service to force the interactive user to logoff the ExitWindowsEx API applies to caller's desktop, so i don't think this works from a service to shut down another user. i'm trying to write a program that is similar to cybercafe software -once a user has used up their allotted time (to be monitored by the service), i want to force that user's desktop to lock or logoff. if i have a timer program running within the user's session that initiates the logoff, then the user could (in theory) cancel that process. The problem is in the parameters of the WTSDisconnectSession. WTS_CURRENT_SESSION -> Indicates the session of the process that is calling the method. In your case, session 0 (w ...Show All

  • Windows Forms Numbering In Rich text Box

    Hi All, In Visual Studio 2005 Rich Text Box, is there a method to make the selection of Type Numbered List, right now i am able to make the selection bulleted by rchtxtTypeText.SelectionBullet == true Also can justify alignment be done look at this article about RichTextBoxExtended ,I hope it helps. ...Show All

  • Smart Device Development time function

    Hi, I'm new to C++ and I am writing a project in it that I want to build on both Windows CE and VxWorks, so I am compiling the project in both MS Visual Studio and Wind River Workbench. There are a number of places in the app where I want to get the current date and time (number of seconds since 1/1/1970) but I can't figure out how to make it work! From what I can tell, time(time_t * timer) is the way to go, but while this compiles fine for VxWorks, when I compile it for Windows I get a strange linker error which says that there are unresolved externals in the function that contains the call to time(). Help! (Thanks in advance!) Rachel That's exactly what I want to do--here is essentially what I' ...Show All

  • Visual Studio Team System Checkin policy dll is blocked after the policy usage

    I tried to assign new checkin policy to the project - it failed and adviced me to install the policy. I am actually compiling project tot he folder where this policy should be assigned from and now, after the error, my Visual Studio can not override the dll file. Looks like that Wizard or whatever it is didn't release the lock from dll. It happens every time when policy is touched in any way and until the Visual Studio is closed down - either memory leak or something... Hi: We are sorry for the inconvenience that this is causing you and your team. We have not heard of this issue until now so before we further investigate it I wanted to see if it happens every time it evaluates the policy or only after ...Show All

  • Visual Basic VB.NET HTML Editor?

    Dear all, We are developing an application using VB.NET 2005 and we have a requirement to display HTML file (with pictures and tables) in WinForm. Also need a facility to do a bookmark, font change, tracking cursor position, etcl.. I want to know what is the best control is available in VB.NET 2005 to achieve this, or can i use RichTextBox to display HTML file Anybody can guide me how to do this Also suggest me if third-party control is available to do this. Hoping for a good reply. Thanks Gops Sofist India 98940662743 gopalan@sofist.com okugops@hotmail.com There are a few samples @ http://www.windowsforms.net/Default.aspx tabindex=4&tabid=49 that may be of help. Alternatively you could consider creatin ...Show All

  • Visual C++ How to trim all space character in a string?

    I want to trim all space character in a string, for example there is a string " 1000 + [101001] + [101002] ", how to get another string like this: "1000+[101001]+[101002]". Are there better method to do that thks if you are working with VC++ you can use CString Trim member Function function if you are using C++ you can use Following Code. void trim2(string& str) { string::size_type pos = str.find_last_not_of(' '); if (pos != string::npos) { str.erase(pos + 1 ); pos = str.find_first_not_of(' '); if (pos != string::npos) str.erase( 0 , pos); } else str.erase(str.begin(), str.end()); } std::string name = " Hello new World " ; trim2(name) Thanx ...Show All

©2008 Software Development Network