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

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

mate6666

Member List

Carl Daniel
Avi_harush
Eyvind
DimitrybInTime
Speedbird186
Alex2200
Sixon
slippyC
anubhuti_k
Sebastien LEIX
Coc Patrick
Iggy2
cheekster
beefeater
SarasMax
Noogard
sahridhayan
He is Cool
Matt24
Montana Jones
Only Title

mate6666's Q&A profile

  • .NET Development How to read Assembly Level attributes of asp.net 2.0 project

    Hello, We are converting our project from 1.1 to 2.0, and we are using reflection to retreive the Assembly version and present it in the UI. Due to the new compilation model, the existing code does not work. Is there a way to do this in 2.0 Thanks for your input Hi, I am not sure what attributes are you after, but if you want attributes like version number, languate,...etc. have a look at the FileVersionInfo . GetVersionInfo Hope this helps. ...Show All

  • .NET Development How to return the complement of a set with an XPath expression ?

    Is it possible to write an XPath expression to return the relative complement of A in B (ie the set of all elements which are members of B, but not members of A) Here is an example: From the xml file below I would like to return the set of all pet elements in the genus 'canis', which do not have elements in other genera with pets of the same name. ie snoopy is the only dog without a namesake in another genus. < xml version="1.0" encoding="utf-8" standalone="no" > <Pets> <Genus name="canis"> <Pet name="snoopy" /> <Pet name="fred" /> <Pet name="lassie" /> </Genus> <Genus name="felis"> <Pet nam ...Show All

  • Visual Basic Print text to a form

    IN Vb 6.0, using the Print command would print whatever text you put onto the form. Im wondering how you would do that same thing in VB2005 because apparently the command had changed... thank you Hi DeborahK, This posting was very helpful in trying to get a form scaled and printed. Thank you for the posting. I've come across one little difficulty with it that I hope you can assist me with and resolve. The first request goes thru very quickly. Subsequent prints take longer and longer. I have discovered by putting a Beep() statement and the beginning of the subroutine, the first it goes through the subroutine it beeps once, each time the subroutine is called again it beeps an additional time. So ...Show All

  • Visual Studio 2008 (Pre-release) Impersonation and/or AppPool Identity Failing

    I'm hosting my WCF service inside IIS6. My app is running within its own app pool, with configured identity as Administrator. In my web.config, I've set <serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>. I'm using basicHttpBinding, and do not want to impersonate the client's identity, as I'm calling some priviledged operations. I've also marked my service implementation with [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)], and marked my methods with [OperationBehavior(Impersonation=ImpersonationOption.Required)]. The contract operation 'DoSomething' requires Windows identity for automatic impersonation. A Windows identity that represents the caller is not provided ...Show All

  • Visual Studio Team System trouble referencing %(ConfigurationToBuild.FlavorToBuild)

    I'm trying to reference the value of %(ConfigurationToBuild.FlavorToBuild). I am getting either no resolution or blank. <TestValue>%(ConfigurationToBuild.FlavorToBuild)</TestValue> doesn't get evaluated and $(TestValue) is returned as "%(ConfigurationToBuild.FlavorToBuild)". I've made a successful reference only in the message task: <Message Text="Flavor=%(ConfigurationToBuild.FlavorToBuild)" />. This is confusing to me also, as I understood ConfigurationToBuild to be an ItemGroup, which should require the prefix"@" for referencing. Can someone clear me up on what I'm doing wrong THX Curt Zarger Think of <PropertyGroup> properties as "decl ...Show All

  • Visual Studio Express Editions Help Please!

    Hello, newbie here. I have a problem. I made a program to delete files in a a folder There is 6 buttons! button1 is to View Cookies. Button2 to View History. Button3 to View Temporary Internet files. Button 4 to delete Cookies. Button5 to delet History. button6 to delete Temporary Internet files. I also have a listbox were i want to contents of each folder displayed when each View button is clicked. Heres the problem (much to my embarrasemnent ) I have never programmed beofore in my life and I want to learn...i don't know how make this all work, can any one help me with the codeing please. Also has a toolbar with a dropdown button with a button ya click to exit the program when finished with. Have i t ...Show All

  • Gadgets Need Help Refreshing My Gadget.

    Hi, I'm almost finished with a gadget that shows a new "game of the hour" every 60 seconds. The thing is, is that I don't have a way to get it to refresh the gadget every 60 seconds. I've tried Meta tag refresh tags, java-script refresh tags, and a solution I found on these forums a little while ago, and nothing seems to be working. Any help would be appreciated. I've seen folks have problems using document.write inside a gadget; I attribute it to the following warning: "You should not use the write or writeln methods on the current document after the document has finished loading unless you first call the open method, which clears the current document's window and erases all variables." (copied from htt ...Show All

  • Visual Studio Team System Disable AssignedTo field in work item

    Hi all, i need to disable the field in the work item named "AssignedTo" especially when the status of the work item has been closed. Please help me in this regard. Thanks, Kathir Hello, One way would be has follows < FIELD name = " Assigned To " refname = " System.AssignedTo " type = " String " > < VALIDUSER /> < WHEN field = " System.State " value = " Closed " > < READONLY /> </ WHEN > </ FIELD > Hope it helps, ...Show All

  • Visual C# In the .net class framwork, there is a number of class ,Is there any best practise to get familar with these classes?

    In the .net class framwork, there is a number of class such as System.Runtime.Remoting etc, Is there any best practise to get familar with these classes I want to know where can i get all the sample programs to be familar with the .net class library. I appreciate your help. use the following site: http://www.codeproject.com they have a lot of artclise from beginners to experts and you can browse them by technology, language, and so on. ...Show All

  • Visual Studio 2008 (Pre-release) Where are the Windows Forms controls equivalents?

    Hi, I was wondering if we are going to see equivalents of the Windows Forms Controls and Windows Forms capabilities in WPF. Although WPF seems impressive, it lags the Windows Forms power and its also counteractive. You can make you own button as you would like it, and just use it as: <MyControls:MyButton Image=XXXX>YYYY</MyControls:MyButton> Or you can make templates. -Its flexible and easy. Also remember that WinFX isn't even released. Imagine what the 3rd party control developers will be able to supply. Best regards, Thomas Andersen ...Show All

  • Visual C++ where is the external '_afxPchNil' located?

    I'm using Visual Studio Professional, and trying to link 32 bit compiled object files, but without any success. I'm receiving following error: welcome_page.obj : error LNK2001: unresolved external symbol "char const * const _afxPchNil" ( _afxPchNil@@3PBDB ) Does anyone have an idea, in which library file the extern symbol "_afxPchNil" is located All in all I there are 14 unresolved external symbols: 1>Linking... 1>configure.obj : error LNK2001: unresolved external symbol "protected: static struct AFX_MSGMAP const CWinApp::messageMap" ( messageMap@CWinApp@@1UAFX_MSGMAP@@B) 1>welcome_page.obj : error LNK2001: unresolved external symbol "char const * const _afxPchNi ...Show All

  • SQL Server Invoking a web service using MSSOAPLib from a SQL Server CLR Procedure

    Hi, I need to invoke a web service from a CLR procedure without adding a web reference. I'm using MSSOAPLib for doing this. I am able to do this from a desktop application, but it doesnt seem to work in a SQL Procedure. The execution just seems to hang at the code ' SoapClient soapClient = new SoapClient (); '. There is no exception either, as the error message doesn't get logged in the catch block. I'm also unable to debug the procedure using the remote debugger provided with vs2005. It gives me a warning saying 'The breakpoint will not current be hit. No symbols have been loaded for this document'. I have registered the assembly as UNSAFE. The code snippet is given below HttpWebRequest req = ( HttpWebRequest ) ...Show All

  • Visual Basic Application Path

    Hi , i am new to VB.net windows application. How to get the application path of the application. Thanks in advance Why are you playing with that Why dont you put the INI file with the Exe itsef so just refer it as "sss.ini" rather than specifying the complete path! Best Regards, ...Show All

  • .NET Development Unspecified Error - when retrieving data from recordset

    I am writing a simple query in VB .NET using Visual Studio 2005. I trying to connect to Oracle 9i. using "Microsoft ODBC for Oracle" (2575.1117.00) MSORCL32.DLL 28/04/2004. The connection to dataserver is succesfull. Even I can run the following query succesfully: myCommand.CommandText = "select * from NLS_SESSION_PARAMETERS" myRecordset = myCommand.Execute   But when I try to run the following simple query, all I get  is "unspecified error" myCommand.CommandText ="select * from my_user_db.my_table" myRecordset = myCommand.Execute   Does anyone knows what is happening here Thanks Fede I tried to trace it, (enabling trace option in ODBC manager window) but where is ...Show All

  • .NET Development Some Advice please - .NET Remoting or Web Servies?

    Hi, im currently building a Microsoft Messenger type System for my home city. Server side I'm currently using php, clint side c# I now wish to start again and either use .net Remoting or Web Services. I prefer the idea or using .NET Remoting and have 5 quesions. 1. How can I handle 50,000 clients Can a client connect then receive required data then disonnect, wait a few minuites then connet again as I can't see a server handling 50,000 connetions at one time 2. How many connetions can a private server handle 3. What type server do I need As im just experimenting for now I wish to use a shared server service. 4. Anyone recommend a good server company in United Kingdom for no more than £10 a month 5. Anyone know some good g ...Show All

©2008 Software Development Network