User Profile

Collapse

Profile Sidebar

Collapse
Rupali12345
Rupali12345
Last Activity: Nov 19 '08, 01:09 PM
Joined: Jun 20 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Rupali12345
    started a topic Checking which button is clicked on page_load..
    in .NET

    Checking which button is clicked on page_load..

    Hi all,

    I want to do different functionalities on two button click events.
    I Added code

    Button1.Attribu tes.Add("onClic k","Showpre()") ;---line1
    Button2.Attribu tes.Add("onClic k","Showresp()" );---line2

    on page_load.

    Even if I am clicking button2, line1 is executed...

    I want to check which button is clicked on page load..and...
    See more | Go to post

  • Rupali12345
    started a topic problem in HExadecimal to decimal conversion
    in C

    problem in HExadecimal to decimal conversion

    Hi all,

    Code:
          int main() 
           { 
       		FILE *fp1;
    		char *c, *d;
    		c  = new char[54];
    		d = c;
    	                  fp1=fopen("C:\\xyz.dcm","r");
    		   for(int i=128;i<=163;i++)
    		{
      		  fseek(fp1,i,SEEK_SET);
    		  *d =(char )fgetc(fp1);
    		  d++;
    		  cout<<*c++;
    		}
    		for(int j=164;j<=166;j++)
    ...
    See more | Go to post

  • Rupali12345
    replied to How to read .dcm file using byte array
    in C
    It is DCOM image format..
    I m new in DICOM
    Code:
                        FILE *fp1;
                        char *c, *d;
                       c  = new char[8];
                       d = c;
                       fp1=fopen("C:\\xyz.dcm","r");
                      ZeroMemory(c , 8);
                      for(int i=128;i<=132;i++)
                      {
                       fseek(fp1,i,SEEK_SET);
    ...
    See more | Go to post

    Leave a comment:


  • Rupali12345
    replied to How to read .dcm file using byte array
    in C
    It is DCOM image format..
    I m new in DICOM
    Code:
                        FILE *fp1;
           char *c, *d;
           c  = new char[8];
           d = c;
                       fp1=fopen("C:\\xyz.dcm","r");
            ZeroMemory(c , 8);
           for(int i=128;i<=132;i++)
            {
              fseek(fp1,i,SEEK_SET);
            
            *d =(char)fgetc(fp1);
    ...
    See more | Go to post

    Leave a comment:


  • Rupali12345
    started a topic How to read .dcm file using byte array
    in C

    How to read .dcm file using byte array

    hi all

    I m trying to read an .dcm file using byte array.But i dont know actually how to read byte code from file.please give me any example of reading byte code.
    I search in google also...but in vein.
    It's urgent...

    please help.
    See more | Go to post

  • Rupali12345
    replied to Run an .exe file from an c++ application
    in C
    Hi,

    system("cd C:\\Rupali1\\c+ + examples\\listC oncat\\Debug & listConcat.exe" );

    This is working fine........... .....

    Thanks.
    Happy Programming To U also.
    See more | Go to post

    Leave a comment:


  • Rupali12345
    started a topic Run an .exe file from an c++ application
    in C

    Run an .exe file from an c++ application

    Hi all,

    How to run one c++ .exe file from another c++ application...
    I used following code...but not working..

    Code:
    #include<iostream.h>
    #include<stdlib.h>
    int main() 
    {
    system("C:\Rupali1\c++ examples\listConcat\Debug\listConcat.exe");
    //system("explorer.exe");
    return i;
    }
    See more | Go to post

  • Rupali12345
    replied to Resource file problem
    in C
    why do we use "&" (E&xit)??

    We use" &" sign before letter "x"........ It means tat when we press "x" in keyboard...Exit is pressed.......

    tat is

    we can use & sign for traversing the menuitems using keyboard......
    See more | Go to post

    Leave a comment:


  • Rupali12345
    replied to How float values stored in file??
    in C
    Thanks,
    It's working fine now...I learn many things from this example...
    See more | Go to post

    Leave a comment:


  • Rupali12345
    started a topic How float values stored in file??
    in C

    How float values stored in file??

    hi all,

    In following code itemdescription value is stored properly in file but the float values are stored as different symbols such as @,@A etc.
    If i want to store float values also as it is...what should I do??
    Code:
    
    #include <iostream>
    #include <conio.h>
    #include <fstream>
    #include <string>
    using namespace std;
    
    class Inventory
    ...
    See more | Go to post

  • Rupali12345
    replied to Access violation error
    in C
    it's working fine..NO ERROR...

    Thanks,
    Rupali...
    See more | Go to post

    Leave a comment:


  • Rupali12345
    replied to Access violation error
    in C
    Hi,

    Syntax of strcat is: char * strcat(char *,const char *)

    I changed code as follows..but still same error

    char * str="c:\\";

    add1=strcat(str ,add);

    what should i do to append "c:\\" to the beginning of string add?

    Thanks,
    Rupali...
    See more | Go to post

    Leave a comment:


  • Rupali12345
    started a topic Access violation error
    in C

    Access violation error

    Hi...

    I got exception access violation at

    add1=strcat("c: \\",add); statement...
    why?wats solution?


    void main()
    {
    char * output;
    char * output2;
    char * add;
    char * add1;
    int msgno;
    msgno=1;
    char name1[20];
    char name[20];

    strcpy(name,"na me");
    output2=new char[2];

    itoa((msgno+1), output2,10);...
    See more | Go to post
No activity results to display
Show More
Working...