Jaapjan Tinbergen's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Error reloading xna projects using batches
Hello, Following the answers given on this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=327228&SiteID=1 I started using the %(Identity) and %(Filename) metadata to batch some of my tasks. Unfortunately, whenever I try reloading a project containing such medata usage, I get an error: "{0} is not a valid batching parameter." I was forced to remove these information from the project file using a text editor, and to pu ...Show All
Visual Studio Team System Synchronizing current file in Solution Explorer and Source Control Explorer
dear all, is there anyway i can sync current selected file in VS 2005 Solution explorer with Source control explorer tree. regards faraz You can rightclick -> Get from either SCE or Solution Explorer. It will prompt you to update the in-memory copy. ...Show All
Visual Studio mandatory profiles and vs.net 2003
I'm trying to load up visual studio.net 2003 professional under a mandatory profile. When I do so, i get an error message saying that VsRptDesigner Packate and Crystal Reports fail to load. It gives me an option to disable these packages, but when I say 'yes', it closes visual studio. This happenes everytime i try to load vs.net 2003 Hey Koei - I may have misunderstood what you what meant b ...Show All
Visual Basic Recursive Error
I receive the following error when trying to run a recursive function. It happens when the recursion has reached its lowest level and is starting back up the tree. Any help would be greatly appriciated. Error: 61837 - Unable to write read-only property. Code: Public Sub RemoveUserFromUserClasses( ByRef objUserClass As Object , ByRef objUser As Object ) On Error GoTo Err_RemoveUserFromUserClasses 'Counter ...Show All
SQL Server Stored procedures with return values
Hi, I'm trying to create a stored procedure for updating and inserting some rows in several tables. My Stored Procedure should be something like this CREATE PROCEDURE UpdateTables @Num as int Output, @Cod as int, @Des as nvarchar(30), @Prc as float, @Qty as smallint, @AutoIDTbl1 as uniqueidentifier Output @AutoIDTbl2 as uniqueidentifier Output UPDATE Number SET Num = Num + 1 INSERT INTO Totls (Num, Prc, AutoID) VALUES ( , @Prc * @Qty, NewI ...Show All
Visual C# Raise event from IE hosted windows user control and catch it in the Web Form that’s hosting the control
Hi. I have a web app that uses a IE hosted windows user control. I would like that, somehow, lounch an external event from that hosted control that I could catch in my web form’s code behind. If possible, please send me a small sample project ( bozesan_mihai82@yahoo.com ). But, of course, I would appreciate any suggestions! Thanks in advance! Hi! Launch event from client side to catch in the server side You need t ...Show All
Windows Forms Databinding problem
Hi everybody. I have a form which contains a user control. When the form loads, I'm populating some DataSet, and assigning the dataset refernece to one of the control properties. The control contains other control that are bound to various paths on that dataset, adding new rows, modifying, etc. Now, I want to update the changes back to the database with dataadapters. I can put a Update button on the control itself, or in the form containing ...Show All
Windows Forms Win Form & ASP.NET
Hi, I have a question: how can I, if it's possible, add a winform to an asp.net page Hi greath78, you are missing something. You should write "http:Test.dll#Test.Test". eg. <object id="MyTestCtl" classid="http:MyCustomControl.dll#MyCustomControl.MyCtl" height=& ...Show All
Visual Basic menu dropdown list with check marks
I am populating a dropdown list for a context menu at runtime. How can I place a check mark next to some of the items I tried (amongs others) Dim list As ToolStripItemCollection = ContextMenuSelectLine.DropDownItems list.Item(i).Checked = value This gives a compiler eror that "Checked is not a member of System.Windows.F...... ToolStripMenuItem". I can cludge it by declaring each item a " ToolStripMenuItem" ...Show All
Visual Basic Getting file type
Hi! I want to retrieve de filetype of a file as a string in my app. This is what i use: Dim infofile As System.IO.FileInfo infofile = FileIO.FileSystem.GetFileInfo( "c:\tmp.txt" ) this way i can only get the extension .txt How to retrieve full extension description like "text document" or "Winzip archive" instead of ".zip" and so on... thank You can use the following code in v1.1 st ...Show All
Visual Studio Express Editions How to set a DEBUG compiler constant?
The "Advanced Compiler Options" button on the compiler page for the Project Properties pages doesn't seem to be there, so I can't figure out how to set a compiler constant to control conditional compilation for debug vs. release versions. I've turned on the "Show Advanced Configurations" setting, which helped with configuration management, but still can't find any way to set a compiler constant relative to the build config ...Show All
Visual Studio Team System How to hook build engine to get sources from another server?
Hello all, I want to interoperate the TFS with a server using VSS as repository. How can I go about it Environment: Presently clients are on VS .net 2003 IDE and server has VSS as repository. The project uses .NET 1.0 framework. What I want: I have introduced TFS server m/c which i want to get the project sources from the VSS server and build them. So, how can I hook build engine to get sources from VSS server Thanks in adv ...Show All
Visual Studio 2008 (Pre-release) Unable to save the scribbling Image (using microsoft.ink)
hi, i created a wrapper class for microsoft.ink to use it in web page developed in ASP.Net. when i am saving the image, it is creating a 0 byte length file. here i am pasting the code snippet. please help me. <html xmlns=" http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> <script language="jscript"> function AddBlog() { // Extract the blog ...Show All
.NET Development System.Management - How to disconnect from remote computer?
I have a program that scans machines on the network for various information using WMI. I use the ManagementScope to connect to the remote machine. After I get the required information, I call Dispose() in the ManagementObject and also the ManagementObjectCollection. The ManagementScope has a Connect() method but doesn't have a Disconnect() method, so I just set the ManagementScope to null. However, after running the application, if I do a netsta ...Show All
Visual C++ Intepreting the resulting errors
I am a beginner in C++. I need help in intepreting what the errors that result when you start building and how to locate them. I can clearly read the errors but i'm unable to locate them. The error message should normally contain the line where the error happened. For example: compiling the below sample code will result in the following error: i.cpp (3) : error C3861 : 'printf': identifier not found int main ...Show All
