This sounds weird and dumb but supposedly is this possible to run .Net application without installing .net framework? Is there anyway of embedding reference .dlls into the respective application? This came in my mind because I made a small notepad application in vb.net < 1mb in size and to run it, it requires full .net framework.
Say I wrote something in .NET 3.5 that does everything I want very nicely in Windows XP with the framework installed. What would I have to do to alter this program such that it can run exactly the same way on older versions of Windows with or without the framework installed? Is this even partially possible without changing languages or downgrading my Visual Studio?
I am writing my first application in VB 2008 Express with .NET Framework versions 2.0, 3.0 and 3.5 installed. When completed, I assume the application will need to check whether it is running under .NET Framework version 3.5 or later. I have not found any properties that I could get which would give me this information about the environment in which the application is running. Is this something that the non-user code in which my application is wrapped by the IDE checks, or is it something that I have to check myself within the application ? If the latter, how would I do that ?
My application required .NET Framework 2.0.Currently, if it is not installed the user recieves the following error:The application failed to initialize properly (0xc0000135)'.It becomes extremely tiresome repeating to users that this is because the framework isn't installed. Is there some way to check if .NET framework 2.0 is installed before running, or in some way change this cryptic message so the user knows immediately
I just need to run a simple program that requires .NET 2.0 on a computer on which I only have restricted User rights..I have permission from my supervisor to do this but he would rather not call in the IT guy to install it.So is there any way I can run this program (i dont need to run it multiple times) on this computer?
I'm running Visual Studio 2010 with the Dot Net 4.0 Framework. I've been running around everywhere looking for the answer and haven't found anything. All I want to do is be able to access the Tags and Comments of an image file through my code. I've tried a bunch of different things but to no avail.
Dim dra As IO.FileInfo My.Settings.Properties.ToString()'didn't work dra.Attributes.ToString()'didn't work IO.File.GetAttributes(fullPathFile)'didn't work
[code].....
And a bunch of others that I don't feel like undoing to.
I have developed a small application in VB.NET 2008. It uses .net framework 3.5. But somehow it also runs in computers with .net framework 2 or 2.5. Is there a way to determine thru code what is the latest version of .net framework the pc is running. This way I can give a warning message box that the required framework is not installed.
My Application as you may remember ONLY runs from the CD and is never installed onto a computer. It is a Product Support CD. All Information that a customer may need is on this CD, they can Download PDF's and Drawings and even save some Software Apps that may be needed onto the user's Hard Drive, but the CD App running is never installed onto a computer.
I am in the process of developing a messaging framework for a windows application that sends messages to a java application. To be precise when the win app wants to send a message it simply drops the message in a common database table which will be picked up by the java app. The windows application is deployed across 10 application servers (10 instances) over citrix for load balancing.Each instance of the application is capable of sending a message to the java application and each of these messages should have a unique id. From my end I need to make sure every message generated has to carry a unique id so that they can be identified when necessary. All the messages can be cleared every day or two.i am not quite sure about a best method of achieving this. Initially I wanted to create a static method that serves the next available id (incrementing the last id by 1). But this approach willn't guarantee unique number as the application starts only when at least one user is logged on. For e.g .On one server the app starts when a user logs in, he then sends a message and then the application stops when that user logs off. So when a next request for the app comes to that server a new instance will be started.
I had done one application using api which send the message to given number. The working of software is very fine without any error working on windows XP SP2. I heard that vista already contain the .net frame work so didnt installed .net frame work in machine. I checked in vista it shows .net frame work is in machine. But when same code i tried to run on Vista it gives the error. Error is as follows
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text ************** System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at SmsSendingApplication.frmSingleMessage.InternetOpenUrl(Int64 hInternetSession, String& lpszUrl, String& lpszHeaders, Int64 dwHeadersLength, Int64 dwFlags, Int64
I'm calling the following method from a button click event to export a datatable to excel. After the export is completed, the excel application object is quit, released and assigned to nothing. But in reality it's not getting released and stays active unless the entire application is closed. So every time the button is clicked for export, a new excel application object keeps on running. The problem doesn't occur if two of the lines from the method below are not used. But I can't omit them as they are really needed. Check the * marked lines.
Code: ''' <summary> ''' Exports data from a datatable to excel. ''' </summary>
Which is the best way to store application and user settings of an application running with multiple instances?My problem is that using the vb's "Application Settings" one instance would overwrite the other one.I want to identify each instance with a number passed via command line argument. I could use this number to identify the appropriate settings of the running instance, but I see in a local INI o XML file a better way to handle that.
I imported some code I found a few months ago for a client server messaging program from vs2003 and everything appeared to be ok, apart from a couple of niggles such as the windows form designer generated code being visible on the main form code page but i could live with that. I just tried to add a splash screen but when I went to the application tab to set it up there is no enable application framework checkbox and no windows application framework groupbox. I tried running my application again and now the xp visual style has gone and it looks terrible, is there anyway to get the application framework back on again or do I have to start a new project and copy and past all my code into the new project.
Let's say 10 desktop shortcuts, all with different names/icons, point to and can start the same exe application from the same directory. Is there any means for the application to know the distinct name of the shortcut that was doubled_clicked. Also is there any means for a running application to know if it was started by command line, by a double_click on the exe, by a double_click on a shortcut that points to it, or by another process' call?
I am trying to use Setup project. Want my setup to create a desktop shortcut with my application.I donot understand how to do it. Clicked on User's desktop, I created Shortcut to User's desktop, changed the properties Target and Working Folder as 'Application Folder'But it does not connect with MyApplication.exe When I ran the setup and tested Desktop short cut, it took me to the folder where application was installed, instead of running the application.How to make the application run using this shortcut?
I was looking to build a Data Access Layer for my new web based application, I'm using ASP.NET. I'm want to build a framework not only for this application but also want to utilize it for my future projects.
Actually my main aim is to make a framework, from DAC, DAL, BL to GUI. I want suggestions from you guys that what should i adopt, what give me flexibility, which suits for both small and large size applications.
I'm currently using MS Visual Studio 2008 Express Edition. My .NET Framework version is 3.5. I made an application in VS 2008 and it worked perfectly. However, when I ran it at my friend's place (who's got .NET Framework 1.1), it didn't run. Now, I know that the framework incompatibility is the issue.So, what I ask is, how do I code the application so as to make it run on Framework 1.1 as well while still using VS 2008?
I have a Windows 7 machine and I see that Microsoft does not recommend Visual Studio 2003 on the computer (Windows 7). How can I develop an application for the .net framework 1.0 then?
I need to use linq in C# Windows form application working with .Net Framework 2 not 3.5 . I Know it may be some sort of stupidity to do that. but i need that for some special reasons. Can i import just linq libraries to my project by anyway ? or there is no way except for using 3.5 ?
I am developing an application using VB.Net which is a simple executable which is to be run from a network drive of our company servers. Most users can access this executable without issue - others however can open the executable but have no connection to our database (even though when running the executable off a local drive such as C:, the database works no problem).
From some posts I have seen this might be a CAS issue - however our IT department suggest the issue might be down to different version of the .NET Framework being to blame. Firstly, is this the issue? Secondly, how can I develop my application to work with different versions of the .NET Framework? Surely this doesn't mean developing many different executables?
The Enable Application Framework Check Box seems pretty well defined in a number oprevious postings, but leaves one question in my mind. The default is unchecked and the sub-topic Check boxes are:
Enable XP Visual Styles - - Checked
Make Single Instance Appllication - - Not Checked
Save My.Settings On Shutdown - -Checked
There are also 3 Combo Boxes:
Authentication Mode - - "Windows"
Shutdown Mode - - "When startup form closes"
Splash Screen - - (None)
When I un check the Enable Application Framework Check Box all items under it are grayed out. However, if I have changed one of the Comb Boxes my selection is also grayed out...My question is, have I lost the use of those function: Specifically I am mos interested in starting my application from a Sub Main and closing the application when all forms close.My underlying question is . . . are the greyed out selections still valid?
I have made a simple vb application and have used vb 2010 to create it, which all of you would know, uses .NET Framework 4.0. I wanted to use this application at work, however, I found out that my work uses .NET framework 3.5 sp1.
So my question is, is there a way to compile something in VB 2010 that will work on .NET 3.5 sp1? If so, how?
For a reason I cannot explain, I now get compiler errors from the Application Designer whenever I enable the application framework in the VB.net IDE. I do not find much on this issue, except Scott Hanselman's admonition not to use this feature. I have mature projects in which this feature was enabled, but now even they will not compile.As this only began a few days ago, I have been trying various approaches to resolving the problem, up to and including removing VS2005 and reinstalling it, along with the framework, SDK, and all updates. No dice. The errors are below.This condition will occur even if I enable the feature in a new project.Does anyone have some thoughts and the cause and resolution of this problem?I probably should mention that I was using both VS2005 and VS2008 on this computer. I had been experimenting with 2008 for several weeks without incident.
If I create an application in VB.NET using Visual Studio 2008, what version of the .NET Framework do other people need to have in order to run my program? Is it the same every time, or does it depend on what the application actually does?
For school i have made an application in VB (Express 2010, .net v4) and when i try to run it at school it says that the .net framework needs to be updated.
IS there anyway of not updating the framework but still allowing the application to run?