|
pankajgarg12 wrote: can u give me some opinions
If you can't fill this question in yourself, toss the application in the trash and walk away.
Only YOU know if your bringing any skills to the project they can use.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
If I have a programming question, where would I look for help and in which order...
a. Visual Studio Help
b. MSDN website
c. Google search
d. Your workmates
e. The Code Project
f. all of the above in that order
|
|
|
|
|
If I were going to ask stupid questions, where would I post them???? Let me see....
Come on dude, get real.
...Steve
1. quod erat demonstrandum
2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once
|
|
|
|
|
1. Google
2. Google
3. Google
4. Google Groups
5. MSDN
6. Workmates
7. Alternate solution
8. Code Project (so far no need to reach this stage)
|
|
|
|
|
In what order?? You're kidding, right?
Do you not know how to do research or tech yourself stuff? You absolutely need this skill if you're going to be a developer, at any level. If you don't have it, your peers are not going to waste their time doing it for you, in ANY job.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Dave Kreskowiak wrote: In what order?? You're kidding, right?
Do you not know how to do research or tech yourself stuff? You absolutely need this skill if you're going to be a developer, at any level. If you don't have it, your peers are not going to waste their time doing it for you, in ANY job.
The questions seem like some kind of obscure homework, or maybe pre-job interview testing. Either that or the guy is just taking the piss
Michael
CP Blog [^] Development Blog [^]
|
|
|
|
|
I think your right. I'm guessing it's an application for a job placement, or contract, service that specialized in IT. Or it's part of some "professionalism" lesson or class in some IT ciriculum.
Either way, I think he'll be doing research on "You want fries with that?" next year.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
No, Steve Pullan was kind enough to help this guy when he asked for some typical interview questions[^]. He theen proceeded to take all the example questions Steve provided and posted them, individually, as threads with the title "problem".
This guy has 3 hopes of getting a job; bob, no, & cape of good.
-- modified at 8:34 Wednesday 12th April, 2006
|
|
|
|
|
How should I test a new assembly??
|
|
|
|
|
Mate, I answered your original question re: interview questions in a respectful and honest manner. [See this thread: original post re: interview questions[^]]
Seems like I was incorrect in judging your reasons for the questions in the first place.
If you are for real, then really, there is no hope of you passing any interview - forget it - go dig ditches for a job.
If on the other hand you are stirring me, then I have legitimately fallen into the trap and have only myself to blame.
Either way, you've done your lot with me and AFAIC you can RTFM.
...Steve
1. quod erat demonstrandum
2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once
-- modified at 2:23 Wednesday 12th April, 2006
|
|
|
|
|
Go back to Programming 101. You develop a set of tests at the same time you write the code. There's even a great argument for writing the tests BEFORE you write the code it's going to test.
If a function is expects to return values between this and that, the you script your test to try input values that are inside and outside of the range of inputs that the function expects to see what its output would be. You especially try input values on the "border" of what the expected input and output limits would be.
If you function epects an input value of 0 to 99, what happens when the function gets a negative number? What happened at -1, 0, and 1? What happens at 98, 99, 100? What happens with excessively large and excessively small numbers? Is the output of the function as expected?
If you can't figure this out, toss the job application in the trash now. You're not ready...
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
When, if ever, should we force the garbage collection to run??
|
|
|
|
|
Please don't cross post.
Please don't spam the forum.
---
b { font-weight: normal; }
|
|
|
|
|
Why should we not use global variables??
|
|
|
|
|
Please don't cross post.
Please don't spam the forum.
---
b { font-weight: normal; }
|
|
|
|
|
What is the difference b/w class and module??
|
|
|
|
|
Please don't cross post.
Please don't spam the forum.
---
b { font-weight: normal; }
|
|
|
|
|
A module is just an alternate way of declaring a NotInheritable class with only Shared members. One additional feature is that the members can be called without qualifying with the module name (unlike a shared class member).
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C# to C++ converter and VB to C++ converter
Instant J#: VB to J# converter
Clear VB: Cleans up VB.NET code
Clear C#: Cleans up C# code
|
|
|
|
|
Is there any way to access all of buttons one by one thru loop but the buttons are not in a control array.
I have almost 40 buttons on a form and i need to make some of them enable and some of them disable at runtime by checking there names. I dont want to write the long code but the buttons are not in a control array...Is there any way out of this situation.
Thanx in advance
Noshaba
|
|
|
|
|
I'd possibly re-build part of the form so that the buttons are in a control array. Much easier and the resultant code will be cleaner too.
...Steve
1. quod erat demonstrandum
2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once
|
|
|
|
|
I have got the solution of the problem....here is that for u also
Don't redesign the form rather use the following code:
Function fResetEntries(frm As Form)
Dim objObject As Object
Dim i As Long
For i = 0 To frm.Count - 1
Set objObject = frm.Controls(i)
If objObject.NAME = "cmd1" then
objObject.enabled = false
End If
Next i
End Function
isn't more easier and cleaner
Noshaba
|
|
|
|
|
noshaba mariam wrote: isn't more easier and cleaner
No, it's not. If you just looped through 40 buttons to find one, I can save you the trouble and get it down to just one line of code:
Button1.Enabled = False
You'd be much better off sticking the related buttons into a control array. Then you wouldn't have to waste all that time checking for a name. You could just do something like:
For i = 0 to 12
SomeButtons(i).Enabled = False
Next
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
OK - if you want - but it sometimes comes to the point where you need to refactor the code to make it more efficient, more readable and maintainable. It takes a little time to do properly but isn't that the whole point?
See Dave's answer to see how compact and easy the code becomes.
...Steve
1. quod erat demonstrandum
2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once
|
|
|
|
|
Hi All,
How can i add Placeholder in a datagrid. I want to repeat a placeholder inside the datagrid. Is it possible if yes how?
thanks
(I wanna know how to catch a fish.)
|
|
|
|
|
hello I want to create controls from coordinates that I have in a data base, as for example a label with properties text, tag.
But that this label is created agreed the coordinates not nesecariamente must be rectangle can be a trapezoid.
thanks for its aid
Juanjo
|
|
|
|