Greg Merideth's Q&A profile
SQL Server sysconstraints and syssegments views do not show under system views
NO idea how this happened, I was getting an error altering the views, and I noticed in one database of mine sysconstraints and syssegments views shows under user created views , in other databases I noticed they are listed under system views section. How can I move sysconstraints and syssegments back to system views Thanks Hi - I presume you're running against a SQL 2000 back-end Also - can you explain why you're posting this to a SMO/DMO forum Was there some operations you executed in SMO or DMO that got you to this state Can you please run this query (SQL 2000/2005) and post the results ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Does DirectX have the OpenGL equivalent of Display lists?
As the subjects asks, is there an equivalent feature in DirectX Basically I want to just render about 200 spheres most of which will be the exact same copy of each other. Drawing each sphere independently of each each other gave quite poor performance in OpenGL until I used Display lists which enabled me to save a fixed set of drawing commands and just call the display list instead of redrawing the sphere each time. That gave a HUGE boost in speed. With 40% CPU usage I could easily render about 200 spheres at 60FPS in OpenGL. I want to know if directX has a similar feature. I've searched a lot online and ...Show All
Visual Basic text formating
Hi, i would like to ask whether can i format the text in textbox in such a way that whenever there is a bullet, it will display it in a newline. the textbox data is retrieve from a database in the same column. Hi, sorry I wasn't clear. It should be: Private Sub txtDisplay1_TextChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtDisplay1.TextChanged txtDisplay1.Text = txtDisplay1.Text.Replace("."c, ". " & Environment.NewLine) End Sub You also hadn't declared the characters correctly, as it would have been looking for a string "95". If you're using a full-stop now, it sho ...Show All
Visual Studio Tools for Office Possible Bug in Word 2000/XP add-in implementation when displaying forms from managed code.
As part of a Word addin, one of the classes in the addin instantiates and then shows an 'always-on-top' form. The form shows fine but you cannot tab round the form, keyboard shortcuts to buttons don't fire their respective click events and when the AcceptButton property is set the form ignores the enter key. Just to see what happened I copied the form's .cs files into another simple windows application project (with another form instantiating the troublesome form and showing it) and I have no problems (shortcut keys are shown, tabbing works fine etc.). The method on the class that instantiates and shows the form is called from a but ...Show All
.NET Development WinForms Vs WebForms
Where can I get the list of pros & cons generally speaking WinForms are Richable but not reachable , on the contrary WebForms are Reachable (but not richable due to performance factors). so the question is : can we have a form that is both richable and reachable at the same time . the answer is simply , yes "Click-Once deployment ". there was an old article about hosting a windows form over IIS , and this would lead to the death of browsers we know today . http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnadvnet/html/vbnet10142001.asp so if we can really work this way by hosting winforms over IIS , why would we nee ...Show All
Visual Studio Team System Beta 3 Team Foundation Client: "Invalid license data. Must reinstall"
After much trial and tribulation, got all the server components of TFS installed sucessfully (single machine installation, workgroup authentication). After all that, installing the client should be easy, right Well, install ran OK, but when I try to run it, get message box saying "Invalid license data. Must reinstall". Need I say that reinstalling didn't help Installed and attempted to run using same tfssetup a/c used in server installs. Any suggestions Many thanks, John Rhoads I have posted a blog item about this "invalid license data" error that may be useful here as well. You can find it at http:/ ...Show All
Software Development for Windows Vista how do you install vista ???
i must be an idiot or something ive been trying all week to install vista on my pc with nothing but problems. i have a sata hard drive running windows xp. i also have a fully formatted ide hard drive that i want to install vista onto only. i dont have a dvd burner so i cant burn the iso files to a cd to create a bootable install . i can use a virtual drive ( daemon tools ) for this i believe what is the best thing to do in my case should i re-install xp onto the ide drive , then add a partition for vista or leave xp on the sata and install vista onto the ide ( basically run two differnet operating systems on two seperate drives ) i re ...Show All
Visual Studio Express Editions Icons from Imagelists?
I've got a question about Icons, i've loaded a few icons into an image list and when I try assign an image to the forms icon property I'm getting a type exception because the imagelist contains 'images', lol. This being the case, how do I convert an 'image' from my imagelist to an icon that the form will accept By the way, this is also true for the NotifyIcon control, that will only accept icons too. Its ironic that they were all icons to begin with. Given that the images within the ImageList are really being stored as Bitmaps we can typecast them to another type whose handle we can get and use for the construction of a new icon ...Show All
.NET Development Strange problem in .NET console application
Greetings, All I got a very strange problem with .NET and asking your advise I'm developing MMORPG game server in .NET. It uses aync sockets and a separate thread for message processing. All works perfectly but after a few hours CPU load of server PC raises to 100%. I'm profiling all of async receive/send/accept threads (writing its ID's to logfile) and when I enumerate process.Threads, none of 'em uses such much CPU. But there is always one 'fantom' thread in process.Threads collection, consuming all of CPU time. It is neither program main thread, nor async threads. It's start time shows that it was startet few seconds before hight load an ...Show All
Visual Studio Team System Proxy only connection
Is it possible to connect Visual Studio to a Team Foundation Server Proxy only We are planning a setup where the TFS will not be accessible by Team Explorer but only from the proxy. Thanks You can not connect Visual Studio to a Team Foundation Server proxy directly. Proxies are public so it can be accessed by any application. I don't think there is a way you can prevent people to connect to a Team Foundation Server through TE but yet have them able to access it through proxy. I am just curious to know why you want to prevent connection through VS TE but allow it through Proxy. Is it because you want them ...Show All
SQL Server INSTALLATION PROBLEM OF SQL SERVER
Hi all, I had an older version of sql server 2005 i.e. 9.00.16 or something like that...but for my work i had to use the newer version of it i.e. 9.0.1314.6...so i uninstalled everything by now from the previous version...now in my ADD/REMOVE PROGRAMS i have : Microsoft .net framework 1.1 microsoft .net framework 1.1 hotfix microsoft visual j#.net microsoft visual studio .net enterprise architect 2003...and MICROSOFT .NET FRAMEWORK 2.0 BETA... now when i m trying to install the new version it gives me error as : SQL SERVER 2005 setup has detected incompatible components from beta versions of Visual Studio,.net framework or sql server ...Show All
Visual Studio Help with a simple addin.
Hi, Sorry for my dumb questions but I'm new to studio 2005 and I'm not sure how to go about this. I've been using Eclipse 3 for several month now and I have gotten used to some usefull shortcuts that I would like to implement for studio and put them out there as free addins if they don't exist. I'm trying to focus in two addins: 1) Studio has a feature called "go to definition" under its right menu click that when you click on it or press F12 it goes to the definition of whatever it is that you are on top of. I would like an add in that mimics this same functionality but it gets trigered when you click Ctrl+Click not just when you click ...Show All
.NET Development Do I need remoting?
We are in the planning stages of an enterprise application. There will be many (500 or so) WinForms clients working off a single sql server database. In the past, we've always just used a direct sql connection from the clients to the db server without problems, but never for more than 15-20 simultaneous connections. From what I understand, using a single-call, stateless server app that communicates with the clients over remoting is the best way to handle many (500 or so) concurrent users. Our team is new to remoting, and while the mechanics of it are easily understandable we are not fully understanding the necessity of using remoting or wha ...Show All
Windows Forms Remote Server Is Unreachable - New Install
I downloaded the install for the source today. I ran the install. Verified that the database was created and that the tables had been poplulated. Also verified the virtual web was created in IIS. Database and client are on the local system. After the solution was rebuilt and the project was executed I am prompted for a username and password. I ...Show All
Windows Forms Need help ASAP Please! Trying to set save and set the papersize and papersource - but can't get it right....
I'm using the Page setup dialog to save/get user settings. Before the Dialog opens up, I want to set all the properties in the dialog box with any saved settings. After the user makes any changes, I want to save those settings for printing later, or when the user opens this dialog again. Everything works perfectly except for the PaperSize a ...Show All
