I'm working on an application so i have write an dll which contain a form with some additional work and methods. so in the beginning of my program the thread launch this form (from my dll) to get some informations and then hide it and initialize some components and the application form and then show it. when the thread come the line wher...
I'm having trouble getting intellisense to auto-complete shared pointers for boost 1.40.0. (It works fine for Boost 1.33.1.) Here's a simple sample project file where auto-complete does not work:
#include <boost/shared_ptr.hpp>
struct foo
{ bool func() { return true; }; };
void bar() {
boost::shared_ptr<foo> pfoo;
pfoo.get()...
Upon loading into a C++ program a Prolog program that contains the command 'send' (xpce graphics), I get error messages of type:
Syntax Error: Operator Expected.
Here is an example command that causes the errors:
send( Dialog, append, button(continue, message(@prolog, clear_my_blackboard)) ),
I used to get the same errors when I us...
Hi, I would like to ask for a recommendation on offline form format which user can bring around. Once done, they will upload the file to the server and data will be extracted from there.
We are currently looking at Word and Excel 2003 since all users have it on their machine but it seems that using interops on server is something to avo...
I want to configure the tree view component so that would be the topmost parent node would have no chex box and all the others had.
...
here is the problem. I have one PC using VS2008 (SP1 ) and another PC using VS2008(normal). I want my .Net projects to be editable in both these PC's. So naturally my projects use .Net 3.5 by default and not .Net 3.5 SP1.
So, Is there a way I can fix my VS2008 (SP1) version to stick to .Net 3.5 and not .Net 3.5 SP1. In project propertie...
i create my own dialog form with two buttons (ok, cancel) and checked list box. i want to get all selected strings in first form which shown second form. for that purpose i do function GetSelected which return CheckedIndices->GetEnumerator() of my list box. now i want to deselect all strings on pressed cancel button. And deselect all st...
Hi.
I have a process that contains C# code, C++\CLI code and native c++ code.
Now, I'm trying to remote debug my process, and I can go to the statements of my C# code and my C++\CLI code, but I can't reach my native code.
When I try to hit a breakpoint in my native c++ source file, I get the "No symbole have been loaded" error. I tried ...
Addding data into kartlar table (RehberID,KampanyaID,BrimID) is ok. But which Kart'ID created? I need to learn which Id created after adding data (RehberID,KampanyaID,BrimID) into Kartlar?
public static List<Kartlar> SaveKartlar(int RehberID, int KampanyaID, int BrimID, string Notlar)
{
using (GenSatisModuleEntities genSatisCtx = ne...
visual studio 2008 allows c# code to be segregated into regions
is there an equivalent for javascript?
...
I have a table it includes 3 foreign key field like that:
My Table:
Kartlar
ID (Pkey)
RehberID (Fkey)
KampanyaID (Fkey)
BrimID (Fkey)
Name
Detail
How can i write entity query with linq :?
select * from Kartlar where RehberID=123 and KampanyaID=345 and BrimID=567
BUT please be careful I can not see RehberID, KampanyaID, BrimID...
I have a large project of mixed C/C++. I've created a simple visualizer for the ICU UnicodeString class as follows...
[inside autoexp.dat]
icu_4_2::UnicodeString {
preview ([$c.fUnion.fFields.fArray,su])
}
...and that works fine. Inside the debugger wherever I see the object I now see the text inside in the preview line.
...
Hi,
I have got a problem with some basic OpenCV code.
Here is my code:
cv::Mat src;
src=imread("Calibration.bmp",0);
if (src.empty())
cout << "Cannot load image" << " ";
else
cout << src.cols << " " << src.rows << " ";
Unfortunatelly cv::imread returns NULL matrix with any kind of input image (I have tried .bmp, .jpg). The ...
I already have a project folder, with relevant files inside. I need to change the working directory in Visual studio to this project folder, I just can't find how to do it in Visual studio.
It seems I can only create a new project or open a solution file, but not set the working directory to the folder I want and start work on existing ...
i want to create functions what get the folder size. I write small function:
private: unsigned long long GetDirectorySize(String^ path) {
unsigned long long size = 0;
DirectoryInfo^ diBase = gcnew DirectoryInfo(path);
if (!diBase->Exists) return 0;
array <FileInfo^>^ files;
array <FileSystemInfo^>^ files2;
try {
...
I am new to using .config files, having worked on apps that use .INI files and the registry until very recently. I am seeing a behavior in VS2008 that I would not anticipate, and wonder if it is the expected one.
When I configure the Working Directory setting in the VS2008 IDE for my Foo.exe application, I would have guessed that Foo.ex...
Is it possible to change the type of a TFS work item? For example, I have a Bug I would like to change to a Change Request.
...
I recently upgraded my VS2005 projects to VS2008, I can compile all of my projects using the VS2008 IDE and they all compile w/o any errors. However when run DevEnv from the command line to build my projects the first line of the output file is
Package 'Microsoft.VisualStudio.TeamFoundation.VersionControl.HatPackage, Microsoft.VisualSt...
In Visual Studio 2008, I can specify a message to be printed when a breakpoint is hit (by right-clicking the breakpoint and choosing 'When Hit...'). When the program is run, these messages appear in the Output Window. I would like to know, is there any way to redirect them to a file?
Specifying >file.txt as a command argument to the pro...
I noticed today that a source code file in a project was compiling even though it had junk at the top of it. It got me wondering what all would pass without error through the compiler. Here is an example of code that will not generate any error messages:
what kind of weird behaviour is this???
#include "stdafx.h"
// what is up?
int...