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

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

chaza

Member List

Piotr Ignaczak
kgs1951
furjaw
Adam Lofts
AlexGadea
gafferuk
werner m.
GeneralSQL
Samyag1
Desconfiado
Kamii47
wva
Yuhang
gmaenrile
I.HJ
Mervin Lobo
ploeh
Innovasys
Ashish Derhgawen
dummies
Only Title

chaza's Q&A profile

  • Visual Studio Tools for Office Determine the location of the template

    Hi, I have started to create an add-in that will interact with a SharePoint list when the a new document is created from a SharePoint document library. The add-in is created and reacts on the NewDocument event, but I can not find any property on the Word application object (or in ActiveDocument) that tells me from which location the template was loaded/started. What I want to know is: Which document library have the user used for creating this new document Regards, // Henrik Hi Henrik Note that most people here have no experience or special knowledge concerning SharePoint. You may need to ask in a SharePoint newsgroup if the information I give you isn't appropriate to your scena ...Show All

  • Visual Studio Automatic compilation

    Hi, in my current project pressing F5 does not automatically compile and run the application. And not even pressing F6 or choosing "Compile solution" compiles the project. I always have to right-click on my project and click on "Recreate" (words translated from German IDE). What do I have to do, to get the old behaviour In other projects/solutions everything works okay. Thanks! This is currently being discussed in a few places. For example http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=169326&SiteID=1 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DreamBuildPlay is up!!!

    Now go register!!   Actual contest details to come the week of Feb 5th Hmm... State location and phone number seem to be USA specific. An oversight, or is the rest of the world excluded ...Show All

  • Silverlight (formerly WPF/E) Windows SideBar

    Is it possible to run WPF/E in a Windows SideBar Gadget I was hoping to build a demo of a SideBar Gadget that plays video, but I can't even get a basic WPF/E file to render in the SideBar. Thanks! You are mixing some things up here. WPF /E is for web browsers. WPF is for Windows Desktop (including Windows Sidebar I guess) ...Show All

  • Visual Studio Team System How to remove change sets as candidates for merge?

    I have 2 branches, say Test and Prod. I have a change set(Say 321) and I don't want or need it to ever merge into prod. How do I remove it from the list of candidates for merging I've tried this tf merge /discard /version:C321~C321 Test Prod /recursive It says the the changes were set to "AcceptYours" but then in the Source Control, the change set still shows in the list of change sets to merge. Any ideas you need to be in the "local path" of a workspace. the path is used in the TeamFoundation API to figure out what workspace you're attempting the operations on... if you have all your team projects mapped to say C:\TeamProjects\, the working directory of your command prompt needs to be at or under ...Show All

  • SQL Server Full-Text Search over mutiple tables

    Hi, I'm just wondering if someone could help me with figuring out how to perform a search over mutiple full text indexed tables in the same database Here's my query on one table that works, I need to expand it to over multiple tables. sqlComm.CommandText = "SELECT RANK, intID, chTitle, txtBody, chLink, intProfID " + "FROM FREETEXTTABLE ( tblPortfolio, *, 'ISABOUT(" + strSearchText + " WEIGHT(1.0))') a " + "JOIN tblPortfolio b on a.[KEY] = b.intID " + "ORDER BY RANK DESC; "; Without table schema, sample data, and expected output, it's hard to know what you're looking for. Depending on how/what you want with the da ...Show All

  • Windows Forms find full fle path of runing process/instance(VB6/.NET/Windows script)

    Hi Experts, Can anyone know how to findout the full path( ex: c:\rama\bbc.xls) from the curently running instance "bbc.xls". I dont mind accepting VB6\.NET\Windows script solution for the same as i'm desperate to find the full path from ruinng instance. Lets say I've opened saved bbc.xls file and i know the currently opened instances from Process library and i can get the title("bbc.xls") but i dont know how to get the full path("c:\rama\bbc.xls") For more details please have a look at the following link. http://forums.microsoft.com/MSDN/showpost.aspx postid=1206503&siteid=1 ...Show All

  • Visual Studio Express Editions GetScrollInfo "Can this funtion be used in VB Express 2005"

    Hi I'm trying to read the vertical scrollbar position of a richtextbox and passing the info to a label and this function seems to be a good starting point. Has anyone got a bit of code that can do this using VB Express and this function method Thanks, Steve Public Class Form1 ' To test. Set up a textbox with a vertical ' scrollbar and click in the textbox when you ' want to see the scroll position Public Structure SCROLLINFO Public cbSize As Integer Public fMask As Integer Public nMin As Integer Public nMax As Integer Public nPage As Integer Public nPos As Integer Public nTrackPos As Integer End Structure ...Show All

  • SQL Server Some questions about indices

    Hi all, we're planing to create a simple database with will work like a cache for a slow legacy system. The main work of this DB is to give results for search-queries. Each table will have up to 15 columns of different Datatypes and could contain up to 1.000.000 records. example columns of a Table: ID(int), guid (Uniqueidentifier), Subject(varchar(max)), Body(varchar(MAX)), IsComplet(bit), Startdate(DateTime), EndDate(DateTime) and so on... Typical searchqueries may be ("give me all items of a specific StartDate wich are complete" or "Give the item with the guid 'xxx-xxx...'. But also other combination are possible. Currently there are indices for the ID and guid columns. What is now the best practice to configure performan ...Show All

  • .NET Development Folder Files & Size

    Hi folks, I'm trying to write a function that will (quickly) assess the number of files and their total size of a given folder. My current approach is really slow as I'm using the .NET API (FileInfo and DirectoryInfo classes) to obtain the length of each file in each subfolder of the supplied folder. Manually counting the files and adding their Length attributes to a counter on a drive that has thousands of files turns out to be a really slow process :( Is there a better way of obtaining the total number of sub-files and their collective size I'm using C++ in MS Visual Studio .NET C++ 2003. Yes, that's really slow; you'll have to visit every single file on the C:\ tree to provide the answer. ...Show All

  • Visual Studio 2008 (Pre-release) Toolbar with Image control in XAML Page

    Hi, I am using June CTP, I am trying to create a Xaml Page with ToolBarTray and ToolBar Control, I wanted to place image inside my toolbar. My code looks like as given below <Page x:Class="WinFxBrowserApplication3.Page1" xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " xmlns:foo="clr-namespace:WinFxBrowserApplication3" xmlns:d=" http://schemas.microsoft.com/expression/interactivedesigner/2006 " xmlns:mc=" http://schemas.openxmlformats.org/markup-compatibility/2006 " mc:Ignorable="d" Title="Page1" Width="1280" Height="1024"> <ToolBarTray Wi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Book ( In Progress )

    For reasons I cannot exactly put into words, I’ve decide to write a (free) book about how to use XNA.   It is defiantly a work in progress and thus far only includes two chapters and associated source code. I truly hope that my work is advantageous to some people out there. I am in part doing this as a practice towards writing technical documentation.   I am not accomplished in writing instructions for other people that may not have the same level of technical skill sets as myself.   I hope that with this book I learn a whole lot and more in that regard. Granted, if you are a diehard game programmer, what I have written is probably not for you, at least, not yet! Yet I would value your input.   If you feel like c ...Show All

  • Visual C++ How can a C++/CLI library catch unmanaged C++ exceptions from an unmanaged library without breaking the C++ stack unwinding?

    I have a static C++ library, built with VS2005, that is used by multiple projects. The library throws C++ exceptions (derived from std::exception) from its public interface. One project that uses the static C++ library is a .NET class library that is written using C++/CLI. What I have found is that when the .NET class library calls into the unmanaged C++ library and an exception is thrown from within this library, then the application immediately jumps to the .NET class library catch clause without calling unmanaged C++ destructors during stack unwinding. This of course breaks the RAII idiom and is creating a large problem for me. My questions are: Is this expected What is the best solution to work around the problem Many thanks f ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Multi-sampling and MRT ???

    Hi there, is it possible to have surfaces with multi-sampling and do multi-render target at the same time If so, what would be the correct order or procedure to make it work any link As stated in the documentation MRT and multisampling is not supported at the same time. ...Show All

  • Windows Forms How to create a nullable and editable DateTimePicker

    Hi everyone, Does anyone know a good way to create a nullable and editable DateTimePicker in VS C# Thanks! tdcntt If your using this DTP for Databinding and the like, you can use the UltraDateTimePicker that I have written(based/inspired by various other nullable/readonly capable DateTimePickers all over the Internet. I supports everything that I needed in a DTP(nullable, bindable, readonly option, and works in Table and Flow Layout Panels(many others did not)) Here is the Code, although kinda long it is well worth it in my opinion(still needs a little optimizing though): using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawi ...Show All

©2008 Software Development Network