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

  • Users: Lekar
  • Content: Threads
  • Order by date
  1. Lekar

    Is there a control to host applications?

    Hi I need to run Microsot Word, the Calcular and other applications but also I need to put those applications inside my window. In other words my application should host other applications. I want to know if developing a control to host third party application is very complex or if I can buy a...
  2. Lekar

    Running an application and keeping it inside my window

    Hi I need to create an MDI application that can run other applications like MSWord, MSOutlook, etc (the end user will define the applications, so I dont know the list of applications my program will run). The problem is that the applications do not have to show in the taskbar but they must be...
  3. Lekar

    Running an application and keeping it inside my window

    Hi I need to create an MDI application that can run other applications like MSWord, MSOutlook, etc (the end user will define the applications, so I dont know the list of applications my program will run). The problem is that the applications do not have to show in the taskbar but they must be...
  4. Lekar

    Problem with nested Select

    Select C1, C2, C3, (Select Sum(ColSum1) From PAYS P Where P.F1 = C.F1 And P.F2 = C.F2) As TotalPay From Client C Where ToPay <> (Select Sum(ColSum1) From PAYS P Where P.F1 = C.F1...
  5. Lekar

    Problem with date when calling a store procedure

    I'm connecting to MS SQL Server and there is a store procedure that returns a value using an output variable. I declared the store procedure in the Local External Functions of a Transaction object. Where PB calls the store procedure, PB changes the month and the day. Here is an example: // On...
  6. Lekar

    Disable the sa user

    Can I disable the sa user? I don't want anybody can use that user. [bomb]
  7. Lekar

    DBCC USEROPTIONS (for another connection)

    Hi I want to check out the options for any connection. I've used DBCC USEROPTIONS, however this command only applies to the current conection. When I run sp_Who I see some spids and I want to know the options of the conection of the spid x. Can I do that? [bomb]
  8. Lekar

    Show the list of a DDDW automatically

    In a DataWindow I have a column that is a dropdown datawindow. When a user types a value in another column, I want to drop down the DDDW column automatically (via code). Is there a function that displays the list automatically? Thanks.
  9. Lekar

    Setting the Server DateTime Format

    I want to set the datetime format of the server. I tried using SET DATEFORMAT, but it only worked in the current session. Is it possible to change the default datetime format of the server? Thanks. [bomb] Lenin.
  10. Lekar

    Using bitmaps on menus

    Hi I know how to display a bitmap on a menu using LoadImageA and SetMenuItemBitmaps API functions. The problem is I want to take the picture from the resource file, does anyone know how can I accomplish that with the LoadImageA function? Thx [bomb] Lenin.
  11. Lekar

    Sending email without the compose window

    Hi! I want to send an email, but I don't want that Outlook open the compose window. I have this code, but when I call MailSend(), the Outlook Compose window opens and I have to click the Send button to send the email. I want that my app sends automatically the email. Thanks. MailMessage...
  12. Lekar

    Running a SQL file from Query Analyzer

    Hi. I remember some years ago that ORACLE has a statement that runs a sql file. I want to do the same from Query Analyzer. I want to build another sql file like this: ExecuteSQLFile 'C:\SQLScript1.sql' ExecuteSQLFile 'C:\SQLScript2.sql' ExecuteSQLFile 'C:\SQLScript3.sql' ExecuteSQLFile...
  13. Lekar

    Updating an Order from a trigger

    Hi. I've a table Order with a field TotalAmount and another table called Order_Detail. I want to use a trigger on this last table, when I insert, update or delete a product the Total field from its parent table (Order) will have the sum of the products. I've tried with this script: Alter...
  14. Lekar

    Sorting by a DDDW column

    Hi I want to sort my DW using a DDDW column. The column stores a number, but displays a name stored in another table. I tried the LookUpDisplay function but I think it doesn't work with DropDownDataWindows. Thanks in advance. =)
  15. Lekar

    Can I use a &quot;TriggerFunction&quot;?

    Hello everybody! I wanna trigger a function on a control based on the argument passed to of_Edit_Action function. Public Function Long of_Edit_Action(ReadOnly String as_Action) /* The as_Action variable can hold values like &quot;copy&quot;, &quot;cut&quot;, &quot;paste&quot...
  16. Lekar

    Is there a function that returns the path of my executable?

    Is there a function that returns the path of my executable? I load some color for my application from a Ini file each time I open a window. But, when my application opens a Save Dialog Box and the user chooses another directory, then my application can't find the ini because is looking in the...
  17. Lekar

    Automatically disable and enable cut, copy and paste buttons

    I would like to create buttons that can automatically be in enable and disable state depending whether I have selected text and if there is text in the clipboard. Delphi provides a very useful object that does this work, and I am wondering if VB can do it in some way. Thanks in advance.
  18. Lekar

    How can I load a database field into a RichTextBox Control?

    Hi! I want to load the data that is located in a database field into a RichTextBox Control. I open a recordset in the Form_Load event and then I assign every field to a respective object. Everything works well, but when I assign the contents of the field into the RichTextBox Control, using for...
  19. Lekar

    Using DataCombo with ReadOnly Recordsets

    Hi. I want to know whether it is possible to use correctly a DataCombo with a ReadOnly Recordsed. I've used a DataCombo with a Pessimist RecordSet and I don't have any problems, but when I change the Recordset to a Recordset with LockType = adLockReadOnly, it doesn't work. I think that the...
  20. Lekar

    How can I call Control Panel Applets?

    I want to open the timedate.cpl control panel applet from my vb application. I tried to find out but I couldn't. Lenin.

Part and Inventory Search

Back
Top