vc++.net

How to import a tlb and a namespace in c++ at runtime when some condition meets ?

Hi Generally we import a tlb file at the starting of the program like #include < stdio.h > #import " sql.tlb " But i need to import a tlb file when certain condition meets in the middle of the program how can i do this. to load dll there is LoadLibrary() but to load tlb can i use LoadLibrary(). Since tlb is generated by using .dl...

c++ .net HTML parser

Is there a library to parse a HTML response in in C++ .net? ...

Can I use the VC++ 2005 compiled DLL in not DOT-net application i,e compiled in VC++ 6.0 ?

I have a application developed using VC++ 6.0, I want to use some DLL's which are complied in VC++2005 (visual studio 2005), is this possible to use these dll in tat application? I can port my application to 2005 but there are few issues which need some time to fix, I want a fast release, Can anyone tell me is this possible to do this? ...

Getting motherboard unique ID number thru vc++ programming

Is there any Unique ID or OEM (Original Equipment Manufacturer) number for Motherboard, if it is there , how can i get it thru vc++ programming? any hint or help is appreciated. ...

How to use CrystalReportViewer Control in MFC application?

How can I view crystal report (use CrystalReportViewer control) in Visual C++ .NET MFC-application? I know I can use it in managed C++ application, but I already have a MFC project. ...

How to load a VC++ CLR library in MFC application?

HI I have a application developed in VC++6.0 ,now I want use some new features from .NET and developed a library, to develop this library I have to use the CLR-VC++ now I packaged this in a DLL.Now I need to call the routine of this DLL in my MFC application. I tried to write a small MFC application to load this DLL, All the time the Lo...

How to UpdateCommand works on DataSets C++.Net 1.1

Hello, Im looking for similar functionality on C# 2.0 (people works with typed datasets and foreign keys) as referenced in these posts : Post 1 or Post 2 My question is How to update changes on db where a row in Table "A" displayed on DataGrid "X" is modified (user change database value showed). (*) Table "A" is joined with "N" Tables ...

wrong return value by mysql_num_fields in C++

For table creation and insertion i am using these string. Create table mystudents(sname varchar(50),sno varchar(25),mark1 numeric,mark2 numeric); insert into mystudents values('lala','tk001',100,100); int status = mysql_query(hnd,sql); if (status) { printf("Could not execute statement(s)"); mysql_close(hnd); /...

vc++ services hanging

hai... am wrote service in vc++ .net 1.1.for execute another one exe and use timer for check that corresponding exe running or not. its running nicly..but when over mouse on application(exe)ui system hanging. have solution for this.. ...

Can C++.NET and J# be used to make a website?

I didn't see an option to create a web site in the c++ area. Is there a way around this or am I just stuck with C# and VB.NET ...

gcnew KeyEventHandler compile problem (VC++)

My managed c++ code fails to compile with the error message .\Window.cpp(11) : error C2440: 'initializing' : cannot convert from 'System::Windows::Forms::Form ^' to 'Enviroment::Window ^' No user-defined-conversion operator available, or Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast o...

CLR equivalent to MFC CStringList

Hey. I'm trying to get this code http://www.codeguru.com/Cpp/W-P/files/inifiles/article.php/c4455/#more to compile under a CLR WinForms app I'm making. But what is the right syntax? A CString under CLR is to be written System::String but what about CStringList? (I figure it's a string array) ...

How to select multiple files with an OpenFileDialog?

I have a WinForms application with an OpenFileDialog in it and I'd like to enable selection of multiple files when the user interacts with the dialog. How can I accomplish this? ...

Multiple Language support

hi i have one EditBox and it has to support multiple language. i have given language options in ComboBox "English","Chinese","Frenche" according to the user choice the EditBox should support the language. plz help ...

Dynamic created button resizing

I have created buttons dynamically: CButton* m_btn = new CButton(); m_btn->Create(csIconText, BS_FLAT|WS_VISIBLE|WS_CHILD|BS_PUSHBUTTON|BS_ICON, CRect(0, 0, 80, 80, 8001); ...after creating a button and resizing it: CButton* btn = (CButton*)GetDlgItem(8001); btn->SetWindowPos(0, 0, 0, 50, 50, SWP_FRAMECHANGED | SWP_NOZ...

Caption Widget mouse events

Hi, I want to capture the left and right mouse button of caption widget how to do that? ...

What exactly is the "Multi-threaded Debug DLL" Runtime Library option doing in VS 2008?

I have a solution in VS 2008 that creates a DLL. I then use that DLL in another application. If I go in to the DLL projects property pages and change the following configuration for a DEBUG build then the built dll no long provides the desired functionality. If I change it back and rebuild the DLL, then the DLL does provide the correc...

Flash vs. Ajax Abilities

Hey everyone. I want to develop an application that does a bunch of cool stuff. The first thing that I need in it is to get information about the page a person is browsing. With that said, I need for example to know how long a user stayed in a page and where was the scrollbar. While getting that data, It's all saved to a database. The...

How to run vc++ .exe file where MS Visual Studio is not installed?

Hi All.... I developed one application in vc++(console) in Visual Studio 2008 . Now, how can I run its .exe where Visual Studio is not installed? Thank you. ...

File browsing application in vc++

Hi all, I'm building an application in vc++. Here I want to browse my file system and select some file. Can anybody tell me how to do? Thank you. ...