Down's Q&A profile
Windows Forms .Net component for VS2005 UI
Does anyone know how to build a user interface that is like the IDE style in Visual Studio 2005 What components emulate the tear-away panes and hiding toolbars I noticed that Rapid SQL 7.4 uses the exact same interface so I know that there must be an API out there somewhere. I've seen a few components that attempt to copy the interface but I've never seen anything that explained how to implement the interface like MS does. I'm new to .Net and so if this is a completely retarded question then please forgive me and be merciful/generous with your knowledge. Thanks, No sure if this is what you want, but this control does emulate the IDE of VS 2005, or SQL Server Management Studio http://sourceforge.net/ ...Show All
Visual C# proper constructor chaining direction
I was looking at some code at my work and with several overloaded constructors having the same code in each one, I thought, beautiful, perfect place to use constructor chaining. Except I'm not sure which direction is the proper way to go What I mean is, in the constructor, do you go from the general to the specific, using nulls for the missing parameters, or do you go from specific to general and then in the body of the constructor set the missing properties Where things get interesting is when you want to call the base constructor, should it go in one place If you're using constructor chaining, then you can do this, but where does it go, at the top or the bottom of the chain Here is a sample class that illustrates what I mean. ...Show All
Windows Forms How to create services in vb.net.
Please Give me the detail explanation about services and how to install services in the system. Thanks & Regards P.Veerakondalu Hi, You mean "windows services" Here are two articles: Install a Windows service the way YOU want to! Using Windows services to monitor folders and unzip files - vb.net (an example) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Array of ID3DXMesh causes crash on draw with more than 2 elements
Hi, Bit of an odd one - I think the solution is probably quite simple but I can't see it so maybe need a few more pairs of eyes please! I've got an array of ID3DXMeshes, and for each one I do D3DXCreateMeshFVF, then fill the vertex and indexbuffers. I then go thru the array and draw them. If I have just one element in the array, all is well. It gets drawn and it's released ok on exit. If I have 2 elements, it gets drawn ok but crashes when I try and release element[0]. If I have more than 2, it just crashes when it tries to draw the first one. I've been looking at this for ages now and am going a bit mad! Any help would be great. Below is the method that creates the meshes, the method that draws them, and the code where they are dec ...Show All
Windows Live Developer Forums Looking for skilled API developer
Hi All --- I'm interested in developing an activity that would be a database of profiles for a gay dating service. The profiles would indicate who is online and allow users to communicate via messenger. There would be a browse and search profiles function. Everything else would be messenger based. I'm looking for an API developer that I can work with to develop this... Anyone interested or know someone they can refer me to Thank you, Jim jimmcdermott@si.rr.com Jim McDermott wrote: Hi All --- I'm interested in developing an activity that would be a database of profiles for a gay dating service. The profiles would indicate who is online and allow users to communicate via messenge ...Show All
Software Development for Windows Vista Vista MCE SDK - Can't view the filtergraph
I can no longer access Media Center's filters from Media Center's filgraphmanager exposed in the ROT. I've upgraded my machine to Vista Ultimate , and downloaded the " Windows Media Center Software Development Kit for Windows Vista RC1 " In previous versions I was able to get the filgraphmanager and enumerate the filters in the graph, but now when I enumerate the filters in the filter graph Media Center exposes in the ROT, I get no filters back. Is this a known issue And is there a better way to get the video and audio stream from Windows Media Center Thank You, Matt ...Show All
.NET Development monitor/lock scope etc
Some musings on synchronization ... Does a lock remain in effect if the critical section contains a call out to another method I'm sure I've read somewhere that it does but I can't find the reference. What happens if the called method is public and also has to implement synchronization If it locks on the same object there will be a deadlock. If a ReaderWriterLock it will just increment the lock count right I assume that's ok, but it will degrade performance. Does it make any difference if a return statement is inside or outside the critical section I assume not. Say I create a thread-safe wrapper for a collection class. I have to wrap GetEnumerator() but putting it in a critical section is pointless because the returned enu ...Show All
SQL Server How to implement security extentions which are supported by Reporting Services Standard Addition.
We are planning to implement security extentions. I am going through these links http://msdn2.microsoft.com/en-us/library/ms152825.aspx http://msdn2.microsoft.com/en-us/library/ms152899.aspx http://msdn2.microsoft.com/en-us/library/ms155029.aspx The sample solution is working fine for reporting services enterprise edition, but this is not working for standard edition as security extentions are not supported by standard edition. Is there any way to implement security extentions for standard edition achieving single sign on with a .NET application Any suggestions, tips, tricks, pitfalls Custom security is supported all t ...Show All
Commerce Server Biztalk Catalog Integration
Is it possible to setup the Biztalk integration with the Catalog Manager to delete variants when importing with Incremental changes. I have tried creating the XML file with the variant I no longer want not present in the file but if I go into catalog manager I can still the variant after import. Please Advise. The format you used to represent the deleted variants might be an issue. One thing I would suggest is delete a variant from catalog manager, export the catalog and choose the "Export deleted items" checkbox Check the format of the deleted variants and create your xml which confirms to this format ...Show All
.NET Development .NET 1.1 to .NET 2.0 Upgrade Logical issue
Guys, I am new to .NET Framework and .NET development, my Boss asked me to findout that either we can Develop and run our .NET 1.1 application under .NET 2.0 I think that for building and running VB.NET applications under .NET 2.0 we need to have VS 2005 and is it possible that I can built applications in VS 2003 and run it under .NET 2.0 Just need to clerify from you guys first Thanks in advance .NET Framework installs side by side, one does not conflict the other. You can run .NET 1.1 apps in .NET 2.0 I believe, I've tried it, but you cannot run .NET 2.0 apps in .NET 1.1/1.0. It's not backwards compatible in order to develop .NET 2.0 apps, you need VS2005. VS2003 and earlier do not run under/compile wi ...Show All
Visual C++ Problem with custom manifest file when building but not rebuilding
Hello, I have a simple dll using a custom manifest file in order to refer to the MFC80 libraries previous than service pack 1. When I rebuild the solution the linker takes the right manifest file and everything works fine. When I modify a cpp file and just build the solution (compiling just that file) and link the embedding file step is not performed and the dll cannot find MFC80 during run-time so my application cannot start; maybe it takes a wrong manifest file. The work around I found is as follow: delete the file mt.dep before compiling my solution. In that case the embedding manifest step is performed and the DLL can find MFC80. Is this behaviour a bug ...Show All
Visual Studio Express Editions TableAdapter query question
I need to add following queries to my TABLEADAPTER that return a SINGLE VALUE using QUERY BUILDER: 1- Calculate and return AVRAGE value of FIELD1 of a series of rows that contain only a specific value of FIELD2. 2- Calculate and return AVRAGE value of first half (or second half) rows of FIELD1 while sorting on the basis of FILED2. What would be the query builder procedure and what should be the error frees SYNTAX for the above TABELADAPTER queries. I am using a MDF file as database. Thanks Oh i see...My code isn't right...Hmmm let me see....I am not an SQL Pro sorry for that... I suggest you store the first 50% in a dataset then or temporary table then get ...Show All
.NET Development C# xpathnavigator: how to retrieve element names
Hello, At the risk of being criticized for not comprehending reference materials I will ask one last question, then I’m going to take the brute force method and write a parsing routine of my own in C# since I can’t seem to get XSLT or the built-in C# features for processing XML to work to my satisfaction. After reading and re-reading all the information you people have provided I’ve decided to use xpathnavigator in my C# program. Here’s some code: string XMLquery = @"/df:xtvd/df:programs/df:program[df:title='NOW']/df:title" ; try { XPathExpression query = xPath.Compile(XMLquery); XmlNamespaceManager manager = new XmlNamespaceManager (xPath.NameTable); ...Show All
Smart Device Development Problems with Windows Mobile 5.0
I writing an application using VB .net 2005 and testing it on two different HP IPAQ's. The older one is an rx3115 and it's running Windows Mobile 2003 2nd edition. The newer one is and hx2495 and it has Windows Mobile Version 5.0. Both have 64 megs of RAM. The application works under Mobile 2003 but not under version 5.0. The code where the problem occurs is: If discoverfrm.ShowDialog() = Windows.Forms.DialogResult.OK Then discoverfrm.Dispose() End If The IPAQ running Version 5.0 hangs when it comes to this code. So, I am trying to update my internet explorer for my HP iPAQ rx3115. I don't know how to do this and need help. Can you help me Thanks, Alison :-) ...Show All
Gadgets I need help.
I tried making a sidebar gadget recently. I used codes from JavaScriptKit.com to do so. Everything went well untill I tested it out on my computer. A screen popped up saying "This is not a valid gadget packet." I'm pretty new to creating gadgets, so what does this mean, and could someone help me make it real Here's my code: <body>The Date is:<script> /*Current date script credit: JavaScript Kit ( www.javascriptkit.com ) Over 200+ free scripts here! */ var mydate=new Date() var year=mydate.getYear() if (year < 1000) year+=1900 var day=mydate.getDay() var month=mydate.getMonth() var daym=mydate.getDate() if (daym<10) daym="0"+daym var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday"," ...Show All
