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

    OCX controls on other machines

    when i load up a project stored on a network drive that uses ocx controls(also stored on the network drive), it always brings up an error saying that it was unable to load the control except when i run it on the machine where the ocx's were compiled. i would like to be able to edit the project...
  2. ctlin

    need help with timer code!

    am i allowed to call public subs in other forms from a timer? it seems not to be able to call them... Call Form2.mysub --> it never enters form2.mysub() !!!argh! ------- Private Sub Timer1_Timer() Dim mFileSysObj As New FileSystemObject Form11.Text2.Text = Str$(promptCurrent) If...
  3. ctlin

    API gurus: how do i get a window title using its handle?

    I know about the findwindow technique. How do I do the reverse of that? That is, knowing the handle of the desired window, how can I grab its title? What other information can I grab knowing just the handle? Thanks
  4. ctlin

    easy MSChart question

    I have a set of data that I would like to plot as a line graph: x vs y. My data consists of one array for the x axis points and another same-sized array for the corresponding y values at each x axis point. This should make one line. How do I plot this in MSchart? I am using the follwing code I...
  5. ctlin

    see if program is running using handle

    i have the handle of a program that i shelled and am controlling with my VB gui. sometimes this other non VB program exits of its own accord. is there a way i check in every once in a while to see if a program is still running? i have the handle of the program to work with. there may be other...
  6. ctlin

    how to add parenthesis in a string?

    Form6.List2.AddItem ("K/z0 (" & trim$(Str$(j)) & "," trim$(Str$(j+1)) & ") =" i want the final string to look like: K/z0 (0,1) = how do i do this? i'm getting a syntax error on compile at the moment
  7. ctlin

    disable X button on MDI form

    i know this is an option on child and regular form windows, but it doesn't appear in the MDI window properties. Is there an easy way to disable the top right hand corner X (exit) button? i've seen some pretty complicated solutions involving how the toolbar is drawn...
  8. ctlin

    max value in array - built in function?

    is there a built in function in VB that returns the max value and its position in an array? i seem to remember this being in other languages but haven't found it for VB yet. if all else fails, i suppose the few lines of code needed could be written myself - i just figure that somebody else has...
  9. ctlin

    Quick Q: How do I get the path of where the prog is running?

    say I have a the VB executable running from C:\winnt\profiles\ctlin\desktop how would I make a call in VB to return this full path as a String for the program to use? Thanks.
  10. ctlin

    strongm- question about that command line interface program

    strongm- on that program you wrote a few weeks back that interfaced a GUI and a console app: is there any way for me to be able to see what is going on in the console app when i am having the GUI send console commands to the console app? right now the console window appears when i start the...
  11. ctlin

    how to make a control array of Let/Get statements?

    so i have a lot of properties i want to control, say 10 outputs of something. each one has an on/off property. i could go through and make a let/get for each one and then individually control each property with its own checkbox. but i have 10 checkboxes in a control array so i would like to...
  12. ctlin

    error: "No Public UserControl detected."

    It pops up when I try to run or compile the code. what does this mean? I am trying to build a control for an external device. I have the UserControl_Init, _Read and _Write subs written along with some Let/Get blocks. Is there a specific error I should be looking for or is this a general type...
  13. ctlin

    How do i use WriteFile or WriteConsole?

    so i need to send in some input to a console-style app that will be running hopefully hidden in the windows background. SendKeys is what i've been using when running the console normally, but i'm not sure how to get it to type to hidden processes(started with Shell, option '0') so i think i may...
  14. ctlin

    processes still running when user exits prog with 'X'

    i have some loops running that are infinite (waiting for input from another prog). if the user exits the program with the X in the upper right hand corner of the MDI during the loop, then the .exe still runs after all the form windows close (i know because i tried to recompile to the same name...
  15. ctlin

    enable/disable menus items in MDI window

    i have an MDI window with a menu. right now i have it set up so that several menu items are disabled. how do i make it so that i can enable these items from a call in another form. i have tried making a public sub in a module but it can't seem to reference the MDI menu object. can i make the...
  16. ctlin

    how to conditionally exit a sub?

    the following code doesn't work for some reason- when i run it i get a popup saying: "Compile error: Block If without End If" i am trying to get the sub to exit if all fields have not been filled properly. something to the effect of undoing the submit click i suppose. thanks...
  17. ctlin

    how to make a public array

    i am trying to make a public array of strings that can be used by all the forms in my program. i get an error when i try to do: Public myArray(40) As String the error basically says that i can't make arrays public. how do i get around this or make a set of data accessible to the whole...
  18. ctlin

    radio button grouping

    yet more questions from the VB newbie... how do i separately group radio buttons on the same form? it seems that when i add radio buttons on one form, they all get lumped into the same "only one at a time" radio group. i would like to have several sets of buttons on a form. also is...
  19. ctlin

    help with compile error

    here is the piece of code that seems to be generaing an error on comile in Compaq Visual Fortran... ------------- COMPLEX*16 A(NDIM,NDIM),PIVOT(600),AMAX,T,SWAP,U,DETERM INTEGER IPIVOT(600),INDEX(600,2) REAL*8 COND,TEMP,ALPHA(600),SUMAXA,SUMROW IMPLICIT REAL*8 (A-H,O-Z) -------------- I...
  20. ctlin

    fixed child window size

    when i load new child windows at runtime, they come up a different size than when i was building them in VB. Call Load(childForm1) how do I make MDI child windows load up the same size at runtime as in the project?

Part and Inventory Search

Back
Top