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 bkrike 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: stx
  • Content: Threads
  • Order by date
  1. stx

    how can i be sure a program is already running

    Hi I want my program to start up outlook when pressed on a button, but only if it isn't already running, by using the shell command. How can i check if outlook is running or not? thnx
  2. stx

    using excel

    Hi Following problem: I developped a program that opens and changes an excel-document and saves it on a different name. this program runs flawless on my developping computer. (windows xp,.net 2003,office xp). When i make a setup-project (in .NET 2003) and install it on the target my...
  3. stx

    backcolor textbox when disabled

    Hi Is there any way to change the colors (back- and forecolor) of a textbox that is disabled? Locking the textbox isn't good enough because when it's locked, his events (lostfocus,validating,...) are still fired (and that i cannot have). And i do need a textbox because some users can change...
  4. stx

    Making dsn-less connection

    Hi Can someone tell me how to make a dsn-less connection to a sybase SQL anywhere 5.0 database? for example this dsn-less connection to access: ("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\NewDB.mdb") I want to so something similar to a sybase SQL anywhere 5.0 database Any...
  5. stx

    using excel in .NET problems

    Hi This is my code: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim oXL As Excel.Application Dim oWB As Excel.Workbook Dim oSheet As Excel.Worksheet ' Start Excel and get Application object. oXL...
  6. stx

    Making running total of formula field

    Hi I have following problem. In my database i have a table of articles. I show following columns on my report: artnr,description,price,tax percentage. The records are grouped on tax percentage. In my group footer i show the running total of my price column.(totprice) What i also show in my...
  7. stx

    using excel in VB.NET

    I'm using a windows xp pro system with visual studio.net 2003 and microsoft office xp. This is my code Dim oXL As Excel.Application Dim oWB As Excel.Workbook Dim oSheet As Excel.Worksheet oXL = CreateObject("Excel.Application") oXL.Visible = True oWB = oXL.Workbooks.Add The...
  8. stx

    Stored procedure problem

    Hi This is my stored procedure... create procedure get_tableInfo ( @tablename char(8) ) as select * from @tablename return This doesn't work. What i want to do is returning a selection on a table in my database. The name of the table is given as a parameter. Any thoughts? thnx
  9. stx

    Stored procedure problem

    Hi This is my stored procedure... create procedure get_tableInfo ( @tablename char(8) ) as select * from @tablename return This doesn't work. What i want to do is returning a selection on a table in my database. The name of the table is given as a parameter. Any thoughts? thnx
  10. stx

    Date format

    Hi I want to display the current time This is my code: messagebox.show(now,"hh:mm") I get for example: 01:30 What i actually want is: 13:30 My computer settings are correct because my windows clock in my statusbar is showing 13:30. Can anyone help me? thnx
  11. stx

    major deployment problem

    hi i have written a small database application using sql server. After testing my application on my pc everything works fine. Now i copy my project to another computer also having vb.net installed (the same version as is installed on my pc). If i run my project there i always get an exception...
  12. stx

    Tabcontrol problems

    hi How can i make sure the user cannot go to the second tab page befor the first one is filled in correctly. If possible i would like to disable the little tab-button of tabpage2 when on tabpage1. Until a checkbox on tabpage1 is checked the tabpage2 cannot be reached. Any thoughts? thnx
  13. stx

    replacing the character that is pressed by another

    hi following problem: I have a textbox. When the decimal point is pressed on my keyboard i need it to be replaced by the comma. I vb6 that was easy. you just had to replace the keyascii value in the keypress event. In .NET the e.keychar seems to be read-only and cannot be replaced. Is there...
  14. stx

    decimal character

    hi is it possible to change the decimal character for my app only to "." instead of a "," or vice versa.
  15. stx

    popup window

    hi Following problem. What is the best way to work with popup windows on my windows form application.I'll give an example to clarify my situation. I have a form where you have to give the customerid and it will get the according data from sql and show it to you. But mostly the user doesn't...
  16. stx

    Datagrid problems

    Hi I have so many problems and questions about the datagrid control, i won't even start asking them all. Instead can someone give some usefull links to good documentation about the datagrid control (if possible with example code). thnx Any help is greatly appreciated.
  17. stx

    problems creating dataset

    Hi This is my code (essential pieces): dim rstop10 as adodb.recordset,netto as double Set rstop10 = New ADODB.Recordset With rstop10 .Fields.Append "netto", adDecimal, , adFldUpdatable .CursorType = adOpenKeyset .LockType = adLockOptimistic .Open End With netto =...
  18. stx

    change settings to default printer by code

    Hi is it possible to change for example the page-orientation of the default-printer (or another printer) to landscape? My problem is that i want to send a txt-file to the printer without using the common dialog control and it must be printed in landscape. Basically this is what i want: change...
  19. stx

    using enter button to give next control focus

    i am using the following code the give the next control on the form the focus when the enterkey is pressed. The good thing is that it works, the bad thing about it is that it produces an annoying sound every time the enter button is pressed. Private Sub frmKlantInfo_KeyPress(ByVal sender As...
  20. stx

    MDI application using toolbar

    I have a toolbar on my parent form. When one of the buttons is pushed, i.e the save button, i want to run the save routine from the child form that currently has the focus. I vb6 i wrote in the toolbar_click event on the parent-form following code: select case button.key case =...

Part and Inventory Search

Back
Top