15,609,415 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View Python questions
View Javascript questions
View C++ questions
View Java questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Volynsky Alex (Top 200 by date)
Volynsky Alex
4-Apr-17 13:56pm
View
Thanks
Volynsky Alex
3-Feb-15 18:53pm
View
Reason for my vote of 5 \n Nice article!
Хорошая статья.
Удачи!
Volynsky Alex
3-Feb-15 16:40pm
View
Reason for my vote of 5 \n Nice Maximiliano!
Buen trabajo!
Volynsky Alex
3-Feb-15 16:36pm
View
Reason for my vote of 5 \n Nice article Peter! Good advice how to detect 64 bit/process on .NET 2.0 to 3.5
Volynsky Alex
20-Jan-15 7:07am
View
Thanks Y.Desros!
Volynsky Alex
15-Jan-15 20:17pm
View
Reason for my vote of 5 \n Nice! 5 !
Volynsky Alex
15-Jan-15 20:10pm
View
Reason for my vote of 5 \n Nice Charlie!
Volynsky Alex
12-Jan-15 7:50am
View
Reason for my vote of 5 \n 5 !
Volynsky Alex
25-Dec-14 17:51pm
View
In my opinion, this language is a little easier than the Objective-C language. It's good for game creation, for example
Volynsky Alex
25-Dec-14 15:34pm
View
Nice Sergey Alexandrovich!
Volynsky Alex
16-Dec-14 3:14am
View
I don't understand your question ...
Please check the language data which is entered in the listbox (maybe they read from the database in Chinese)
Maybe you're doing something like this:
mylistbbox.AddString ((LPCTSTR) "Hello world");
and it print out some random chinese characters.
So, if you have a Unicode build. Use the _T macro for string literals : mylistbbox.AddString(_T("Hello world"));
I think it will be useful for you to read following post:
http://msdn.microsoft.com/en-us/library/c426s321.aspx
Volynsky Alex
12-Dec-14 1:46am
View
Reason for my vote of 5 \n 5 !
Volynsky Alex
10-Dec-14 1:20am
View
Reason for my vote of 5 \n Nice Jinan ))
Volynsky Alex
6-Dec-14 16:11pm
View
Reason for my vote of 5 \n Хорошая статья!
Volynsky Alex
6-Dec-14 16:09pm
View
Reason for my vote of 5 \n Great article David!
Volynsky Alex
6-Dec-14 16:08pm
View
Reason for my vote of 5 \n 5!
Volynsky Alex
6-Dec-14 16:06pm
View
Reason for my vote of 5 \n Nice HateCoding!
Volynsky Alex
28-Nov-14 3:46am
View
Reason for my vote of 5 \n Great article PJ Arends!
Volynsky Alex
25-Nov-14 7:13am
View
Reason for my vote of 5 \n Nice!
Volynsky Alex
24-Nov-14 17:34pm
View
Reason for my vote of 5 \n Great article Yvan!
Volynsky Alex
10-Nov-14 16:15pm
View
Nice!
Volynsky Alex
7-Sep-14 16:56pm
View
Reason for my vote of 5 \n MVC & jQuery with WCF Data Service... It's really nice! Bravo!
Volynsky Alex
7-Sep-14 16:52pm
View
Reason for my vote of 5 \n Nice diponsust!
Volynsky Alex
7-Sep-14 16:52pm
View
Reason for my vote of 5 \n Interesting way which gives a solution to the Chinese Remainder Theorem
Volynsky Alex
1-Sep-14 18:32pm
View
Reason for my vote of 5 \n Nice!
Volynsky Alex
28-Aug-14 16:57pm
View
Reason for my vote of 5 \n Nice article about the SignalR .NET deserialization of objects with private setters/ member variables
Volynsky Alex
27-Aug-14 19:27pm
View
Reason for my vote of 5 \n Nice article about WPF!
Volynsky Alex
27-Aug-14 19:21pm
View
Reason for my vote of 5 \n Nice!
Volynsky Alex
27-Aug-14 19:18pm
View
Reason for my vote of 5 \n Great article Emiliarge!
Volynsky Alex
27-Aug-14 19:16pm
View
Reason for my vote of 5 \n Nice!
Volynsky Alex
9-Aug-14 3:55am
View
Reason for my vote of 5 \n Nice !
Volynsky Alex
9-Aug-14 3:54am
View
Reason for my vote of 5 \n Nice
Volynsky Alex
9-Aug-14 3:52am
View
Reason for my vote of 5 \n 5 !
Volynsky Alex
9-Aug-14 3:52am
View
Reason for my vote of 5 \n Nice!
Volynsky Alex
7-Aug-14 16:01pm
View
Reason for my vote of 5 \n Nice!
Volynsky Alex
2-Aug-14 11:05am
View
Reason for my vote of 5 \n Nice Michael!
Volynsky Alex
2-Aug-14 11:04am
View
Reason for my vote of 5 \n NICE!
Volynsky Alex
6-Jul-14 10:03am
View
Reason for my vote of 5 \n Very interesting article OriginalGriff!
Volynsky Alex
6-Jul-14 10:00am
View
Reason for my vote of 5 \n Nice!
Volynsky Alex
6-Jul-14 6:36am
View
Reason for my vote of 5 \n Nice George!
Volynsky Alex
30-Jun-14 11:32am
View
Reason for my vote of 5 \n Nice _Noctis_!
Volynsky Alex
28-Jun-14 15:26pm
View
Reason for my vote of 5 \n Nice Marc!
Volynsky Alex
21-Jun-14 6:18am
View
Reason for my vote of 5 \n Nice tip!
Volynsky Alex
16-Jun-14 6:23am
View
Reason for my vote of 5 \n Oui.Trois variations interessantes.
Pas mal!
Volynsky Alex
16-Jun-14 4:10am
View
You're welcome
Volynsky Alex
28-May-14 18:29pm
View
:) You're welcome Sergey Alexandrovich!
Volynsky Alex
28-May-14 15:49pm
View
Good answer!
Volynsky Alex
23-May-14 18:21pm
View
Reason for my vote of 5 \n Very interesting meula!
Volynsky Alex
23-May-14 18:18pm
View
Reason for my vote of 5 \n :-) Nice!
Volynsky Alex
23-May-14 17:54pm
View
Reason for my vote of 5 \n Nice!
Volynsky Alex
21-May-14 15:54pm
View
Reason for my vote of 5 \n Nice!
Volynsky Alex
8-May-14 8:53am
View
You're welcome Sergey Alexandrovich
Volynsky Alex
8-May-14 3:57am
View
Nice!
Volynsky Alex
4-May-14 3:55am
View
Nice
Volynsky Alex
30-Apr-14 17:17pm
View
You're welcome Sergey Alexandrovich :)
Volynsky Alex
30-Apr-14 7:21am
View
You're welcome
Volynsky Alex
30-Apr-14 5:05am
View
Nice!
Volynsky Alex
30-Apr-14 5:04am
View
Yes, nice!
Volynsky Alex
30-Apr-14 5:03am
View
Nice
Volynsky Alex
30-Apr-14 5:02am
View
Reason for my vote of 5 \n 5!
Volynsky Alex
30-Apr-14 5:02am
View
Reason for my vote of 5 \n Nice tip Igor!
Volynsky Alex
30-Apr-14 5:01am
View
Reason for my vote of 5 \n Nice MSBassSinger!
Volynsky Alex
30-Apr-14 5:00am
View
Reason for my vote of 5 \n Nice!
Volynsky Alex
29-Apr-14 16:33pm
View
OK
Volynsky Alex
29-Apr-14 12:49pm
View
Nice!
Volynsky Alex
26-Apr-14 17:12pm
View
You're welcome
Volynsky Alex
26-Apr-14 10:22am
View
Nice answer :)
Volynsky Alex
26-Apr-14 10:21am
View
Nice link
Volynsky Alex
26-Apr-14 10:19am
View
Nice answer
Volynsky Alex
26-Apr-14 5:34am
View
Reason for my vote of 5 \n Great article illustrating how to update an entity with a many-to-many relation
Volynsky Alex
26-Apr-14 5:28am
View
Reason for my vote of 5 \n Nice article about Trouble with HttpWebRequest Authorization
Volynsky Alex
26-Apr-14 5:27am
View
Reason for my vote of 5 \n Nice article!
Volynsky Alex
24-Apr-14 13:12pm
View
Nice
Volynsky Alex
24-Apr-14 13:11pm
View
Nice
Volynsky Alex
24-Apr-14 3:33am
View
Reason for my vote of 5 \n Nice!
Volynsky Alex
24-Apr-14 3:25am
View
http://forums.asp.net/t/1865635.aspx?How+to+add+Open+Office+reference+in+ASP+NET+application
http://www.webmasterworld.com/microsoft_asp_net/3896920.htm
Volynsky Alex
23-Apr-14 15:01pm
View
Reason for my vote of 5 \n Nice member 3531622!
Volynsky Alex
22-Apr-14 16:14pm
View
Nice answer
Volynsky Alex
21-Apr-14 18:11pm
View
Nice!
Volynsky Alex
21-Apr-14 18:11pm
View
Nice!
Volynsky Alex
21-Apr-14 18:10pm
View
Yes
Volynsky Alex
21-Apr-14 4:57am
View
You're welcome Tadit
Volynsky Alex
21-Apr-14 4:36am
View
You're welcome :)
Volynsky Alex
21-Apr-14 4:28am
View
5!
Volynsky Alex
21-Apr-14 4:28am
View
5!
Volynsky Alex
21-Apr-14 4:27am
View
Nice answer!
Volynsky Alex
20-Apr-14 12:09pm
View
Reason for my vote of 5 \n Nice!
Volynsky Alex
20-Apr-14 9:16am
View
Reason for my vote of 5 \n 5!
Volynsky Alex
20-Apr-14 9:15am
View
Reason for my vote of 5 \n Great article!
Volynsky Alex
17-Apr-14 7:34am
View
Nice
Volynsky Alex
13-Apr-14 3:41am
View
Reason for my vote of 5 \n 5 !
Volynsky Alex
13-Apr-14 3:40am
View
Reason for my vote of 5 \n Nice!
Volynsky Alex
9-Apr-14 14:08pm
View
You're welcome)))
Volynsky Alex
9-Apr-14 14:01pm
View
Nice answer!
Volynsky Alex
9-Apr-14 13:59pm
View
good answer Sergey Alexandrovich!
Volynsky Alex
9-Apr-14 4:10am
View
Reason for my vote of 5 \n 5 !
Volynsky Alex
8-Apr-14 10:56am
View
Reason for my vote of 5 \n 5!
Volynsky Alex
6-Apr-14 7:20am
View
Reason for my vote of 5 \n 5 !
Volynsky Alex
6-Apr-14 4:05am
View
Thank you very much Sergey Alexandrovich
Volynsky Alex
5-Apr-14 17:21pm
View
Maybe following links will be useful for you too:
http://www.codeproject.com/Articles/6975/SwitchNetConfig-Laptop-users-quickly-switch-networ
http://www.codeproject.com/Articles/5697/Configuring-TCP-IP-Settings-using-WMI-and-C
Volynsky Alex
5-Apr-14 11:17am
View
Good answer!
Volynsky Alex
4-Apr-14 17:55pm
View
Fine!
Volynsky Alex
4-Apr-14 17:34pm
View
Reason for my vote of 5 \n Nice!
Volynsky Alex
4-Apr-14 17:34pm
View
Reason for my vote of 5 \n Гарно Саша!
Volynsky Alex
4-Apr-14 17:33pm
View
Reason for my vote of 5 \n Отличная работа!
Volynsky Alex
4-Apr-14 17:27pm
View
+5!
Volynsky Alex
4-Apr-14 17:26pm
View
Good answer!
Volynsky Alex
3-Apr-14 7:19am
View
:-)
Volynsky Alex
3-Apr-14 7:06am
View
Nice answer Abhinav S!
Volynsky Alex
2-Apr-14 13:43pm
View
Chart Chart0 = new Chart();
ChartArea ChartArea0 = new ChartArea("name");
Chart0.ChartAreas.Add(ChartArea0);
Series Series0 = new Series();
Chart0.Series.Add(Series0);
// link series to area here
Series0.ChartArea = "name";
Volynsky Alex
2-Apr-14 11:15am
View
Reason for my vote of 5 \n Nice example how to programmatically lock the computer using user32.dll!
Volynsky Alex
2-Apr-14 7:25am
View
Yes
Volynsky Alex
1-Apr-14 11:17am
View
Reason for my vote of 5 \n Nice!
Volynsky Alex
1-Apr-14 11:05am
View
Reason for my vote of 5 \n Good work!5 !
Volynsky Alex
1-Apr-14 7:17am
View
This is a very interesting question of "how to create windows application for multiple users" and is a bit broad for a "quick answer" here.
I will offer these four links as a good starting point for you:
http://msdn.microsoft.com/en-us/library/bb384570.aspx
http://msdn.microsoft.com/en-us/library/ms973279.aspx
http://msdn.microsoft.com/en-us/library/cc178916%28v=vs.90%29.aspx
http://msdn.microsoft.com/en-us/library/ms978384.aspx
Regards,
Alex.
Volynsky Alex
29-Mar-14 15:51pm
View
Reason for my vote of 5 \n Nice!
Volynsky Alex
27-Mar-14 14:00pm
View
Reason for my vote of 5 \n Nice article about rewriting and restoring XML files
Volynsky Alex
26-Mar-14 5:05am
View
http://msdn.microsoft.com/en-us/library/aa302294.aspx
http://msdn.microsoft.com/en-us/library/aa302295.aspx
Volynsky Alex
23-Mar-14 16:07pm
View
Reason for my vote of 5 \n Fine!
Volynsky Alex
23-Mar-14 16:07pm
View
Reason for my vote of 4 \n Fine!
Volynsky Alex
22-Mar-14 16:45pm
View
Reason for my vote of 5 \n 5 !
Volynsky Alex
17-Mar-14 17:09pm
View
Yes this is a good answer!
Volynsky Alex
17-Mar-14 17:07pm
View
Nice link!
Volynsky Alex
17-Mar-14 17:03pm
View
Reason for my vote of 5 \n Very good Giovanni!
Volynsky Alex
16-Mar-14 16:49pm
View
Reason for my vote of 5 \n 5!
Volynsky Alex
30-Nov-13 12:47pm
View
Reason for my vote of 5 \n Nice Dmitry!
Volynsky Alex
15-Nov-13 8:07am
View
Try to play with the text property...
Volynsky Alex
11-Nov-13 14:38pm
View
using AODL.Document.Content.Tables;
Volynsky Alex
1-Nov-13 7:06am
View
Let's read the following posts:
http://www.removespywaretips.com/dll-o/openofficelib-dll.html
http://pcsupport.about.com/od/findbyerrormessage/a/shell-dll-not-found-missing-error.htm
http://www.oooforum.org/forum/viewtopic.phtml?t=61329
http://aodl2.googlecode.com/svn-history/r2/trunk/AODL/Resources/ChangeLog.txt
Volynsky Alex
15-Oct-13 15:11pm
View
You're welcome AR547 :)
Volynsky Alex
25-Sep-13 11:30am
View
you're welcome Sergey Alexandrovich
Volynsky Alex
25-Sep-13 11:12am
View
Nice!
Volynsky Alex
25-Sep-13 11:11am
View
Nice!
Volynsky Alex
25-Sep-13 11:10am
View
Fine!
Volynsky Alex
25-Sep-13 11:09am
View
Excellent answer!
Volynsky Alex
25-Sep-13 11:07am
View
Fine!!!!!!!!!
Volynsky Alex
25-Sep-13 10:57am
View
Nice
Volynsky Alex
22-Sep-13 16:49pm
View
5+
Volynsky Alex
22-Sep-13 16:47pm
View
Nice answer
Volynsky Alex
19-Sep-13 2:11am
View
Thanks :)
Volynsky Alex
15-Sep-13 16:22pm
View
Great link Richard!
Volynsky Alex
15-Sep-13 16:02pm
View
Thank you very much Canny Brisk
Volynsky Alex
15-Sep-13 16:00pm
View
I'm glad I was able to help
Volynsky Alex
15-Sep-13 15:56pm
View
Thank you very much Sergey Alexandrovich!
Volynsky Alex
9-Sep-13 13:59pm
View
Reason for my vote of 5 \n Nice
Volynsky Alex
9-Sep-13 13:59pm
View
Reason for my vote of 5 \n Thanks arussell
Volynsky Alex
27-Aug-13 17:36pm
View
Is it question?
Volynsky Alex
12-Aug-13 16:31pm
View
You are welcome Nguyen Hung Duong :)
Volynsky Alex
28-Jul-13 14:41pm
View
Glad I could help.
I'm really swamped with work right now, but I'll be glad to help you in the future...You're welcome. :)
Regards,
Alex.
Volynsky Alex
30-Jun-13 1:55am
View
Good links Maciej Los!
Volynsky Alex
9-Jun-13 8:07am
View
Reason for my vote of 5 \n Very nice!
Spasibo!
Volynsky Alex
6-Jun-13 15:32pm
View
Reason for my vote of 5 \n Nice!
Volynsky Alex
6-Jun-13 6:54am
View
Hi marco.constantino
This article:
http://www.codeproject.com/Articles/488668/Csharp-NET-TCP-Server describes a library that provides an easy to use a TCP server component for the .NET environment that does not have the limitations ...
Regards,
Alex
Volynsky Alex
6-Jun-13 6:49am
View
Sometimes, users ask a question about video and audio trimming and then search the utilities that can do this. But what about programmatic implementation of this task? This article will show how it appears from the programmer's position :
http://www.codeproject.com/Articles/24482/DirectShow-Video-and-Audio-Trimming
Regards,
Alex.
Volynsky Alex
6-Jun-13 6:33am
View
Hi Member 9796765249!
A login dialog box is an object that is presented to a user to be authenticated in order to have access to a file, to a file, to a web page, to a web site, or to an application, etc.
To implement the possibility of login, you should first decide how the list of credentials would be created or maintained. You can create a scenario in which the user would enter a username and a password before clicking a button to validate the values in database . If the user cannot be authenticated, you may present an option to send an email for a new account to be created. You can also allow the user to create a new account to update the list.
Simple example you can look here:
"Login Dialog Box"
http://www.functionx.com/visualc/applications/login.htm
Regards,
Alex
Volynsky Alex
6-Jun-13 6:16am
View
Hi J.Surjith Kumar!
Transcoding is the conversion of a digital media file, such as a video or audio file, from one format to another. This is usually done by decoding and then re-encoding the file. For example, you might convert a Windows Media file to MP4 so that it can be played on a portable device that supports MP4 format. Or, you might convert a high-definition video file to a lower resolution. In that case, the re-encoded file might use the same codec as the original file, but it would have a different encoding profile.
This quickstart uses the FileOpenPicker class to open a video file from the system. Then it uses the MediaTranscoder class to transcode the video file. Finally, it uses the FileSavePicker class to save the newly encoded file.
A code sample that shows the complete sequence of calls you can find here:
http://msdn.microsoft.com/en-us/library/windows/apps/hh868172.aspx
I hope this could help you
Regards,
Alex.
Volynsky Alex
5-Jun-13 18:45pm
View
Hi Aslam!
The idea of wrapper classes is generally to mimic structure, but simply hide complexity/advanced/unwanted functionality.
Read more here.:
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/83323469-dbab-4312-819c-0ace89f6583f
Regards,
Alex.
Volynsky Alex
5-Jun-13 18:39pm
View
How to connect database over local area network SQL Server 2008:
http://stackoverflow.com/questions/6667400/how-to-connect-database-over-local-area-network-sql-server-2008
Regards,
Alex.
Volynsky Alex
5-Jun-13 18:36pm
View
The following short tutorial takes you through some of the basic steps of developing a C or C++ application using the NetBeansTM C/C++ Development Pack.:
https://cnd.netbeans.org/cnd-tutorial.html
Regards,
Alex.
Volynsky Alex
4-Jun-13 17:22pm
View
OK.
You're welcome G1R1.
Volynsky Alex
2-Jun-13 6:05am
View
Ok G1R1.
Is you have any API which you use to interact with the air blower (i.e. to access to sensors of air blower)? Maybe you can access to your device via RS-232 serial port ?
Volynsky Alex
1-Jun-13 13:40pm
View
You can use both C++ and C# for your task (build a GUI for a robotic arm), but you did not explain in depth, with details what you need to do...
Volynsky Alex
26-May-13 15:23pm
View
You're welcome m.r.m.40
Volynsky Alex
25-May-13 14:57pm
View
Try read following post:
http://stackoverflow.com/questions/15781105/setting-modifiers-for-dynamically-created-controls
Volynsky Alex
25-May-13 14:46pm
View
Thanks Y.Desro
Volynsky Alex
25-May-13 14:33pm
View
The one other example:
#include <iostream>
#include <iterator>
#include <algorithm>
const int ARR_SIZE = 4;
short arr[ARR_SIZE] = { 10, 20, 30, 40 };
class A {
public:
A()
{
static int N = 0;
if(N < ARR_SIZE)
{
std::cout << arr[N] << '\n';
}
N++;
}
};
int main()
{
A data[ARR_SIZE];
return 0;
}
Volynsky Alex
25-May-13 13:51pm
View
Try reading this post:
http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/24bd3f52-8b22-47ee-90eb-2504d49a4625
Volynsky Alex
25-May-13 11:52am
View
In principle, private and protected members of a class cannot be accessed from outside the same class in which they are declared. However, this rule does not affect friends.
Friends are functions or classes declared with the friend keyword.
If we want to declare an external function as friend of a class, thus allowing this function to have access to the private and protected members of this class, we do it by declaring a prototype of this external function within the class, and preceding it with the keyword friend:
class A;
class B {
int width, height;
void foo (A a);
};
class A {
private:
int x;
friend class B;
};
void B::foo (A a) {
width = a.x;
height = a.x;
}
Volynsky Alex
25-May-13 11:45am
View
You can add a public method as member of your class....
Volynsky Alex
25-May-13 11:41am
View
When an error occurs, most system functions return an error code, usually 0, NULL, or –1. Many system functions also set an additional error code called the last-error code. This error code is maintained separately for each running thread; an error in one thread does not overwrite the last-error code in another thread.
An application can retrieve the last-error code by using the GetLastError function; the error code may tell more about what actually occurred to make the function fail.
So, after following row : hWnd = CreateWindow(....);
you can add something like:
printf("hWnd = %.8x; GetLastError=%d\n", hWnd, GetLastError());
For more information, see WinError.h and System Error Codes.
Regards,
Alex
Volynsky Alex
23-May-13 16:32pm
View
Try this:
The compiler looks for each symbol being used in the current translation unit is previously declared or not in the current unit. It is just a matter of style providing all method signatures at the beginning of a source file while definitions are provided later. The significant use of it is when you use a pointer to a class as member variable of another class.
class testStruct;
typedef struct myStruct
{
testStruct * m;
};
So, use forward-declarations in classes when ever possible. If your program just has functions( with ho header files), then providing prototypes at the beginning is just a matter of style. This would be anyhow the case had if the header file was present in a normal program with header that has only functions.
About "Forward declaration" read here:
http://en.wikipedia.org/wiki/Forward_declaration
Volynsky Alex
23-May-13 16:17pm
View
<script type="text/javascript">
function myFunc(){
window.close();
}
</script>
....
<body>
<div onclick="myFunc();">let's close window</div>
</body>
Volynsky Alex
22-May-13 7:53am
View
See also this example:
http://www.codeproject.com/Tips/41771/How-to-detect-browser-close-when-browser-X-is-clic
Regards,
Alex.
Volynsky Alex
22-May-13 7:48am
View
If you want to detect when a tab/window is geting closed. You can do it ,for example on Javascript ,i.e. to detect that kind of stuff are onunload and onbeforeunload events.
Here :
http://eureka.ykyuen.info/2011/02/22/jquery-javascript-capture-the-browser-or-tab-closed-event/
you can see a simple example....
Volynsky Alex
22-May-13 7:28am
View
and it:
http://pietschsoft.com/post/2009/02/05/NET-Framework-Communicate-through-NAT-Router-via-UPnP.aspx
Volynsky Alex
22-May-13 7:25am
View
What do you think about this:
http://www.codeproject.com/Articles/27992/NAT-Traversal-with-UPnP-in-C
Volynsky Alex
21-May-13 5:01am
View
Are you really sure that the IDR_RC_DATA1 string is present in your Resource.h ?
Volynsky Alex
20-May-13 9:02am
View
What do you think about this :
http://www.dotnetcurry.com/ShowArticle.aspx?ID=864
http://msdn.microsoft.com/en-us/library/windows/apps/hh465319.aspx
http://stackoverflow.com/questions/3171124/touch-screen-keyboard
Regards,
Alex.
Volynsky Alex
20-May-13 8:45am
View
:)))you're welcome navin ks!
Volynsky Alex
20-May-13 8:20am
View
Hi Sumit Memane,
please see following post:
http://www.codeproject.com/Questions/204906/Picture-Zoom-In-and-Zoom-Out-in-C-net
Regards,
Alex.
Volynsky Alex
20-May-13 8:14am
View
Nice!
Volynsky Alex
19-May-13 17:20pm
View
Firstly for well-understanding and managing what someone other wrote
and in addition, after that you can even improve(design or/and realization code) of other people
Volynsky Alex
19-May-13 14:00pm
View
The info about RE:
http://en.wikipedia.org/wiki/Reverse_engineering
http://www.engineeringchallenges.org/cms/8996/9109.aspx
Volynsky Alex
18-May-13 11:14am
View
What exactly errors do you get ?!
Volynsky Alex
17-May-13 5:10am
View
please read following post:
https://groups.google.com/forum/?fromgroups#!topic/closure-compiler-discuss/fxnPHdfiaiI
Volynsky Alex
17-May-13 5:06am
View
read what function strcmp doing, and all will become clear:
http://msdn.microsoft.com/en-us/library/vstudio/e0z9k731.aspx
Volynsky Alex
16-May-13 3:46am
View
Hi jsm,
I think it will be interesting to you:
http://www.syncfusion.com/support/forums/viewer-mvc
Thanks.
Regards,
Alex.
Volynsky Alex
16-May-13 3:37am
View
Response.Redirect sends HTTP code 302 down to the users browser along with the new URL location of the wanted page.
HTTP Code 302 actually means ' The requested resource resides temporarily under a different URI'.After browser receives this code it tries to open the new location of the resource that was suggested by the server.This actually causes two requests to the server, first one to the original URL, and second to the new URL that is suggested via 302 response.All the Query Strings and Form variables are lost during the redirect and they are not available to the redirected URL.
Also its important to say that the new URL can reside on the same server but also it can be on some other server and the redirected URL does not need to be .aspx page it can be regular HTML page also).So we can us the Redirect method to redirect users request to another page on our server like this:
Response.Redirect("newPage.html");
or to redirect our it to some other server like this:
Response.Redirect("http://www.someotherserver.com/newPage.aspx");
In contrast to all this when we call Server.Transfer we do not initiate another request to the server, but the original request is simply rewritten and transfered to some other page on the same server.
(This off course means that we can use it only to transfer requests to the pages on the same server, not to some other servers and we can only transfer to .aspx pages and not other page types like HTML, php etc).
All posted Form variables and query strings can optionally remain available to the second Page where we transfered request (if we use second overload Server.Transfer(string path, bool preserveForm) and supply true for the second parameter).
Otherwise the Form Variables and Query String are cleared just like when we use Redirect.
WARNING: If you use this method to preserve Query String and Form variables and receive error: "View State Is Invalid" its because your EnableViewStateMac attribute of the <pages> element is set to true. More on this error on this page: PRB: "View State Is Invalid" Error Message When You Use Server.Transfer
Its also important to note that because of the way Server.Transfer works, after the transfer, the URL shown in the users Web Browser remains the original one that was requested, because browser has no knowledge that its request was transfered (transfer occurs on the server side).
TIP: One thing to be careful about when using the Server.Transfer is to clear the the HttpResponse object with Response.Clear method on the transfered page to avoid any output from the first page to be shown on the second page.
So now that we know what are the similarities and differences between these two approaches we can try to use them wisely.
For more information, please see following post:
http://www.aspdotnetfaq.com/Faq/what-is-the-difference-between-server-transfer-and-response-redirect-methods.aspx
Volynsky Alex
15-May-13 10:44am
View
Well I will send, if I can find interesting information for you
Regards,
Alex
Volynsky Alex
15-May-13 8:24am
View
Thank you, jsm!
Regards,
Alex.
Volynsky Alex
15-May-13 8:15am
View
You're welcome manoj.jsm.
Regards,
Alex.
Volynsky Alex
15-May-13 6:06am
View
What do you say about it:
http://www.codeproject.com/Articles/260470/PDF-reporting-using-ASP-NET-MVC3
Volynsky Alex
15-May-13 6:00am
View
Ok, I take into account what you're talking about
Please, look following line:
dd = (dd.days() < 7) ? dd1 : dd;
Regards,
Alex.
Volynsky Alex
15-May-13 5:25am
View
Anyway Ian A Davidson , my answer is correct, but unfortunately you're just don't understand it well enough.
Don't forget asked question: "How can I find the week number of a given date"...
Therefore, if we want to calculate how many weeks have passed since the New Year, then user just should to do following things:
time_t date1 = dateToTimeT(1,1,2013);
time_t date2 = dateToTimeT(<today's date>); //given date...
In addition, I believe that my answer in general is more understandable for users
Regards,
Alex.
Volynsky Alex
15-May-13 2:03am
View
There are different solutions for one same problem....
I think that the questioner can choose the most appropriate answer for him
Volynsky Alex
15-May-13 1:55am
View
Why?
It is necessary to specify the distance between the two dates, for example, between:
1/1/2010 and 22/2/2010, calculate the number of days between them, and then divide the result by 7 ....
Volynsky Alex
13-May-13 16:02pm
View
Maybe you use your VS on VMware ?
Volynsky Alex
13-May-13 15:59pm
View
Tell me, please if you running your VS as Administrator ?
Volynsky Alex
13-May-13 12:20pm
View
The book of Jeffrey Richter is very, very good, but I would not recommend it to begin with it.You will be hard....
Volynsky Alex
13-May-13 12:18pm
View
An introduction to parallel programming in C++ using POSIX threads. :
http://www.tutorialspoint.com/cplusplus/cpp_multithreading.htm
Multithreading with C++ and MFC :
http://msdn.microsoft.com/en-us/library/975t8ks0%28v=vs.80%29.aspx
Show More