|
I think it will mostly depend on how the application is written. Keep in mind that WPF is a vector based display technology, but it shouldn't have a problem.
The better option will probably be to rewrite the application to take advantage of WPF and the data binding capabilities rather than to just port it. WPF is a completely new beast and there are better/different ways to do things than we had in WinForms.
-----------------------------
In just two days, tomorrow will be yesterday.
|
|
|
|
|
In my application i want to copy a file different computer in the same network without mapping that folder in my machine,is that possible,
please help
Tony
|
|
|
|
|
You can always get the file using the UNC path.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi all,
I am making simple screen capture win32 application using VC++.NET. I am able to capture it in the memory and getting handle of that bitmap but I am not able to show that bitmap in Picture Control in dialog box. Can I know what wrong with my code??
I am pasting my code here.
int nScreenWidth = GetSystemMetrics(SM_CXSCREEN);
int nScreenHeight = GetSystemMetrics(SM_CYSCREEN);
HWND hDesktopWnd = GetDesktopWindow();
HDC hDesktopDC = GetDC(hDesktopWnd);
HDC hCaptureDC = CreateCompatibleDC(hDesktopDC);
HBITMAP hCaptureBitmap =CreateCompatibleBitmap(hDesktopDC,
nScreenWidth, nScreenHeight);
SelectObject(hCaptureDC,hCaptureBitmap);
BitBlt(hCaptureDC,0,0,nScreenWidth,nScreenHeight,hDesktopDC,0,0,SRCCOPY|CAPTUREBLT);
::SendMessage(::GetDlgItem(hDlg, IDC_BITMAP_CONTROL), STM_SETIMAGE, IMAGE_BITMAP, (LPARAM)hCaptureBitmap);
ReleaseDC(hDesktopWnd,hDesktopDC);
DeleteDC(hCaptureDC);
DeleteObject(hCaptureBitmap);
Thanks,
Priyank
|
|
|
|
|
This code is nowhere related to .net framework.
Ask in VC++[^] forum.
|
|
|
|
|
Dear All,
My project has this files - Web.config, Global.asax
What are the important in here.
I need get complete idea about content in this file.
Any one can pls give clear idea or submit articles or links.
And also give idea about Forms Authentication / Windows Authentication ?
Regards
Kusal
|
|
|
|
|
hi,
in the web.config file you can make settings such as
SQL Connection parameters like this
<!-- Database Connection Parameter -->
<add key="DBType" value="SQL"></add>
<add key="DBRegion" value="EN"></add>
...
or you can configure own settings, which you can use in
your page.
for example, you can define an ImageSave dir
<add key="ImageSaveDir" value="C:\Temp\"></add>
now you can use this in your programm like this
string path = ConfigurationManager.AppSettings["ImageSaveDir"].ToString();
and about your other requests, i can't tell you anything, sry
hope this helps ya
greetz pdluke
(\_/)
(O.O)
(> <) <---- Put the evil bunny in your sig, help him acheive "WORLD DOMINATION!"
|
|
|
|
|
Should I install any Framework in Pocket PC device before I try to run my application? if yes which framework should i install and can anyone provide me where can I download it.
I Love SQL
|
|
|
|
|
I have two requirements of my religiously applied XML comments. I would like some way of also using shared documentation, e.g. a glossary of terms. The only way I can think of achieving this is including an external file at the assembly level. Then the generated overview documentation for each assembly can contain this information. Is there any other way of going about this?
My second wish is to extend the actual schema, to include tags that I can use to document relevant unit and integration testing information for types and members. I don't think this is possibly in pure VS 2005, but I suspect that something like doxygen may be able to allow this. I just can't get to experimenting yet so I thought I'd check if someone knows more than me.
|
|
|
|
|
I have a datagridview with a DataGridViewComboBoxColumn that contains items of self-builed types. When the selected value is changed i get a DataGridViewComboBoxColumn Data Error.
Why does this happen?
|
|
|
|
|
Hi,
I have a doubt.
Which is the correct way to redistribute an assembly?
Thank you
|
|
|
|
|
hello everybody
iam working on asp project here i need some datareport generated has to be exported to excel for this i wrote one dll and its working fine when i checked that using vb code but it is not working from the asp page?
i am unable to catch the error
its not giving any error and giving message as done (i placed as output)only
but it is not exporting to excel
can any body help
(not in asp.net its asp only)
regards
mamatha
|
|
|
|
|
You're in a .NET board. Repost your question to a board that deals with ASP if you expect an answer.
"Some people spend an entire lifetime wondering if they made a difference. The Marines don't have that problem."
( President Ronald Reagan)
|
|
|
|
|
hello,
iam working on asp and here we r implementing completely 3-tier architecture
and i want to shift to .net and know .net little.
actually before that iam very interested to know how to implemet .net in 3d
can any body give clear explanation plz
thanks in advance
mamatha
|
|
|
|
|
|
hello sir
thank u very much it helps a lot to update
thanks once again
|
|
|
|
|
Hello all!
I have a really strange problem wehen i want to build a setup solution. i
hope this is the right newsgroup.
undependent to the source-project: if i create a setup-project with or
without primary output and i want to build it - the compiler-output gives me
the error message "Schnittstelle nicht unterstützt." i think in english it
could look like "Interface not supported"....
i have no idea how to fix this ... if anyone has a solution to this then
please help!!!!!
solidIT.de - under construction
Components for Microsoft .Net
audittrail, objectcomparer, deepcopy and much more ...
|
|
|
|
|
I want to know whay i get error message when i connecting with socket?
the error message is "No such host is known".
|
|
|
|
|
Hi All,
I am a newbie to .NET and have a possibly simple doubt.
How can I invoke .NET functionality from C code?
Something like reverse JNI.
Thanks in advance for the help.
|
|
|
|
|
Either:
Register your .NET code for COM Interop, then invoke it through COM. This is the easier method.
Or:
Use the .NET hosting interfaces to load the CLR into your process, then load the appropriate .NET code. This is the hard way.
For .NET 1.1, see C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Tool Developers Guide\docs\Hosting Interfaces.doc. For .NET 2.0, see 'Hosting Interfaces for .NET Framework version 2.0' in MSDN Library, or online here[^].
|
|
|
|
|
I'm working on a C# WPF based web application prototype. I have a WebBrowser control to display web pages. I also need to do some http requests outside of the WebBrowser using HttpWebRequest. I'm logged in to a site so I need cookies sent, but HttpWebRequest does not seem to automatically send them, so these requests are failing. Somehow I need to convince HttpWebRequest to send the cookies for that site. This seems like a very basic thing to do, but I'm tearing my hair out trying to figure out how!
Anyone have any ideas? Since it seems (to me) to be such a basic requoirement, I thought there might be a property I could set on the request to tell it to include cookies. Alternatively, if I could get the cookie collection from the WebBrowser somehow and directly set it to the request I assume that would do it. Or am I missing something?
Thanks!
|
|
|
|
|
Hi,
I would like to know if some component vendors have a DateTimePicker replacement. I don't mean a calendar or any complex component, just a DateTime picker. Optimally it would add what lacks to the microsoft control, like changing the Culture, accepting null values, text formatting, custom fields (like what is available with the win32 control) and so on (I am aware of the free components showcased here at CP). Thank you
|
|
|
|
|
I want to display some values like Windows Task Manager - Performance:
Commit Charge (K) -- Peak
Physical Memory (K) -- Total, System Cache
How can I get this values using PerformanceCounter ?
Thanks.
|
|
|
|
|
Is there a WPF equivalent of the System.Windows.Forms.ActiveControl property? I've looked through all the properties and methods in System.Windows.Window and nothing has struck me.
|
|
|
|
|
Hi
We are migrating our WSE 2 based [File Transmitting Solution] to MTOM based,
in order to provide support of big file transfer in less time. Message size
using MTOM is decreased up to 20% because of different of size between
binary and base64 transfer. But processing time is much higher on both
server and client. And again we reach at same point where overall time of
whole file upload process is higher than our old base64 based method. For
every transfer, wse3 is taking extra time (upto 10 secs on each request) on
file upload upto 7 MB.
Seems like it is because of converting binary to Base64 for generating
digital signature
Is there any way through we can avoid this whole security process. Because
of our application nature, processing time and transmit size is more
important for us instead of message security.
Thanks
Shahzad Godil
|
|
|
|