- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 6
- Posts with Downvotes
- 4
- Downvoting Members
- 4
13 Posted Topics
Hi, I want to add data to a GridView from two diifferent DataSources. I found a solution to join both tables in DataSource query and bind resultant DataTable to GridView. But in my case I don't have any common field (identifier) to apply join ON. How can i get data … | |
I need to do the following: -> open Excel file -> change values of required cells -> then save the file right now I am doing this: [code] Excel.Application xlAppoutput = null; Excel.Workbook xlWorkBookoutput = null; Excel.Worksheet xlWorkSheetoutput = null; Excel.Range rangeoutput = null; try { xlAppoutput = new Excel.ApplicationClass(); … | |
Hi, How can I setBounds of a component in percentage of screen size so that the interface looks same on different resolutions. I am using Visual Studio 2008. When I click on a button in designer view it shows me button's properties on right side. There I can set Location … | |
I want to write a Code in C which can create copy any given file (txt, bmp, jpg, pdf etc) what i've written so far is: int main(){ FILE *fp; char ch; FILE *fpW; if((fpW = fopen("file2.gif","wb"))==NULL) { printf("Cannot open Destination file.\n"); exit(1); } if((fp = fopen("file.gif","rb"))==NULL) { printf("Cannot open … | |
Please tell me how can i access the cache in C++ code .... ??? | |
Hi, can anyone tell me that how can i check,In C++ Code, if the app i am working on is IE Or FireFox ?? Details: I want to make a c++ programe that Once I run it's exe ... and after that when my Ctrl is on IE/FireFox my C++ … | |
I want to pass char array to pthread_create but i am confused that how to use that array inside the thread function .... coz that function takes pointer to that array .. not the array. [CODE] void thread_function(void *clientNum, void* cp) { char localArray[30]={'\0'}; // How can i copy the … | |
Plz tell me how can i delete a particular string from given file .... plz help .. I've no idea :( | |
Hi, I've been working in C++ and java .... i m fond of using String data type .... but in C I've to use char array as string and have to pass it to a function as string its creating some confusions plz help [CODE] void function( charArray comes here … | |
[CODE]while(size!=0) { printf("loop start"); printf("File Size in int: %d \n",size); byte_count = recv(sock,recv_data, 1024,0); recv_data[byte_count] = '\0'; printf("hhahaha %d \n",10); printf("char is:%c \n",recv_data[0]); //fputc(recv_data[0], fpW); size=size-1; printf("loop end"); } fclose(fpW); This is a piece of Client side code .. i am sending data from Server Side but when i receive … | |
Bellow is the piece of code that causes Segmentation Fault: (in Linux Segmentation Fault is usually due to illegal memory access) else if(intData==3) { FILE *fp; int ch; if((fp = fopen("file.txt","rb"))==NULL) { printf("Cannot open Source file.\n"); exit(1); } while((ch = (int)fgetc( fp )) != EOF) { printf("%s",(char*)ch); send(client, (char*)ch, 1,0); … | |
Bellow is the piece of code that causes Segmentation Fault: (in Linux Segmentation Fault is usually due to illegal memory access) else if(intData==3) { FILE *fp; int ch; if((fp = fopen("file.txt","rb"))==NULL) { printf("Cannot open Source file.\n"); exit(1); } while((ch = (int)fgetc( fp )) != EOF) { printf("%s",(char*)ch); send(client, (char*)ch, 1,0); … | |
I want to write a Code in C which can create copy any given file (txt, bmp, jpg, pdf etc) what i've written so far is: int main(){ FILE *fp; char ch; FILE *fpW; if((fpW = fopen("file2.bmp","w"))==NULL) { printf("Cannot open Destination file.\n"); exit(1); } if((fp = fopen("file.bmp","r"))==NULL) { printf("Cannot open … |
The End.