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 wOOdy-Soft 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: *

  • Users: mushin
  • Content: Threads
  • Order by date
  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. mushin

    adding time from 1 datetime to another

    Every time I think I understand datetime arithmetic, I prove myself wrong ...... I have 2 datetimepickers, one for date selection and 1 for time selection. My DB has 1 datetime field. My user selects a date then a start time in the 2 DTP's I want to combine the time portion from time dtp to...
  10. mushin

    Using DB screen field values in Calculations

    I'm a bit new to .Net and am perplexed by some unwarranted complexity. dim d as datetime dim dur as int d = datetimepickr1.value. datetimepicker2.value = d.addminutes(30). This works ok, but now I want to use the contents on myField in place of the hard coded value of 30. I have a db field...
  11. mushin

    DateTimePicker to SQL Query Problems

    If I execute the following query in the SQL-2000 Analyzer: Select myDate from myTable where myDate = '11/03/2004' I get appropriate results. BUT,If I grab the date from a DateTimePicker on my vb.net form and execute the exact same query, I get Nothing.... The db column is a smalldatetime...
  12. mushin

    Printing Directly to Network Devices

    SCR 8.5,ActiveX -- When sending a report to a network printer using the printer Name,port,driver from the windows Registry, Crystal does not print. There is no error. Local Printers work fine. Some PC's work perfectly, others do not. The SCR viewer always works, but when sending diretly to a...
  13. mushin

    Crystal does not Promt for Parameters

    Crystal 8.5 report with paramters prompts and uses paramters when running directly from Crystal...,But I am calling the report from inside another application,VB and Progress...The report will run if I supply the param but it will Not prompt for it .... What do I have to do to enforce the...
  14. mushin

    string parameters to a Stored Procedure

    VB 6 & SQL Server 7*************************** This is drivin me nuts ! Just trying to pass a string variable to a stored proc and I keep getting runtime errors for the odbc driver. If I hard code the value in my stored proc and eliminate the reference in the call, it works fine. Why can I...
  15. mushin

    datetime as sp output parms

    Trying to retrieve datetime's via output parms in sql 7 stored proc.The other parms (varchar/int) work fine. ***** VB code snippet ******* Dim objCmd As New ADODB.Command..... objCmd.Parameters.Append _ objCmd.CreateParameter("admission_date", adSmallDateTime...
  16. mushin

    Printing using NT/WIN2K Task Scheduler

    We have been running an application that creates text files and runs compiled Crystal Reports OCX reports using the MS ODBC Text driver. This app is initiated by the MS Task Scheduler or AT depending on platform.. 99% of the time it works great, but occasionally seemingly random errors occur...
  17. mushin

    Date Parameter Syntax with Crystal 8.5

    I wrote a report using a date in my select stmt and all was well. When I made that date a parameter in CR and let it generate the sql stmt I get: SELECT TIME_BLOCK1."start_date", TIME_BLOCK1."start_tick", TIME_BLOCK1."end_tick&quot...
  18. mushin

    Communication between ActiveX objects

    I have built a treeview activeX which resides in a frame with several other activeX objects, (each with its own form). What's the best way of communicating a message (treeview image tag value) to other activeX objects within a common parent frame ? So that as my user clicks on the treeview...
  19. mushin

    Major Trouble - reached Control creation LIMIT

    I have created an Activex data entry application the utilizes tabstrip control to manipulated 12 picturebox objects, each with label and text boxes on them...... I have gotton thru 5 pages and about 250 label/text box objects and I can CREATE NO MORE ????? ERROR states: "Reached...
  20. mushin

    Building Variable Names from literals

    dim tmp1, tmp2, tmp3, myVar as string. dim myNbr as integer myVar = "some data values" myNbr = 1 "tmp" & myNbr = myVar I need to build my variable name and assign its value based on values in other variables as above. in the example above I want a variable called tmp1 to...

Part and Inventory Search

Back
Top