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

Software Development Network >> Douglas Stockwell's Q&A profile

Douglas Stockwell

Member List

Wim1966
Raphael Chan
qt1h00
Leaf.
RADIOGENERIS
ONeill
brottmayer
Ri-Karou
Barry Martin Osprey
Pockey
REspawn
amisole
Toldin
peedee
Yahya
blixy
Dirk Haest
clstephenson
Thinbeast
K.Kong
Only Title

Douglas Stockwell's Q&A profile

  • SQL Server OnInformation event on SSIS execution

    Hi everyone,   I'd like to alter OnInformation event in order to add more parameters (as TaskHost). Is it possible I've tried but appears an error:   OnInformation' cannot to implement OnInformation' because of it doesn't exists on the Microsoft.SqlServer.Dts.Runtime.IDTSEvents'   Sub OnInformation( ByVal taskHost As TaskHost , ByVal [source] As DtsObject, ByVal informationCode As Integer , ByVal subComponent As String , ByVal description As String , ByVal helpFile As String , ByVal helpContext As Integer , ByVal idofInterfaceWithError As String , ByRef fireAgain As Boolean ) Implements IDTSEvents.OnInformation   I suppose that I must add an overload method but how     ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. A Simple grid component

    I created this self contained grid and figured someone may find it a useful starting point. [ code language="C++" ] using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Components; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Storage; namespace XNAEngine {     public class SOGrid : Microsoft.Xna.Framework.GameComponent     {         // This is how you would add camera control to the grid component         /*private myCameraComponent camera;         pub ...Show All

  • Software Development for Windows Vista DNS Suffix not working

    I'm having problems with Vista's DNS Suffixing: - My entire network has the dns suffix : work.intranet and I have a BIND dns server that resolves a.work.intranet and *.a.work.intranet to 192.168.0.2 so that if I ping bbb.a.work.intranet or ccc.a.work.intranet they all resolve to 192.168.0.2 (at least up until Vista) - If I ping a.work.intranet it correctly resolves to 192.168.0.2; - If I ping a it correctly resolves to 192.168.0.2; - If I ping bbb.a.work.intranet it correctly resolves to 192.168.0.2; - BUT IF I ping bbb.a it no longer resolves. (could not find host) - If I do a nslookup bbb.a it correcly resolves to 192.168.0.2 So what appears to be happening is that it isn't adding the dns suffix when the domain has more than two parts (x ...Show All

  • Visual Studio Express Editions Modifying Public Variables

    I've been searching for this all evening, and can't find it. I have an application (project) with several forms. I use one form to gather inputs from the user, and am trying to place them into another form. (My central "repository" for the public forms) I then reference those public variables using my report form. Here's the problem. When the first form (the inventory gathering form) obtains the data, it does not write to the public variables located in the second form. I have it set up so that the repository has a public class, and the variables are all declared as public. (public XYZ as integer for example) In the other forms, I declare the variables local (dim) with the local name and set them equal to the publi ...Show All

  • Visual C++ Accelerator letter in menu

    Hello, I am developing an app using VC++ 2005 and MFC. The app menu contains some accelerator keys that are visible only when we press ALT (its default characteristic). Is there any way I can make them visible all the time This behavior depends on system settings: Display Properties - Appearance - Effects - Hide underline letters for keyboard navigation until I press the Alt key. In the program you cannot change this. User who wants to see underline immediately, unchecks this it his computer settings. ...Show All

  • Visual Studio Express Editions wide characters in program

    #include "stdafx.h" #include <iostream> #include <string> int main() { std::cout << "Please enter your first name: "; std::string name; std::cin >> name; std::cout << "Hello, " << name << "!" << std::endl; return 0; } wchar_t where do i put this in for wide characters like japanese thanx The wide-character (Unicode) counterparts of cout and cin are wcout and wcin . Use Help | Index and look for wcin for more information. You will need to write strings differently (e.g., L"Hello, ") but you can now do input-output with Wide Characters and the Standard C++ iostreams. The standard type library datatype for wide ...Show All

  • Visual C++ Q: How to disallow users to terminate my program?

    Hi, I'm building an application to monitor users so as to prevent them from abusing the PC. This program must not be stopped. How can I disallow users to terminate my program I found out that if I want to terminate ZoneAlarm's vsmon.exe from Windows Task Manager, I'll get an error message "Unable to Terminate Process: The operation could not be completed. Access is denied." Can I make my program like that The users are running on a limited account (I have access to the administrator a/c). Is there a simpler way that I can solve my problem I am using C++ w/ MFC on Visual C++ 2005. Thanks MNour.AI and Marius Bancila! I'm rather new with C++ so I'm not too versed in it. Please verify whether what I read was correct: Processes have A ...Show All

  • Visual Studio 2008 (Pre-release) how to cancel the opacity attribute for child elements?

    Hi all i'm trying to design an application in XAML and bump into a problem. in this application desig, there is a background image. on top of that image there is a <tabControl> with two tabs. inside one of the tabs there is a richtextbox and other controls. the problem is that the Tab conrol should be transparent. but the richtextbox and button should not. look at the code bellow to see the problem: < Window x:Class = " testZOrder.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " testZOrder " Height = " 438 " Width = " 300 " > < Grid Background = " Yellow " > < Gr ...Show All

  • Visual C# C#: Launch URL from inside a windows application

    Hi,   I am new to C#, and was wondering if someone could provide sample code for launching a default website from within a windows form I have a userform with various buttons. I would like to click on a button and then launch the desired intranet website. I poked around the web and this is what I have found:-   Private void button8_Click( object sender, EventArgs e) { string targetURL = @http: //www.duncanmackenzie.net; System.Diagnostics. Process .Start(targetURL); } Any help is much appreciated.     Yes that should work for you. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using ...Show All

  • SQL Server Data mapping error in XSD

    Here is my snippet of XML I'm trying to import into a SQL table: <clicks><clickdate>8/14/2006 9:19:00 PM</clickdate> <clickUrl><![CDATA[http://<<url>>/survey/thankyou.asp uid=%%consumerID%%&cid=1036&qid=100&rid=19]]></clickUrl> </clicks> And here is the snippet of XSD: <xsd:element name="clicks" sql:relation="Click" sql:relationship="SubscriberClick"> <xsd:complexType> <xsd:sequence> <xsd:element name="clickdate" sql:relation="ClickData" sql:relationship="SubscriberClickData" sql:field="click_date"> <xsd:complexType> <xsd:sim ...Show All

  • Windows Forms how to know Current active tab

    hi first imake a usercontrol (tabPage ) that generat a tab in run time so i want to make function that allow me to know which one of tabs are active (i mean by woard active that the tab appears to me ) please can any one help me by a demo code try folllow:) private void button2_Click( object sender, EventArgs e) { string a= this .tabControl1.SelectedTab.Name; int b = this .tabControl1.SelectedIndex; MessageBox .Show(a+ " intex :" +b.ToString()); } ...Show All

  • Microsoft ISV Community Center Forums Windows XP Thread Starvation

    What is the longest time Windows XP will starve a thread if multiple threads are competing for processor time Is there a set threshold (let's say 1 second) that will automatically put the thread onto the cpu if that thread has been starved from the cpu for that amount of time. Thanks. ...Show All

  • SQL Server Error in Scheduling SSIS Package

    Hi, When I am trying to schedule the SSIS package and start the job, I am getting the following error. It is not executing properly. "The job failed. The Job was invoked by User prakash.srinivasan. The last step to run was step 1 (TestSchStep1)." Pls provide some solution to this. Thanks in advance. Regards, Prakash Srinivasan. Hi Check the service of SQL Server Agent whether it is running in your account. Regards H.SRIRAM ...Show All

  • SQL Server Beginners

    I have just started learning SQL server. Where from I start. I have downloaded SQL Management Studio & SQL Express Edition. Now What should I do now HI, Well, I have downloaded the book now. I have some knowledge about databases. as I used to work with MS Access already Thanks & regards ...Show All

  • SQL Server How to Schedule a task in Vista

    Hi All, Is Vista get rid of the task scheduling We can schedule a task easily through the Scheduled Task under control panel, but I cannot find similar stuff in Vista. Can anyone tell me if schedule a task is still available in Vista If yes, where can I do that Thakns in advance! Gordon Ummm... A suggestion, especially for something that isn't released yet: Search Microsoft's Web site for this information. Or even Google. Your answer looks to be in the first link when I searched for "windows vista scheduled task" in Google. Phil ...Show All

©2008 Software Development Network