Thanks, but not really.
The key here is how do you manipulate the position of
a screen object via the mouse?
In Progress(the old apps lang), if I set selectable and movable for a textbox, the I can, as a user), select and move that textbox to a new location.
If I create a new control in...
I am rewriting an existing app from another language to vb.net.
It is basically a form designer for user defined forms.
The old app allows the user to select and move the screen objects,(textbox, combobox, etc) to new locations
and then stores the coordinates to a database table.
The objects...
My application retrieves files of type doc,pdf,rtf,xls,zip,wmv,,avi and all still images for use
and subsequent storage to the data base using vb.net 2005.
The app works well for many of these, however some do not.
I get truncation warnings when attempting to save some of these file types, all...
Mkohl,
Yes I added the the WMP to my tools, selected it and dropped it on my window.
Seems pretty straightforward to me. I have done the same with other controls (third party stuff, activex), with no problems.
Christiaan,
I took this code from one of DEITEL's books on vb.net development...
I'm trying to implement windows media player in a vb window
using the following code:
'Player = AxWMPlib.AxWindowsMediaPlayer
OpenFileDialog1.ShowDialog()
Player.openPlayer(OpenFileDialog1.FileName)
It works fine except it actually opens the WMP outside my application and not in the wmp...
Sorry, I was not drawing the distinction between code and
the form itself. At any rate no, it's gone.
I have deinstalled the app and will reload and see.
I have a demo in Canada in 48 hours and can't afford to
play with this any longer.
Since this is only an Academic version of VS.net and I...
Thanks for responding. Ok.
Design View, Porject is loaded, Code is loaded and displayed
in the design Window.
Select from Menu:
Tools -> Add/Remove ToolBox Items
Tabs = .Net Framework Components and Com Components
Option to "Reset" is at bottom.
If I add anything from the appropriate tab...
Sorry, I know this is a bit off topic, BUT all my toolbox entries are gone, vanished. No Data,General,Forms items.
The reset in the toolbox->customize does not work.
I cannot add anything to the toolbox, it is dead.
How can I get my items back ?
I tried a repair installation, nothing...
Visual Studio.net 2003
My entire toolbox contents have disappeared.
(Tools -> add toolbox items -> com)
I added a media player control, used it , went to add a text-to-speech control and every custom and default item in my tool box is gone.
Tried to reset to default but it does not work.
Do...
Solved:
By adding this to the datatable definition:
Dim myColArray(1) As DataColumn
myColArray(0) = DTpics.Columns("PictureID")
DTpics.PrimaryKey = myColArray
I was able to code the search as:
Dim myFoundRow As DataRow = DTpics.Rows.Find(searchKey)
From an array of primary keys, what is the best method to
retrieve that row and it's subsequent elements ?
This code populates a datagrid and then the array of keys.
=============================================================
Private Sub PopulateImageBrowser()
Dim DApics As New...
Thanks for your time with this......
It's working fine now and I can go on with
actually turning this scenario into what I needed in the first place.......
Here is the revised code for both forms:
I removed me.close() in the button1_click event, but I still have to click X twice to make this form2 fade into oblivion
so I can view my results......
Public Class Form1
Inherits System.Windows.Forms.Form
Public myText As String
Dim myInt...
Thanks again both of you, The function works as expected
with the change to the calling syntax.....
One more question though....
Why does form2 not close and disappear when I execute the
trigger code after the assignment
me.close()
It does the assignment but stays open until I X out ?
Then...
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.