|
.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.
|
|
|
|
|
It seems you are using an ActiveX component that isn't installed or registered on the target machine. Can you verify that any ActiveX components you are using are available and they are registered?
|
|
|
|
|
To add to Dave's answers, here is the summary:
The .NET Framework consists of various components:
1. The Runtime: Contains the core Framework and this is the only component that is required to run an app developed with .NET on any supported platform.
2. The SDK: This is required for developing apps using .NET Framework. Contains the compiler and other tools. You can use Notepad to write code and compile the code using the appropriate language compiler. It is a fun way to learn the internals and intricacies of .NET.
3. The IDE: Tools like Visual Studio and SharpDevelop that are strictly not part of .NET Framework, and provide a Graphical Interface to develop and test apps. Behind the scenes, they use the SDK.
|
|
|
|
|
Hello to all,
I apologize if I initially written in Italian, but it's the first time I write a post. I will keep this for future visits.
I migrated my web service from iis6 to iis7 on win2003 to win2008, below the code for the asp.net page that connects to the web service:
Dim sComune As String = "Roma"
Dim converter As New WS_Comuni
Dim Valore As New ArrayList
Valore = converter.TrovaComune(sComune)
Literal1.Text = Valore.Item(0).ToString()
By testing the above code on the new platform Visual studio web developer shows me an error on the line:
Dim converter As New WS_Comuni
WS_Comuni as if it were incomplete.
WS_Comuni is both the name of the file. Asmx published, both the reference name of the service in the web project.
Could you please tell me why, just migrating from iis6 to iis7 stop this problem?
Thanks for the support, and I apologize again for the inconvenience
modified 14-Jan-14 20:22pm.
|
|
|
|
|
Notice that this is an English speaking site.
|
|
|
|
|
I am not sure if that old VB6-style of mixing a variable declaration and its initialization is still supported. Actually,
Dim converter As New WS_Comuni
means
Dim converter As WS_Comuni
converter = New WS_Comuni
I think
Dim converter As WS_Comuni = New WS_Comuni
should still work.
|
|
|
|
|
As New is still supported in VB.NET, but the behaviour has been cleaned up.
In VB6, the variable would be treated as an auto-instantiated variable. This would result in poor performance and unexpected behaviour, as every reference to the variable would be changed to check for Nothing and assign the variable:
Dim x As New Foo
Set x = Nothing
If Not(x Is Nothing) Then
MsgBox "Boom!"
End If
Dim x As Foo
If x Is Nothing Then Set x = New Foo
Set x = Nothing
If x Is Nothing Then Set x = New Foo
If Not (x Is Nothing) Then
MsgBox "Boom!"
End If
In VB.NET, the syntax behaves exactly as you described, and the whole "auto-instantiated variable" mess has been removed.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
That's actually VB.NET code. VB6 didn't support initialization during declaration.
|
|
|
|
|
|
I was talking about Dim x As String = "something" , or assigning an initial value to any intrinsic value type.
I know the New keyword is the only way to initialize a variable to a known instance at declaration time.
|
|
|
|
|
I want query of linq to entity
|
|
|
|
|
This was the first from a Google search
LINQ to Entities[^]
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
Then write it yourself. If you want someone to do your work for you, you've come to the wrong website.
|
|
|
|
|
I have a link which open a new aspx page as popup. How can I pass arguments to a popup page?
<a href="#" onclick="OpenPopupWindow()">Statistic(s)</a>
function OpenPopupWindow() {
var userWidth = screen.availWidth;
var userHeight = screen.availHeight;
leftPos = (userWidth - 900) / 2,
topPos = (userHeight - 600) / 2;
settings = 'modal,scrollBars=no,resizable=no,toolbar=no,menubar=no,location=no,directories=no,left=' + leftPos + ',top=' + topPos + ',width=900, height=600';
window.open("Reports.aspx", "popup", settings);
}
|
|
|
|
|
Like this:
window.open("Reports.aspx?arg1=value1&arg2=value2&arg3=value3", "popup", settings);
|
|
|
|
|
how do I pass here:
<a href="#" onclick="OpenPopupWindow()">S<pre>tatistic (s)
|
|
|
|
|
Define parameters for the function and then build the url string to be passed to the window.open() dynamically using the arguments passed.
function OpenPopupWindow(arg1, arg2) {
var popupUrl = "Report.aspx?arg1=" + arg1 + "&arg2=" + arg2;
window.open(popupUrl);
}
|
|
|
|
|
How to convert pdf to html in proper format?
|
|
|
|
|
Don't cross post your question!
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
|
|
|
|
|
Hi
I have developed one ASP.NET web application. In one form i have provided link to mht file which is converted from PPT and also excel hyperlink object has been provided in that mht. I hosted in server. Including me and every user able to open that mht file but not opening excel hyperlink for all users. I am able to open in my local system by accessing that URL but if i am login to other system as my NT id, even i am also not able to open that excel link.
what might be the problem. I have provided that folder access to every with read permission. Then also not opening.
If anybody knows please reply me.
Thanks in advance.
modified 10-Jan-14 5:25am.
|
|
|
|