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

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

ThomasAG

Member List

Roman Benko
Buddhist
Troy Lundin
some1sxi
ykgreene
guppie
ron nash
Noogard
Malik Faisal
nabeelfarid
Louis Y
prenney
Eslam Afifi
Saishyam
Whoisit
progames25
Koray Samsun
apple_pie
Pockey
Smallmaj
Only Title

ThomasAG's Q&A profile

  • Visual Studio 2008 (Pre-release) Calling a WCF Service from a cluster machine which is part of NLB ...

    I have an application that hosts 2 services, service1 and service2 that is hosted in 2 machines that are part of a NLB cluster that does load balancing through muticast. If i access the services from a remote machine using the cluster IP address, it is load balanced properly. But i have a strange requirement where one of the service (Service1) needs to create instances of the other service(Service2) and want that to be load balanced. So in Service1, i created a proxy for Service2 (using svcutil) and create the Service2Client object using the cluster address as the endpoint address. In this case, even though i access the second service always using the IP address of the cluster, it is not load balanced. It always hits the same machine from ...Show All

  • Visual C++ A link error - LNK2019

    Here is my program structure: #include "my_sub1.h" int main(...) { sub_fun(...); ... } The delcaration and definition of "sub_fun" function was saved in separated files -"my_sub.h" and "my_sub.cpp". But when I bulit it, though passed complie but failed in linkage: -------------------------------------------------------------------- Linking... main.obj : error LNK2019: unresolved external symbol "double __cdecl sub_fun(...) referenced in function _main. --------------------------------------------------------------------- Anyone tell me where am i wrong You need to compile my_sub.cpp in *.obj file and then link that into ...Show All

  • SQL Server Cannot set Connection property of Backup database task if connection string is customized in connection object

    I added a connection (ADO.NET) object by name testCon in the connection manager - I wanted to programmatically supply the connection string. So I used the "Expressions" property of the connection object and set the connectionstring to one DTS variable. The idea is to supply the connection string value to the variable - so that the connection object uses my connection string. Then I added a "Backup Database Task" to my package with the name BkpTask. Now whenever I try to set the connection property of BkpTask to the testCon connection object, by typing testCon, it automatically gets cleared. I am not able to set the connection value. Then after spending several hours I found that this is because I have customized t ...Show All

  • Visual C++ creating new window in a doc/view architecture

    I have an application with doc/view architecture where I can open a new file with File/New option.Now,I want to add an option in the menu which creates such new document as it happens with File/New option.But I am not able to do it. Please help Pritha Now since a new window is created with AfxGetMainWnd()->PostMessage(WM_COMMAND, ID_FILE_NEW); how can I get a pointer to this newly created window What is the difference between Pointer to a window and window handle Pritha ...Show All

  • .NET Development .Net 3.0 Install Error

    Hi I'm getting the following error when trying to install .Net 3.0: >From dd_dotnetfx3error.txt: Communication Foundation. MSI returned error code 1603 [01/11/07,10:52:43] WapUI: [2] DepCheck indicates Windows Communication Foundation is not installed. [01/11/07,10:52:43] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 was not attempted to be installed. >From dd_dotnetfx3install.txt: ... [01/11/07,10:52:42] WapUI: FProductIsInstalled (NOT installed): -1 [01/11/07,10:52:43] WapUI: Obtained failed/cancel flag [01/11/07,10:52:43] Setup.exe: GetComponents() [01/11/07,10:52:43] Setup.exe: get_Components() [01/11/07,10:52:43] WapUI: DepCheck indicates Windows Communication Foundation is not installed. [01/11/07,10:52:43] Setup ...Show All

  • Visual C# assignment to xml node value

    public class AddAnnouncement { public void _AddAnnouncement() { XmlDocument newAnnDoc = new XmlDocument (); newAnnDoc.Load( "~/App_Data/Announcement.xml" ); XmlNode newAnn = newAnnDoc.CreateNode( XmlNodeType .Element, "ann" , null );   XmlNode Id = newAnnDoc.CreateNode( XmlNodeType .Element, "annID" , null );   /////////////////////in here i want to assign to id value to 0; after that i want to increase it; like this int a=0; and id. ( maybe value;;; i dont know what mus be after dot)=a; a++; how can i do this XmlNode Title = newAnnDoc.CreateNode( XmlNodeType .Element, "annTitle" , null ); XmlNode Body = newAnnDoc.CreateNode( XmlNodeType .Element, "a ...Show All

  • Visual C# How can I change the volume using C#?

    How can I change the volume using C# Thanks, I want to use a trackbar or buttons (up and down) using QuartzTypeLib(quartz.dll) IMediaPosition, but when ever I try to change the vol., Value is out of range. Is there another way to change the volume other than using the Master Volume Which volume do you want to change For the wav volume for instance take a look at this article on Pinvoking to call waveOutGetVolume() and waveOutSetVolume() . ...Show All

  • SQL Server Way to manually create Aggregation?

    Hi all! I am Looking for a way to manualy create an aggregation in SSAS2005 (like the "Partition Aggregation Utiliy" in SSAS2000) By the way - I cannot find a representation of the aggregations in the cube XML in BI Development Studio - is this possible Thanks HANNES Hi, Thanks, I have found the aggregations in BI project. On the other hand - sorry, but I am not a member of SQL PASS! Do you know a website where such information is available public THANKS, HANNES ...Show All

  • Windows Forms receive of class udpclient in vs 2003...

    hello, the method receive of class udpclient in vs 2003 will block until receiving some message. how do i set up a timeout Take a look at the Udpclient class's BeginRecieve and EndRecieve methods if you want to receive the message async. ...Show All

  • Visual Studio Tools for Office Custom Task Panes in Outlook 2003

    I had been scratching my head for past few days but did not came to find any clue. I am interested in getting custom task panes to work exactly the way it works in Office 2007. Although the object model is quite dis-simmilar, yet is there any alternate way to display custom task pane or to display a user-defined windows control in an existing task pane in 2003 Any help would be appreciable. Thanks Hi Imran If I understand correctly, you're asking whether one can use VSTO to modify a built-in task pane in Word 2003 No, there is no interface to change the contents of Word 2003's built-in task panes. You can use VSTO 2.0 to create a custom taskpane for Word 2003, and that can contain a Windows form ...Show All

  • Visual Studio Tools for Office VSTO SE - Create Spreadsheet on Server Without Excel

    I understand that with VSTO SE and VS 2005 you can create and manipulate spreadsheets on computers/servers that do not have Excel installed. I have done a lot of programming Excel with COM but am new to VSTO. I have searched various examples online but have not found just one simple example of creating a spreadsheet pro grammatically on a server that does not have Excel. The resultant application would be a console app that would run without a GUI to process and create/update spreadsheets. Could someone please list as briefly as possible (VB preferred, C# okay) how to create a new spreadsheet, update a couple cells, and then close the spreadsheet from the command line with no GUI. Thanks. Did you try us ...Show All

  • Smart Device Development How can i install pocket console on the PPC Emulator?

    Hi, I need a way for debugging PocketPc application. I found PocketConsole as the right solution. My app is being developed in c# using VS2003. Can anyone plz tell me how can i install the pocketconsole on the PocketPC emulator, for debugging, my application. Thanks - Hari VS 2003 emulator is x86 based, so you can not (unless there’s a special version for emulator). You’d need real device or ARM emulator which ships with VS 2005. ...Show All

  • .NET Development CAS Policy Problem

    I have an assembly deployed which demands a certain permission. This assembly is strong named and lives in the \bin directory. To make configuration "easy", I figured I'd add a new Code Group to my Runtime Security Policy using the .NET Configuration tool which grants Full Trust to my assembly. The Code Group is under All_Code and the Membership Condition of the Code Group looks for a strong name of an assembly using the public key of the assembly (derived by importing the .dll). I disregard name and version. Straightforward, right It just doesn't work, though! Every time, my assembly fails the permission demand! In theory, it should have full trust, right What could be going wrong You ...Show All

  • Visual Studio Team System RequestFailed: Context parameter '$HIDDEN1.__LASTFOCUS' not found in test context

    Hi, I am having web application developed in VS 2005 which contains more tabs contains more than one user controls, repeaters(The tab itself a repeater control).When you complete one tab information,the next tab will be visible. I am getting the following error while clicking the continue button(I have disable all the relevent javascript and manually the functionality works fine).<<I have used Webtest for recording purpose>> RequestFailed: Context parameter '$HIDDEN1.__LASTFOCUS' not found in test context The recording was successful but play back results the above error. Please help me in thios regard. Thanks, Madhusudanan Are you still having problems with this req ...Show All

  • Software Development for Windows Vista Missing Windows component

    Hello, On Vista RC2 without Flash, after I close my app, I get this message titled "Program Compatibility Assistant": ... "This program requires flash.ocx, which is no longer included in this version of Windows." I don't want this message to appear. My app detects whether Flash is installed or not. BOOL IsFlashInstalled() { SafeOleInit(); // return AfxGetThreadState()->m_bNeedTerm || AfxOleInit(); CLSID clsid = CFlashActiveXControlBase().GetClsid(); CComPtr<IClassFactory> pFactory; return SUCCEEDED(CoGetClassObject(clsid, CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER, NULL, IID_IClassFactory, (void**)&pFactory)); } If Flash is not installed, the function above properly returns FALSE, and Vis ...Show All

©2008 Software Development Network