Search Results

Showing results 1 to 40 of 46
Search took 0.01 seconds.
Search: Posts Made By: karang
Forum: C++ Jan 2nd, 2009
Replies: 2
Views: 550
Posted By karang
Hi

I am writing a code in VC++

char* style = "color:#4D4DFF;font-size:9pt;font-family:Arial;";
char* semicolonsplit = "";
semicolonsplit = strtok (style,";");
But in the last...
Forum: C++ Dec 18th, 2008
Replies: 3
Solved: Emdash
Views: 547
Posted By karang
if I have a variable called text of type char* then

What should I write in VC++ so that it assigns emdash value in the variable text
Forum: C++ Dec 17th, 2008
Replies: 3
Solved: Emdash
Views: 547
Posted By karang
Hi

I have a value of emdash


First of all I want to know Is this — a unicode

If Yes How to convert unicode i.e. — into -- using code in VC++

Regards
Forum: C++ Dec 17th, 2008
Replies: 0
Solved: Date Format
Views: 1,133
Posted By karang
Hi

I want the format of the date like

Fri, Dec 12, 2008

Earlier I used

CTime today = CTime::GetCurrentTime();
CString chdpl = today.Format("%A, %B %d, %Y" );
Forum: C++ Dec 17th, 2008
Replies: 7
Views: 1,026
Posted By karang
Hi

How to convert CString to char* in C++

Regards
Karan
Forum: C++ Dec 17th, 2008
Replies: 3
Views: 793
Posted By karang
Hi Chris

For Example today is wednesday.

How can I get the Week day Name i.e. Sunday, Monday ... from VC++

Regards
Karan
Forum: C++ Dec 17th, 2008
Replies: 3
Views: 793
Posted By karang
Hi

How to get WeekdayName in VC++

I have searched on net and found the use of
CTime::GetCurrentTime();

But this is the lengthy method

Is there any shorter one.
Forum: C++ Dec 17th, 2008
Replies: 1
Views: 393
Posted By karang
Hi

I am using the code to get the current date
CTime aNow = CTime::GetCurrentTime();
char month[3];
char day[3];
char year[6];
char todaysdate[30];

itoa(aNow.GetMonth(), month,...
Forum: C++ Dec 17th, 2008
Replies: 2
Views: 330
Posted By karang
Hi

Thanks a lot

My problem is solved
Forum: C++ Dec 17th, 2008
Replies: 2
Views: 330
Posted By karang
Hi

I am using Itoa function to convert int to string.

CTime aNow = CTime::GetCurrentTime();
char* month;
itoa(aNow.GetMonth(), month, 10);

But I am getting error
Forum: C++ Dec 10th, 2008
Replies: 3
Views: 1,938
Posted By karang
Hi

I have a question regarding the abstract class.

If the class contains 5 pure virtual methods then it is necessary to implement all the methods of the class by the derived class.

Regards...
Forum: C++ Dec 10th, 2008
Replies: 3
Views: 1,938
Posted By karang
HI

I have a class className which is an abstract class. I am attaching the definition in the code snipet below.

when I am writing the line I am getting an error

error C2259: 'className' :...
Forum: C++ Dec 9th, 2008
Replies: 3
Views: 1,009
Posted By karang
Hi

I went through different websites. But I didn't get any tutorial that can tell me how to import a class in C#

Can you please help me out.
Regards
Karan
Forum: C++ Dec 9th, 2008
Replies: 3
Views: 1,009
Posted By karang
Hi

I have defined the class in C++ file as

__declspec(dllexport) int clsName ::CreateDocument(char* filein, char* fileout, char* config)

where clsName is the class name

But after I...
Forum: C++ Dec 5th, 2008
Replies: 3
Views: 416
Posted By karang
Hi

I have a function
bool setStartupDirectory(const SysString &sStartupDirectory)
{}

Now I want to give the prototype of the function how can I do that
Forum: C++ Dec 5th, 2008
Replies: 3
Views: 416
Posted By karang
Hi

I have a virtual function setStartupDirectory()

virtual bool setStartupDirectory(const SysString &sStartupDirectory) = 0;

When I am calling this function
setStartupDirectory((const...
Forum: C++ Dec 3rd, 2008
Replies: 2
Views: 271
Posted By karang
Hi

If I change the definition to

extern "C"
{
__declspec(dllexport) void cls :: CreateInputFilter()
{
ITestPtr pTest = createInstance<ITest>(m_Test);
Forum: C++ Dec 3rd, 2008
Replies: 2
Views: 271
Posted By karang
Hi

I am writing a function in C++

extern "C"
{
__declspec(dllexport) void CreateInputFilter()
{
ITestPtr pTest = createInstance<ITest>(m_Test);
Forum: C++ Dec 3rd, 2008
Replies: 1
Views: 329
Posted By karang
Hi

I am made a library project.

Now I want to use the functions of dll in another project.

As I am new to C++ I don't know how to import the dll and use its function.

Is there any...
Forum: C++ Dec 3rd, 2008
Replies: 2
Views: 2,179
Posted By karang
Hi

I have build one dll project .

I want to use that dll in another project.

But when I include the header file of the project I am getting an error

Error 2 fatal error C1189: #error : ...
Forum: C++ Dec 2nd, 2008
Replies: 4
Views: 2,104
Posted By karang
Hi

I have declared the class in the header file

class Test{
public:
// Constructor
Test();
// Variables
IClassFact *m_pClassFact;
Forum: C++ Dec 1st, 2008
Replies: 3
Views: 703
Posted By karang
Hi


I have include a header file in my main file.

That header file contains the function getPath

But still I am getting this error

error C3861: 'getPath': identifier not found
Forum: C++ Dec 1st, 2008
Replies: 3
Solved: MSXML
Views: 553
Posted By karang
Hi

Yes I have MSXML6.dll present in c:\Program Files\System32

It is working fine in one project but I am unable to configure it another project
Regards
Karan
Forum: C++ Dec 1st, 2008
Replies: 3
Solved: MSXML
Views: 553
Posted By karang
Hi

I am trying to use MSXML. But I am getting error in that so I explored internet and found one useful articles regarding the installation of MSXML
...
Forum: C++ Nov 26th, 2008
Replies: 2
Views: 955
Posted By karang
Hi

I am new to C++

Can anyone please tell me how to refer .lib files in C++

Regards
Karan
|
Forum: C++ Nov 25th, 2008
Replies: 7
Views: 2,367
Posted By karang
Hi

I have created the folder in the root folder of the project.

Regards
Karan
Forum: C++ Nov 25th, 2008
Replies: 7
Views: 2,367
Posted By karang
Hi
Let me elaborate it
I have opened a VC++.net project

When I compile the project I am getting an error.

fatal error C1083: Cannot open include file: 'Test/Testnamespaces.h': No such file or...
Forum: C++ Nov 25th, 2008
Replies: 7
Views: 2,367
Posted By karang
Hi

How can I set the include path in C++ using command line

Regards
Karan
Forum: C++ Nov 25th, 2008
Replies: 7
Views: 3,195
Posted By karang
Hi

I have a simple question

what is the difference between #include <Test/Test.h> and #include "Test/Test.h"

I am sorry but I am very new to C++

The reason I am asking this because when...
Forum: C++ Nov 25th, 2008
Replies: 7
Views: 3,195
Posted By karang
Hi

I am getting this error when I build the project.

I am getting this error in a cpp file

Include statement is
#include <Test/iTestmetafactory.h>
Forum: C++ Nov 25th, 2008
Replies: 7
Views: 3,195
Posted By karang
Hi

Thanks for the reply
You mean to say you want the code of file
Testnamespaces.h
Forum: C++ Nov 25th, 2008
Replies: 7
Views: 3,195
Posted By karang
HI

I am getting this error

Error 11 fatal error C1083: Cannot open include file: 'Test/Testnamespaces.h': No such file or directory

I have included the following statement in the code
...
Forum: JavaScript / DHTML / AJAX Sep 28th, 2008
Replies: 1
Views: 582
Posted By karang
Hi

I have a image control in HTML. By using setTimeOut() I am changing the image in the image control but what I want is to give diffuse effect to the image while changing. Is that possible.
...
Forum: IT Professionals' Lounge Jul 30th, 2008
Replies: 0
Views: 479
Posted By karang
Hi

There are control tags in RTF file according to rtf specifications like \rtf1 \ansi etc.

There is page break control word \page (or \pagebb) to indicate the page break will occur.

I have...
Forum: JavaScript / DHTML / AJAX Jul 24th, 2008
Replies: 4
Views: 2,062
Posted By karang
Hi

I have implemented your code but after that I am not able to save the excel file implicitly through the application, my system asks me to save the file explicitly.

Regards
Karan
Forum: JavaScript / DHTML / AJAX Jul 23rd, 2008
Replies: 4
Views: 2,062
Posted By karang
Hi

I have a textbox and a button on a html page. On click of button I want to save the value in the textbox to a particular cell of the excel file



I have written the following code
Forum: C++ Jul 23rd, 2008
Replies: 5
Views: 762
Posted By karang
Here is the code




#include <windows.h>
#include <iostream>
#include <limits>
#include <string>
#include <windows.h>
Forum: C++ Jul 23rd, 2008
Replies: 5
Views: 532
Posted By karang
Hi

I am using Dev C++ for my development purpose.

I have few queries

1. Can I use it for making professional applications.

2. Is Dev C++ is same as Visual C++.
Forum: C++ Jul 23rd, 2008
Replies: 5
Views: 762
Posted By karang
Hi

I am using a function InitDocStruct() to initialize the document I want to print through my program.

Definition of the function is



void InitDocStruct( DOCINFO* di, char* docname)
...
Forum: C++ Jul 22nd, 2008
Replies: 4
Views: 774
Posted By karang
Hi

Linking problem is solved but Print Dialog is not shown

Regards
Karan
Showing results 1 to 40 of 46

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC