Darrin Turner's Q&A profile
Software Development for Windows Vista Vista order of installation
I plan to code for Vista as soon as it's out, but the installation order instructions or a bit sketchy. I have Visual Studio 2005 Standard and want to code for DirectX. I know I want the latest Windows SDK, but don't know if I need the Visual Studio 2005 extensions because I don't plan to make any managed applications. So, in short, I have Visual Studio 2005, the DirectX SDK, and the Windows SDK. What order should I install them in, along with the Visual Studio SP1 patch ...Show All
SQL Server Problem with Gray Scale Plaette
Hi, I'm attempting to constrct a bar chart with the Gray Scale Plaette. All the other plaette works fine. However, for the gray scale one, the patterns just go random. It doesn't follow the legend. Have I done something wrong here If there is no way to get around this, can I construct one manually Just wonder how can I do that, cos I want to get some report printed out. Thanks, Josh I'm not sure what you mean by "the patterns are random". Each entry in your legend (ie. data series) should be assigned a different hatch pattern. The point behind the grayscale palette is to make printed black and white output look readable. It is possible to assign a custom color to your data elem ...Show All
Visual Basic Auto complete question?
i noticed that a normal text box has the auto complete function but a masked text box doesn't. Anyway to have my masked text box have auto complete Also, how can i have my auto complete come from a list of items ONLY, i didn't get Auto complete custom source to work. how can i do that. i don't really like to use a combo box in this case as i want it to look "cleaner" without all the arrows and also have the auto complete feedback on what he can & should continue entering IceAngel89, Take a look at the Masked Edit control linked : https://msdn.microsoft.com/library/default.asp url=/library/en-us/masked/html/vbobjMaskEdit.asp and MaskedTextBox Class linked : http://ms ...Show All
.NET Development how could I change the Client's IP address automatically through C#
Good day to all experts, how could we change the client's IP address automatically using C# programing make it realization . I have a small program running at the workstation ,I wanna C# programm may automatically connect ADSL and 30 seconds can closed ADSL connection. Thank you very much for your help regarding this matter. Have a nice day to all have already done this a couple of weeks ago. Couldn't find any way of enabling/disabling via an api. Use WMI or win32_Networkconfiguration to search for the card you want to enable/disable and use DEVCON.exe to disable then enable it. (Restart worked i think.) Code sample is at the bottom. I have since changed the code to run a proccess(originally I made a vbscript file. B ...Show All
SQL Server Cannot show requested dialog Error on View Database Permissions
I am having issues with the database permissions on SQL Server Express. I downloaded the SQL Server 2005 Express Edition with Advanced Services SP1 and everytime I try to view database/schema permissions I get an error "Cannot show requested dialog." I have 3 different installs of Sql Express 2005 on different machines and they all throw the same error. The error happens in a couple locations but one way is going databases > select any database > Security > Schemas > Select and right click on a schema > permissions > and click view database permissions, I get the error message below. Does anyone else have this problem Thanks Scott ================= ...Show All
.NET Development DoEvents not working?
This code doesn't seem to be working right. What I need to do is watch for left and mouse downs, and when both are down at the same time, show a window. This class should do it, but isn't working. The processMessage variable tells the mousehook to send the message to the appropriate window or to consume it. Public Class mouseComboWatcher Private WithEvents mh As WickedOrange.MouseHook Public Event ComboPressed() Public Event ComboReleased() Sub New () Me .mh = New WickedOrange.MouseHook End Sub Private leftMouseDown As Boolean = False Private rightMouseDown As Boolean = False Private comboDown As Boolean = False Private Sub mh_Mouse ...Show All
SQL Server Replicating Schema Changes
Hi there, I'm using Sql 2005 merge replication and I have noticed something, I'm not sure if this is true or not:... My publication is set to replicate schema changes (replicate_ddl = 1). Now, I have noticed that schema changes are only replicated if the current snapshot is valid. Is this right If so why My next question carries on from the first. If I'm about to run a TSQL script on my publisher that will add a column or two to a published table, how do I ensure my snapshot is valid inorder for the ddl changes to be replcated Should I be using: EXEC sp_mergearticlecolumn @publication = <publicationname> , @article = <article name> , @force_invalidate_snapshot = 1 , @force_reinit_subscriptio ...Show All
SQL Server SQL Server Modeling Tool
To All: I am in need of a tool that will allow me to reverse engineer a SQL Database and show me dependencies between Tables and Views, and dependencies that exist between Views and Stored Procedures. Any body know of a tool that does that Thanks, r use the sysdepends stored in every database http://weblogs.sqlteam.com/brettk/archive/2005/04/28/4830.aspx ...Show All
SQL Server Oracle Error When running Niku Clarity with MS JDBC
Hi All I get a very strange error when running the JDBC in WAS6.0 This is running the Clarity 7.5.3 Application Failed to verify database: Io exception: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) Any ideas Not sure that I understand the scenario here. The Microsoft 2005 JDBC driver is a type 4 Sql Server driver. The only databases supported are Sql Server 2000 and Sql Server 2005. ...Show All
Visual Studio The Operation could not be completed. No such interface supported
I have visual studio 2005 Team Edition and visual studio 2003 installed. After removeing the CTP edition and reinstalling 2005 and 2003 serveral times. I finally have everything working again. VS 2005 displays a message box with the error message whenever I try to search the help documentation. If I am in the IDE the help page will launch with the message box. If I click the search button in the help tool bar the message box appears again and searching fails. Please fix this. Can you try the following: === If you're seeing the "Common IDE Package Failed to load" error, try the following: Open a command prompt. Run the following command and hit "y" when prompted. r ...Show All
Software Development for Windows Vista disposing a QuartzTypeLib.FilgraphManagerClass object
Hi, Before I start: I am not in anyway familar with DS. Someone wrote me a dll that encorporates a QuartzTypeLib.FilgraphManagerClass object to allow me to play a avi stream to a picture box. The problem lies when i get the filtergraph to play in a picture box, I can stop it an load one video, but when i try another it "crashes" with a null refference. I would like to know if there is any way of disposing this object so that i can start a new one easily. Thanks MP Well, if you were using .NET, there might be some things to try. However, I'm guessing not. I assume you've already tried setting the variable to nothing. ...Show All
Visual Studio 2008 (Pre-release) ComboBox, style on ToolBar
When a ComboBox is placed on a ToolBar it gets a Blue hottrack/focus border style. How can I change that (as it doesn’t fit my design very well) Best regards, Thomas Andersen Actually the standard ComboBox doesn't fit my design either. Is it possible just to change the Blue highlight color in the ToolBar-ComboBox style Best regards, Thomas Andersen ...Show All
Visual FoxPro Selecting a arange of cells without knowing the last cell
Good afternoon all, I have a little problem, i'm trying to select a range of cells in an excel sheetfrom a column without knowing the size of the range, and then pasting them in an empty worksheet in the same workbook. as i have some emtpy cells in between the column, the following code doesnt help me much nEndRowIndex = Range("G4").End(xlDown).Row as its only only return back the number of the first batch of cells that are not empty and stop counting ones it encounters the first emtpy cell on its way. anyone has a better idea thanks for the help. loFullRange = oExcel.ActiveWorkBook.ActiveSheet.UsedRange loMyColumnRange = oExcel.ActiveWorkBook.ActiveSheet.UsedRange.Columns( asc('G ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Help What do I need to download so I can connect to my 360 for XNA?
What do I need to download so I can connect to my 360 for XNA Do I need to download windows media connect If you are using a wireless adapter to connect either your Xbox 360 or your PC, I suggest trying a wired ethernet connection instead. Please read this thread for more details ( click ). Gunston eventually got something to work for him, but never got it going over wireless. Coincidentally, someone on my team ran into similar trouble today with a network adapter that seemed to be malfunctioning (wired connection). It could locate the Xbox 360 and receive UDP responses, but could not establish a TCP connection. After switching to another adapter (he had three on that machine), it worked fine. Al ...Show All
Windows Forms Fix for DGV DataError
Is there a fix for the the DGV DataError for invalid value in a DGV Combobox.column I had everything working around this and some minor changes - that should have no effect - suddenly started generating the DataError. The last time, I deleted the DGV and created a new one and the error stopped. I've read all the posts that I can get my hands on. I am already trapping the event and reading the error info...column, message etc. I understanding the many things that may cuase the Formatting, Display and Preferred Size context flags. I made changes to try and avoid these, AutoSizeMode, Resizable,etc, but without success. I just don't understand why it went away in the past when I deleted and recreated the DGV ...Show All
