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

Software Development Network >> Cole Thompson's Q&A profile

Cole Thompson

Member List

priyanka.dash
ajliaks
Jos Verlinde
HET2
Martimus
benschi
John.Doe
nunodonato
Maheswar
Derek Hackbardt
ddseshu
Joseph Belt
tulkar
Mark Willer
Giten
MLG_CSE
Hassan Ayoub
bambuk
svxtc
VFaul
Only Title

Cole Thompson's Q&A profile

  • Software Development for Windows Vista How to deal with this complex approval situation?

    Hi, If we send a approval task to 3 person.Then there are 3 choice to go on : 1. The task would not completed, and workflow couldn't go on util all of the 3 person approved it. 2. One of the 3 person approved, the task completed and the workflow go on. 3. More than 50 percent of them approved it, the task completed and the workflow go on. WIth workflow foundation, how to deal with this situation Any help would be appreciated! You can use the parallel activity to send simultaneous approval requests to the three approvers. When any approver approves the item, the workflow proceeds. I assume that #3 is a special case of #2, which happens only when the first approver denies the item. Progress requires positiv ...Show All

  • SQL Server How to use tool tip

    I need to use Tool tip in my reports.Please help me how to place tool tips. The rendered tooltip will be available in HTML format only. I hope you did not try to see this in Visual Studio, cause VS sometimes breaks up this functionality, leaving the tooltip at places where you did not assumed it. My sugegstion if you did not try to publish the report and see if it works on the portal to first do so. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Internet Explorer Development Temporary Fix for Offering Remote Assistance error

    We are seeing an issue where Offer Remote Assistance breaks after Internet Explorer 7 is installed. The error message generated is "Remote Assistance failed. Please try again." Has anyone seen this And, does anyone know how to resolve it Thank you, in advance. Windows XP SP2 Internet Explorer 7 RC1 I just installed IE7 on my Dads computer, but when he trys to send an invitation, it fails "program could not be started, please re-try". - This is with the official release downloaded through MS update..! Any Ideas! ...Show All

  • Visual C++ C++ in visual

    I have just started using visual and my codes don't work. DO i have to change some setting or what's wrong. #include <iostream.h> main() { int a; int b = 20; int c = A + B; cout << "ENTER A VALUE FOR 'A' : "; cin >> a; cout << "Here is the ANSWER when u add 20 to ur varible: " << c ; return 0; } Looking at the error message i think you should clean your solution and do a rebuild. But i see there are other problem assuming that you are using VS.NET 2002 and Above. First problem is you need to include <iostream> instead of <iostream.h> obviusly as pointed earlier you need to include "usin ...Show All

  • Windows Forms Capture mouse move in container control

    Hi, I have a panel with some child controls. The child controls can have their own child controls, etc. How can the parent panel track where the mouse is (when the mouse is inside the parent panels area) For example, how can the parent panel be notified of MouseMove events when the mouse is over a child control Thanks! The child controls can be covering almost all of the parent panel area (the panel may only be exposing the edges), so the panel may never receive the MouseEnter event if the mouse is moved too fast into the control. Thanks. ...Show All

  • SQL Server Use Sql To Run Export Wizard??

    Is There any Command that can run the sql server export wizard and configure the setting of this wizard in order to export data to .txt file Sorry, I'm obviously confusing the issue. What I meant was, why do you need to use the export wizard to save a .txt file - there are alternatives.... Check the BOL or Google a look at the T-SQL bcp function - when used with the stored procedure xp_cmdshell you can script a flat file output from your SQL. Hope that helps. ...Show All

  • SQL Server SS 2005 64 bit ?

    Hi There I realise this is a pretty broad question, but are there any special considerations for 64 bit SS2005. I have never installed 64 bit before, is there any major difference to 32 bit or any special configurations or setting that must be checked, i could not find anything in BOL specific to SS2005 64 bit installation. For example, enabling AWE memory, Windows 3Gb switch etc, i know that on 64bit windows over 3 Gigs Ram is automatically addressable as it is 64bit, but is there still a configuration setting in 64 bit SS2005 that must be changed after installation. I have also discovered from BOL that there is no Sql or Database mail on 64 bit, only with SP1. That kind of stuff, i dont expect an essay for an answer, but i ...Show All

  • Visual C++ wspiapi.h error, while compiling PHP in WIN32

    Hi, im trying to compile a PHP souce with win32 but i gives me always this error :s Installed: Microsoft Platform SDK 2003 Sp1 VS6 C++ When trying to build i found this error: Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. php_cli.c c:\programas\microsoft platform sdk\include\wspiapi.h(197) : error C2027: use of undefined type 'addrinfo' c:\programas\microsoft platform sdk\include\wspiapi.h(60) : see declarat ion of 'addrinfo' c:\programas\microsoft platform sdk\include\wspiapi.h(213) : error C2037: left o f 'ai_family' specifies undefined struct/union 'addrinfo' c:\programas\microsoft platform sdk\include\wspiapi.h(214) : error C2037: left o f 'a ...Show All

  • Visual C# C# using C++ dll throwing exceptions

    I have a C# application which dynamicly loads a C++ dll Is it possible for the C# application to catch exceptions thrown by C++ dll You'll need a small wrapper assembly to translate the C++ exceptions to .NET exceptions. An additional goody with such a wrapper is that you no longer need the P/Invoke declarations for your C++ DLL. Using the VS2005 C++/CLI syntax: #pragma once #define _AFXDLL #include <afx.h> #include <tchar.h> //#include "mydll.h" void shCreateDevice(HWND hwnd) {} // Just for testing using namespace System; public ref class ManagedWrapper { public: static void shCreateDevice(HWND hWnd) { try { ::shCreateDevice(hWnd); } catch (CException& ex) { TCH ...Show All

  • Internet Explorer Development Why IE can not open a page, but Firefox can?

    Hi all, We have an authentication applicaiton and the application is based on Weblogic Server 8.1. There are three pages/servlets involved in the login process: login.jsp, LoginServlet, and menu.jsp. If user inputs correct username/password and clicks the login button, the LoginServlet will verify user's profile and set some cookie into HTTP Response. Fianlly, the servlet will redirect the user to menu.jsp. Right now we are facing a weird phenomenon: based on one specific user, we can not login using IE, but can login using Firefox or Opera. In IE, after inputed username/password and clicked the logon button, "The page cannot be displayed" is presented on screen. And, the URL in the address bar is the URL of LoginServlet. The lo ...Show All

  • Visual Basic Wait a moment!

    In VB6 there was a wait command that would halt the program untill a button was pressed, or some other type of event would restart the programme. Is this still available in VB.Net Thanks Moayad, I remember now that it was Sleep and not Wait! But what I,m after is a way to put the program to sleep untill a button is clicked then it will start again. Graham ...Show All

  • SQL Server count function

    hi I have a question related to XQUERY in SQL Server . is SQL Server 2005 supports Count function. i want to make a query in which i want to search for some keyword in all the nodes. If there is some match then count the number of times that word appeared in XML. Can anybody give me some clue about how to make this query . thanks in advance Regards Ambi XQuery includes the count() function to count sets of nodes. Here is the documentation on this function containing an example: http://msdn2.microsoft.com/en-us/library/ms189963.aspx If you want to query over all the nodes in the query, then the "//" ("descendents") operator will allow you to apply a filter to each node, then y ...Show All

  • Visual Studio 2008 (Pre-release) Making a custom menu like Vista's Photo Gallery

    I like the way that Photo Gallery, Media Player and Movie Maker have a black bar at the top with drop down buttons, and I have managed to emulate the bar itself, but not the buttons... I am hoping someone here can tell me how this is meant to be done Do I just create a rectangle and make it act like a button - OR - is there a preset way to do this I've almost completed it. I have the bar (looks identicle) and the button style is pretty-much finished. I just need to set the button as a resource... not as easy as I thought it was. Email me sometime and I'll give you the code. (my nick + @ hotmail . com) ...Show All

  • Smart Device Development How to bind a property to an array inside a component at design time

    Hi, Im writing an application in C# for .NET CF 2.0 I have a component, that is a sound container that can hold a list of references to sound files. public class Sound { private byte[] soundbuffer; private string name; private int flags; public string Name... public Sound() ... Properties... public void Play()... } public partial class SoundContainer : Component { private Sound[] sounds = null; public Sound[] Sounds { get { return sounds; } set { sounds = value;} } public SoundContainer(IContainer container)... } As you may see, the soundcontainer has an array of sounds. i can add the sound container in my application and add sound files to the array using the collection editor. Everything works fine. Then I ...Show All

  • Software Development for Windows Vista Can get IP from router, but cannot connect to Internet

    I have installed Winows Vista Ultimate (32-bit) on an HP Pavilion a1610n with the AMD Athlon 64 X2 4200 dual-core CPU. 2 GB RAM, 250 GB HDD. My wireless NIC is a Netgear wg311v3 PCI card, and my wireless router is a Netgear WPNT834 RangeMax 240 (802.11b/g). I am running DHCP and Shared WEP (128-bit) on the router. I can connect to the router and get a dynamic IP address. However, I cannot ping the router and I cannot ping the IP assigned to the NIC. I can ping localhost (127.0.0.1). In Vista network settings, the WLAN shows up as "Unidentified Network", Access is "Local Only", and the network keeps switching to Public, even if I manually switch it to Private. Obviously, I cannot surf the Internet since I c ...Show All

©2008 Software Development Network