Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mushin

    Movable screen objects

    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...
  2. mushin

    Movable screen objects

    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...
  3. mushin

    Saving Binary Files to SQL2005 - inconsistent results

    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...
  4. mushin

    Using Windows Media Player in a Form

    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...
  5. mushin

    Using Windows Media Player in a Form

    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...
  6. mushin

    OT: All TOOLBOX ITEMS GONE

    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...
  7. mushin

    OT: All TOOLBOX ITEMS GONE

    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...
  8. mushin

    OT: All TOOLBOX ITEMS GONE

    I am using the add/remove items dialog and it does not work. I have tried the reset option too, no effect
  9. mushin

    OT: All TOOLBOX ITEMS GONE

    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...
  10. mushin

    Toolbox contents trashed

    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...
  11. mushin

    Retrieving a row from a dataset based on the Key

    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)
  12. mushin

    Retrieving a row from a dataset based on the Key

    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...
  13. mushin

    Can't Return a value from a called Form

    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.......
  14. mushin

    Can't Return a value from a called Form

    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...
  15. mushin

    Can't Return a value from a called Form

    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...
  16. mushin

    Can't Return a value from a called Form

    Perhaps I am missing something here..... Form1 sends the value of myText to form2 as mstr Form2 sets the textbox tb2 to that value by virtue of the byVal clause, Public Function GetText(ByVal DefaultText As String) As String tb2.Text = DefaultText I modify tb2 and set mstrText1 =...
  17. mushin

    Can't Return a value from a called Form

    Hi This is a prototype to return a lookup value to a calling form. Enter some value on screen Form1 calls form2 Data from form1 is modified form2 exits Form1 wants to display what was entered in form2. Form1 Code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As...
  18. mushin

    Running a Form from another form

    Even though we are straying a bit from the original topic which is long since solved.... I'm not so enamoured with Crystal either so What would a REAL reporting engine be ?
  19. mushin

    Running a Form from another form

    Actually I have 4 vb.net books I have been using and you might be suprised to learn that it is not particularly easy to locate information about specific syntax when you are unfamiliar with the keywords in that syntax. I have searched this forum many times for various questions and have found...
  20. mushin

    Running a Form from another form

    I have a form 'myform.vb', with some menu options on it, one of which is 'new'. When I select 'new', I want to run a different form, 'myform2.vb',to collect some data. So, How do you run 1 form from another ? On my home planet I would just code: Run c:\myDir\myForm2.exe. Both forms are...

Part and Inventory Search

Back
Top