Nick Cole's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Installation Problems
I've just installed the DirectX SDK and am getting results not listed by other forums and people. Previously, I used to program with DX8 and had no problems in setting up dependencies and references. However, with the DX9 installation, it doesn't recognize any dependencies or references. I've downloaded the latest update (June 2005 ed. of DX9SDK), and still have problems. I'm running the .NET framework 1.1 and using C#, C ...Show All
Windows Forms side panel on a windows form
Hi, How can I have a side panel on a windows form so that when you move along the different windows forms, the side panel does'nt have to reload or anything, it just stay where it is while rest of the window keeps on loading and ...Show All
Visual Studio Intellisense Manager
Intellisense Manager does not appear in the Tools menu on my Visual Studio 2005 set up... any one come across this Nevermind I found this... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=138278&SiteID=1 ...Show All
Visual Studio ReportServerCredentials
T he scenario is simple: I have a reportviewer control and want to show & print a ServerReport. The application needs to be able to connect to the reporting service over the internet and the client machines do not need to be in the same domain. This is the same authentication scenario that applies to viewing reports through HTTP using internet explorer and a URL to the reportserver virtual directory: Internet Explorer asks for a user and pas ...Show All
SQL Server xp_cmdshell and passing data to a web service
Sorry if this is the wrong place for this question. I have two databases. One is Sql 2000, the other is 2005. Whenever 2000 is updated, or a record is changed or altered, I want it to trigger an event that sends the updated record to the sql server 2005 database, which will contain the same table to be updated. I figure I could use the cmdshell and sql statement to do this, by passing the data to a web service written in c# which would then pass ...Show All
Visual Studio Team System Infopath Integration
Hi, I have a bunch of Infopath projects that I created using VS2k5 and the Infopath 2k3 Toolkit for Visual Studio 2k5. Now i want to automate the builds of these projects using our TFS Builds server. When I launch the build process, I get the following error : The project file "myFormName\myFormName.ipproj" is not supported by MSBuild and cannot be built. InfoPath solutions contains two projects file : a *.csproj/*.vbproj and ...Show All
.NET Development System.Threading.Monitor.Enter (under the hood)
What do the threads that are locked out do when they are locked out And does the Sleep call help get { if(dsUsers == null) { if(IsdsUsersLocked) System.Threading.Thread.Sleep(50); lock(UsersPadlock) { if(dsUsers == null) { IsdsUsersLocked = true; dsUsers = (3 sec call to the database server accross heavy network traffic); IsdsUsersLocked = false; } } } return dsUsers; } The sleep call appears to help when dealing with 100 ...Show All
Windows Forms why isn't my dataset filled ???
Hi there, I want to create an Crystal Report and to do that I have to fill an DataSet, but the DataSet isn't filled....why not The dataset dsValuta contains 2 tables: stam_valuta and stam_valuta_koers they are linked with an foreign key on val_co ...Show All
SQL Server user info in fn_dblog with SQLServer 2005
Hi, I've notice that in SQLServer 2005 "select * from ::fn_dblog(null, null)" and "DBCC LOG(mydb, -1)" always return -1 or NULL for the column UID which is supposed to return the id of the user. I've been using those statements with previous version of SQLServer with no problem so far. Does anybody know if there is any option to enable SQLServer 2005 to save the user info in the log Thanks. ...Show All
Visual C# Reusing an open FileStream with multiple BinaryWriter objects
Hi all, a quick question: Part of my application (Windows Forms / C# / .NET 2.0) deals with different objects which all have Serialize / Deserialize methods (custom ones, not implementations of ISerializable). At some point, I create a FileStream for writing, and then need to call those objects in turn, passing the FileStream object to the Serialze method. Each object should then append some binary data to that stream (and the reverse ...Show All
Visual Studio Team System Caching Methods
Hello, Which caching ways do you use Should we store in memory.. or in hard disk I will cache tons of data. so I think the best is to store in hardDisk. But Should I use Serializing the class or storing the data into dataset. what do u think Doga, It is rather difficult to answer your question without knowing some details about your implementation. Books have been written on the topic of caching and serialization. Each applies to a p ...Show All
SQL Server Upsizing Access to SQL Server 2005
I am upsizing a number of Access 2003 databases to SQL Server 2005 with Access Project front ends. Access Tables all upsize OK, some Queries upsize to SQL Views, some to SQL Functions and some get skipped completely. I have fixed up data type issues with Yes/No and Date/Time fields. I would like all my Access Queries to be SQL Views. Some queries may have calculated fields and I suspect this is one of the issues. The only log in the re ...Show All
Software Development for Windows Vista GoTo Activity
Hi Is there a custom activity which implements the functionality of GO TO thanks Bobs goto's are almost always a sign that there was a design error. AFAIK, there is no way to accomplish the idea of a goto in Workflow with a possible exception being the use of raising events. Can you provide me with more details I might be able to give you a better answer if I understand more about what you h ...Show All
Windows Forms TabIndexChanged event not firing? (VB.NET 2003)
I have a form with a tab control with 3 tabs on it, and a button. Clicking the button changes the selectedIndex of the tab control, which is then SUPPOSED to fire a function through the "TabIndexChanged" event. This event doesnt' fire. To& ...Show All
Visual Studio 2008 (Pre-release) Control looping
Hi, I have a panel and I want to loop through all the controls on it, to set certain properties like Text, etc. Is there an easy way of doing this Generally it depends on a type of the Panel (ItemsControl has Items collection, Canvas/Grids have Children property. For the general case you can use smth. like: foreach (FrameworkElement f in MyPanel.Children) { if (f is Label) { … do processing f ...Show All
