|
I was thinking of increment in terms of adding one to something.
It's much harder talking to people and saying the new verion 1.4.5.(between 12764 and 14856) will be available just before lunch than it is to say version 1.4.5.12 will contain the fix for your issue. When I tell people outside the dept that I don't know what version number a fix will be in they look at me like i'm losing my sanity.
Russ
|
|
|
|
|
Hi Russell,
I agree with you on this.
Some companies solve the issue by saying "this feature may be added,
or that bug may be fixed, in a future release of the product" which
is always correct of course.
The way I do it is with 2 or 3 manual parts (hence predictable but
some effort required), the remainder automatic, so each build gives
a different version; and I refer to the manual parts only, not to
the automatic part.
Example: official releases would be 1.1.0.x where x looks random;
and I would call it version 1.1
the next planned release would be 1.2.0.y (or 2.0.0.y), and would
be called either 1.2 or 2.0
And if suddenly a fix is needed, it would be 1.1.1.z (called 1.1.1)
So in the end each release requires an update of AssemblyVersion
to give it a new and callable name.
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.
|
|
|
|
|
Thanks,
It seems to be increasing by more than 1 per build but if it's always going to increase then I'll be happy.
CHeers
Russell
|
|
|
|
|
|
Thanks for that, made intersting reading
|
|
|
|
|
Glad to help you
Giorgi Dalakishvili
#region signature
my articles
#endregion
|
|
|
|
|
|
I want to know is their a way/technique to fill web site page data automatically by some software/service(which i need to develop) of a web site eg:" https://webapps.usps.com/customsforms/cp72sender_recipient_APO.jsp" (united state postal service) web site page which contains first name,last name,pin,country..etc where normally customers use to be fill data manulally by himself.
I wanted to know how can i develop(automate) this thing if i have database(locally) with tables having values to fill the page data automatically when i open the https://webapps.usps.com/customersforms/cp72sender_recipient_ap0.jsp from internet explorer the software i developed should fill the data automatically.
I am using c#, MS sql server 2005/2003 to achive this task.
|
|
|
|
|
If you use a webbrowser control, you may be able to interact with it in code to populate values.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi christian,
Thanks for reply,
Can u please giude me in detail how about i should go about implementing the above requirement. I am not familiar with webbrowser control. which technique i should use(asp.net/web server/windows service..any other) i dono right now from where to start. The thing i know is if i open a the
https://webapps.usps.com/customsforms/cp72sender_recipient_APO.jsp, web site from IE, i should some how populate(fill) the text box values from my database tables values identifing a particulat page name and filling text boxes of first name,last name..etc(who's id/identification is not in my control/known to me, only thing i can see is i need to fill them manually/automatically, now automatically from database values). can u guide to resource of this kind of requirements
|
|
|
|
|
krishna_mag wrote: asp.net/web server/windows service..any other
none of these, they are all useless to you.
You need to host the site in question in a web browser control, then find a way to modify the content within that page. I am not sure exactly how to do that, but it's the only way.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hello
can someone tell me what is the lifeCycle of downloading a file.
10x regards
dghdfghdfghdfghdgh
|
|
|
|
|
I'm not sure how your question makes any sense. You request a file, it gets copied into memory and then written to your file system.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi all,
hw to set coordinate for the rectangle in richtextbox...?
KAM83_CODEPROJECT
|
|
|
|
|
A little descriptive problem description might help expedite in arriving at the solution or troubleshooting the problem on hand.
kamalesh5743 wrote: KAM83_CODEPROJECT
Seems to be a peculiar and an interesting sig.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
All, I am new to the C# world and I am having some difficulty in finding information on the following.
Is it possible to gain access to a Win32 window handle or CWnd pointer from within a C# application/form. Basically, I would like to use a C# form (or other construct) to simply house an already existing OpenGL window class written in C++. I would like to maintain all functionality already built into the C++ derived, 3D/OpenGL Window object.
Any information and/or direction to other sources would be greatly appreciated
Thanks in advance,
Michael
|
|
|
|
|
The Handle property of a C# window is it's HWND.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I would like to know how to prevent the TextChanged event of a ComboBox from firing. For example I have a ComboBox with 2 values 1 and 2. So I change from 1 to 2 which results in the TextChanged event getting fired but before the TextChanged event completes I want to cancel it based on some condition. I was wondering how can this be done. Also cancelling of the TextChanged event should change the currently selected value in the Combobox to 1 instead of 2 since the TextChanged event did not complete.
I am using .NET 2.0 Windows Forms with C#.
Your help is greatly appreciated.
Thanks.
|
|
|
|
|
In the TextChanged event or the SelectedIndexChanged event write the following code.
check ur condition and if true then
e.handled = true;
this is return that event without further processing.
Hope that works for you,
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
Why you allowing changing text in Combo box ?
Best Regards
-----------------
Abhijit Jana
Microsoft Certified Professional
"Success is Journey it's not a destination"
|
|
|
|
|
I have this assignment m_strFileName = OpenFile(); in which there is a try/catch block within the OpenFile method.
private string OpenFile()<br />
{<br />
string strFilename; <br />
<br />
if (intStoreNumber == 201)<br />
{<br />
strFilename = "t1";<br />
}<br />
else if (intStoreNumber == 202)<br />
{<br />
strFilename = "t2";<br />
}<br />
else if (intStoreNumber == 203)<br />
{<br />
strFilename = "T3";<br />
}<br />
else<br />
{<br />
strFilename = intStoreNumber.ToString();<br />
strFilename = strFilename.PadLeft(2,'0');<br />
}<br />
<br />
<br />
strFilename = "afford" + strFilename + ".dat";<br />
try<br />
{<br />
File.Copy("F:\\BORIS\\" + strFilename, Environment.GetFolderPath(Environment.SpecialFolder.Personal) + "\\" + strFilename,true);<br />
}<br />
catch <br />
{<br />
MessageBox.Show("The file " + strFilename + " can not be found. Please check " + <br />
"that you selected the correct store and that your network connection to" + <br />
" drive F: is not disconnected","File Not Found", MessageBoxButtons.OK,<br />
MessageBoxIcon.Exclamation);<br />
<br />
}<br />
strFilename = Environment.GetFolderPath(Environment.SpecialFolder.Personal) + "\\" + strFilename;<br />
return strFilename;
The question I have is if the program runs into this exception, how do I return it back to waiting on an event versus going through to the next method?
Everything I got from google tells me all about the structure of a try/catch/finally block, but nothing much more on how to exit gracefully without shutting down the program.
Thanx in advance.
Jude
|
|
|
|
|
why would your program shut down?
you have handled the exception and displayed a message box, the user will click the ok button on the message box and the program will continue further.
Can you please elaborate your problem?
what actually do u wanna do?
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
I do not want the program to shut down. The method that is called returns a value that must be used in the next step of the program. But since the exception was thrown, I do not want the program to progress to the next called method. I want it to kill the forward progress and have the app wait for an event.
Thanx for the reply!
Jude
|
|
|
|
|
jsut make the following changes
try
{
File.Copy("F:\\BORIS\\" + strFilename, Environment.GetFolderPath(Environment.SpecialFolder.Personal) + "\\" + strFilename,true);
strFilename = Environment.GetFolderPath(Environment.SpecialFolder.Personal) + "\\" + strFilename;
}
catch
{
MessageBox.Show("The file " + strFilename + " can not be found. Please check " +
"that you selected the correct store and that your network connection to" +
" drive F: is not disconnected","File Not Found", MessageBoxButtons.OK,
MessageBoxIcon.Exclamation);
strFilename = string.Empty;
}
return strFilename;
and when u call the method OpenFile()
just check if the return string is Empty or not
if it is empty string dont do any thing else process furhter.
Hope that is what you want to do...
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
Thanx for the reply....but how do I stop the execution of the code? It is withing a button's click event.
I would supply the code, but it is on my work desktop and I am at home.
break
would not work because it is not within a loop, etc
Jude
|
|
|
|