.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


ADVERTISEMENT

.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

FTP To Ubuntu Server?

Oct 28, 2010

ting an application and they need the program to be able to upload a file onto an Ubuntu server. I know this would be better suited for the Ubuntu forum, but I figured that since I'm using a VB.NET application, this would be the place.

System.Net.WebException: Unable to connect to the remote server
at System.Net.FtpWebRequest.GetResponse()
at Creating_Housing_Solutions_Database_Manager.frmObservationsComments.UploadFile(String

[code]....

View 11 Replies

How Can I Install .NET In UBUNTU 10.10

Mar 9, 2011

i am the student. and i want to install vb.net 2008 or any version in UBUNTU 10.10

View 2 Replies

Running ASP.NET And .Net In Ubuntu?

Dec 23, 2009

I have a LAN-based application programmed in ASP.NET with VB as its code-behind. Also, MYSQL for the database. I just want to ask if I can run my application in UBUNTU?

View 1 Replies

.net - Can Code For Visual C++ And VB On Ubuntu

Jun 26, 2010

I want to change my OS to Ubuntu, but I have pending projects in Visual C++ and Visual Basic. I have not worked with Ubuntu before, so will I be able to carry forward my pending work to Ubuntu? Will it work with the IDEs available in Ubuntu?

View 7 Replies

.NET 2.0 Timer Under Wine Ubuntu 10.10

Jan 23, 2012

I have a VB.NET application, which uses a timer: [Code] On Windows it works good, but when I try it on Linux, it crashes after some time. I have Winetricks installed, added all the libraries that I need (I think), dotnet20, corefonts, riched20, riched30, etc. Any idea why it crashes? (no exceptions, and ...&>log.txt doesn't work).

View 1 Replies

Develop .net Apps In Ubuntu?

Mar 27, 2012

i need to change my OS to Ubuntu.i can develop .net apps in ubuntu.

View 2 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

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

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

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

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

.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

.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

UnhandledExceptionEventHandler Samples From Msdn Working, In My Code Not Working?

Sep 3, 2009

I found on msdn samples and modified (add Thread.GetDomaind.UnhandledException)

<SecurityPermission(SecurityAction.Demand, Flags:=SecurityPermissionFlag.ControlAppDomain)> _
Public Sub Main()
' Add the event handler for handling UI thread exceptions to the event.[code].....

View 1 Replies

VS 2008 Cannot Seem To Get A Working Filter In Working Order

Jun 18, 2009

It appears that my favorite thing in the world is tackling projects that are beyond my current knowledge and abilities. I have a little project that I am working on which is a simple image viewer stocked with (upon completion) your standard Load..., Next/Previous, Zoom In/Out, Actual Size, and Full Screen capabilities. However, I am running into a few snags:

(1) I've been able to get my "Load..." button to display a file dialog box, but I cannot seem to get a working filter (with which only image file types are allowed to be selected) in working order.

(2) I have a PictureBox object (entitled PictureBox1) that displays the image selected via the file dialog box, but it loads images in their full size (1:1/100% zoomed) state without scrollbars, etc. to allow me to navigate the loaded image. I would like to have it load the image, initially, to fit within the dimensions of PictureBox1 and from there be able to zoom in/out via my "Zoom In/Out" and "Actual Size" buttons and be able to scroll if the zoom level is beyond the dimensions of PictureBox1.

(3) It dawned on me that I haven't the faintest idea how to get my "Next/Previous" buttons to allow the user (me) to navigate, in succession, the images contained in the folder in which the currently loaded image is stored. [code]

If it is deemed that this thread is inappropriately requesting help, I ask that it be locked/deleted quickly as I recognize that this is a large community with many discussions going without need of unwelcome posts.

View 9 Replies

Make Application Working Better And Never Freeze / Make Application Working With Any Count For Loop Without Freeze

Jan 19, 2012

I'm using loop to read data from sql and then make some calculations then save it again to another table but when application loop for 3 or 4 times it's freeze but the job is done but if loop = 10 or more then it is freeze and hangup for long time .i need to learn how to make my application working better and never freeze and make application working with any count for loop without freeze .

View 7 Replies

For Each X As Y In Z Not Working?

Jul 14, 2010

I can't understand why this is not working.


[code]...

View 3 Replies

GDI Changes - Working With Vb.NET And GDI+

Mar 28, 2009

I am moving over to vb.NET and am experiencing the learning curve. Am learning quickly, but I do have a question for anyone who can respond. vb6 could be made to run much faster by going after the GDI API directly, rather than going through vb6's standard wrapped functions like Line(), and Circle(). Now that I am working with vb.NET and GDI+, as far as I can tell there is no wrapper anymore and you hit GDI+ directly "right out of the box". Is this true? It looks like trying to phenagle the old vb6 API code can't work because .NET does not use GDI anymore...it uses GDI+ via the System.Drawing namespace.

View 16 Replies

RTS Is Not Working With EXE

May 19, 2012

I'm developing application using RS485.

Which is working fine when i debug from project itself but when i run after building .exe it is not getting any reply back.

After some try and error i found that RTS(Request to Send) is the reason behind this problem.

Port.RtsEnable = True
Port.Write(DATA)
Port.RtsEnable = False

View 4 Replies

FileSystemWatcher Is Not Working?

Jul 31, 2010

I added FileSystemWatcher in Form1_Load like this -

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
....................

[code]....

View 2 Replies

.net - AddHandler Not Working?

Apr 26, 2010

I can't figure out why my addhandler is not firing?In the Sub "CreateTagStyle" the AddHandler is not firing when the LinkButton is clicked Is there some reason that addhandlers can't be added at certain points of the page lifecycle?

<%@ Page Title="" Language="VB" MasterPageFile="~/_Common/Admin.master" %>
<script runat="server">
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)

[code]....

View 1 Replies

.net - CustomValidator Not Working (asp.net)?

Oct 4, 2011

I am using the CustomValidator for the first time but it doesn't seem to be firing DateExpireRequired_ServerValidate and just runs the code in the Click action.Been bugging me for a couple hours now! can anyone see a problem with what im doing?The DropDownList in my code below is populated using Roles.GetAllRoles()

ASP.NET
<asp:Label ID="lUserRole" runat="server" AssociatedControlID="tUserRole">User Role:</asp:Label>
<asp:DropDownList ID="tUserRole" runat="server" CausesValidation="True">
</asp:DropDownList>

[code]....

View 2 Replies

.net - GetShortPathNameA Not Working In C#

Apr 6, 2010

I'm trying to get get the short filename from a long filename but I'm having problem in c# code. VB.Net code is:

Declare Function GetShortPathName Lib "kernel32" _
Alias "GetShortPathNameA" (ByVal lpszLongPath As String, _
ByVal lpszShortPath As String, ByVal cchBuffer As Long) As Long

[Code]....

But I cant get the c# version work. Am I missing something or what is wrong?

View 3 Replies







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