Any Alternatives To Codedom?

Jan 5, 2011

Are there any alternatives to Codedom? THe reason I am asking is because Codedom is not letting me use pointers(unsafe code) which is a must in my project. I have hear of the System.emit namespace though.

View 2 Replies


ADVERTISEMENT

Alternatives To RichTextBox?

Sep 8, 2010

For sometime now whenever I am in need of formatted text I have been using RichTextBox control and save data to RTF format. However lately I started using RTF editor control that allows you to insert images into rtf. And although this works, the file sizes grow immensely.I was wondering if nowadays there are any better alternatives (preferably available for free) that people can use in windows applications for viewing and editing documents.

View 1 Replies

FileLen And LOF Alternatives?

Nov 19, 2010

give me some alternatives to FileLen & LOF?

View 3 Replies

.net Winform Grid Alternatives?

Dec 7, 2010

I am using vb.net / Winform 2010.I am looking for a free (or very cheap) alternative to the DataGridView, one that looks more like what I see on ads for XTraGrid. Something that will multiple lines per records, and for lines to be rolled up, and expanded by clicking, etc.

View 1 Replies

C# - Cross Platform Alternatives To WPF?

Mar 31, 2011

I'm thinking of porting my application from VB.net to the C# based MONO project, so it can run on both Windows and Mac. However, I am in need of a Mac-friendly alternative to WPF. It has to have very similar functionality. QML (by QT) is not a viable option, as it costs far too much money for us.

View 3 Replies

PaintEventArgs.Graphics Alternatives?

Jan 1, 2010

is PaintEventArgs.Graphics the only way to get the Graphics of a Form?

View 10 Replies

VS 2010 Alternatives For The Old Functions?

Sep 21, 2010

When I try to code in VB2010, I usually unmark the reference to Microsoft.VisualBasic. Because I do not want to use the legacy functions of VB6. I want to complete walk in .Net path. And I have found some alternatives for the old VB6 functions. But the rest not. Where can I find the list of those methods or classes (alternatives for the VB6 functions) ?(For eg: when I tried to find the difference of 2 dates, I couldn't find any other alternatives. So, I came back and used the Microsoft.VisualBasic reference for using DateDiff())?

View 24 Replies

VS 2008 Drag And Drop And Alternatives?

May 20, 2011

I'm working on a small utility program and found that I have a need to copy the contents of listboxes, textboxes and other control from one to another.

I just started playing around with Drag and Drop but it seems lacking a bit...for instance, if I wanted to drag the contents of a listview to a text box, it doesn't look like I can do that easily if at all.

Can you use a drag and drop to copy the contents of different control types easily?I thought about using the drag and drop method for notification of the intent to copy the contents and then I would code the copying.

The idea (although I know it will be slow but that is okay for this utility) to copy the source to a textbox and then from the textbox to the target. The content won't be that large and speed is not a concern at this point.

Here is my issue if I have to do it this way.

1 - How can I use the control names to do this?

2 - How do I get the target control name?

I figured I would create a function that I would pass the source control name and the target control name and based on type, perform the appropriate method of copying the data.

I haven't figured out a way to get the target control name. I can use activecontrol.name for the source.

View 1 Replies

[2005] TabControl: Beautifying It Or Alternatives?

Feb 18, 2009

I have the need to constantly use the TabControl but somehow its current look is boring, is there any tricks out there to make it more interesting? Or what are the alternative controls that I could use to replace it?

View 3 Replies

.net - Alternatives To SelectedIndexChanged That Don't Fire On Form Load?

Dec 24, 2009

I'm developing in VB.NET with Visual Studio 2005.I have a ComboBox (myCombo) on a form that gets populated within the Load method.I also have handled myCombo.SelectedIndexChanged to change a label on the form.

Edit: The way I added the event handler was by double-clicking on the combo box on the designer. Skeleton code then came up in the code view.It looks like what's happening is when the form loads, SelectedIndexChanged gets fired each time an item is added to myCombo.This isn't what I want, but I'm thinking there's another event handler that only gets called when the user changes the selection.

Here's some code for what I have:

Private Sub myDlg_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
' this is all I do with myCombo in this sub
list = GetListOfItemsToAdd()

[code].....

Update: The solution I used was to remove the Handles clause after the event generator, and add this before the "End Sub" above:

AddHandler myCombo.SelectedIndexChanged, AddressOf myCombo_SelectedIndexChanged

View 4 Replies

Alternatives For Accurately Representing Decimal Variables In C++

Mar 4, 2010

I am currently working on a program that takes Visual Basic data in the form of a text file, and then stores this data in C++. Some of the data from Visual Basic is of the type Decimal. C++ has no built in type equivalent to decimal. I don't want to use double because there is a possible loss of significant figures if the numbers are large enough.One option is write my own decimal class.

View 2 Replies

Alternatives To SelectedIndexChanged That Don't Fire On Form Load?

Jan 16, 2011

I'm developing in VB.NET with Visual Studio 2005.I have a ComboBox (myCombo) on a form that gets populated within the Load method.I also have handled myCombo.SelectedIndexChanged to change a label on the form.Edit: The way I added the event handler was by double-clicking on the combo box on the designer. Skeleton code then came up in the code view.

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

Building EXE's, CodeDom

Sep 21, 2009

Okay Is there a way In vb.net to create an exe from a predefined script, for example rather than writting the methods and subs into the codedom code could I just have a textbox that I could put a script into and then have that built? (obviously omitting button presses and things.)


Im not worrying about ui's at the moment just and exe (hello world style )

Are there any tutorials for this?


Code: None

View 2 Replies

How To Use VBCodeProvider And Codedom

Feb 4, 2009

Does microsoft have documentation on how to use VBCodeProvider and codedom or any .net book that provide detail on how to use it. i tried to use it to compile program on the fly but never work. It always gives me an errors such as path to the string or file not found.

View 11 Replies

C# - Codedom And String Handling?

Aug 14, 2010

I'm trying to see if Codedom can handle strings and concantination between different languages, without me setting up conditional strings per language.For example, I need to generate the following exactly as shown below in both C# and VB.NET via Codedom:

C#
errorMsg = errorMsg.Replace('"', ''').Replace("
", @"
");
System.Windows.Browser.HtmlPage.Window.Eval("throw new Error("Unhandled Error in Silverlight Application " + errorMsg + "");");

[code]....

The CodeMethodInvokeExpression for errorMsg.Replace and System.Windows.Browser.HtmlPage.Window.Eval is simple enough, it's the string inside them that I can't figure out if Codedom can automatically handle.

View 4 Replies

IDE :: Compile Form Through Codedom?

Feb 25, 2010

I'm trying to make an application, Where users can insert code, and it will compile a form for me. so like the user inserts

imports
system.net.mail
'user can define the imports

[code]....

View 1 Replies

Use CodeDom To Convert One Language To Another?

May 25, 2011

I essentially took this and played around with it url...If i build a codedom like the msdn link shows i can generate cs and vb code. However if i read cs or vb code back and try to generate the source in the other language i just get whatever code i originally read from (you'll see cs code in the vb file and vice versa).How do i read in source from one language and generate it to another?

View 1 Replies

Using Codedom To Write Properties

Apr 17, 2009

[code]I already had to add in bits to the example code to actually name the property to match their example output, I suspect that there is a detail missing that is causing this, but I can't seem to track it down? Whilst the code compiles, I'm unable to use the properties without manually adding in the parameters, which defeats the purpose somewhat.

View 1 Replies

Add A Text File To A Codedom Executable?

Jan 12, 2011

Ok how do I add a text file to a codedom executable?

I don't mean adding a resource file like this ".resources"

I mean adding a textfile to the already existing resources.

View 1 Replies

CodeDom Reflections Slow Processing?

Jun 21, 2010

The following is a program that lets users store business logic for later retrieval by other users.

I am trying to run multiple logical statements pulled from sql server database. one statement may be dependent on another one. I've been compliling the code in a wrapper and In-Memory set to True. I ran 18 logical statements in a loop and it took approx 3 seconds to run. These were simple one line statements containging math and/or If Then's.

Any other methods available out there. please no 3rd party plug-ins.

View 1 Replies

CodeDom To Generate Operator Overload?

Jan 10, 2011

Is there a way to use CodeDom to generate an overloaded operator in Vb.net? I want to generate this:

Public Shared Operator =(ByVal x As MyType, ByVal y As MyType) As Boolean
Return x Is y
End Operator

The closest hack I can think of to do this the following:

Dim eq As New CodeMemberMethod()
eq.Name = "Operator ="
eq.Parameters.Add(New CodeParameterDeclarationExpression(New CodeTypeReference("MyType"), "x"))[code]....

Which generates this, close but obviously wrong:

Public Shared Function Operator =(ByVal x As MyType, ByVal y As MyType) As Boolean
Return (x Is y)
End Function

View 1 Replies

CodeDOM, VBCodeProvider And MustOverride Property?

May 27, 2007

I'm having trouble with CodeDOM and the VBCodeProvider.I want to generate an abstract class with a MustOverride ReadOnly Property.

View 3 Replies

Create A Simple Application Using Codedom?

Dec 18, 2010

today I attempted to create a simple application using codedom.Basically I want to be able to compile a messagebox with the custom text entered in the builder.

This is what I have so far.

ICompiler.vb Class "Codedom" Class and in my main form "the builder I have this

[Code]...

If no one could help me perhaps does anyone have a simple source example?

View 1 Replies

How To Access Resources Embedded With Codedom?

Jul 29, 2011

in CodeDom you can add a resource with EmbeddedResources like this:

[code...]

View 2 Replies

Netpipebinding With Codedom Assembly Client?

Dec 13, 2011

there is an example from MSDN: 1 solution - 2 projects: service and client like this: service:

<ServiceContract()> _
Public Interface ICalculator
<OperationContract()> _
Function Openserv(ByVal n1 As Integer) As Boolean

[code]....

but the client make an exception "timeout expired"... how can I make it work? maybe use something else instead netpipebinding? I can rewrite this on C#, if it will help. how to call from generated assembly another sub of generates it class?

View 2 Replies

Pass Object To Function Using CodeDom?

Jun 27, 2010

How do you pass a control (say a textbox) to a function as a parameter in compiled assembly using CodeDom? I've tried passing through the args in the Invoke method but it doesn't work.[code]...

View 6 Replies

Passing DataSet To A Method Using CodeDOM?

Jun 17, 2010

In my main application i am trying to run Pre-defined Code blocks that the user has created. I would also like to send a DataSet as a parameter when the code is compiled. Is this possible. Currently I can pass in single values by assigning them as a string in the code wrapper through the <%= input %> expression. Then i compile this as source.

[Code]...

View 1 Replies

Use CodeDom To Create A Decimal Constant?

Mar 12, 2010

I have this function in my generator.[code]Despite the data type being passed into the constructor of the CodePrimitiveExpression object being a decimal, the code generated is an integer that gets implicitly converted and stored in a decimal variable. Is there any way to get it to generate with the "D" after the number as in: Public Const DollarAmountMaximumValue As Decimal = 100000D

View 1 Replies

Workaround For Partial Method Using CodeDom?

Nov 30, 2009

I know CodeDom doesn't support partial methods, but is there a workaround? I found a workaround for C#, but I need one for VB.NET.

View 2 Replies







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