Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
D

dubbele onzin

@dubbele onzin
About
Posts
11
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Handling a SoapException
    D dubbele onzin

    Thanks for replying :) The message shows the inner exception though - it has all that extra text around it and that's what I don't want. It seems that when I get an error message back from a web service I've written, it contains all that extra stuff. I just want it to send back the error text I provide not all that other stuff.

    ASP.NET question wcf sysadmin data-structures debugging

  • Handling a SoapException
    D dubbele onzin

    Hi, I call a web service method and if it fails I get a load of Soap error stuff that I don't want: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: MyErrorMsgString. at MyWebService.TestThrowException() --- End of inner exception stack trace --- How can I get it to just display the error message I want? In the stuff above I just want to get the MyErrorMsgString text. Thanks :)

    ASP.NET question wcf sysadmin data-structures debugging

  • How to know through INF file that perticular model is PNP enable.
    D dubbele onzin

    hi, for my one of application, i installed diffrent printer model through printer Drivers INF file, My application works fine. Now i needed that when i'm parsing INF file through my program, how can i sure that pertincular printer model is PnP capable or not. is there any standerd way to decide this when reading a INF file. for example for an INF file the [ModelSection] defined as: ///////////////////////////////////////////////////////////// ; Model sections ; ; Each section here corresponds with an entry listed in the ; [Manufacturer] section, above. The models will be displayed in the order ; that they appear in the INF file. [HP] ; HP Color LaserJet 4700 %HP_Mombi_Driver_Name% = hpmcpdp6.gpd,LPTENUM\HPUPD_PCL6,DOT4PRT\Hewlett-PackardHP_CoF1B4,DOT4PRT\Hewlett-PackardHP_CoF1B4&PRINT_HPZ,DOT4PRT\Hewlett-PackardHP_CoF1B4&DOT4&PRINT_HPZ,DOT4PRT\vid_03f0&pid_6217,DOT4PRT\vid_03f0&pid_6217&PRINT_HPZ,DOT4PRT\vid_03f0&pid_6217&DOT4&PRINT_HPZ,DOT4PRT\VID_03F0&PID_6217&Rev_0100,DOT4PRT\VID_03F0&PID_6217&Rev_0100&DOT4&PRINT_HPZ,DOT4PRT\VID_03F0&PID_6217&Rev_0100&PRINT_HPZ ; HP Color LaserJet 4730 %HP_Mombi_Driver_Name% = hpmcpdp6.gpd,LPTENUM\HPUPD_PCL6,DOT4PRT\Hewlett-PackardHP_Co2FFA,DOT4PRT\Hewlett-PackardHP_Co2FFA&PRINT_HPZ,DOT4PRT\Hewlett-PackardHP_Co2FFA&DOT4&PRINT_HPZ,DOT4PRT\vid_03f0&pid_6317,DOT4PRT\vid_03f0&pid_6317&PRINT_HPZ,DOT4PRT\vid_03f0&pid_6317&DOT4&PRINT_HPZ,DOT4PRT\vid_03f0&pid_6317&Rev_0100,DOT4PRT\vid_03f0&pid_6317&Rev_0100&PRINT_HPZ,DOT4PRT\vid_03f0&pid_6317&Rev_0100&DOT4&PRINT_HPZ ; HP LaserJet 3050 %HP_Mombi_Driver_Name% = hpmcpdp6.gpd,LPTENUM\HPUPD_PCL6,DOT4PRT\vid_03f0&pid_3217&mi_00&PRINT_HPZ,DOT4PRT\Vid_03f0&Pid_3217&mi_00&DOT4&PRINT_HPZ,DOT4PRT\vid_03f0&pid_3217&Rev_0100&mi_00&PRINT_HPZ,DOT4PRT\vid_03f0&pid_3217&Rev_0100&mi_00&DOT4&PRINT_HPZ ; HP LaserJet 3052 %HP_Mombi_Driver_Name% = hpmcpdp6.gpd,LPTENUM\HPUPD_PCL6,DOT4PRT\vid_03f0&pid_3317&mi_00&PRINT_HPZ,DOT4PRT\Vid_03f0&Pid_3317&mi_00&DOT4&PRINT_HPZ,DOT4PRT\vid_03f0&pid_3317&Rev_0100&mi_00&PRINT_HPZ,DOT4PRT\vid_03f0&pid_3317&Rev_0100&mi_00&DOT4&PRINT_HPZ ; HP LaserJet 3055 %HP_Mombi_Driver_Name% = hpmcpdp6.gpd,LPTENUM\HPUPD_PCL6,DOT4PRT\vid_03f0&pid_3417&mi_00&PRINT_HPZ,DOT4PRT\Vid_03f0&Pid_3417&mi_00&DOT4&am

    C / C++ / MFC tutorial json question

  • Disabled/Read-Only Fields Color
    D dubbele onzin

    Hi, This is really annoying - I set a field to disabled or read-only and it's set to a grey color with black text which isn't very easy to read at all. I want to display my text in a read-only text box so that it can't be edited but so it can still be read clearly. Even though I try setting the background color different it doesn't work. Can anyone suggest how I might make such fields more readable?

    C# question

  • Handling web service exceptions
    D dubbele onzin

    Hi, I have a web service and if my web method catches an exception I then throw a new exception which is passed back to my calling application. Unfortunately though my exception has text XXXXXXX, it gets a load of other stuff added like this: "System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: ..." It looks like I'm getting the inner exception trace. How can I avoid this? Thanks :)

    ASP.NET question sysadmin debugging

  • MessageBox - Increae font size
    D dubbele onzin

    Hi, I'm writing a mobile application and I have to use over-sized fonts and buttons so the user can use the touch-screen with fingers rather than stylus. When an error occurs I display a standard MessageBox which works fine but the button to close it is tiny and is placed on the title bar of the MessageBox. Is there any way of increasing the MessageBox font, or placing a large button on the MessageBox? Thanks :)

    C# help question

  • Windows Forms vs Dialog Application
    D dubbele onzin

    Hi, I'm writing a simple application which requires the user to log on. It displays a logon form and if the user passes the security check, the main form is then displayed. On my logon form I have this:

    static void Main()
    {
    Application.Run(new Login());
    }

    If the user passes security, I want the logon form to close leaving the main form open but can I do this? I can hide the form but if I close the main form, the application is still running. Can anyone help? Thanks :)

    C# visual-studio winforms security help question

  • AddPrinter() fails with Error Code 126
    D dubbele onzin

    Hi all, it's very helpful for me. i have created an application to install an printer Locally through INF file.when a call AddPrinter() function it fails with error code 126(specified module could not be found) Although i have initalise all the parameter as mention in MSDN( You must specify non-NULL values for the pPrinterName, pPortName, pDriverName, and pPrintProcessor members of this structure before calling AddPrinter. ). but it failed and initialisation is correct for that from my end......is there any reson to fails this function. plz help me.Thanks in Advance. Ashish

    C / C++ / MFC help

  • Return string array from web service
    D dubbele onzin

    How can I return an array of strings from a web service? I can return a string but returning an array doesn't work. Thanks :)

    ASP.NET question data-structures

  • Get User Data from XML or web.config
    D dubbele onzin

    Thanks for the answers :)

    ASP.NET xml question

  • Get User Data from XML or web.config
    D dubbele onzin

    Hello, I want to store some users in an XML file. A user has a username, a display name and a password. Do I need a separate XML file or can I use web.config? I need to list the users by username to populate a drop-down list and I also need to authenticate users by checking their passwords. Here is my sample users XML file: bj Bob Jones aaaa jd John Doe bbbb So I need to write two methods: 1. List each userid 2. Return the password for a named userid And is there any way of using the web.config for this so my system administrator can just use that rather than the separate users.xml file?

    ASP.NET xml question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups