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...
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...
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...
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...
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]
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";
}
# 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...
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...
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...
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...
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...
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...
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...
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...
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 )...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.