Getting A Compiled VB2010 Application To Run On 3.5 Sp1 Framework
May 16, 2010
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?
View 2 Replies
ADVERTISEMENT
Jun 15, 2010
is .NET framework v4 necessary to run my application created by vb2010 to run on other computer??? cause its large file to download....
View 4 Replies
Nov 30, 2011
I read many questions on running .net code with mono but i always end up with the same question. I'm building a new app right now, so i better start straight and take the good direction: Can i develop an app within Visual C# Express or Visual Basic Express, compile it from the Microsoft environment using the compilers they have and run that application using MONO on linux.Or do i have to work with the mono compiler from scratch (or convert my MS project afterwards to mono) to be able to use my .net apps using the Mono framework on linux.Linux/Mac support is not really a must for my app development, but i'd like to get it straight off the start.i'm using WinForms, Encryption, Globalization, SQLClient but thats probably all, is there anything you Mono experts out can tell me NOT to use off the start.Oh and i use the My namespace for all sorts of things such as getting the computer name, logged on user name, resources, settings, etc...
View 2 Replies
Oct 20, 2009
Is the Compact Framework still in work? It's not in Beta2.
View 2 Replies
Feb 21, 2011
I've a requirement to have PreCompiled webpages and Non-PreCompiled webpages under same application. For example below is my structure:
/Bin
/Test1 (PreCompiled)
/Test2 (NonPreCompiled)
/Test3 (PreCompiled)
I would like these to have their separate "Bin" folders too if possible at all (I tried using "Probing" but I guess that's not allowed for web apps and defaults to "Bin" folder). If not that then definitely some ability for these to work together under one app/virtual directory because I'm not allowed to create another at any cost :(
View 3 Replies
May 9, 2010
In VB6 I load a recordset containg all of the records (6 fields per record)in a table into an XArray and then manipulate the records in the array and then write them back to the original table. The array issorted by the first field (1 to maybe 8000 or more) I need to find records in the array by an ID field and then move them (because of some external criteria that happens many times) from say number 400 to number 375. Then all of the other records between 375 and 399 were renumbered up 1 to fill the gaps left by the move.
The XArray worked well as it could find and also move to a next record easily to facilitate the revisions to each record quickly. Everything is done in VB6 in code and nothing visual needs to be shown to the user until say 2000 of these external changes are complete. What is the best, most efficient way to do this in the .Net framework in VB2010. Datasets, Dataviews. tableadapters, arrays. enums ?
View 3 Replies
Nov 2, 2011
I have a .NET application that is shared to around 30 different computers, (mix of 32-bit and 64-bit machines).When compiled, the application is set to target 'Any CPU'.It runs fine on all machines except one that is Windows 7 64 bit.The error message is:
[Code]...
View 1 Replies
Nov 30, 2009
How can i make it so when my application has been compiled, a user can press a button, and then save a file within the exe its self (thus, a resource). Or text in a text document (not a setting, because when the exe changes places on a user computer, it will loose its settings. The main need for this is so that the exe can change locations / computers, but still retain the origional data (or text) stored in it.
View 2 Replies
Oct 15, 2010
Through COM, one can potentially gain absolute control over a target system. For example: using javascript's ActiveXObject object in IE, one can create certain objects which were designed to have direct access or interaction with system properties and files.One would think common sense dictates users disable ActiveX features in IE immediately after installing the browser to ensure their system is protected while surfing the net, or at least paying close attention to which websites they permit. But, I doubt many average PC users know how or why to do this, or just get tired of mirco-managing it over time. I think any PC user or admin my COM class caters to would greatly appreciate not having to deal with that. Thankfully it looks like IE versions come packaged with ActiveX disabled by default nowadays.
I've built a very versatile COM class library in VB. I didn't intend for it to be callable from any website, but that feature is just part of the COM platform. I'd like to prevent the library from being called from IE unless the website is on a white-listed domain to proactively protect the user (and ultimately their entire intranet) from harm from malicious websites. What would be the best method in VB.Net to tell which application called my DLL, to be able to tell if it was called from any command or process originating from IE? And, what domain called my dll? System.Environment.GetCommandLineArgs()(0) gets me the calling application path. With this info, I can compare it to a black/white-list of applications.
View 2 Replies
Jun 30, 2010
I'm making a program from witch one could run an application with different credentials.I can compile the program successfully, but when I press the button to run the program I get the following error: 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.The system cannot find the specified file.The code behind the button is as follows:
Dim myProcess As System.Diagnostics.Process = New System.Diagnostics.Process()
myProcess.StartInfo.FileName = "c:
un.bat /user:kreathyr c:getlogin.exe"
myProcess.Start()
Getlogin.exe does nothing but show the logged in username and run.bat utilizes the runas command.
View 2 Replies
Feb 9, 2009
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.
View 3 Replies
Feb 26, 2010
How can I create a VB application in VS2008 without requiring the application be run on a computer with a .NET framework in place?
View 4 Replies
Sep 1, 2010
I'm wanting to use a bit of code to in a VB2010 application, however the code is in VB6. How would I go about converting this from VB6 to VB2010? I've personally never done a conversion of complete code like this.
Here is the link: [URL]
View 7 Replies
Nov 12, 2009
My problem is when i try to call Application.Run() in a application without a form i get "Object reference not set to an instance of an object." when i run it outside VS. but if ran in debug or release mode it works just fine. i may just be forgetting to setup application right, but ive done it before in this same manor and it worked fine.
Sub main() 'this runs first.
AddHandler Application.ApplicationExit, AddressOf ExitEventHandler
dbg_f("handle added")
[CODE]...
Commented out init_timer and init_ready, and now it causes the same error for the myName line. there seems to be something wrong with class Application. btw theres seems to be something wrong with the forum code formatting.
View 4 Replies
Apr 10, 2011
i created an application with vb 2010 in my windows xp pack 3 now i want to use it in windows7, but its not working!
View 9 Replies
Jul 1, 2011
I'm developing a forms application with VB2010; and I'd like to be able to freeze the screen / form while the code populates the form for display on the screen. Then unfreeze the screen when the form is populated, to display the populated screen text; in a similar way to the VBA commands Application.ScreenUpdating = False and then Application.ScreenUpdating = True.
View 2 Replies
Feb 14, 2012
I made a program that makes backups of a database when the user runs the application, etc. But now my new work is to make it as a Windows Service, to run on the days and time that the person choose, how do I do it ? I never created something like this. I got all the code to make the backup, now the problem is to create it as a service.
This is my form to the person choose the days and the hour to the process runs and install it as a service, and when it runs to be minimizated on the windows icons near clock and date and another option on another button to make it a service too, but now to load all the time that the windows starts :s
View 10 Replies
Feb 23, 2011
What are the steps to build and deploy an application using VB2010?Were the deploy package and files are located after the deployment?My experience is deploying under the VB6 enviroment or Install Shield.
View 2 Replies
Oct 30, 2011
Someome knows some utilities that can detect all the API calls of a specific external application? The application I would like to detect is a console application and, being without form, Spy++ don't find it.
View 2 Replies
Apr 4, 2011
So I'm developing an application in VB2010. The idea is to perform CRUD operations (more or less) to an Access2003 Database. The database is relational, yet I haven't grasped the best architecture to make an application to interact with it. I tough doing a Business layer with a domain model would work. Controllers for each Use case (which are basically CRUD operations) would create Domain Layer object. Yet I don't know yet how to manage the mapping of the objects to/from the database.
View 8 Replies
Oct 14, 2010
i am using visual studio 2005 on win 7 with office 2007. i have developed win application. i am using microsoft activex spreadsheet component in my program. so it automatically creates reference to AxInterop.OWC11.dll When i run program in debug mode (open program and click RUN in toolbar it works) but if i run directly .exe (go to bin elease doubleclick .exe) it give error at loading point of that component. It says "Attempted to read or write protected memory. This is often an indication that other memory has been corrupted." An unhandled exception occurrs.
[Code]...
View 3 Replies
Mar 12, 2009
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.
View 1 Replies
May 17, 2010
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.
View 4 Replies
Mar 25, 2009
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?
View 5 Replies
May 23, 2011
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?
View 2 Replies
Jul 6, 2009
How to run a .net 2.0 framework console application in 3.5 framework.
View 1 Replies
Aug 2, 2011
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.
View 1 Replies
Oct 6, 2010
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 ?
View 3 Replies
Jun 15, 2012
Is it possible to use reflection (or some such thing) to find out if the application framework is enabled? (set in project properties)?
View 3 Replies
Jan 4, 2011
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?
View 15 Replies