ExecCommands List To Add The Copy Or Cut Features
Mar 20, 2009I am making my own custom tabbed browser and now i want the ExecCommands list. to add the copy or cut etc features.
View 5 RepliesI am making my own custom tabbed browser and now i want the ExecCommands list. to add the copy or cut etc features.
View 5 RepliesI have a ListBox which I add to from multiple other ListBoxes;Private Sub Add1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Add1.Click lstOrder.Items.Add(lstTraditional.SelectedItem)End Sub But I have 2 ComboBoxes and a CheckBox which I would together like to add to the List Box as a single string.In context, I want to custom make a pizza order by:
Type of Crust (ComboBox)
Type of Sauce (ComboBox)
Toppings (CheckBox)
And you click a button which sends these details to the List Box.
This is probably a really basic question - but I have a list of items (custom objects) being passed from one winform (.net 3.5) to another. I want to create a local list to store changes that only get persisted if the user clicks save. Currently if the user clicks cancel - the changes are still applied in the first form because I assume the objects are reference type.I have the save working as it calls a service layer to do the save and then refreshes the other form - but not the cancel.
View 1 RepliesI have to collection objects as follows Dim List1 As New List(Of clsTimesheet_Detail)
Dim List2 As New List(Of clsTimesheet_Detail) I have filled the List1 and now want to make an independent copy to the List2
[Code]...
I have a data structure like this :- myvar.mylistdata where mylistdata is of type list (of list (othertype)).
I want to then move the elements of a specified sub list to another list of list var like tmpvar.mylistdata, so i have been trying code like this[code]...
I am trying to display contents of a remote share and based on selections in a checked list box copy only the selected folders to a local folder.
I can dsiplay the folders in teh checked list box fine, also can copy a folder no problem but now I want to do it based on the selections in the list box.
[Code]...
I am using visual studio 2008 (vb.net). I have a long list of file names in column A on an excel sheet. These files are located in a directory on my network drive. I have to copy these files over to another folder. I know how to copy files in vb.net, however, I need to copy the files listed on column A. (example: column A has - 453245435.tif, 43453345.tif, american justice.tif etc....)
[Code]...
I am sure this is a simple question to the more advanced, however, to the less advanced I am having a problem. I have to come up with a quick program (that works) for my job (I am a systems admin) that will either look in a database or excel sheet (which ever is easier) and find copy files from one directory to another. I know how to move, copy and delete, however, I need it to look for the specific filename.
[Code]...
'Read RESX file and returns a List(Of ResXDataNode)[code]...
Provide two separate copies of the node? Or will the List and Linq query still be referencing the same data?
I am using namespace my. settings to save my options.How can I list all options or copy in an array?
View 3 RepliesI have a WPF form that takes a list of objects that have locations and sizes and plots them on the canvas. I'm currently trying to implement an undo button that will throw out all the changes that have been made to the positions of the objects and revert back to the original collection that was retrieved when the form loaded.
As it stands now I go out to the database on the load of the form and get all the objects that will need to be displayed then assign the list that is returned to two seperate collections. The problem that comes up is that the two collections are actually pointers to the original collection and whenever one is changed the changes are reflected in the second collection.
Is it possible to copy a list of objects so that changes made to one collection won't affect the secondary collection?
So far I've tried simply using the assignment operator, passing the source collection into a function byval and scrolling through each element of the list manually adding it to the second collection and using linq to get all the objects from the original list and pushing the results to a separate temporary list and assigning the second collection to the temporary list.
I feel like I'm overcomplicating the issue but almost all the places I've come across while googling say that this behavior is by design, which I understand but it seems like this would be a fairly common idea.
I understand I've been asking alot of similar questions around this topic, but I think, with luck, and your help, this will be the last time.
I have a listbox containing x-many different values.
What I want the program to do is to overwrite a pre existing file with all these values,
that is, essentially, to do the reverse of this piece of [code]...
I have a program that I have been creating for work, however, I am down to the last part and can't figure it out......The code below copies files from one directory to another from a list of file names in the first column of an excel sheet. This part works fine. What I am trying to figure out is how can I have a prefix in column B where it renames the file while being copied to the destination folder?
Example:
Column A
book1.tif
book2.tif
book3.tif
[code]....
Does anyone know how to copy a VB.Net list of structures to an Excel range? It's not hard to do with an array, but I can't get a list of structures to work.xample:
Structure MyStruct
Dim MyField1 as String
Dim MyField2 as Integer
[code].....
If I have a generic.list(of ClassA), is there a simple way to create a deep copy of this list that will not affect the original copy? It seems to work if I have a generic list of Structures, but for some reason the copy constructor for lists of classes only copies pointers to the elements (or maybe a pointer to the whole list?). I would move to structures if it were not for the fact that I can't find a way to edit the members in the structs in the list. eg:list(0).a = 5 'Does not workIs there some way to get around this without declaring an instance of that structure, like this:dim str as StructA = list(0)str.a = 5I'd
View 2 RepliesI need to copy an array to a linked list OR transform the array in a linked list.How this can be done in .NET (C# or VB)?
View 3 RepliesI need to generate a list that I can copy and then paste into a Word Document. I tried using a listbox, but I couldn't copy from that. Basically I don't want to have to type 200 different numbers and I thought this would be quick and easy to write, but I'm stumped. I need the list to be generated in this fashion and it would also be nice if it was all in one line:
[Code]...
I'm trying to loop through an array of byte and copy the contents to a new list of bytes, and display them back. see the code below.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim myByte() As Byte = New Byte() {65, 66, 67}
[Code]....
I want to see str1 as "ABC" but the out put i get is "A B C" (ie with spaces between letters) note: I have to copy(chunks) within a loop and get the result at the end, this is just a sample to reproduce my real issue.
In my project when someone logs in I refresh the overhead and side menus. My overhead menu is an extended menustrip component that I have made. I am able to clear the menu, reload it dynamically but I am not able to add/insert the open windows which are managed by the mdiwindowlistitem property. These are the items named "1 - form name " "2 - form name" etc.
I have been able to copy the whole dropdown list, and with some very hacky loop work I can take out everything but the items related to the forms. But when I add them back in, they are not on my list. The related forms are still open and if you click the maximize button to shrink a open child window, and then re-maximize that same window...the items magically show up in the list.
This ManageMenus sub is called during a login change. If you breakpoint on "openwindowslist" after it is returned with data, it has the proper entries and nothing extra. It just seems that the for/each add loop does not actually add the items. Or, if it does add them, I can't see them.
Tried both insert and add functions, same results both ways.
CODE:
In my xmlMenuStrip component this is the function that removes everything but what follows the seperator. It returns them in a list.
The format of the full window menu is:
CODE:
I'm trying to figure out a way to sort the entries of a listbox... but in a different way instead of the obvious one (sorted property). First of all, I need to explain how the items are populated at first:
[Code]...
In interface-based programming we normally define a set of functions inside an interface, and use that interface as a contract between 2 or more modules.What happens when we need to add more features to the system?How do we handle such system evolutions ?
View 2 RepliesI 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?
[Code]...
list of URL for the web pages requested by the user should be maintained. The user should be able to navigate previous pages requested by clicking on the links in the History list. On the browsers start up, the History list should be loaded to the browser.
add history features in the web browser
View 2 RepliesI have a large .NET source tree (185 C# and VB projects, of which 60 are apps or websites) that i want to create a wix setup for. The general idea is to have 1 setup msi and to make each executable a feature, and to have each app be installed in a separate directory. like
%progfiles%/company/app1
/app2
/app3
[code].....
Some libraries are used by multiple apps, so the DirectoryRef would have to be pointing to multiple directories, and multiple DirectoryRefs (with different ids) would have to be pointing to the same directory (found directory alias trick), both of which seem impossible.I get the distinct impression I'm going about it the wrong way, or that I'm missing some deeper insight. (No suprise as my wix-fu is a full 3 days old)
Is there a way to disable visual basic 10 language features in VS 2010.our Dev team has moved to Visual studio 2010, but we still have to keep backwards compatibility with Visual Studio 2008. is there a way to disable the new language features to avoid any issues.
View 1 RepliesI was creating GTA SA save editer in c++ but due to less features in c++ I converted my whole code vb.net
Private Sub Save_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Save.Click
[Code]...
I even have it set up so I can filter through the DataGridView by sorting though a specific company in the database. However, now I want to link specific cells from the DataGridView to other VB features such as a text box and check box. I am a bit lost as to the coding. In the DataGridView, there are numerous columns that contain a check box and I need them to correlate to actual check boxes I have in the form. I can do it through binding the check box on the form to the data source and it works but if I run a filter or sort through the company, the check boxes from the DataGridView no longer carry over to the actual check box on the page.
View 10 RepliesI am more interested in the "Pan" feature. I haven't seen much on this so far.
View 5 Repliesi wanted to know what are all the GUI features available in VB.NET for creating a nice UI. The requirement is that, we have screens which were developed in VC++, and now we wanted develop the same screens from scratch, Is it just the way of Drag & Drop all the controls which were present in VC++ screens or something else is available there ?
View 1 Replies