FileLen And LOF Alternatives?
Nov 19, 2010give me some alternatives to FileLen & LOF?
View 3 Repliesgive me some alternatives to FileLen & LOF?
View 3 RepliesFor 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 RepliesAre 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 RepliesI 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 RepliesI'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 Repliesis PaintEventArgs.Graphics the only way to get the Graphics of a Form?
View 10 RepliesWhen 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 RepliesI'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.
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 RepliesI'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
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 RepliesI'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 RepliesI 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 Repliesrecommended alternatives for speech recognition other than Microsoft Speech libraries?
View 2 Replies