|
the error is in open
the code does not arrive to execute insert
|
|
|
|
|
I was reading MSDN some more on this. Maybe since the DAO object is created in the separate thread, but you don't supply arguments, it tries to use the DAOWorkSpace from the primary thread as the default. Maybe you also need to create a DAOWorkSpace in the secondary thread and explicitly use it during the Open call. I am running out of suggestions, so I hope this most recent one helps!
|
|
|
|
|
Hi
I'm opening a file using:
ofstream FicNet; //variable pour écriture de fichier
FicNet.open ( "nomFichier", ios::out);
if (FicNet.fail())
{
exit(2);
}
else
{
FicNet << "! "<
|
|
|
|
|
Why open it first? Can't you just use CopyFile() ?
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
Hi
I'm opening a file using:
ofstream FicNet; //variable pour écriture de fichier
FicNet.open ( "nomFichier", ios::out);
if (FicNet.fail())
{
exit(2);
}
else
{
FicNet << "! "<
|
|
|
|
|
Take a look at the GetSaveFileName() function in the Win32 platform SDK on MSDN.
Human beings were not meant to sit in little cubicles staring at computer screens all day, filling out useless forms and listening to eight different bosses drone on about about mission statements. -- Peter Gibbons
|
|
|
|
|
can anybody solve my problem!
i am getting header information of shape file but i dont know how to convert big endian byte order data to little endian byte order.
|
|
|
|
|
|
sorry i cant understand what u say?
|
|
|
|
|
Please follow the link I posted to an earlier message in this very same forum asking and answering the very same question.
|
|
|
|
|
Did you bother to test your clickety before submitting your message.
No wonder the guy was (still is) confused.
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" mYkel - 21 Jun '04
Within you lies the power for good - Use it! Honoured as one of The Most Helpful Members of 2004
|
|
|
|
|
|
YEs this one has the desired result
|
|
|
|
|
|
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" mYkel - 21 Jun '04
Within you lies the power for good - Use it! Honoured as one of The Most Helpful Members of 2004
|
|
|
|
|
I have written a program which launches another application which displays a Tree. Thru my application, I obtain a handle to the window which displays the tree. using this handle I want to grab the tree. Is there a way I can do that. The program I am writing is in C# but I thought that some help from the VC++ section would do. I now know that there is CWnd::Attach and Detach in VC++ . Is there a way to call this from C#.
Abhishek
|
|
|
|
|
You can call GetClassName() on the window handle, and see if it is a "SysTreeView32" class. If it is you can send TVM_* messages to it to get the information you need.
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" mYkel - 21 Jun '04
Within you lies the power for good - Use it! Honoured as one of The Most Helpful Members of 2004
|
|
|
|
|
I am developing an application which is looking at the process running on the PC. For Explorer.exe I can get the window title, but does anyone know where in the registry, if at all, this title matches up with a folder name.
For example
Title=RandP
CommandLine=C:\WINDOWS\Explorer.EXE
so how do I get at the text in the Address control of Explorer ? does this info get saved/stored in the registry ?
Any help would be much appreciated.
Phil Gibson
|
|
|
|
|
philgibson wrote:
so how do I get at the text in the Address control of Explorer ?
You have to Write Browser Helper Object for Window Explorer!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
philgibson wrote:
does this info get saved/stored in the registry ?
Nope
philgibson wrote:
so how do I get at the text in the Address control of Explorer ?
You have To write Browser Helper Object for Window Explorer. Search Browser Helper Object in google to know more about it
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
Hi
Im using the adobe acrobat ocx to show a .pdf in my application`s dialog.
I can´t allow the user to print, copy or capture data in the pdf...
so
Does anyone knows the way to get rid of the toolbars?
Thanks in advance
Sebastian
PD: this is a freelance project so, i can´t afford the fee for the Adobe SDK/library.
|
|
|
|
|
can any body tell me how to render points on client area using Cpoint class?
|
|
|
|
|
How about using SetPixel? Use the CClientDC to get your DC set up.
|
|
|
|
|
thnx Blake .sorry i m newer to VC invorment that y i am not understanding ur point actually i want to display some points which i stored in CPoint array .but i dont know how to render on CClientRect.
|
|
|
|
|
Hi,
You can use SetPixel function for that.
SetPixel(dc,pt.x,pt.y,RGB(255,0,0));
Refer MSDN document for SetPixel..
Thanks & Regards,
Gopal
" Action without vision is only passing time,
Vision without action is merely day dreaming,
But vision with action can change the world "
- Words from Nelson Mandela
Thanks & Regards,
Gopalakrishnan
|
|
|
|