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
B

balu chettri

@balu chettri
About
Posts
17
Topics
12
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • USB Flash Driver Problem
    B balu chettri

    I can't find icon for my usb flash drive G: on my computer. It can be accessed via command line, however. Typing G:\ in the explorer's address bar says: 'the operation has been cancelled due to restrictions in effect of this computer'. This happened after I inserted my friend's pen drive on my system. what to do? Please help. Thanks in advance.

    B2C

    System Admin help adobe question

  • How to add a character in the begin and end of the string?
    B balu chettri

    CString s1 = "abc xyz"; CString s2 = "[" + s1 + "]";

    C / C++ / MFC help tutorial question

  • Problem reading a unicode text file
    B balu chettri

    Unicode Text File c:\test.txt contents: "Test" (without quotes). wchar_t is defined as unsigned short as it should be. typedef unsigned short wchar_t; But wifstream which is defined as typedef basic_ifstream > wifstream; cannot read unicode file correctly. #include using namespace std; void main () { wifstream is ("c:\\test.txt"); wchar_t c; while ((c = is.get ()) != WEOF) { wprintf (L"%c", c); } } output was: ..T.e.s.t. When I tried short instead of wchar_t all went ok; #include using namespace std; void main () { typedef basic_ifstream > ifs; ifs is ("c:\\test.txt"); wchar_t c; while ((c = is.get ()) != WEOF) { wprintf (L"%c", c); } } output was: Test Should wchar_t be defined as short or this is a bug in standard C++ library shipped with VC++ 6.0? B2C

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

  • Problem reading a unicode text file
    B balu chettri

    Thanks for your help! I hope the problem is solved.

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

  • Problem reading a unicode text file
    B balu chettri

    //I have a problem reading a text file which I have //created using Notepad and saved at c:\test.txt in //"Unicode" format. //The file contains just a single word: "Test" //The following is a C++ program to read the file #include #include using namespace std; typedef basic_ifstream ifs; void main () { ifs is ("c:\\test.txt"); wint_t c; while ((c = is.get()) != WEOF) { wprintf (L"%c", c); } } //The output was: //..T.e.s.t. //Note that the loop went for 10 times while I expected it //to run only 4 times for word "Test". //The following is an equivalent C program that does all correctly. /* #include void main () { FILE *fp = _wfopen (L"c:\\test.txt", L"rb"); wint_t c; while ((c = fgetwc(fp)) != WEOF) { wprintf (L"%c", c); } fclose (fp); } */ //Output: Test //Do you have any suggestions? Please help. Thanks in advance! B2C

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

  • DIB
    B balu chettri

    Can I select a DIB into a memory Device Context? If yes, then how? B2C

    Graphics performance question

  • Database Problem
    B balu chettri

    I am using MS access 4.0 datbase and ADO to connect to it but there is a problem mentioned above. B2C

    Web Development database help security question announcement

  • Database Problem
    B balu chettri

    I am using MS Access 4.0 database and ADO to connect to it but there is a problem mentioned above. B2C

    Web Development database help security question announcement

  • Database Problem
    B balu chettri

    My web site (ASP) fails to execute any "SQL update queries" when I install it on NTFS volume. The error message is "Operation must be an updatable query". I tried setting both Read/Write permissions on my virtual directory but there is no success. My database is not read only. There is no such problem when I install my web site on a FAT drive. Is there any security settings or User configurations that I have to set for NTFS volume? Please help me.

    Web Development database help security question announcement

  • SQL Update query fails
    B balu chettri

    confused: When I install my web site on D: drive, sql update query through ADO connection in ASP fails with error message "Query not updatable" or "Database is readonly", although I open it in write mode. There is no such problem and it works well when web site is installed on C: drive. My D: drive is NTFS formatted while C: drive is FAT. Please help me!: Balu Chettri

    Database database help announcement

  • Problem with a DIB
    B balu chettri

    Is it possbile to select a DIB in a window DC and use normal drawing functions like Rectangle, Ellipse .. How? Balu Chettri

    Graphics graphics help question

  • How to compute absolute x, y coordinate of a HTML element using Java Script?
    B balu chettri

    The method I have coded does not work well when the element is wrapped within multiple DIV elements? function calcXY (obj) { var x = y = 0; while (obj != null && obj.nodeType == 1) { // alert (obj.nodeName + ' ' + obj.offsetTop); x+= obj.offsetLeft; y+= obj.offsetTop; obj = obj.parentNode; } alert ('Location of obj is ' + x + ',' + y); } Can anybody help me with a suggestion or a better method? B2C

    Web Development java html tools help tutorial

  • problem converting pascal code to C
    B balu chettri

    hi! i have a problem converting a pascal code fragment into my dear C. plz help to convert. Thanks in advance! type Dword=record Loword,Hiword:word; end; var RMRegs:record case boolean of true:(edi,esi,ebp,reserved,ebx,edx,ecx,eax:longint; flags,es,ds,fs,gs,ip,cs,sp,ss:word); true:(di,udi,si,usi,bp,ubp,rese,rved,bx,ubx,dx,udx,cx,ucx,ax,uax:word); end; b2c -- modified at 2:36 Thursday 3rd November, 2005

    System Admin help delphi sharepoint

  • linker error using CADOConnection
    B balu chettri

    Hi! I'm using ATL to create ADO connection connection but linker errors occur. unresolved external symbol _CLSID_CADORecordset unresolved external symbol _IID_IADORecordset unresolved external symbol _CLSID_CADOConnection unresolved external symbol _IID_IADOConnection my code : # include # include # include # include CComPtr p_Con; CComPtr p_Rst; CoCreateInstance (CLSID_CADOConnection, NULL, CLSCTX_INPROC_SERVER,IID_IADOConnection, (LPVOID *) &p_Con); CoCreateInstance (CLSID_CADORecordset, NULL, CLSCTX_INPROC_SERVER, IID_IADORecordset, (LPVOID *) & p_Rst); Pleas help B2C

    ATL / WTL / STL help c++

  • createing new font
    B balu chettri

    :) i'm doing a project and need to develop some new fonts for our local languages. Is there any tools to create new fonts easily. Some articles or example for english font will be helpful. :) Balu

    Article Writing tools tutorial

  • ISAPI extension with non browser apps
    B balu chettri

    I've seen a lot of code that demos ISAPI extension apps that works for browser based applications. Now i hope some good people provide some examples and code on how to build the same thing (ISAPI dll) that especially works with non-browser based applications. b2c

    Web Development tutorial

  • Transferring Files - ISAPI
    B balu chettri

    I want to send a list of specific files present on my server however those files need to be secure (not directly accessible by any way). Then on a request for a file from a client, I want to transfer a file from my ISAPI app. How do i get it on client side using WinInet API in a VC++ program. Also, I want to make sure that the specific set of files should not be accessed from any clients directly. They should be able to access only those files which are marked as ready by my ISAPI dll. B2C

    C / C++ / MFC c++ sysadmin json 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