How do I go about sorting a column on a Dbl-Click instead of a single click in a datagrid?
I don't want to sort on a single click but on a double click.
I've got it working by re-querying the database if the user wants to sort ascending or descending, overwriting the dataset, creating another...
I have made several custom controls before but whenever I add them to the toolbox I get an ugly default image of some wheel.
How can I change this image so that my picture appears in the toolbex for that custom control.
Thanks
I am unsure how to add rows to an existing datagrid.
IE.
When the application starts a dataTable is created from a resultset and a data grid is bound to this datatable.
The application updates every 15 seconds via another query to an MS SQL database. All new records in the database are added...
How can I convert a string into a condition?
For example, I accept a condition from the user as a string. I then apply this condition.
ie.
Dim strCondition = "3 < 4"
If (CType(strCondition, Object) = True) Then
' Perform some actions
End If
Of course this doesn't work, but where am I...
I would like to add some rows to an existing datagrid. If I add rows to a new datatable and then bind this datatable to the datagrid, then the grid will refresh/reload (Since it is being recreated).
Is there anyway to add rows/values to a datagrid? Thank you for any help.
I am looping through a directory and performing these actions on every file:
1. Getting the file's information via fileInfo
2. Grabbing data from MS SQL and making a dataTable
3. Reading the files via a streamReader
4. moving the file to another directory
5. Adding this a record with the file...
My program should look into a folder and perform actions on every file that arrives in that folder only. The file is then moved to a different folder so that file is not processed again.
The files appear in that folder after being FTP-ed from a mainframe elsewhere. Thus once the files...
Background:
A file is fist FTP-ed to a certain folder. Then my program identifies the file (sometimes using only the filename, but other times the file is opened up and it is searhed for any identifying text)
This process can be paused by checking a 'Pause' checkbox. A while loop runs while...
I am creating a wizard that contains next and back buttons. When the user selects next, then a certain form is loaded and the name of the form is placed in an array. Then when the user selects the back button the previous entry in the array contains the name of the previous form. Ideally the...
Hello all,
How do you select the text in a datagrid with one mouseDown? Like Microsoft Access lets you select text by clicking and dragging. I have only managed to do this on the second click (after the textbox has been selected).
My text box is read only, and I want the user to be able to...
Hello all,
I am new to VB.NET and cannot figure out how to create a dynamically generated SQL.
I have a simple test windows application with a text box (TextBox1) and a button. Upon clicking the button I would like VB to access a table in MsSQL and return values according to the text. The...
Hello,
I have a viewport inside of _root.mc. This viewport also contains other movieclips. So the structure is:
_root.viewport_mc.element_mc1
_root.viewport_mc.element_mc2
...
_root.viewport_mc.element_mcn
I am trying to make a viewport effect like you see in VISIO. I've included the...
Hello,
I have a viewport inside of _root.mc. This viewport also contains other movieclips. So the structure is:
_root.viewport_mc.element_mc1
_root.viewport_mc.element_mc2
...
_root.viewport_mc.element_mcn
I am trying to make a viewport effect like you see in VISIO. I've included the...
I have included two comboBox components in my file. After clicking on either of them then my other buttons do not work properly.
For example,
1) I have a view_cb that lists different viewing ratios such as 200, 150, 100, and 50. (The movie then scales by the number selected).
2) I also have...
Hello,
I aAm trying to make a VISIO-like program. I am doing pretty good, but I am unsure about how to make the arrows. I have seen this done, but how? Should I use hitTest to get the boundaries? I know the from-MC instanceName and the to-MC instanceName...so I can draw and update the lines...
Hello all,
In my flash program, I have a MovieCoip called display_mc that contains another movieClip called list_mc. List_mc contains several created movieClips called "thisMC0", "thisMC2", ... "thisMC9". Each of these movie clips contain a textField called "myTextField".
i.e. _level0...
Hello,
does anybody know how to refresh a FLASH file and/or flush all data? I am currently using Flash to talk to a ColdFusion file - this file retrieves data from a database and sends the results back to Flash. Everything works good on the file, but when I edit the database in Flash, the...
Hi all,
I have a problem concerning the drag n drop ability using movie clips containing textBoxes.
My drag-n-drop works well and the text appears correctly. The problem arises when you click on the TEXT and then drag the movie clip OR when you drop a movie clip onto another movie clip's...
Hi all,
Basicaly, I am just using the Flash file as a form/interface. A coldFusion file (getKeywords1.cfm) is called wich calls getKeywords.swf. This file spits out the form variables and the database is updated corectly (thus I know that the <cfif> is working corectly). However, the "here I...
1) First I am uploading an image.
2) If the image looks ok then it is displayed as is else the image is displayed but with an image of an 'X' (with a transparent background) over it. Of course the 'X' should be able to change in size to fit any size picture (if the 'X' is static then it may be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.