Add Some Scripting Support To .NET-application

Jun 21, 2010

I would like to add some scripting support to my .NET-application (I usually code in VB.NET). Since VisualStudio 2008 won't let me use VSA to get scripting support, and the Windows ScriptControl crashes in 64-bit mode, I have been looking for an alternative solution to my problem.I would really like to be able to code the scripts in VBScript or VB.NET, because of the simple syntax.Would it be possible to implement some kind of sandbox inside my application to make it run a VB.NET application inside itself? Or is there any simpler way of getting scripting support?

View 2 Replies


ADVERTISEMENT

Way To Implement OO Scripting Support For An Application?

Feb 28, 2010

I have to implement OO scripting in VBS/JS, wondering what's the best way to do that.he scripting engine has to be able to create new methods for existing object in the application and allow calling the methods in other existing objects.

View 4 Replies

.NET Scripting - Dynamic Languages Support Functions

Mar 16, 2009

Can anyone provide an example of .NET scripting? Some dynamic languages support functions like eval() or compile() than let you compile and execute a string in run-time. VBCodeProvider seems to be a related namespace, but i can't find an example showing how to compile and execute code. Edit: I'm developing a ASP.NET site using VB.NET. Some behavior need to be dynamic and scripted.

View 8 Replies

C# :: Scripting Auto-mation Within Application?

Dec 30, 2009

The software company I work for offers data conversion as a service for new clients who have previously used other similar software. I've written a VB.NET application to automate common conversion operations, and have separate logic between known vendors.particular file layout has become rather common, but due to the nature of how this particular competitor's application stores information, certain fields mean one thing for one client, and another for a different client.Certain elements within this vendor's format change every time, so I've written the application to account for that. Because some data fields mean different things to different vendors, I have to change my mapping code every time. This wasn't an issue when I had one of these every six months or so, but these are becoming much more common and I would much rather find a way to further automate this process.

View 2 Replies

Scripting Is Interfering With Main Application?

May 19, 2009

Ok this is how it is, I have my main app form, and from there I open another seperate form for scripting, but they are both open at the same time, when I run a script from the scripting form, it interfers with the main window form code that's running, I'm guessing they are both running in the same thread or whatever, how do I fix it? I've tried using thread commands but obviously it's not working,

View 1 Replies

Add Scripting Capabilities To Windows Forms Application?

Dec 8, 2010

I want to allow the user to write a little script (JScript, VB, whatever) with a function called by my application that returns an XmlDocument object (a string would be ok).I did some research, and it looks like the scripting engines are obsolete.

The best solution I could find is here: [URL]..But I was wondering if there is a better and more "official" way.

View 7 Replies

Embed Ruby As A Scripting Language Into An Application?

Sep 10, 2009

I would like you all to give me some links about embeding scripting languages and I would like to ask if it is possible to embed Ruby into a Vb.net application. I only know Vb.net c# and ruby and would prefer not to have to learn c/c++ (even though i probably will have to in the very far future).

View 3 Replies

Scripting Error - Using An Application Provided By A Third Party ?

Jul 31, 2010

We are using an application provided by a third party. We applied their hotfix and are now receiving the error below. So far they haven't been able to provide us with a solution/answer as to why this is happening and how to fix it. They say we are the first customers with this problem.

Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30560: 'FileSystemObject' is ambiguous in the namespace 'Scripting'.

Source Error:

CODE:

View 1 Replies

Application Provided By A Third Party Facing A Scripting Error?

Jul 31, 2010

We are using an application provided by a third party. We applied their hotfix and are now receiving the error below. So far they haven't been able to provide us with a solution/answer as to why this is happening and how to fix it. They say we are the first customers with this problem.

I thought maybe the .net forum here will be able to guide me on how to solve the scripting error.

[code]...

View 2 Replies

Can A Web Application Support More Users Than A Windows RDP Application

Oct 18, 2010

i am wondering if there are any case studies / white papers available comparing web applications to remote desktop applications on running on comparable hardware? What I am trying to get at is if a web application can support more users, as far as hardware resources go, than the same windows based application running on terminal services?

View 3 Replies

Maximize Screen - Add Jumplist Support To Application?

Oct 30, 2009

I'm trying to add Jumplist support to my app, but I can only find the source code of libaries to do this in C#, I can't find any dlls anywhere. So where can I get one?Or am I totally wrong and how do add the new windows 7 features in vb net?

View 1 Replies

Globalization Of Windows Forms Application With Arabic Support

Mar 1, 2011

I am using Windows Forms Application that supports both Arabic and English languages....The problem is if i put the controls like (TextBox and Label) on form itself they get Layout RightToLeft and also become right align means label went to right side and textbox in left side)....But when i put these controls inside of a GroupBox or Table then textbox itself become right align ...i means cursor inside of text box............but controls don't flip from left to right......Label remains on left side and textbox on right side....i want to flip the controls.........label must go to right...same like Forms ControlBox is flipping.

View 1 Replies

Form Support Multilanguage At Runtime In Windows Based Application

Dec 26, 2010

My registration form has to support multi laguages at runtime based on user selection language from combo box in windows based application using vb.net

View 2 Replies

Provide Multi-language Support In My Windows Application Developed?

Jun 3, 2009

I M DEVELOPING AN ASP.NET APPLICATION I WANT TO PROVIDE INTERFACE IN ARABIC AND ENGLISH

View 2 Replies

If Compile A VB6 App On Win7 - ADODB.Connection Errors With "Class Does Not Support Automation Or Does Not Support Expected Interface"

Apr 28, 2011

I compiled some VB6 code on my Win7 x64 machine and the result .exe will not run correctly on any other machine. VB6 code is just a new template .exe file with one button, a reference to "Microsoft ActiveX Data Objects 2.6 Library" and the following code in the button press event: Dim db Set db = New ADODB.Connection It runs correctly on my machine, but no others (even other Win7 x64 machines) (Update: I found TWO other users where it runs and one of them is Jeff Atwood!, but most machines have the same problem)

[Code]...

View 2 Replies

.NET Counterpart For The Scripting.DLL.

Oct 14, 2011

We are converting a VB6 project to VB.net 2005. The VB6 project used Interop.Scripting.Dll reference.

We do not want to use this Interop.Scripting.Dll in our VB.Net project. find the .Net Counterpart of Scripting.Dll so that we do not require to build our .Net project with the old scripting dll reference?

We are using Scripting.FileSystemObject and Scripting.TextStream of Interop.Scripting.Dll. What is the equivalent .net counterpart of these objects in VB.Net 2005.?

View 1 Replies

Brand New To VB, And Scripting

Jun 3, 2011

Im brand new to VB and almost completely new to scripting.Where could I find a list of the most basic and useful commands with explanations, or even just like a dictionary of commands in VB?

Also, (this is a painfully easy question but searches haven't come up with any useful results) how do you make something happen if a button is clicked... Ill explain.

Ive made my first app - the picture viewer - and am currently expanding it. So far I have added a full-screen function with,[code...]

Now how do I make it Close full screen when that button has been clicked? Ive been playing around with it for a while but cant figure it out.

View 2 Replies

Checbox Adding By Scripting

Nov 10, 2011

I'm using visual studio 2008. I have searched the google upside down, but could not find anything... I guess i'm not typing it correctly.

My question is: How do I add checkboxes through scripting in vb. Instead adding them through toolbox. So when a new file is found, It will create checkbox automatically.

View 2 Replies

Creating Own Scripting Language?

Feb 9, 2010

Is there a way to create my own scripting language. I don't have any details on what I want to do because it's way too complex,

View 8 Replies

Login Scripting In VB 2005?

Jun 22, 2010

I'm trying to write the code to add users to sql 2005 backend server, and a windows login form. so that certain area's of my program have restricted access.

View 2 Replies

VBScript Or Powershell Scripting

Jun 4, 2012

I took the dive into learning VBScript due to some server side scripts that I work with. During a course I ran into Powershell and did some Google searching. From what I was reading, VBScript is good for legacy applications and Powershell is the way to go for Win7. I did not run into anything telling me of this being true or if its a false statement and VBScript will be used for Win7 and Win8. Should I look into learning Powershell and abort my VBScript for now and just worry about VBScript for legacy systems?

View 1 Replies

Make A Scripting Engine In Program?

May 20, 2009

Would it be difficult to make a scripting engine in VB.Net? Just a simple scripting engine for a simple game creating program.

View 2 Replies

Register Assembly (RegAsm.exe) & Scripting

Oct 11, 2011

[URL]

I need to register my class library using the regasm.exe distributed with .Net on user's computers. I have a need to script this so that a command file can be ran to do this.

Question: As multiple versions of this program are on the user's computers, one for each version of .Net, I presume I would want to run the latest version installed. Also, considering that on most of the machines we are talking Windows 7, there is a Framework & Framework64 parent folder. I presume I'd want to use the Framework64 version on Windows 7, no? Are there any inherant environment variables I can make use of rather than hard coding a path in a command file to call RegAsm.exe?

For example, on my computer:

C:WindowsMicrosoft.NetFramework
v1.0.3705
v1.1.4322
[Code].....

Underneath each of these version RegAsm.exe resides. Ideally which should I make use of (Does it matter?) and is there, say something like: %regasm% variable I can make use of?

View 6 Replies

Scripting Options For Webbrowser Control

Feb 22, 2012

I was wondering i have some vbscript code that im executing in an html document using webbrowser.document.scriptinvoke and pass it the name of my vbscript sub but I have a script i paste into a vbs file and it runs all the way through fine what settings can i change for webbrowser control to get it to work correctly?

[Code]...

View 2 Replies

User Defined Scripting - Keep Getting Errors When I Try Load My App?

Apr 29, 2009

I'm trying to add VBScript to my app, I've followed the guide here: http:[url].....But I keep getting errors when I try load my app, heres some of what I have so far:

Public Shared Function VBScript()
Dim ScriptControlClass As ScriptControl = New MSScriptControl.ScriptControlClass
ScriptControlClass.Language = "VBScript"[code]......

View 14 Replies

VS 2008 Disable Active Scripting In A Web Browser?

Nov 8, 2011

What VB code do you use to disable active scripting in a web browser? I've been getting web browser errors that been halting my script. When I disable the active scripting in IE8, everything works fine. I'd like to do this using a VB code and not using IE8.

View 9 Replies

.net - Automation Scripting Tool Boston Workstation Alternatives

Dec 14, 2011

I been using Boston workstation for a project but the version i have is about 8 years old and it only works with terminal not GUI apps. what alternatives are out there for automation scripting Gui apps in visual studio.

View 2 Replies

3rd Party Scripting Editors As Controls In Custom Project?

Sep 4, 2009

Are there any third-party scripting editors that are available as controls (DLLs) for custom projects? I am interested in knowing what is out there and what scripts are provided?

View 1 Replies

C# - Specify The Date Format Used With SQLServer Management Object Scripting?

Jun 17, 2009

When I'm generating my database scripts for my project I'd like to manage the date format that is used in the comments in the SQLScript.I have my regional settings set to Australian format, but they seem to be disregarded.

[Code]...

View 1 Replies

Testing Facebook App On .NET WebBrowser - IFrame Access Denied - Cross-Domain Scripting

Feb 21, 2011

I have a facebook iframe app I'm trying to test using a WebBrowser Control on a form in VB.NET 2010. Whenever I try to access the WebBrowser.Document.Window.Frames frame object on a document where my app is showing in the broswer, I get an Access Denined exception. Reading around on the web, I see people saying that this is to keep scripts in a document from accessing content in iframes that are pulling content from another domain, as per [URL] for security reasons.

While I totally understand why this is done for the general public, how can I disable it on my machine so that I can run these tests? I can't properly test my app without doing it in the facebook iframe and using the WebBrowser control is the only way I know to do this test programmatically. I'm on windows server 2003 and ie8, .net4.0, if that helps. I own the domain where the app is, and its in AS.NET MVC2, so if there's anything I can do to the web code to enable this??? I also removed the Internet Explorer ENhanced Security COnfiguaration component, but that didn't help.

View 1 Replies







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