|
yes. It does. I worked it out and wrote my code successfully
Thank you for your response.
|
|
|
|
|
Hi...
I have created a Winforms application (UI) in Visual c++ VS 2008.
Now i need to port the same thing in WinCE7. How can i open the same UI in WinCE7. For that what should i need to do?
Else how can i create a User Interface in VS 2008 upgraded with VS 2008 sp1 and WinCE7 platform builder. The UI need to be developed in Visual c++.
Main problem is the .Net framework difference. Windows 7 uses .Net framework and WinCE7 require .Net Compact framework.
Thanks in advance
|
|
|
|
|
Member 10538515 wrote: Main problem is the .Net framework difference. Windows 7 uses .Net framework and WinCE7 require .Net Compact framework. You can only target a single framework for a single project.
Typically, one would write two UI's.
Member 10538515 wrote: How can i open the same UI in WinCE7 WinCE does not support all the controls that .NET does; you might be able to open them in the designer after changing the framework, but I doubt that it'd be possible to write a unified UI.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
how to download .net software n how to install
|
|
|
|
|
|
|
Clickety[^]
thatrajaCode converters | Education Needed
No thanks, I am all stocked up. - Luc Pattyn
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute
|
|
|
|
|
Go to the download site and read the instructions.
Veni, vidi, abiit domum
|
|
|
|
|
Hello
I am using HttpWebRequest to let my website users download big files from a remote server.
my website bandwidth is 1 GB (download speed)and the remote server is 1GB download too.
I want to download the files to the clients with speed of 1MB only so my bandwidth will not throttled for each request.
can I control the the download speed from the remote server for each request?
does request.GetResponse() is download the file in full bandwith?
can I throttled it?
would it be okay to try and throttle it with Thread.Sleep?
like this code:
Stream rs = req.GetResponse().GetResponseStream();
while (fileLength > 0)
{
if (Response.IsClientConnected)
{
int length = rs.Read(buffer, 0, 10240);
Response.OutputStream.Write(buffer, 0, length);
Thread.Sleep(20);
Response.Flush();
fileLength = fileLength - length;
}
else
{
fileLength = -1;
}
}
thanks for any help
Baaroz
|
|
|
|
|
The components will try to use as much bandwidth as possible.
Never did I have the problem to limit the speed. Thread. Sleep could work and its time adjusted, you can measure the current speed by determining the time taken per package sent.
|
|
|
|
|
These components run on the application stack and have no way to effect on the bandwidth which is controlled by the network stack. I'm not sure why you need to throttle the download speed.
Using Thread.Sleep might mimic throttling but can also lead to a connection disruption based on the timeouts set on the client and the server.
|
|
|
|
|
Friends,I am new to vb.net and i have started designing a editor the problem is that my application is not running without visual studio.If i install visual studio the application is running.
How to run on machines without visual studio?
Help me friends...
|
|
|
|
|
Without seeing the error message, everyone is just guessing.
No, you don't have to install Visual Studio. That's kind of like shipping the auto plant that built the car with the car!
You DO have to have the appropriate .NET Framework version installed on the machine though. Open up "My Project" in the Solution Explorer window and look at the "Target Framework" dropdown on the "Application" tab. That's the version of the .NET Framework that you wrote your code against and the version that must be installed on any machine that you want to run your app on.
|
|
|
|
|
I didnt get any error messages.when i double click the application the waiting cursor appears for a while and then hides.The problem is that the application not even running.
|
|
|
|
|
Well, since we know nothing about your application or its code, what controls you're using on the startup form, ... NOTHING AT ALL, it's impossible to tell you anything useful.
Help us help you.
|
|
|
|
|
Try looking in the Event Viewer - Application log, it should give you some information about why your application is failing.
|
|
|
|
|
I have used 3 buttons in my form num,caps,scroll to on and off the num,caps,scroll keys from myform
after i compile it works fine.And i copied the exe and executed it in another windows which has no visual studio.the application is not even executing...
The code Follows below:-
Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Integer, ByVal dwExtraInfo As Integer)
Private Const VK_NUMLOCK As Integer = &H90
Private Const VK_SCROLL As Integer = &H91
Private Const VK_CAPITAL As Integer = &H14
Private Const KEYEVENTF_EXTENDEDKEY As Integer = &H1
Private Const KEYEVENTF_KEYUP As Integer = &H2
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
' Toggle CapsLock
' Simulate the Key Press
keybd_event(VK_CAPITAL, &H45, KEYEVENTF_EXTENDEDKEY Or 0, 0)
' Simulate the Key Release
keybd_event(VK_CAPITAL, &H45, KEYEVENTF_EXTENDEDKEY Or KEYEVENTF_KEYUP, 0)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
keybd_event(VK_NUMLOCK, &H45, KEYEVENTF_EXTENDEDKEY Or 0, 0)
' Simulate the Key Release
keybd_event(VK_NUMLOCK, &H45, KEYEVENTF_EXTENDEDKEY Or KEYEVENTF_KEYUP, 0)
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
keybd_event(VK_SCROLL, &H45, KEYEVENTF_EXTENDEDKEY Or 0, 0)
keybd_event(VK_SCROLL, &H45, KEYEVENTF_EXTENDEDKEY Or KEYEVENTF_KEYUP, 0)
End Sub
Help me friends...
|
|
|
|
|
What are the differences in your computer and the other one?
Operating Systems?
Installed .NET Frameworks?
What .NET framework did you use to write the program?
Is your computer 64-bit, how about the other computer?
Is the other computer running in a restricted account?
Does the other computers anti-virus pick up your program?
|
|
|
|
|
I compiled with windows 7 ultimate 64 bit and i checked on a machine with same os but without visualstudio.The user is a administrator account and i have no anti-virus installed in my computer.
Still my exe is not running.I took the exe from debug folder of my project.
The .Net framework is 4.5,visual studio-2012 ultimate.The code is written in vb.net
|
|
|
|
|
.NET 4.5 is not installed on Windows 7 by default. This may be the problem, you just have to install .NET 4.5 on the other machine.
Can you verify that .NET 4.5 is installed? VisualStudio 2012 installs it when it gets installed...
|
|
|
|
|
Ok i will try what you have suggested.But i dont know how to install .net 4.5 along with my application i am new to this can you give me any suggestions........
|
|
|
|
|
How did you make the setup for your program? What software did you use? Or did you copy the program over to the computer just using the files?
You can download the .NET 4.5 installer from here[^].
|
|
|
|
|
I didn't use any installer i just copied and pasted the files and tried to run it.
I checked in one of my computer which has anti virus in my application only the splash screen is opening
and error message is shown with quit,contiue buttons with error codes.
Do i need to digitally sign my application to protect it from antivirus softwares......
|
|
|
|
|
It would help if you told us what the error message said...
|
|
|
|
|
This error occurs while executing form load event.and the following error is shown
unhandled exception has occurred in your application.if you click continue,the application will ignore this error and attempt to continue.if you click quit,the application will close immediately
cannot create an ActiveX component.
3 buttons with details,continue and quit appears.
|
|
|
|