|
thebuzzwright wrote: the "real" software development world
It can only be experienced, not explained.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
|
Over time, you are given more and more responsibility and experience more and more absurdity. You may work for companies that promise you a C# job but then push VB6 or similarly crappy work onto you. You might also work for a startup that is interested in new technology, which could be fun. But all companies mature and many of them like to keep their legacy apps around forever without upgrading them, tacking on fixes and features over time, until it becomes a horrifying frankenstein monster that is difficult to work with. You may have bosses that impede your work by artificially limiting you (not buying a certain IDE because of cost, not letting you modify code to add exception handling to help with testing efforts, and so on). You may get requirements that don't make any sense and people asking for things when they don't know what they want. People may report bugs when what they are experiencing is actually a feature they requested a while back. Your boss may get on you for improving code when that "provides no business advantage". Management may not understand soft costs (vs hard costs) and coding defensively makes no sense to them when you can just fix things later (though when something is broken, they blame the development team, who may not have any of the original members who worked on that software). Certainly, it can be less fun than programming in school.
But, hey, it can be fun too. Just don't expect to be reading programming books at work. Any learning you might do you are expected to do in your personal free time. In school, you are constantly learning, but at work you have products to support and it can get pretty boring over time. If you really want some fun, work at a startup where you get to develop NEW software or at a large software company where you get to work on a variety of products and technologies. Avoid non-software companies that just happen to write software (e.g., to support their internal business processes)... they are not interested in your desire to learn new technologies.
As far as Dilbert... the reason it is funny is because it's so true.
|
|
|
|
|
Thanks for that reply it was what I was after, a honest insight to your experience in software development !
|
|
|
|
|
aspdotnetdev wrote: But, hey, it can be fun too. Just don't expect to be reading programming books at work. Any learning you might do you are expected to do in your personal free time. In school, you are constantly learning, but at work you have products to support and it can get pretty boring over time. If you really want some fun, work at a startup where you get to develop NEW software or at a large software company where you get to work on a variety of products and technologies. Avoid non-software companies that just happen to write software (e.g., to support their internal business processes)... they are not interested in your desire to learn new technologies.
Wow. Your job sucks. At my company, we are consistently learning and the 'company library' is constantly expanding, and available to anyone. Courses are often encouraged and financed by the company. Everything you said sounds horrible, and I work a pretty decently sized, aged company with their fair share of legacy applications, as well as a lot of new projects. Everything from VB6 to .net or WCF applications.
I'd start looking for a new job, it sounds like you suck.
|
|
|
|
|
EliottA wrote: I'd start looking for a new job, it sounds like yours sucks.
FTFY (I think).
And did I mention they pay $20K less than fair market value?
|
|
|
|
|
aspdotnetdev wrote: And did I mention they pay $20K less than fair market value?
If what you say is true, then the you suck stands. Seek better employment or seek help. Seek help to seek better employment.
|
|
|
|
|
Is there a way to disable hot tracking on a ToolStripButton ? In other words, when the mouse moves over the button I want it not to "light up" so to speak. TIA
|
|
|
|
|
hi all
please what the code in C# to run program .exe
i mean i have button and i want when i press on the button any program exe i determined it run.
Regards
KARFER
-*-*-*-*-*-*-*-*-*
To Be Or Not To Be
(KARFER)
-*-*-*-*-*-*-*-*-*
|
|
|
|
|
|
Process.StartInfo.Filename = @"Directory\app_name.exe";
Process.Start();
|
|
|
|
|
12 hours later you give the same response. That's the way to boost your rep
How about next time you read the previous responses before posting.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
No no no, that would be unfathomable!
...
...
...12 hours later...
no no no, that would be crazy!
|
|
|
|
|
Dear friends
I am a beginner in C#.NET programming. I have a problem to create a report.
I want to inter two dates in a form and when I push the button all data between these date shows on a report.
Please help me by sending all codes I need or by a sample
Thank you
Nasser Hosseini
|
|
|
|
|
N_Hosseini wrote: by sending all codes I need
No. We are not here to do the work for you.
We will help you along the way though. First tell us what type of report, SSRS, Crystal, something else? Where is the data coming from? You left it very vague and no answer can be given.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Thanks
I created a form with two textboxes and a button. I want to inter two dates in textboxes (beginning date and ending date) and click the button and a crystal report shows all goods, quantity of goods and sales price from sales table in the crystal report.
I use below codes
Please help me to complete them
Please check my codes and help me
private void btnshow_Click(object sender, EventArgs e)
{
string connectionString = "server=.;database=siman;trusted_connection=true";
SqlConnection connection = new SqlConnection(connectionString);
SqlCommand command = new SqlCommand("select goods, quantity, price from sales where saledate betwee "+txtbeginingdate.text+" and"+txtendingdate, connection);
command.CommandType = CommandType.Text;
SqlDataAdapter adapter = new SqlDataAdapter(command);
DataSet ds = new DataSet();
adapter.Fill(ds)
DataTable dt = new DataTable();
????????
connection.Open();
???????
connection.Close();
CrystalReport1 rptresult = new CrystalReport1();
?????
}
|
|
|
|
|
First, please format any code you post using the pre tags (i.e. code block). You will get better results if you learn to follow the guidelines here.
N_Hosseini wrote: SqlCommand command = new SqlCommand("select goods, quantity, price from sales where saledate betwee "+txtbeginingdate.text+" and"+txtendingdate, connection);
It is extremely dangerous to accept unformatted and filter input directly from user controls. Ever heard of SQL Injection Attack?
You need to learn how to use SqlDataAdapter[^]
DataTable dt = new DataTable();<br />
connection.Open();
These lines are useless.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
hi, is it possible to add a new table to sql from a form at runtime? If yes, would you please just give me a clue? I can manage the rest
|
|
|
|
|
teknolog123 wrote: hi, is it possible to add a new table to sql from a form at runtime? If yes, would you please just give me a clue? I can manage the rest
Here is the clue.
|
|
|
|
|
thanks
|
|
|
|
|
hey all,
I've GUI application, which executes some logic application,
i do it with backgroundworker.
in the simple way (no operation progress update)it works fine, but when i'm trying to update an operation
progress, i get this exception...
my main idea : GUI with some user controls (main thread) then i execute another worker thread, while it works i'm listening to event it rise (each time when the upgrade point was reached), and when i'm catching this event in the main gui thread, i would like to update some label control...
I read about invoke etc... but it doesn't work with backgroundWorker.
any idea for solution will be appreciated
thanks
|
|
|
|
|
BackgroundWorker has progress reporting built in. Use this functionality and the ProgressChanged event will be fired on your UI thread for you.
Nick
|
|
|
|
|
This[^] should certainly help you out.
Me, I'm dishonest. And a dishonest man you can always trust to be dishonest. Honestly. It's the honest ones you want to watch out for...
|
|
|
|
|
|
thanks both of you, it really helped me !!!
one more question,
is there a method to implement a "pause" button for running thread ?
i guess when i use backgroundWorker.CancelAsync(); current working thread is die...
what i want is to make it pause, and on my request, to be continued from the place it was stopped..
|
|
|
|
|
BackgroundWorker does not have Thread.Suspend and Thread.Resume, so I suspect you will have to do it manually:
1) Set up a class level bool accessable to both the main and BackgroundWorker threads.
2) Set the bool true in the main thread when you want to pause the worker, and false when you want to resume it.
3) In the worker thread, monitor the bool on occasion, and while it it true, use the Sleep method for a suitable interval - half a second or so, depending on how fast you want it to start continuing.
Or better, replace the bool with a ManualResetEvent[^]
You should never use standby on an elephant. It always crashes when you lift the ears. - Mark Wallace
C/C++ (I dont see a huge difference between them, and the 'benefits' of C++ are questionable, who needs inheritance when you have copy and paste) - fat_boy
|
|
|
|