Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~15.0K People Reached
Favorite Forums
Favorite Tags
Member Avatar for asifjavaid

Hi All, I want to develop an application in which I want to record a video in **silverlight** and send it to the server. I have the following questions in my mind. 1. In which format the video will be record in silverlight using Webcam ? (Raw format OR WMV …

Member Avatar for Ketsuekiame
0
330
Member Avatar for asifjavaid

hi guys , hope you are all fine. i want to created MS word doc file to pdf file converter in MS Visual Studio 2005.. can any one help me what will be the procedure to develop such a thing? Waiting for good reply... Asif Javaid Chughtai.

Member Avatar for SummiRS
-1
413
Member Avatar for asifjavaid

Hi all, Likewise in SQL Server, after every transaction, an error number is set to the global variable @@ERROR. So we easily make a check in SQL SERVER stored procedure, [CODE]IF @@ERROR = 0 SELECT 'SUCCESS' ELSE SELECT 'FAIL'[/CODE] How can I do the similar thing in MySQL. How can …

Member Avatar for cereal
0
133
Member Avatar for asifjavaid

Hi, I am working on a application which is base on ADO.NET Entity Data Model. I want to insert Current Timestamp of Server while insertion and updation using LINQ query. Fox Example [CODE]INSERT INTO table SET time_field=CURRENT_TIMESTAMP() WHERE id=?"[/CODE] I need to execute CURRENT_TIMESTAMP() in LINQ Query because I need …

0
69
Member Avatar for asifjavaid

Hi all, I working in VC++. I have a void pointer. I am assigning a memory block to it using malloc(). void* buf_ptr = NULL; buf_ptr = malloc(1428480); I am filling this buffer using fread(). and I want to index this buffer (buf_ptr) to acces its data. How can I …

Member Avatar for asifjavaid
0
2K
Member Avatar for asifjavaid

Hi, I have a file of approximately 4.19GB. I want to get the totall size of file using code in VC++, Here is my code [code] FILE *fptrSampleVideo = fopen(filename,"rb+"); if(fptrSampleVideo) { fseek(fptrSampleVideo,0,SEEK_END); uncompressedVideoSize = ftell(fptrSampleVideo); } [/code] If the file is of small size, ftell() return position correctly and …

Member Avatar for Ancient Dragon
0
314
Member Avatar for asifjavaid

Hi, I am in problem. I have written some code in VC++.NET 2008. It is using third part AMT SDK. It is using file handling of C using fopen() function. The file are opened in binary mode (rb). It is working very perfect according to our requirment on my local …

Member Avatar for cikara21
0
1K
Member Avatar for asifjavaid

Hi, I have an application which is currently in VC++.NET 2003. It is using two static libraries, 1. mfc71d.lib 2. wsock32.lib. Now I want to convert this application in VC++.NET 2005. But it contains mfc80d.lib instead of mfc71d.lib. If I change this static library to mfc80d.lib, my application in VC++.NET …

Member Avatar for ddanbe
0
234
Member Avatar for asifjavaid

Hi, I am new to COM Programming. I want to initialize COM library. I am calling hr = CoInitializeEX(NULL); but hr = S_FAIL. and my code is stopped. What I have to do further to execute COM program written in VC++.NET 2005. -- Regards, Asif

Member Avatar for Laiq Ahmed
0
194
Member Avatar for asifjavaid

Hi, I working on COM Components in VC++.NET 2005, [CODE]HRESULT hr = spCrypt.CoCreateInstance(__uuidof(Cryptographer::TMMPlayerHelper), 0); if( FAILED(hr) ) spCrypt = 0;[/CODE] I am facing an error here. I debug the code and found that "CoCreateInstance()" is returning a message "Class is not registered" an my program gets crash. How can I …

Member Avatar for asifjavaid
0
173
Member Avatar for clutchkiller

Hi guys, im trying to call a function with in another and for some reason i am getting In function `int bDisplay()': `move' undeclared (first use this function) (Each undeclared identifier is reported only once for each function it appears in.) In function `int move()': `int move()' used prior to …

Member Avatar for clutchkiller
0
134
Member Avatar for Nick6425fl

I have 1 line in this code that I can't get to compile. I'm new to C++ and begging for some help...any advise would be appreciated. [code] #include <iostream> #include <iomanip> using namespace std; double population(double pop, double birthRate, double deathRate); void printPopulations( double startPop, double birthRate, double deathRate, int …

Member Avatar for Nick6425fl
0
145
Member Avatar for fmwyso

Hey, I am wondering how I can grab all the selected strings from a ListBox with multiple selection on... I tried looking for it on google and everything, and I know about SelCount but I haven't been able to find out how to grab the strings or the indexes of …

Member Avatar for fmwyso
0
443
Member Avatar for bugmenot

If I initialize graphics in my program and then use cout the font appears bigger than normal and the cursor doesn't blink on the screen as it does when the graphics are not initialized.Is there any way I can use graphics as well as cout in my program?If yes how …

Member Avatar for asifjavaid
0
751
Member Avatar for asifjavaid

I have make a win32 dll in VC++.NET 2005. It contains a simple add funtion. I have also make a console client application in VC++.NET 2005. how can i access that add function in my client application? Regards Asif

Member Avatar for William Hemsworth
0
90
Member Avatar for asifjavaid

Hi sir, I am making a win32 dll in VC++.NET 2005. I make an add funtion in it and then i call it from C# using System.Runtime.InteropServices; [DllImport("MXFWrapperMarvel.dll", EntryPoint = "add")] static extern int add(int a, int b); [code] ----------------------MXFWrapperMarvel.dll------------without header files--------------- #include "stdafx.h" #include <AtlConv.h> #ifdef _MANAGED #pragma managed(push, …

Member Avatar for cikara21
0
254
Member Avatar for asifjavaid

Hi all guys, I am using MS VC++.NET 2003 I have also installed MS VS++2005 and 2008 on the same computer. Now when I ran the previous programs which are programed in VC++2003, now I am facing the following errors. Error spawning 'link.exe' Error spawning 'cl.exe'. can any one tell …

Member Avatar for Denniz
0
214
Member Avatar for asifjavaid

Hi guys, Hope you are fine by all means. I am developing a video plugin in VC++.NET by using directshow filters. My software is getting input of wmv file and it will be uncompressed generating two files video and audio. Now i want to get input for MPEG-2 video format. …

0
90
Member Avatar for asifjavaid

hi guys, working in C using Borland Compiler we can get scan codes of keyboards keys by this code [code] ch = getch(); if (ch == 0) ch = getch(); printf("%d",ch); [/code] because when first time getch() is called, it will return the ascii code of the pressing key. when …

Member Avatar for ssharish2005
0
1K
Member Avatar for asifjavaid

hi guys, i have declared a char pointer. i am using this in itoa() function to convert integer data into hex data e.g [code] char * hexData= NULL; itoa(1484820,hexData,16);[/code] this results in equalent of 1484820 in hex decimal and store it in hexData. now when I want to some process …

Member Avatar for ArkM
0
171
Member Avatar for asifjavaid

hi guys, I want to call win32 dll in C#. It has parameters encode(char *argv[]). what i have to write in in C# in the placa of char *argv[]. I have make my efforts see my code below but vain. [code] // in C++ int ConvertBinToAmt(char JFIF_NTSC_XML_File1[],char JFIF_NTSC_XML_File2[], char DestinationFolderName[],char …

Member Avatar for LizR
0
199
Member Avatar for eehyf

Hello, I faced a problem to use a function in struct format. If I insert the data to the Contact("Ada", "ada@ust.hk", "12345678")). How can I print it out by using the Contact class member "print"? Thank you. [code=cplusplus] typedef struct DLL_node { DLL_node *prev; DLL_node *next; Contact *contact; } DLL_node; …

Member Avatar for eehyf
0
183
Member Avatar for asifjavaid

Hi fellows, How can I set a value of any type in VARIANT const pointer? I am tried my best but vain. I am facing compile time error. Here is sample code [CODE]VARIANT *v=NULL; v->bstrVal = "Video.Bin"; another try VARIANT *pValue; //BSTR *fileName; const char* pName; pName = "Video.bin"; pValue …

Member Avatar for asifjavaid
0
2K
Member Avatar for asifjavaid

hi all, I want to convert a string contain hex format '0x15' and what to convert it integer because i want to write data contain by a integer variable in hex format (binary data) into the file. here is my code [code=c] char * str = "0x15"; int value; FILE …

Member Avatar for Narue
0
4K
Member Avatar for asifjavaid

Hi all :) , I am working on video plug-in in C++.NET. I have a video file. Its size is not fixed. It can be in MBs or GBs. I have calculated sample size and sample count of video file and now I want to prepend (insert in the beginning …

Member Avatar for Ancient Dragon
0
111
Member Avatar for asifjavaid

Hi all, God Bless U, [B]Thursday, October 19, 2006[/B] [COLOR=red][B]first i am writing the my problem again......:!: [/B][/COLOR] i am facing a problem in SQL Server. I am have a table given below.. ------------------------------------------------ Table name is "A" ------------------------------------------------ 1 Michle Administrator 2 John Consumer Finance Officer 3 Jackson Employer …

0
60
Member Avatar for asifjavaid

Hi all,:confused: God Bless U, i am facing a problem in SQL Server. I am have a table given below.. ------------------------------------------------ Table name is "A" ------------------------------------------------ 1 Michle Administrator 2 John Consumer Finance Officer 3 Jackson Employer 4 Goeffery Empl0yer ------------------------------------------------ Here the identity column is the first one. Now …

Member Avatar for asifjavaid
0
96