Can Mono Run Framework.net Compiled Applications

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


ADVERTISEMENT

Database - How Data Sources Are Linked In Compiled .NET Applications

Jun 18, 2009

When I try adding a new data source to my project I get a prompt saying "The connection you selected uses a local data file that is not part of the current project. Would you like to copy the file to your project and modify the connection?"This sounds rather obscure to me, as I'm new to VB.NET and programming non-script apps in general. The data source in this case is a .sdf SQL CE file.

Question 1: If I say that I want to copy the database to the project, what will happen after I compile the app, where the database will be? (how will I edit it from another app?)

Question 2: If I do not include it, how the data source will still keep linked? Can I link using filesystem enviroiment variables like %ProgramFiles%MyAppDir?

Question 3: Can I just tell it to use a read-only (Just needs to read it) data source on the web, like on an FTP?

View 1 Replies

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

Running Pre-Compiled & Non-Pre-Compiled Webpages Under One Virtual Directory

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

VS 2008 VS 2008 Applications In .net Framework 1.1

Apr 8, 2011

is it possible to run applications made in vb .net 2008 in .net framework 1.1? hmm i think i cant.. i still need to download the latest .net framework.. i just read it from [url]

View 1 Replies

Mono Vs. VB Pro Features

May 31, 2011

I am thinking of giving mono develop a try. I have some questions. Visual Studio 2008 Professional has options for creating controls and services. This is not available in Visual Basic 2008 Express. This relationship between the different editions, is there something limiting like this with mono develop? I figure since it's open source, everything is implemented like Visual Studio 2008 Pro.

Another question. Does anyone have experience with mono. Is it a production level serious environment for commercial work? Is there something I should know about it?

Any mono developer that has anything good or bad to say, please drop a post in here. I would like to get as much info as possible from vbforums. This has always been the best help site for me using Visual Basic Express.

The most important thing, to reiterate is if I can make Windows Services with Mono Develop and if it supports full threading features that are limited or not available in express.

As a last question, what is the story on managed directx for mono. On Linux, there is no such thing, so would you plan an opengl library to start with? or does that work out in a different way?

View 5 Replies

Use Mono To Run .net Apps On A Mac?

Oct 17, 2011

I've heard a lot about Mono but I have no idea what exactly it is or how to use it. All I know is it's aimed at making .NET apps cross platform. Could someone tell me or point me to some tutorials explaining how to port my vb code to run on other operating systems? Maybe shed some light on all of this?

View 9 Replies

.net - Mono - Could Not Find A 'Sub Main' In ''

Apr 26, 2010

I started a new solution (with multiple projects) and am trying to get it to build. Initially I was getting an internal compiler error and thought maybe it had to do with MySql, so I removed all references to MySql. Now I am getting the error "Could not find a 'Sub Main' in ''". I have made sure that all of my projects have a Main subroutine like this:Public Shared Sub Main()End Sub2 out of the 7 projects will compile. I don't know what makes these projects different from the others, and the error message isn't very helpful. Any experience with this one?

View 2 Replies

.NET Not Working On Ubuntu 10.04 With Mono?

Apr 9, 2012

When i run program Error Shows...Could not load file or assembly 'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.

Description: HTTP 500. Error processing request.

Stack Trace:System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
File name: 'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

[code]....

View 3 Replies

How To Compile Mono With Support

Jun 3, 2010

I've downloaded latest source from mono project, compiled it and everything works (c# projects, mod_mono, xsp) except vb.net. Vbnc, mono's vb.net compiler does not exist after compiling mono from source.This is on CentOS 5, on Ubuntu 10.04 I installed mono packages via apt-get and vb.net just works.

View 2 Replies

Does Mono Support Visual Basic (not .NET)

Sep 28, 2010

Someone asked me today if it was possible to port a visual basic application to Linux or similar platform, I assumed it was .NET so I suggested to use Mono, but noticed that on their vb support page they only talk about vb 8 (.NET) Does mono support non-.NET vb? In fact I'm not sure what he is using, I think vb6, I'm not sure of the versioning at all though.

View 2 Replies

Playing 8 Mono .wav Files To 7.1 Speakers?

Jul 4, 2010

Is it possible to play 8 different and individual mono wave files to a 7.1 (8 channels) audio system using vb.net? (I undestand that the .1 speaker is the subwoofer and I'm not yet sure it can be replaced with an ordinary speaker.) The playing should start simultaneously and the files can be of different size/length.Is this something that should be done using win API functions if it can be accomplished at all.I just re-installed my old VB6 which I need to ugrade and vb.net would be the easiest for me so I placed this Q here.

View 2 Replies

.Net Application Working Faster With Mono Then Under Native .Net

Mar 21, 2011

To do some testing with MPIR, GMP, the .Net Bigint module and other math libraries I've recently written a small program which allows me to create random sequences of numbers with a certain amount of precision: Always this amount of digits in front and behind the comma, no starting/ending zeroes. While it might not be the most elegant of code, it really blew my mind when I found out my application was running up to 10 times faster with Mono under Ubuntu 10.10.While the code is not elegant and in Basic, it was developed by me in about an hour's work and it serves the purpose: To generate dependable huge datasets consisting solely of preconfigured numbers before or after the comma. To get a general idea the UI's posted here:[code]Eliminating IO by not writing to IO but just to a List instead Eliminating an "if" path which checks if the random before/after float character is checked.Disabled progress reporting in general which causes the backgroundworker to not report any progress.Play around with the amount of symbols, theres very little difference between just getting 1 random character or getting 15 per record.I'm at a loss to what causes my program to run so slow under Windows/.Net compared to Ubuntu/Mono. I'm only a "half programmer", which means: I'm a Bussiness and ICT student who mainly focusses on human ICT, and the Microsoft Platforms certainly have lead on that, however such a huge performance hit compared to Linux for this soul and simple program really gives me a cold chill when it comes to my favourite platform.

View 3 Replies

C# - Registering A Delegate Function With An ISO C++ Callback (on Mono)

Apr 8, 2010

I am exposing some ISO C++ data types to .Net (mono on Linux to be precise).For the purpose of brevity, I shall refer to C# in my question, although my question relates to all of the .Net languages (with C# and VB.Net being my target languages). So far, I have worked out how to expose the ISO C++ data types in C# class(es) for use in mono -The only problem so far is how to deal with the C++ callbacks. In .Net languages (C# and Vb.Net), I believe 'delegates' are the callback equivalent.

Sticking with C# for now, can anyone recommend a way that I can register the C# delegate functions with my ISO C++ code.The ISO C++ code is a notification library, and I want to be able to "push" the notifications to the mono framework (i.e. C# delegates in this case).My underlying assumption is that the mechanism/steps to implement this would be the same for the .Net languages - I'll just have to code the actual delegates in the .Net language of choice - is that assumption correct?Last but not the least, is the question of thread saftey. The underlying ISO C++ code that I am exposing to .Net (mono to be more specific), is both re-ntrant and thread safe - do I have to do anything "extra" to call .Net delegate from my ISO C++ code?

View 1 Replies

Can Mono.Cecil Rewrite Debugging Symbols As .NET

Oct 27, 2011

After rewriting a VB.NET assembly with Mono.Cecil the 'Call Stack' debugging window in Visual Studio 2010 shows the language as C# and not VB.NET. Is it possible configure Mono.Cecil to rewrite an assembly so the debugger recognises the rewritten assembly as VB.NET?The following Mono.Cecil simply reads and saves an assembly without modification. However, the debugger reads the new assembly as C# instead of VB.NET.

Dim readerParameters = New ReaderParameters() With {.ReadSymbols = True}
Dim writerParameters = New WriterParameters() With {.WriteSymbols = True}

[code]....

It is desirable for the rewritten assembly to be VB.NET so the debugging windows 'Local' and 'Immediate Window' are the VB.NET versions rather than the C# versions.

View 1 Replies

Controlling Outside Applications - Resize Multiple Applications And Send Keystrokes To Each One

Sep 12, 2011

I am working on a project that is used for key broadcasting. Don't worry nothing illegal, I'm making a multibox application for world of warcraft. However I am having trouble when it comes to launching and manipulating other applications from another.

[Code]...

View 2 Replies

.net - Use Mono.Cecil To Determine If A Type Implements An Interface?

Jun 23, 2012

I had a look through the documentation on the Wiki, but it seems a bit thin. How do I determine if a type implements a given interface using Cecil? For my particular implementation it is important that I do not actually load the type into the AppDomain.m Here's the code that I have so far:

Dim outputModule As ModuleDefinition = ModuleDefinition.ReadModule(outputFile)
For Each assemblyType As TypeDefinition In outputModule.Types

'How to determine if assemblyType implements a specific interface?

View 1 Replies

Detach Database Failed For Server 'MONO-PCSQLEXPRESS'?

Jan 15, 2012

Error : "Detach database failed for Server 'MONO-PCSQLEXPRESS'."
Public Sub bk()
Try

[code].....

View 1 Replies

Performance Related Features For Migration From .net 2003 Framework 1.1 To .net 2008 Framework 3.5?

May 21, 2010

I am work on VB.net 2003 Framework 1.1 for last 3.5 years in windows Application.We are currently migrating to VB.net 2008 framework 3.5, but i don't know about the features which related to ADO.net and which is important to performance. I know linq to SQL but our architecture is made in .net 2003 so we should follow this.Any features which is very important to enhance the performance?

View 2 Replies

Connect Different VB Applications To A Database Server.like Accessing Data From One Database By Different Applications?

Aug 15, 2011

how to connect different vb applications to a database server.like accessing data from one database by different applications...

View 4 Replies

.net - Run "Hello World" GUI Based Application On Linux Mono

Jul 18, 2011

I am getting below error when I am trying to run vb.net application on Linux through mono.

[Code]...

The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly(/root/HelloWorld/HelloWorld/bin/Debug/).

View 1 Replies

Upgrading .Net Project From Framework 1.1 To Framework 4.0?

Feb 2, 2011

I have a solution that I wish to upgrade from Vb.net framework 1.1 to framework 4.0. The solution consists of a number of projects, all but one of which compile to dll's. The master project compiles to a executable which provides a menuing system which dynamically loads the dll's and connects to entry points.

The projects contain normal classes, numbers of forms and also controls, which are either usercontrols or are inherited extensions of standard windows controls.There are a number of third party components (eg reporting and grid controls from Component One, Ribbon control from DevExpress etc).

[Code]...

View 4 Replies

Running Applications Within Applications?

Jul 24, 2009

Is there a way to, when a parent application is opened up, that at the click of a button, or anything of designated event, that this parent application can open a secondary one?

View 11 Replies

Software Created In An Older Framework Version Won't Run On A Newer Framework Version?

Apr 7, 2009

How come software created in an older framework version won't run on a newer framework version? Actually whenever i try to run some old specific software having .net 3.5 framework on my PC they show they needs .net framwork 1.1 . What a bad thing?My newer version of Photoshop ans Ms office open all lower version files.

View 6 Replies

Call To A Sub In The Compiled Exe?

Feb 20, 2009

I am learning to use the ScriptControl. I have been able to get it working with out much trouble. But I do not know how or if it can be done to have the user write in the script to call a fuction/sub in the main app. How can I have the user make a call to a sub in the compiled exe?

View 1 Replies

Compiled EXE To Be Compatible With?

Jun 2, 2010

If I'm running VB Express 2008, how do I choose what NET Framework I need the compiled EXE to be compatible with?

How do I do it in Visual Studio 2010?

View 1 Replies

Run A Compiled Program?

Feb 25, 2009

I am not a programmer or anything like that but I have managed to create a little program.The program is for work. It is VERY simple - it adds a few figures the user inputs and then generates a text output so the user can copy and paste it to a customers diary notes on the customers account.Here's the problem: It works on the managers computer but not on the consultants computers who will be using it! The reason it doesn't work is because the normal consultants computers don't have .NET installed :( The solution is simple - install .NET! lol however the company I work for is quite massive (corporate size) and our department is quite small and insignificant so if we want to install something like .NET on all the consultants computers it will take around 6-8 weeks! Now we desperately need to start using this mini program ASAP! Is there any humanly possible way to run a Visual Basic program without installing .NET? Is there some kind of file I can download and put in the folder of the mini program that will allow it to work?

View 2 Replies

Will App Compiled On 64 Bit Run On 32 Bit Machine

Nov 20, 2010

I'm buying a new computer this week and the one I want has Windows 7 Home Edition 64 bit. I program in VB.NET using VS2008. If I write a program and compile on this 64 bit windows, will it run in 32 bit? I did some reading and from what I understand is if it is not using any specific 64 bit drivers I should be good. I'm not doing anything fancy that I know of as far as drivers. I just wanted to see what everyone's past experience has been.

View 3 Replies

.net - Compiled Class In Two Locations

Aug 22, 2011

I'm a tad stuck trying to get a List to load from the ViewState using ASP.NET 4 and VB.NET. When I try to retrieve a collection using:

[Code]...

View 1 Replies

Add The Time That App Was Compiled At Into A Label In App?

Jun 7, 2009

I want to add the time that my app was compiled at into a label in my app. For example if you went to the about dialog on my app it would say 'Compiled 07/06/2009 20:05', any ideas on how to do this? Im using VS2008 and Visual Basic.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved