Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
25% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
6
Posts with Downvotes
4
Downvoting Members
4
3 Commented Posts
~4K People Reached
Favorite Tags
Member Avatar for adi.shoukat

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 …

Member Avatar for kvprajapati
0
148
Member Avatar for adi.shoukat

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(); …

0
94
Member Avatar for adi.shoukat

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 …

Member Avatar for adi.shoukat
0
331
Member Avatar for adi.shoukat

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 …

Member Avatar for Adak
0
2K
Member Avatar for adi.shoukat
Member Avatar for adi.shoukat

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++ …

Member Avatar for Clinton Portis
0
97
Member Avatar for adi.shoukat

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 …

0
74
Member Avatar for adi.shoukat

Plz tell me how can i delete a particular string from given file .... plz help .. I've no idea :(

Member Avatar for William Hemsworth
0
94
Member Avatar for adi.shoukat

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 …

Member Avatar for Ancient Dragon
-2
152
Member Avatar for adi.shoukat

[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 …

Member Avatar for dkalita
0
252
Member Avatar for adi.shoukat

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); …

Member Avatar for Cosmin871
-1
88
Member Avatar for adi.shoukat

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); …

Member Avatar for Ancient Dragon
-1
108
Member Avatar for adi.shoukat

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 …

Member Avatar for Dave Sinkula
0
210