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

Software Development Network >> Kjell Tangen's Q&A profile

Kjell Tangen

Member List

Abongs
winstonSmith
Zakamon
igor1960
Aaron Spilman
GregMoser
bhalchandra.kunte
ledwinka
ChinaTiger
FernandoLeite
bk13
davidg12
Radith
ammard
dcube9
manukahn
monchhib
Alison Jolly
Kyle Leitch
canuck81
Only Title

Kjell Tangen's Q&A profile

  • Microsoft ISV Community Center Forums Automating TOC

    Hi, I am generating the Table Of Contents(TOC) of a document by pointing the Range to the BookMark which i had placed manually on the start of page2. But if my TOC fills only half the page, then actual contents start from the very same page below the TOC. Is there any way to check if the TOC and actual contents are present in the same page and if so can we manually include a Page Break Could it be Something like this If so is there a syntax to get the page number of the selection If( PageNumberOf(TOC) == PageNumberOf(Actual Document Contents)) { Insert Manual Page Break; } Or is there any other way to handle this -Amrish ...Show All

  • SQL Server Stored Procedure with Select, how to use it with data reader?

    I've created some store procedure for use with Insert. This works great. Now I'd like to be able to use Select statement so I can get the data in some textboxes. Right now I use Select with SqlCommand and DataReader. This works fine, but I'd like to learn with Stored Procedure with this. What do I put in the stored procedure to return found records and how what code should I use after executenonquery Sometimes it's just one little thing that is missed I use execute reader on the other version, not sure why I put executenonquery on this one. It works, thanks. ...Show All

  • Visual Studio Consuming a webservice

    what are the steps to consume data from a web service in the report viewer control I am assuming that we need to configure an object datasource for this. but i am not getting any documentation on this. Thanks Brian. That is the only website that has decent documentation for report viewer. But it doesnt detail on consuming web services though. ...Show All

  • SQL Server Create the package on the server, and execute through sql server agent

    Hi, Some of you guys seem to be gurus with the new Integration Services technology, so I hope someone can lend me some advice, as I haven't worked much with integration before. Ok, here we go. What I want to do is select some data from my database and export the result to a flat file (really a .csv file with values delimited by semicolons). Sounds like a simple thing to do Well, I'm sure it is when you know how to do it :) I know I could manage the same thing by writing a C# class that creates that .csv file, but the decision has been made to use Integration Services for these kind of operations. I created an SSIS project in Business Intelligence Development Studio, and created a package (I defined the task flow etc.). By choosing ...Show All

  • Visual Basic Listbox item focus

    I want to be able to determine the index of the listbox item that has the focus in a multiselect listbox. I also need to determine if it was changed from selected to unselected. My goal is to select/unselect the corresponding item in a second listbox without effecting any other items already selected/unselected in that second listbox. Any help with what property to use would be great. In order to identify which item was selected / deselected you will need to maintain a seperate list of the selected indicies and then compare the current list against the saved list when ever you get the selection change event. -Scott ...Show All

  • Software Development for Windows Vista Why graph fails to open after disconnecting pins

    Hi, i'm new in dShow, building a graph to capture video. I build graph with no problem but i want all filters to disconnect when i want. Before disconnecting all i save graph file (as connected.grf) then watch it, it has no problem; and after disconnecting filters save again(as disconnected.grf) when i try to open, it fails and it is surprising that connected.grf is 14 KB and disconnected.grf is only 2 KB. Also i can not reconnect filters again. HRESULT DisconnectAll() { HRESULT hr; DisconnectFilter(pFilter, PINDIR_OUTPUT); if(hr != S_OK) return; DisconnectFilter(pFilter, PINDIR_OUTPUT); DisconnectFilter(pFilter, PINDIR_OUTPUT); //And so on } HRESULT DisconnectFilter(IBaseFilter *pFilter, PIN_DIRECTION pinD ...Show All

  • Visual Studio 2008 (Pre-release) getting the june ctp

    hi all, i just started researching WPF and am looking at building a fairly extensive demo application with it. from what i can tell in my few hours of reading about the subject the Vista June CTP is really the environment to be working in. i have downloaded the July CTP and installed the June CTP tools but it would be really nice to be able to use Cider. i dont understand why the June CTP was pulled from msdn subscriber downloads or if there is a way i can get my hands on a copy at this point but would be really interested in getting some more experienced opinions on how to get it or how to get started without it. All the samples i am finding seem to be done for the June CTP as well :P i was also wondering if anyone knew where i c ...Show All

  • Software Development for Windows Vista ManualWorkflowSchedulerService, Event and HttpContext in ASP .Net

    hi, I'm trying to write a Pageflow in ASP .net with a workflow but I've got some issues using the ManualWorkflowSchedulerService. Here is how my program work: -I launch a workflow with a HandleExternalEventActivity -When i click on a button in an ASP .Net page, it sends a ChangePageRequest (my event) - the event is received by the workflow and then a CallExternalMethod sends the url of the next page to the web site. the problem is that when i don't use the ManualWorkflowSchedulerService, when i try to use HttpContext.Current.Response.redirect(url), Current is null. According to this thread: (http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=346551&SiteID=1), i must add the ManualWorkflowSchedulerService 1) What i have understood is ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. WOW!! Difference between running the EXE and from within GSE

    I've just been playing round writing my sprite class. I already had what was effectively a parallax star field using textures that were 151x68 (some old rockets from when I did Dexters Lab on the GBA) using a custom class but I wanted to try my new generic classes. Each rocket was scaled by speed value to push the slower ones into the distance and each one was tinted to make the distant ones darker. So that's scaling and colour transformations at the same time. The whole lot was sorted by speed to make sure the faster ones appeared on top. Nothing fancy but it was doing quite a bit of donkey work. I decided to start pushing the code to see just how many it would move. From within the GSE, at 200 it was jerky and not very pleasant. I ...Show All

  • Silverlight (formerly WPF/E) Widgets/Controls

    Is there any inclusion for controls in the future for WPF/e initial release I know there are none in the CTP which is fine but I am curious to know if this will be expected for the first full release or not Reason I ask is I would love to replace our HTML form system with a WPF/e one. I think you're barking up the wrong tree. Just my opinion, but I can't see WPF/E replacing data entry any time soon. I still see WPF/E as a place to enhance the browser, not replace HTML. ...Show All

  • SQL Server "Invalid Object Name" error in "Database Setup" step of "Configuration Manager"

    Hi-- I'm getting the following error trying to connect to my SQL 2005 server in the in "Database Setup" step of "Reporting Services Configuration Manager": "Invalid object name 'sysdatabases'". FWIW, I installed "Reporting Services" on top of an existing 2005 install. I am attempting to use the ASP.NET SQL server setup wizard to access a remote SQL database. I have entered the IP address, my username and password, but when I click on the Database dropdown, I get this same error. Since I am using an offsite database, I do not know what my default table is set to, but I know it is not "master". That being said, how can I get around this bug The listed solution does not pose a solution ...Show All

  • Windows Forms Click once - customisation

    hi all, I have created a windows forms app that uses the settings file to store the SQL Server name. I thought that this would enable me to customise the applcation for a number of sites without re-compiling for each one! the Settings File contains amongst others the name of the Local SQL Server. (always unique ) to facilitate easy updates, I have used the click-once methodology and hosted the deploy files locally at each Site on a server. The AutoUpdate works perfectly but the .config file( settings) is replaced each time with the standard settings file, the settings in this file are unique for each site! How do I deploy this application, while being able to have unique settings files for each site changing settings & ...Show All

  • Visual Studio Team System API to the Busy AVI Splash Screen

    Hi, I was wondering if there is a way to access the APIs for the AVI splash screen that comes up when the team explorer is busy processing requests - such as checkout and unshelve operations. I think it would be cool to use, and it beats having to recreate it. Thanks. ...Show All

  • Visual Studio Express Editions geting numeric data in and out of text boxes

    Hello, Summary: How do I set up text boxes so that when I enter numeric text in one box (named X_Test_Input) , it will raise events that the other box (named X_Accel_Raw_Value) will collect/consume and display the data in that second box. Overview: This is my first attempt Windows programming. My goal is to collect six numbers from an embedded device over Ethernet (five to ten times a second) and display them on my computer so as to have them available for further processing. In dividing this into small steps, I first want to be able to get values from somewhere and display that data. Only after I get the basic windows display part of this working will I attempt to get the data from the embedded device. In my ...Show All

  • Windows Forms Prerequisite not working?

    I'm trying to build a setup for my application using a Windows Installer project. I'm using VS2005. My Windows application requires SQL Server 2005 Express, so I marked that as one of the prerequisites. I built the installer successfully and ran it on one computer running XP. It successfully detected that neither .net 2.0 or SQL Server 2005 Express were installed and installed both of them before installing my application. My application ran just fine and life was good. I then took the exact same setup.exe and setup.msi and ran them on another computer - also running XP. It didn't attempt to install either of the prerequisites, and seemed to successfully install my application. As soon as my app was launched though it failed with " ...Show All

©2008 Software Development Network