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
P

paresh_joe

@paresh_joe
About
Posts
38
Topics
22
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How this can be done in Atomic way?
    P paresh_joe

    I meant to say that only solution come to my mind is to pass DB parameter to function which is not possible. I want some other way in which this can be implemented.

    Design and Architecture database question

  • How this can be done in Atomic way?
    P paresh_joe

    Class A { B bsObject; public void FunctionOfClassA() { bsObject.FunctionOfClassB() } } Class B { public void FunctionOfClassB() { } } I have my program structure as shown above. I want a way to apply atomicity to this. I mean if Class B's data write worked fine but Class A's calculations failed then want to rollback the data write. i want it all succeed or rollback. One way i can think of is to create a DB ptr and begin transaction just before call to FunctionOfClassB() and pass it as a parameter. so in this FunctionOfClassB will use same db ptr to write data. And it would also be possible in FunctionOfClassA() to check if calculations went ok then commit or rollback. My requirement is to not to make any change in parameter list or not to provide a new method with new parameter. Class A { B bsObject; public void FunctionOfClassA() { bsObject.FunctionOfClassB() // some calculations // Here I want to decide whether to commit or rollback } } Class B { public void FunctionOfClassB() { // here i want to begin a transaction // some data writing. } } Can anyone give an high level summary how this could be possible?

    Design and Architecture database question

  • Would this allow Employee and Member both?
    P paresh_joe
    XML / XSL question

  • is it possible to handle two transaction using DTC?
    P paresh_joe

    I am interested in knowing whether it is possible to coordinate two database transaction using Distributed Transaction Coordinator (MSDTC). Any reference would be good. Thanks, Perry :)

    Database database question

  • IXMLDOMSchemaCollection raw_add(,) fails?
    P paresh_joe

    I am writing program to validate xml with schema. but it fails when schemaColl.raw_add(_bstr_t(),_variant_t(L"XSDFileName.xsd")) is called. I don't find any way to get detail errors. Has anybody know about why it could fail? is it the case that path related (xsd file's path) problem? Thanks, Perry

    C / C++ / MFC xml database help question

  • Is it good practice to use TRY-CATCH in this way?
    P paresh_joe

    I am writing block which throws com exception and i have written code in following way. GetDate() & SetDate(d) both throws exception. Date d; try { // Many statements can throws exception d = GetDate(); SetDate(somedate); // calculate some "value" } catch(_com_exception &) { // set value = 0; } try { SetDate(d); // reset date } catch(_com_exception &) { // set value = 0; } Even if both block throws same exception i cant put them in one try for the reason that in any case either it throws exception or not i want to reset date at the end. Is this code looks good with consideration of good coding practices? Thanks, Perry

    C / C++ / MFC com question

  • Any way to log on to a web page ?
    P paresh_joe

    I want to write C# application that will log on to web page with provided user name and password. Any hint on this! Thanks, Perry

    C# csharp question

  • Read Webpage that first requires to put in User/Password
    P paresh_joe

    No success with this too :( ...

    C# csharp

  • Read Webpage that first requires to put in User/Password
    P paresh_joe

    I tried setting Credentials with my user and password :( .. still it reads login page ...

    C# csharp

  • Read Webpage that first requires to put in User/Password
    P paresh_joe

    I am writing one simple C# application; which is used to read contents of web page. While reading from the URL which first requires to log in. Is there anyway that i can set user and password, and can read data from this page. Thanks, Perry

    C# csharp

  • Why not to use Smart types in a container?
    P paresh_joe

    Thanks for the answer. but my other question is e.g. what care needs to be taken if i use _bstr_t in a vector?

    ATL / WTL / STL docker question

  • Why not to use Smart types in a container?
    P paresh_joe

    Any extra things that one has to consider while using this?

    ATL / WTL / STL docker question

  • Why not to use Smart types in a container?
    P paresh_joe

    Some coding standards at my end says that, Do not use smart types in a container? Does anyone know reason for this?

    ATL / WTL / STL docker question

  • Error:The request failed with HTTP status 400: Bad Request
    P paresh_joe

    Hi, Even i am getting same kind of error .. but no one has replied yet :(

    .NET (Core and Framework) help

  • HTTP status 400: Bad Request
    P paresh_joe

    i have already checked ... ;P i am posting here as none of answers resolved my problem ...

    ASP.NET wcf help

  • Is there Any Limit of No. of bytes that can be send to web service? [modified]
    P paresh_joe

    If Yes ! , then is it Configurable from anywhere ... Regs, Perry

    modified on Monday, May 26, 2008 7:38 AM

    Web Development question

  • HTTP status 400: Bad Request
    P paresh_joe

    Hi All, I am currently working with web services and while sending data to web service i am getting this Error: "The request failed with HTTP status 400: Bad Request" :sigh: Can :wtf: anyone tell me why i am getting this Errr ... [OMG] Regards, Perry

    ASP.NET wcf help

  • Error : The request failed with HTTP status 400: Bad Request.
    P paresh_joe

    Hi All, I am currently working with web services and while sending data to web service i am getting this Error: "The request failed with HTTP status 400: Bad Request" Can anyone tell me why i am getting this Errr ... :omg: Regards, Perry

    .NET (Core and Framework) wcf help

  • Regarding Problem with Short Data Type
    P paresh_joe

    in some c++ coding standard guidance i noticed following text written : "Avoid using short as its still generally packaged into a 32 bit chunk of memory. There are very few places where a short can be justified over a long." Can someone explain why is it so ?

    C / C++ / MFC c++ performance help question

  • Hotkey for menu Item
    P paresh_joe

    How to insert a hotkey (Eg. Ctrl+U)in a menu item (through code) in vc++.

    C / C++ / MFC c++ tutorial
  • Login

  • Don't have an account? Register

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