|
If you build project in "Debug" mode - try to build it in "Release" mode.
|
|
|
|
|
Hi.
Anyone know a way of saving a controls graphic content to file without using Graphics->CopyFromScreen()?.
Thanks
|
|
|
|
|
Create a bitmap, use the DrawToBitmap method of the control, then save the bitmap.
---
b { font-weight: normal; }
|
|
|
|
|
Hi dear friends,
Does anyone know how to use CORBA C++ Servers in .Net,
I use a poroxy dll for connecting to CORBA servers.
I want to port this proxy dll to managed, but I can not even compile it in VC 8.0
Please help me.
Thanks very much.
|
|
|
|
|
Have you Googled on CORBA and .NET? Looks like you may find your answer in one of the links.
Kevin
|
|
|
|
|
hay ,
i tried to set up saveas command but instead of writing the full path of the file at the first variable in the command , i fill in the upper directory like this :
FullExcelReportPath="Reports\\";
book.SaveAs(COleVariant(FullExcelReportPath),
covOptional, covOptional, covOptional, covOptional,
covOptional, 1, covOptional, covOptional,
covOptional, covOptional, covOptional);
but it send me an error .
it work only if i'm writing the full path ("d:\\Reports")
how can i solve it?
eve
|
|
|
|
|
Hello!
I am trying to catch a reminder and incoming mail of the outlook...
I am able to catch them, but the problem is that I can't see the content
of the mail, or the content of the reminder...
Maybe someone knows how I can check it?
(I'm programming in .NET 1.1)
Any help would be appreciated!!!
Thanks in advance!
|
|
|
|
|
Hello,
I want to write a simple program which adds .vcf files to outlook contacts, i mean a program which imports the .vcf file to the contacts list by doing the functionallity of (File->Import and Export->Import a VCardFile)
How can I achive this goal?
Thank you very much...
|
|
|
|
|
Hello, i've made an applet on .Net 1.1, it's uploaded here:http://arkafon.com/test.html
the applet is Image editor that needs to have the ability to call the Web-Services, as well as load image from the server.
During the initial start it automatically does both of this and i get:
System.Security.SecurityException: Request for the permission of type System.Net.WebPermission
I go to the .Net Configuration 1.1 applet, and do each of these:
a) click on "Trust assembly" and put the full paht to my assembly "http://arkafon.com/ImageEditor.dll"
b) add proper code groups to enterprise\machine\user levels, and tight either to strong name or url, or whatever
none of these approaches doesn't help, what should i do?
can it be caused by my hoster, should i add something to the web.config file?
I try to Evaluate Assembly and it's written that i have unRestricted rights.
THanks for help
|
|
|
|
|
You code actually runs on the client-side. The client will not trust your code since it comes via the internet and not locally. I believe you have about the same issues ActiveX applets have.
Anyway, this might help: http://www.developerfusion.co.uk/show/4683/[^]
-- modified at 17:51 Friday 7th April, 2006
|
|
|
|
|
The problem is, i'm giving permissions on the clients.
I've found this link Common Issue: Security Exceptions
It might help, for those guys that facing the same problem
|
|
|
|
|
I've found the problem - my assembly calls web-method and loads image from another host.
I suppose i should write something to web.config on that very server. can you say what?
Also what's the purpose of .Assert(), when i do this:new SecurityPermission(SecurityPermissionFlag.AllFlags).Assert();
before the method that loads image, i get this kind of exception:
"System.Security.SecurityException: Request for the permission of type System.Security.Permissions.SecurityPermission...
Can the user somehow allow this activitiy for this particular app? like saying "Allow this app to do this un-secure activity? Yes\No", or i should always
create the Code group for this assembly?
|
|
|
|
|
|
Hi,
how i can read/write from/into the serial port with c++.Net, i use vc++.Net 2003.
|
|
|
|
|
The .Net Framework 1.1 doesn't directly support the serial port (It is now supported in version 2.0). You will have to use IJW, P/Invoke or a combination of the two. I believe there are some articles on Code Project that deal with this issue.
-- modified at 16:14 Friday 7th April, 2006
|
|
|
|
|
Hi friends ,
I need one help from you, please help me.
When i create deployment program in .NET, i used script in custom actions (install) for retrieving existence of older version of that product.
If (old version exists)
{
display popup message box with Yes/No button
}
If (user click Yes button)
{
Install new version
uninstall old version
}
If (user click No button)
{
rollback installation from new version
Keep the old version as it is
}
I couldn't get idea to rollback current installation . Please help me.
Is it possible in any other way other than script programming?
Thanks & Regards,Lisa
|
|
|
|
|
Hi All,
Would u tell me
what are the settings needed under WinCE Registry to work the ISAPI extension DLLS?
How to do it?
Thankx in advance,
Regards,
Ramesh.
|
|
|
|
|
Using Microsoft Visual C++ .NET (2003)
I would like to put three windows into a Form.
Each window should be resizable inside the
real estate of the form.
Is the above allowed/supported in the
.NET framework?
Many thanks for any guidance/example.
|
|
|
|
|
|
Thank you Sir.
Will consider it.
Regards.
|
|
|
|
|
I need to process word document (microsoft word 2003) in my .net application. Please let me know are there any framework classes provided by .net
|
|
|
|
|
Visual Studio Tools for the Microsoft Office System,you can get it from Microsoft's website
|
|
|
|
|
I am not able to read & write to serial port in WINDOWS CE using embedded visual c++. i am including the code i have tried.
//writing
DWORD dwError,dwNumBytesWritten;
int rc;
HANDLE hPort;
BYTE B;
TCHAR* pFileName = TEXT("COM1:");
B='a';
hPort =CreateFile(pFileName,GENERIC_READ| GENERIC_WRITE,0,NULL,OPEN_EXISTING,0,NULL);
rc=WriteFile (hPort,&B,1,&dwNumBytesWritten,NULL);
CloseHandle (hPort);
//reading
DWORD dwError,dwNumBytesRead;
int rc;
HANDLE hPort;
BYTE B;
TCHAR* pFileName = TEXT("COM2:");
hPort =CreateFile(pFileName,GENERIC_READ| GENERIC_WRITE,0,NULL,OPEN_EXISTING,0,NULL);
rc=ReadFile (hPort,&B,1,&dwNumBytesRead,NULL);
MessageBox(NULL,TEXT(""+B),NULL,MB_OK);
CloseHandle (hPort);
can anyone please halp me
Thanks for your reply in advance.
|
|
|
|
|
Hi,
hopw every one enjoying
i have a problems and want its solution by all people
first understand the problem
PROBLEM DISCRIPTION
i have two different source code (source file) written in C#. now when i compile the both seperate compiler generates the MSIL files for both. keep in mind untill now these are two different files. no i want that when JIT (just in time compiler) after MSIL generate the NATIVE CODE it should combine both files and generate the single EXE or ASSEMBLY files
SOLUTION
i can use ILMERGER avilable in .Net framework or any other utility.
PROBLEM IN SOLUTION
i have to provide the reference in my file so that it can be merge with the 2nd file like i have to write USING ILMERGER in my one file
now i do not want any kind of reference or even a hint included in my both files they should be independent
plz help me
thanks
regards
ahmed hasan
|
|
|
|
|
In my app, many threads are created by BeingInvoke now. As all these threads are managed by ThreadPool, I can not get info about these backgroud threads.
So I decided to create a thread manager of my own. In this case all the thread will not be run backgroud. What should I be careful with?
Thank you for your advice!
|
|
|
|