Software Development Network Logo
  • .NET Development
  • VS Team System
  • Visual FoxPro
  • Microsoft ISV
  • Visual Studio
  • Visual Basic
  • Windows Vista
  • Visual C#
  • Windows Forms
  • Audio and Video
  • Game Technologies
  • IE Development
  • Visual C++
  • SharePoint Products
  • SQL Server

Software Development Network >> Jon Limjap's Q&A profile

Jon Limjap

Member List

Ameeta Garga
ramana reddy
JayaC
Yaakov Davis
prashant mulay
Soumya B
Mervyn-w
Gravy
Pradeep Gupta
Steve Jensen
Gorhal
AdrianLester
George2
Enniobozzetti
HomeBunny
hingos
Leo Leys
rashers
Keith Henkel
Alexandre Defalque
Only Title

Jon Limjap's Q&A profile

  • Visual Studio Indentation in code-tag in included xml-tag

    If I want to use a <code>-tag containing indentation in an Xml documented member, I can do it like this: /// <remarks: /// <code> /// &lt;MyKey &gt; /// &lt;registrations default="<i>MyDefaultRegistration</i>" &gt; /// &lt; /MyKey&gt; /// </remarks> This works fine. However, I have some sample code that I need to use a couple of times so I wanted to copy this sample code to a separate Xml-document and then reference this sample code using the <include>-tag. Like this: /// <include file='ApplicationDoc.xml' path='docs/member[@name="ApplicationLogon"]/*'/> The contents of my xml-document looks like this: < ...Show All

  • Visual Studio Team System tfpt treediff - Exception when getting latest

    Hi, After running tfpt treediff (with parameter /recursive) from the installdir, a difference shows up. A file is missing in the local folder. Activating the command "Get Latest" on this item results in an exception, telling me that I'm missing the "Microsoft.TeamFoundation.VersionControl.Controls" or one of it's dependencies. Copying this dll from the "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies" to the installdir for tfpt.exe makes no difference. Running the same command from within the VS 2005 works fine. Something must missing in the setup( ) Regards, Carsten Saugmann This is a known issue in the current TFPT release. The wor ...Show All

  • .NET Development DataTable.Rows.RemoveAt (0) problem

    I run into this problem daily and so far had to ignore it for various reasons but can no loger afford it. I have a large DataTable that is filled with records coming from a server in a stream at a rate of perhaps a dozen records per second. I need a slice of them (the most recent ones) for a period of perhaps 30 min and then I transfer them to SQL Server. Next I delete the records that have been transferred from the DataTable. I do it in a for loop with RemoveAt (0) command. It works just fine with one exception. In about 9 instances out of 10 it tries to perform the transfer and deletion twice. The transfer/deletion algorithm is simple. I will use some numbers for illustration but the numbers of course vary. When the number of recor ...Show All

  • Visual C++ Multiple Compilation

    I have a class defined in a header, for example Node root;, but when I compile and link I recieve a link error, saying it has already been defined. To get rid of this I placed #pragma once at the top of the header, to no effect. I then replaced it with #ifndef DIRECTXSCENE #define DIRECTXSCENE 10 and then at the bottom: #endif This did nothing either. Any suggestions Mike I think his code looks like that: In file xxx.h: #include <iostream> using namespace std; namespace xxx { class clss1 { int i; public: clss1(int); void dummy(); }; } In file "xxx0.cpp" #include "xxx.h" using namespace xxx; clss1::clss1( ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How do I add a texture to a MaterialContent

    I'm trying to pack a second texture into my MaterialContent during the ConvertMaterial method of my custom Model Processor. Basically I'm searching through each texture and if I've placed a second texture that ends with "_nrm" I want the processor to turn that second file into a texture, pack it into an EffectMaterialContent object and attach it back to my model where it belongs so I can use it in my normal mapping effect at render time. The problem is that even though I have the filename of the normal texture and create a normalTexture = new ExternalReference<Texture(normalFileName); The texture retains it's original filename, and not the filename of the processed .xnb version of the texture. If I throw in the base.Co ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Community Website

    With the announcement of the XNA Game Studio Express (Beta) we decided to create a community site where everyone can post Games, Articles, Tutorials, Pictures, and more. We hope XNASpot will be a place where anyone at any programming level can come to learn more about XNA game development. One tutorial is already in the works. But we need feedback on what everyone would like to see on the site. Is there any specific tutorial, article, code sample everyone would like to see If you have a site or blog you would like us to link to please feel free to shoot us an email. Please let us know what you think. http://www.XNASpot.com Dark Kojimaster wrote: Agreed! Anothe ...Show All

  • .NET Development Very strange .NET 2 behaviour (compilation result)

    Hello all, I'm using: Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42 for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727 But have confirmed the problem with the 1.0 framework too. I've been trying to find out why some doubles operations weren't going so fast and i ended up with the following test case: using System; namespace Benchmark_CSharp { class BenchmarkCSharp { static DateTime startTime; static DateTime stopTime; static TimeSpan elapsedTime; static void Main() { long elapsedMilliseconds; startTime = DateTime.Now; double doubleResult = 10000000000.0D; double i = 10000000000.0D; while (i < 11000000000.0D) { doubleResult -= i++; doubleResu ...Show All

  • SharePoint Products and Technologies Update deployed UDF assemblies without restarting AppPool or IIS?

    Hi, I have a UDF assembly deployed on a Sharepoint Site. Whenever I need to update the UDF assembly I get errors as the ASPNET process has locked the dll. I usually stop the app pool configured on the site,update the dll and then start the site. Is there a better approach without stopping the app-pool Though this is a more of ASPNET question, it still needs to be here. In ASPNET applications mebbe we cud have enabled shadow copy on the AppDomain. Will that approach work here Unfortunately the only way to update it is to recycle the app pool. Here's a link to your three options, but recycling the app pool is the least disruptive that will still allow you to update the assembly: http://blogs.msdn.c ...Show All

  • SQL Server Database Mirroring - High Safety Mode

    Hello! I'm reading about database mirroring in High Safety Mode (Synchronous with no witness). I'm a little confused about what happens if the mirror server disappears. From Books Online "If the mirror server instance goes down, the principal server instance is unaffected and runs exposed (that is without mirroring the data)." http://msdn2.microsoft.com/en-us/library/ms179344.aspx I was to the course [Upgrading your Database Administration Skills to SQL Server 2005] and the course material does not say the same."Scenario: Synchronous mirroring without a witness server. If the mirror server becomes unavailable, the principal server will take the database offline. This action attempts to maximize the protection of the ...Show All

  • Visual Studio Team System What Is the Difference Between a Task and a Work Item

    Hi. Can someone explain the difference between a task a work item Thanks. Hello In TFS, you can have different types of work items. Task is one type of work item. Other types of work items are features, bugs, etc. So for ex. if you were working on a feature, you could break it down into multiple Dev and Test tasks. The Process guidance might provide you more details on the different work item types and how you can use them in your environment. The task work item in TFS is not the same as the concept of Task in MS Project. All work items in TFS are represented in MS Project like regular tasks. Hope this clarified the difference between task and work item for you! ...Show All

  • .NET Development date in the sql query

    I have an access db with two short date fields and in my vb.net application I need to display in a dgw the data between two chosed values. Every time I try the "Data type mismatch in criteria expression" appears. I use two Datatimepicker formated as Short. In the database the field are also formated as Short Date. What could be the reason for that Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim con As OleDb.OleDbConnection = New OleDb.OleDbConnection("Provider = Microsoft.Jet.OleDb.4.0;Data Source=C:\Maint.mdb") Dim cmd As New OleDb.OleDbCommand Dim cmda As OleDb.OleDbDataAdapter Dim dset As New DataSet 'Dim cb As OleDbCom ...Show All

  • SQL Server Add a checkbox report item

    Hi there, I am using SQL Server 2005 Reporting Services. Right now, I have a textbox with 0 or 1 values in my report and I want to show a checkbox: checked for value 1 and uncheck for 0. Is there anyway to add a checkbox in the report Thanks in advance. semaj A bit of a hack, but I think the only way to do this is to create 2 images of a checkbox (checked and unchecked), place that on your report and set the source to be an expression based on your field value. =Iif(Fileds!check.Value = 0, "unchecked.gif", "checked.gif") ...Show All

  • Commerce Server Adding Image Management to Catalog Manager

    Hi, I'm currently working with Commerce Server SDK to add Image Managemet to the Catalog Manager. For that, I used the 5 part blog by Max Akbar. It was quite helpful and it almost works now. My problem now is, that i want to get the ProductID, the VariantID, the CategoryName as well as the Catalog Name from the Catalog Manager so that I can use that afterwards for the Entries into the SQL database. How do I get this Information from my new created Control, UploadImages, which is inherited from UserControlBase and IEditableItem Where exactly are those infos located and if I can't get dem dirrectly from my User Control whad do I have to do and pass on, that it's availlable for my purpose Thanks ...Show All

  • .NET Development "cannot insert the value null into column"

    in my table FriendsID column is the primary key and can not be allowed null values normally. When I have an insert stored procedure executed in the code below, it is having the error message "cannot insert the value null into column". But anyway because the column is defined as the primary key it can not have null values. Why am I having this problem Pls. help.Thx. StringBuilder errorMessages = new StringBuilder (); string ConnectionString = friends.Properties. Settings .Default.friendsConnectionString; SqlConnection confriends = new SqlConnection (ConnectionString); confriends.Open(); SqlCommand cmdInsert = new SqlCommand ( "Insert Friend" , confriends); cmdInsert.CommandType = CommandType .StoredProc ...Show All

  • SQL Server permissions

    I have a database with two tables. One is updated only through a form. The other is updated through a form that is attached to a query that is attached to the table. I cannot figure out what permissions are required to update the second table. What permissions should I grant in addition to the permissions that are granted to the first table as I can update the first table. The query is just used to sort the table for better presentation in the form that is used to input new records in that table. The front end im using is access. What should I do ...Show All

©2008 Software Development Network