ppl1's Q&A profile
Windows Forms "Help" button/utility
Hi, I want to make a "Help" button in my application that opens up help documentation in the msdn format. I want it to have a side panel, with index, search, documentation etc. and the main panel with the actual documents. Is there some "help" document control that comes with .net which does it all for me and I only need to pro ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DxDiag shows missing files after .Net 2.0, Oct and Dec 2005 SDK.
After installing the .Net Framework 2.0 and the Oct and/or Dec 2005 SDK, the DxDiag utility shows that some files are "missing". DxDiag notes on the DirectX Files tab: " Several files (system.dll, Microsoft.DirectX.dll, Microsoft.DirectX.dll) are missing! " These files are present in the GAC and they coincide with the files from the .NET Framework 2.0 and the October and December 2005 versions of the .Net 2.0 beta versions of Managed DX. system.dll - .Net Framework 2.0 (2.0.0.0) Microsoft.DirectX.dll - October SDK - (2.0.900.0) Microsoft.DirectX.dll - December SDK - (2.0.0 ...Show All
Windows Forms Searching files in directories
hi.. how do i search files in a directory using file attributes like modified date,file size,create date time using .Net. Regards dhn Here is a self-explaining example: DirectoryInfo directory = new DirectoryInfo("c:\mydirectory"); foreach ( FileInfo file in directory.GetFiles() ) { if ( file.CreationTime.Date.Equals( DateTime.Now.Date ) { // Found a file that was created today. } } ...Show All
Windows Forms How do I navigate to another form. pls help.
Hi how do I navigate to another form. eg in a buttons click event. So if someone clicked on the nextpage button on form 1 it took them to form2. Please help. Thanks the examples here http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemwindowsformsformclassshowdialogtopic.asp show how to open a new form as a dialog box and then take actio ...Show All
Windows Forms How to set value? control.DataBindings["Text"].BindingManagerBase.Current = ?
Hi, In my context the BindingManagerBase returns a PropertyManager control.DataBindings["Text"].BindingManagerBase.Current = I want to set a property in a more generic way - and i think it must be possible with bindings because controls can also change values without knowledge of the "set" method... Thanks Peter Binding uses reflection to set the property. You can use reflection similarly. Note that reflection is not as fast as setting a property directly. Control control = this ; PropertyInfo pi = typeof ( Control ).GetProperty( "Text" ); pi.SetValue( this , "Yep" , null ); &n ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Performance problem with Texture.FromBitmap
I reduced program boot time (when running from within the IDE) from 12 seconds to less than 1 second by re-writing Texture.FromBitmap using unsafe code. For me it was easy because I'm only using 32 bit textures and 32 bit bitmaps. It would be nice to see this function optimized in future releases of the SDK. BTW, Texture.FromStream has the same problem. -Jeremy That's what I experienced too -> http://www.gamedev.net/community/forums/topic.asp topic_id=357621 It's only really slow, when you run with debugging. That was not the case in VS2003 though. ...Show All
Windows Forms EnableVisualStyles() and SEHException problem
Hey all....here's the down and dirty app explanation... My main exe has Application.EnableVisualStyles(); Application.DoEvents(); in it so that I can get the nifty xp visual styles going. All has been going just wonderfully, up until now. I load a separate dll durring runtime, which contains it's own windows forms which I show. I call .ShowDialog(...) within  ...Show All
Visual C++ Need to use DIA SDK 7.1 to get local variable names from PDB files
Anyone have any experience, or ideally, code samples to query a PDB file for local variable names We can get the method's IDiaSymbol via the metadata token, but the symbols contained by that IDiaSymbol don't have documented interfaces for variables. We do see some data-type symbols that have strings that corresponds to variable names, but we're shooting in the dark regarding slot numbers, liveness ranges, and associated goodies. I'd love to move to the next release of the DIA SDK, which presents all this as API calls, but I am not able to do so due to other release constraints. Are there any examples of doing this type of work usin ...Show All
SQL Server Question Regarding Job Schedules
Hi My instance of SQL Server 2005 is installed on a Win Server 2003 box. I am trying to schedule an SSIS job. I have created a proxy using my NTLogin as Credential. When I run the job, it returns with the following error: Message [298] SQLServer Error: 15404, Could not obtain information about Windows NT group/user 'XXXXXXXX', error code 0x54b. [SQLSTATE 42000] (ConnIsLoginSysAdmin) where XXXXXXXX is my Domain\NTLogin I access the Server box and discovered that the Windows Task Scheduling Service is not running. Does SQL Server Scheduling depend on this Hi Thanks for the response. I ...Show All
Audio and Video Development What is the good IDE Tool for iHD programming?
Hi, I'm totally new to this iHD / HD DVD world and I'm exicted that I found this forum. Hopefully I'll learn a lot from and contribute some opinions to this forum. My 1st question in iHD programming is what IDE tool should be used in programming iHD And my 2nd question is how to run / preview all 3 samples from HD DVD Programming Guide. Thanks, -mh Hi mh, Welcome, and glad to hear you're excited! :-) At the moment we are using Visual Studio to do development, since iHD is XML and ECMAScript. Visual Studio provides both XML and ECMAScript authoring support, as well as ECMAScript debugging. You can a ...Show All
.NET Development ConfigurationSection Question
I am in the mist of learning about the new configuration classes in the 2.0 framework. Here is what I am trying to do: Define my own custom section in the app.config Have the application read this custom section from the app.config Have the application be able to modify the values from this section Save these changes as a user config file From what I understand with the new configuration classes the flexibility is there to save values to the application config file or a user config file, but I can't quite figure out how to accomplish this. Thanks Kevin You use ConfigurationManager to ...Show All
Visual Studio Express Editions Threads, UI, and Invoke (again)...
I know this has been asked at least a few times before, but i am having horrible trouble trying to get this to work. Maybe i need it explained to me like a 5 year old... because i am new to C#. What I am trying to do, is, of course, update the UI of one form from another thread... In more detail, i mean, I am trying to simply appendtext to a richtextbox from one form from a thread on another .cs file that streams a simple TCP connection... i just want to post all messages from it to the richtextbox. I dont have code to paste since i deleted it all to start over. I need to append this variable of the connections message, to the end of a richt ...Show All
Visual Studio Team System check if a particular class implements interface IDisposable
In my fxCop project, I am required to check if a particular class implements interface IDisposable I wrote this code but it 's not good if (node.BaseType.IsAssignableTo(SystemTypes.IDisposable)) { ... } Thanks for any assistance that you can provide. Regards In that code sample, you are checking to see if the base type implements IDisposable, instead try this: if (node.IsAssignableTo(SystemTypes.IDisposable)) { } ...Show All
Visual C++ VS2005 unnecessary build for project
In a solution, a particular project appears to Build for no reason which I can discover when I choose Build. Is there any way to determine why the IDE Builds a project, in other words why it is deciding that it needs to actually do anything when one chooses to Build Can a makefile be generated from within the IDE for a project or is there any way to get the IDE to show something which will lead me to discover why it is Building In this project the IDE will actually compile the source files, not just do the link, when it appears to be totally unnecessary. This does not happen all the time but intermittently. If I can understand what it is fin ...Show All
Windows Forms How to make ScrollBar work with a panel
Hi, I have a panel that alters in size. And when the size gets larger than the container the panel is in I want a scrollbar to appear. I have set the AutoScroll property of the panel to true but it doesn't seem to work... You need to nest panels then. Put a second Panel inside your one panel, then set autoscroll on&nbs ...Show All
