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 strongm 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. EDHills

    web page form results needed

    I've been programming in PHP for about a year, and this problem, for me, is very tricky I have existing code which has a button, that, if pressed, causes a reservation to be made in the database. I'm trying to add support for credit card deposit for the reservation. Separate from the main...
  2. EDHills

    Parameters to functions BY REFERENCE

    hey Kirsle, fyi, just stepped through your pet color needs code, it doesn't have the result you'd hoped. Overloaded functions are functions that have the same name but accept different parameters. Not trying to argue, I appreciate efforts to communicate and share knowledge. I'd love to be...
  3. EDHills

    Parameters to functions BY REFERENCE

    This is what I was referring to. http://en.wikipedia.org/wiki/Evaluation_strategy#Call_by_reference I think it's a good topic because I found it hard to find good documentation on the matter and this thread my help someone in the future too! ------ thanks for all of your inputs! I plan on...
  4. EDHills

    Parameters to functions BY REFERENCE

    not school, maintaining / enhancing some code that's being used in our business. I am just a little anal and like my code to be a certain way. It helps me wrap my head around things to not use obscure syntax. I've been writing code for the masses for a long time, and often ran into people...
  5. EDHills

    Parameters to functions BY REFERENCE

    sweet MillerH, that looks like what I want, the method for dereferencing! I'll try that. Thanks KevinADC also, but that method was the method that I was trying to avoid. I like meaningful variable names rather than obscure syntax like $_[0]
  6. EDHills

    Parameters to functions BY REFERENCE

    ok, so this works, but darn it's ugly. Do I really have to refer to my parameters like this vs named in order to get pass by ref to work? yuck sub ChangeVals2 { $_[0] = "New Value 1"; $_[1] = "New Value 2"; $_[2] = "New Value 3"; }
  7. EDHills

    Parameters to functions BY REFERENCE

    # First, let me say thank you in advance for your time. # I've spent over three hours digging, reading, # searching, experimenting so far and #am frustrated. # I am still (obviously) in the first few weeks of my # perl experiance. I have written many programs in C, # C++ and VB...
  8. EDHills

    FindWindow and changing class names afx:

    painful it took so long, but here is the net result. Maybe it'll help someone someday thanks again arznrchrd function IsProgRunning() as BOOLEAN Dim bMyPname as BOOLEAN = false Dim sb As String Dim ps() As Process = Process.GetProcesses() Dim p As Process For Each p In ps...
  9. EDHills

    FindWindow and changing class names afx:

    thanks for your help arznrchrd I'd already looked at findwindowlike but didn't stare at it hard enough to figure it out until after you motivate me to do so. Guess what? my typical luck... the classname that I was searching for is used by other programs from different manufacturers! I used...
  10. EDHills

    FindWindow and changing class names afx:

    I've actually found this problem defined a few times on the internet, but without a solution! doh! I need to detect whether an incompatible app is running and prompting first, shut it down if the user wants to do so and run my app now. FindWindow needs either the caption, or the class name...
  11. EDHills

    VB 2003 remote debugging

    anyone ever have any success? I've been trying, digging, reading, and I always get the same result here are the files on the machine I'm trying to remote C:\vbdebug\msvcmon.exe C:\vbdebug\msvcr71.dll C:\vbdebug\NatDbgDM.dll C:\vbdebug\NatDbgTLNet.dll Plus, a shortcut to start it...
  12. EDHills

    remote debugging msvcmon and VB 2003

    I'll start with the error I'm getting, then work on how I arrived at it. "Error while trying to run project: Unable to start debugging. The machine cannot be found on the network" let me briefly say that I've debugged a LOT of C++ code this way in the past, it's just been a while and this is...
  13. EDHills

    Combo Box with out bein able to type in it

    I know it's a bit late, but to jl280328 thanks for posting your answer >nevermind I finally found the dropdownstyle option on the properties I'm an idiot! because I guess I'm an idiot too (YOUR ANSWER ENDED MY LONG AN PAINFUL SEARCH for the answer) I've been trying to handle it using...
  14. EDHills

    Displaying the latest runtime text data in a control

    That works! You guys rock! domo arregato :)
  15. EDHills

    Displaying the latest runtime text data in a control

    honestly, I have dug for hours on this one already, not just a cop out. I'm using a system.windows.forms.listbox control to display data that's being generated and I'm trying to figure out how to have it automatically display the most recent lines in the listbox without having the user do...
  16. EDHills

    ElseIf This and This then

    Parenthesis are a good way to make it elegant IMHO Below is a mini program, which compiles, works and outlines the elseif scenario properly. I think it's what you were after #define CRLF "`r`n" proc main integer i = 1 integer j = 1 if ( ( j = 0 ) & ( i = 0 )...
  17. EDHills

    using a NotifyIcon with a Service

    thanks, I realized that I'm only going to need an error condition flag, and the message associate with that. So, I am planning on setting a flag in the registry and a string int the registry by the service, and a timer in the tray icon app will check the flag and detect the error condition and...
  18. EDHills

    using a NotifyIcon with a Service

    Damn, thanks for reading my thread.. I'll look into it in the am.
  19. EDHills

    using a NotifyIcon with a Service

    The questions 1) Has anyone successfully created a contextmenu on a NotifyIcon in a service? if so, could you give me some pointers? (I can get it to work not in a service) 2) If I'm supposed to create a tray icon app, which then communicates with the service, do you know of an example...
  20. EDHills

    ZIP / UNZIP

    I'm shocked at how much of a pain it is to find a solution to zip compress a file with a password using VB. It seems like it would be a common situation. Zlib doesn't have any decent examples, I'm spinning my wheels.. Anyone have any pointers? It's frustrating me that it's as much of a pain...

Part and Inventory Search

Back
Top