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

Software Development Network >> giancolaj's Q&A profile

giancolaj

Member List

LutherW
Jaime Stuardo
kgs1951
BortNE24
Denis Pitcher
Latso
mohd-tmn
SiddCF
scruber
AiSorcerer
brenzy
programmer01
LiquidAsh
April m
Shril Pyrrho
Th3MachIn3
Afzal Mazhar
G.D.T
fofofree
Feng26
Only Title

giancolaj's Q&A profile

  • .NET Development Help documentation of Web applications

    Hello all, I am using Sandcastle for only 2 days and it's use is to provide our framework with help documentation. I use the GUI-tool (Sandcastle Help File Builder). I don't find a way to document a web application. Because a website doens't build a dll and an xml (which names are equal). It's true you can find dll's in de temporary asp.net files - directory. But there aren't any XML files. If there is someone, who can help me, I would be very greatfull! Thanks! Greetings The solution that I've posted here, only works when you change the way you create a website... Does anybody know how to provide xml files with your dll's on an asp.net site, to create help documentation with sandcastle ...Show All

  • SQL Server how to add/replace a guid column?

    I've searched through this forum, and am extremely disappointed that something as simple as this can't be done without resorting to a script component (which I refuse to do): I have a Lookup transformation that returns a GUID value -- or not, so I've configured its error output to ignore failure. That should leave a NULL in the output column, and I should be able to chain a Derived Column transformation that replaces the Lookup output column (e.g. foo) with an expression like: isnull(foo) newid() : foo But there's no newid() function! Who was the genius that decided SSIS should implement different expressions than Transact SQL Is there a workaround, like (DT_GUID)GETDATE() Or do I have to craft a SQL statement in the Lookup t ...Show All

  • Community Chat A Challenge - Fullstop on E-system

    Hello Everyone, I want to keep this challenge with an intention that a very nice solution can be developed and provided to community. I challenge to hack world' maximum websites being a global hacker and have proved by hacking 50-60 websites all at a time in a legal way for national interest of my country citizens. All the sites were 128 bit encrypted and highly secured. All the sites were from the category of Ebanking, Etrading and Eshopping. I know the hacking part and would like to create a final solution after which no one will be able to hack any website anymore. I need a final solution. I performed this in a LIVE and continous 4 hour telecast on reputed news channel of India, IndiaTV. I proved this in front of experts, minister ...Show All

  • Visual Studio Team System Cherry Picking Merge problems

    Hi ! Lets says that a file has been branched, and that changesets have been done affecting the same files in both the main branch and the child branch (lets says 5 changesets on each side). I wish to do a "cherry pick" merge of a single changeset, but it doesn't seems to work, it always try to merge all the changeset "up-to" the choosen one. How can I get this done successfully Is it a bug in the TFS trial version example with simple text file where each lines represent a checkin : main branch : C1 (before the branch) C3 C4 C5 C6 child branch : C2 (the branch creation) C7 C8 C9 I wish to bring C5 into the child branch, but it bring C3~C5 even if I specify /force : ...Show All

  • SQL Server datetime convertion in SqlServer 2000

    SqlServer 2000 with SP3. RepTime is a datetime in TableA. I ran the two commands beblow: SELECT distinct CAST([RepTime] AS INT) FROM TableA 39004 39002 39003 select max(RepTime),min(RepTime) from TableA 2006-10-16 10:36:03.940 2006-10-13 17:32:00.080 From 2006-10-13 to 2006-10-16, there are four days. But I got three distinct int from it. Anyone knows Maybe you have two entries having the same date but different times DECLARE @test AS TABLE ( dat datetime ); INSERT into @test values ( '2006-12-19' ) INSERT into @test values ( '2006-12-20' ) INSERT into @test values ( GETDATE ()) -- This retrieves 3 columns SELECT DISTINCT dat FROM @test -- This retrieves 2 co ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. UI Controls

    Does XNA Support any easy way to get some UI controls on the screen for user input Things like dropdowns, buttons, labels, form borders, etc THanks, -jv Ok, Buttermilk looks cool and that wasn't one I knew about. Heres another ( for the gamepad ) you may want to look at. ...Show All

  • Visual Basic Why not 'Unsafe'?

    Why not let VB programmers write faster code with Unsafe keyword I don't mean changing anything specific, but just remove array bounds check and things like that, because I believe Unsafe is a good method in a few cases where performance is an issue. I don't think it is a hard thing to enable this functionality, because C# compiles IL code which VB can compile as well. I know that it has never been the purpose of VB to let programmers do dangerous things, but advanced users could use some discretion, and get rid of ever switching to other languages for doing such things. VB has the capabilities of doing messy things in an orderly manner! And about the -> operator, I realized that it is quite unnecessary. the 'dot' operato ...Show All

  • Software Development for Windows Vista Try to write a regitry key in Vista

    Hello, I tried to write a registry key to "Software\\Microsoft\\Windows\\CurrentVersion\\Run" under Vista 32/64, It looks like that I can open this registry key, but I cannot write a String Value to this key. Is this Registry Key protected You didn't specify whether you're writing to that subkey under HKLM or HKCU. Writing to the HKLM one requires admin privileges (and elevation for them to be in effect). Writing to the HKCU one can be done by normal processes, but not by processes running with Low integrity level (such as Internet Explorer). Why is your app trying to write to that key That sounds like something that should be done at installation, not during runtime. ...Show All

  • Visual Studio Express Editions Where does the .NET framework put programs?

    I wrote a small application in VB Express and installed it on my laptop which runs Windows ME. After installing the .NET framework the application loaded and ran ok. I'm reconciled to the fact that the .NET framework will have to be installed on all my client's computers (even though it took 20 minutes). But the code isn't located in the "Programs" folder. Is this normal Is there any way to have the installer put them there I want to distribute my application from one CD to run under Windows 98, ME, 2000 and XP. Will this be a problem Renee - i hope - is referring to setup Projects (are a blessing), not OneClick publication (a curse - YYMV). With the method of one-click publication, ...Show All

  • .NET Development Saving particular rows and columns (DataTable) using XPath?

    Hi Is it possible to generate a new xml document that only contains particular rows and columns (indexes) For instance, if I want to save only the first and third book, and columns "name" and "price". (specifying the columns either by indices or names) <root> <book> <name>b1</name> <pages>100</pages> <price>$12</price> </book> <book> <name>b2</name> <pages>200</pages> <price>$43</price> </book> <book> <name>b3</name> <pages>340</pages> <price>$23</price> </book> </root> Or is it smarter to just do: DataSet ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Poor XNA performance or my poor code... or normal?

    I've have created a simple scene that renders 8000 identical cubes. I know thats a lot of cubes, but I only get 4 FPS on a 2.0ghz dual core with a 7300 mobile graphics card at 640x480 with simply vertex shading and one directional light. This pc can run doom3 at 60FPS at that resolution and a program i wrote in MDX that draws about 1000 detailed spheres with specular lighting runs at over 100FPS Here is the code I'm using: using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Storage; namespace WindowsGame1 { public class Game1 : Mic ...Show All

  • Visual Studio 2008 (Pre-release) Tabs and Data Binding

    I'm having trouble understanding data binding. I have an Xml document as follows <Xml> <Tab Name="Tab1"> <Group Name="A Group" /> <Group Name="B Group" /> <Group Name="C Group" /> </Tab> </Xml> The following could displays the tabs but how would I add the groups to the tab panel. Everything I try seems to end up in the TabItem. Is there anyway of doing this just in Xaml, and am I going about this in the right way. Thanks in advance. Andy p.s Here is the current Xaml code. <Page xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.mic ...Show All

  • SQL Server How do I retrieve a record by primary key?

    Visual Basic 2005 Express: I want to retrieve an SQL DataBase table record whose primary key is 4. How do I read in that record and how do I pick up data from it When I said 'Select' vb thought I was talking about 'Select Case'! I don't know ANYTHING about SQL, so here is the way that I did it: Me.LabTableAdapter.Fill(Me.LabDataSet.Lab) Dim LabPosition = Me.LabBindingSource.Find("Id", LabID) If LabPosition = -1 Then MsgBox ("LabID not found") Else LabBindingSource.Position = LabPosition Dim LabName = LabBindingSource.Current("LabName").ToString Endif ...Show All

  • Visual C++ Ambiguity of Common Interface in two COM component when generating RCW by VS2005

    My situation is described as below: 1. Define an interface in "CommonInterface.idl": interface Interface1 : IUnknown { [, helpstring("method Add")] HRESULT Add([in] int a1, [in] int a2, [out] int *sum); }; Compile it to generate corresponding .h, _i.c, _i.p files; (I do not know how to compile a sole .idl file, so I create a ATL project, write the definition of interface in .idl flieand compile it) 2. Create two COM component by ATL project, both use the Interface1: "SampleCOM1.idl": library SampleCOM1Lib { import "CommonInterface.idl"; // import idl file defined Interface1 importlib("stdole2.tlb"); [ uuid(EBBD4C25-4C46-4355-B0DA-586945ACD464), helpstring("Sample1 ...Show All

  • Architecture difficulty in understanding visitor pattern

    Hi All, I have confusion on why is Visitor pattern is needed.One of the famous website provides the following code to explain the use of visitor pattern,but it is nto understood by me. Can somebody please explin in simple terms what is visitor pattern and in what case it is implemented. package Transactions ; public class Transaction { public abstract void accept( TransactionVisitor v); } interface TransactionVisitor { public void visit( DepositTransaction dt); public void visit( WithdrawlTransaction wt); } class DepositTransaction extends Transaction { public void accept( TransactionVisitor v) {v.visit( this );} } class WithdrawlTransaction extends Transaction { public void acce ...Show All

©2008 Software Development Network