pmj58585's Q&A profile
SQL Server increasing maximum of tables to greater than 256 ?
Hi, I am submitting a query to SQL server and I'm hitting an error--> Too many table names in the query. The maximum allowable is 256. I CAN find a work around by breaking things up, but, isn't there a way to increase this limit of 256 tables Seems kind of a lowball cieling for SQL Server. Hi, this is a limitation of SQL Server and can't be changed, perhaps you can achieve a workaround by rewriting your query. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
.NET Development Generating a template to derive from abstract class
I would like to dervie from System.Xml.XmlReader class. Is there any way to generate a skeleton of the abstract methods to be overridden automatically I assume you've used the (VS 2005) feature for implementing stubs for each method. That at least give you a startingpoint. If you know what your implementations of these methods should be, and you're going to make a series of such readers, then why not try to create your own code snippets Further, take a look at http://msdn2.microsoft.com/en-us/library/9khb6435.aspx . If you need to create spesialized XmlReaders, this could be an easy way to go. An ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Basic Help!
Before going any futher with developing games and such.. Which SDK file do I have to download to start please link me up =) I'll go for the DirectX C++ I know nothing about DirectX, but I have good knowlage in C++. Thx You probably need to do an extensive search on DirectX 9/C++ tutorial but I don't want to take a lot of time doing it--can be hard for me to find for me. However, I'd recommend you learn Managed DirectX with C#. Since you know C++ you can probably get over with the C#'s syntax very quickly. You can find it here . Please note: I'm not trying to get you away from C++ but I'm thinking that if you learn Managed Di ...Show All
.NET Development Type.GetMembers() on an interface does not return members from inherited interfaces
Consider the following: using System; using System.Reflection; public interface IBaseBlah { string GetSuperString(); } public interface IBlah : IBaseBlah { object DoStuff( string name); } public class Foo { public static void Main() { Type t = typeof (IBlah); foreach (MemberInfo info in t.GetMembers(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance)) Console.WriteLine(info.Name); ...Show All
Visual Basic Problem with own TextBox in VS2005
Hey NG So, I don't know, if this is an bug of VS2005 or if I offers this problem I made a new control member. It belongs to System.Windows.Forms.TextBox. I extended the "normal" textbox with some features. Now, sometimes my VS2005 crashes. (OK-It's Beta) - But when I reopen my project, all Forms can't be displayed correct - Because of an error with my control member. - After rebuilding the project (without errors) the forms are displayed correct, but my controls are gone. Now, I could add my control member again on the form - that works - but I can't give it the same name than before. - There I have to delete following code: Friend WithE ...Show All
Visual Studio Does VSS 2005 have Netsetup?
Does VSS 2005 have a netsetup or equivalent I much prefer that installation tool versus toting and inserting a CD at every client box. Mike No, it doesn't, but as Rothariger said, you can install it over the network. VSS2005 doesn't create by default a new database like VSS6 did when you installed from CD, so there is no need for a "netsetup" tool that will just copy and register the binaries. Alin ...Show All
Visual C++ File open errors returned when trying to open a file for appending
I am trying to open a file for appending. ie. if the file exists, open it for appending, if not, create it. I am getting back a NULL pointer, and do not know why. Here is my code excerpt. It is a C file. FILE *pFile; char *cFileName; cFileName=argv[++i]; pFile = fopen(cFileName,"a"); cFileName has a valid filename ('apm.dbg'), and I have full write permissions in the directory. I can step into fopen and when the file is opened, I can see in another window that the file is created with zero bytes. However pFile is returned as NULL. GetLastError() returns: - when the file does not exist: ERROR_NEGATIVE_SEEK // An attempt ...Show All
.NET Development Urgent help required--C# equivalent to Java HashMap
Java HashMap equivalent in C# is HashTable. But in java the HashMap can have a null key ie key is a null reference and there can be duplicate keys ie basically keys with the same name. I want a class that provides the above feature ie 1)stores in key value pairs 2) key can be null 3)Keys with the same name can be added. or if there is another util class that provides the above mentioned features. Please help me with this. Thanks a lot in advance I needed a Dictionary which accepted a "null" key, but there seems to be no native one, so I have written my own. It's very simple, actually. I inherite ...Show All
Visual C# server -->client gets disconnected
hi i developed a class server and also a client everything goes fine i connect the clients and after 4 minutes of inactivity of the clients automaticly disconnects them why every client has a separetly socket in my server.. Why is he disconnecting the clinets is there a option or proprety to be set .. or something.. You can set the KeepAlive flag of your Socket: socket.SetSocketOption( SocketOptionLevel.Tcp, SocketOptionName.KeepAlive, 1 ); ...Show All
.NET Development active application handle
I am trying to transport a vb6 program to vb2005. In vb6 I could use API's to do things like get a handle for the active application (enumWindows), get the location of the active application ( GetWindowPlacement ) , and the title text of the active application ( GetWindowText). I have spent several days looking but have not been able to find anyway to duplicate thes functions in vb2005. The API's don't want to work in vb2005. Am I missing something or do I need to go back to vb6 to get the same fuctionallity Does anyone have any suggestions" Thanks Dick Hi, Yes ...Show All
.NET Development XmlSerialization problem
I am using XmlSerialization for serializing an object of complex type. The problem is that XmlSerialization makes a lot of 'href' in the output document. Is there is any way to stop XmlSerialization from making serialization. Also it add extra namesapce to ecah element of the body. Does there anyway to abvoid this. The code I am using is: =================== MemoryStream memoryStream = new MemoryStream(); XmlTypeMapping myMapping = ( new SoapReflectionImporter ()).ImportTypeMapping( typeof (SetParameterValues)); XmlSerializer serializer = new XmlSerializer(myMapping); XmlSerializerNamespaces ns = new XmlSerializerNam ...Show All
SQL Server Unable to set values in array custom property
I'd like to be able to hold onto lineageIDs in a list in the custom property of an output object. I found that I can really only easily use an array which is fine but now that I have coded it I cannot set any of the array values programatically. I can't even initialize the array the way I want it. I also cannot change the value in the debugger, it just pops back to zero. Am I missing something Here's how I'm trying to do it: IDTSCustomProperty90 linIDsProperty = output.CustomPropertyCollection.New(); linIDsProperty.Name = "KeyColumnLineageIDs"; linIDsProperty.Value = new int[MAX_KEY_COLS]; for (int i = 0; i < ((int[])linIDsProperty.Value) ...Show All
Visual Studio Express Editions Problems Installing .Net Framework 2.0
Hello, I am a PC repair technician that loves to try lots of new things. I wanted to install and use the Windows Vista Upgrade Advisory Tool and it told me I needed to install Microsoft.Net Framework 2.0 first. I have tried twice so far and it keeps stopping at the point of "executing Regsvcs.exe\bootstrapi". I had a devil of a time trying to uninstall the first attempt to install this the first time until I realized that if I wanted to uninstall I had to quit out of the Regsvcs.exe when performing the uninstall because it would always come up with the error message that the .net installer was running and needed to be quit o ...Show All
Windows Forms Async Callback causes Windows Forms events to not fire
Hi, I'm not sure where to post this so I've posted it here and on the Web Services forum as it involves both. I will try to explain this as quickly and as best I can. If it anything doesn't make sense then by all means, please ask for more details. I'm writing a little messager-style app whereby the app fetches messages from a web service. If a new message is returned the data library fires off a NewMessagesArrived event which is picked up by the main Library, which then instantiates and displays a little popup. Everything works fine if the message is fetched synchronously. The NewMessagesArrived event is fired, the popup is created and the ...Show All
SQL Server Are there tools available to extract summary text from data in a varbinary(max) field?
This is related to the previous question.... I can create fulltext indexes off document data and query the data. But when displaying the result set I want to show a standard short document summary, or better yet a summary that shows the keyword in contexts within the document (like google). Are there any tools available that allow me to do this. Can it work right from the varbinary(max) field or does the document first need to be extracted to a file. ...Show All
