15,903,201 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 C++ questions
View Javascript questions
View Visual Basic questions
View Python 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 kutz 2 (Top 55 by date)
kutz 2
30-Jul-14 8:13am
View
Thank you for your reply.Please correct me if I am wrong.These are all reverse of what I asked right?Actaully what I am looking is, when I browse an excel file then the application should display that all excel data in webgrid.
kutz 2
17-Feb-14 6:03am
View
Hi Ziee-M,Thank you for your reply.Can you please provide a code for this.Becuase I am new in this.
kutz 2
14-Feb-14 2:36am
View
Thanks Jaydeep
kutz 2
14-Feb-14 2:01am
View
Thank you very much Jaydeep for your valuable reply.Which is the best and easiest method.Using Http request or Using WCF?..
kutz 2
11-Jul-13 0:21am
View
Thank you for your reply.Could you please explain how to use this 3rd party control?
kutz 2
10-Jul-13 10:06am
View
Yes I want to convert excel data into Grid view.That is working fine now.But after that I am not able to edit each cell of that grid directly.My purpose is to edit each cell of that grid and finally it should reflect in excel back.
kutz 2
29-Mar-12 6:31am
View
Thank you for your reply.I am asking is there any difference between them.Because one of my feature is not working with mstsc.But working in mstsc /admin.Please note I am working with windows 2003 not in XP(I was mistaken in the question)
kutz 2
8-Mar-12 4:42am
View
Could anyone please help me.I am having trouble with this task
kutz 2
8-Mar-12 4:14am
View
Ok thank you for you valuable information.Any way I need to convert stored procedure into querry because for depending upon the db source I can write the querry in my C# code itself by giving condition.But for stored procedure it is not possible.For every DB source I need to write different stored procedure.Because at runtime only we know db source.
kutz 2
8-Mar-12 2:40am
View
Can I execute this SP in any database source type?Because I checked this SP with Sql server only.I didn't check with other database source type.Thats why I tried to convert this to querry
kutz 2
8-Mar-12 2:13am
View
You are now confused.I know I can't use Command.Text for stored procedure.Please describe how to convert this stored procedure into a querry(combination of more than one querry) so that I can execute as querry
kutz 2
8-Mar-12 1:54am
View
Without executing as stored procedure I need to execute as querry format in my C# code.
That is Command.Text not Command.StoredProcedure
kutz 2
8-Mar-12 1:13am
View
Yes now it is working fine.Thank you very much
kutz 2
5-Mar-12 6:20am
View
Please note that "CurrentCellDirtyStateChanged" event is happening before CellContentClicked event
kutz 2
5-Mar-12 6:09am
View
First upall thank you for your consideration.
In this code using 'e' I can't get the current columnIndex.I mapped the event CurrentCellDirtyStateChanged and used only the code
dataGridView1.CommitEdit(DataGridViewDataErrorContexts.Commit);
But still issue is happening.
Also I am asking why it is using
*****if (dataGridView1.CurrentCell.ColumnIndex== 1 && dataGridView1.IsCurrentCellDirty)********
kutz 2
5-Mar-12 5:04am
View
I already used this line.But still the problem happening.Suppose when I check a checkbox it will show as checked but immediate after when I uncheck the same checkbox without clicking anyother checkbox the earlier cell value is still false.If I click any of the other checkbox and then again the first checkbox I can get the correct value.If you have any confusion let me know.
kutz 2
5-Mar-12 2:13am
View
Thank you.I got a method and is worked successfully.Thank you once again for your valuable look in this
kutz 2
5-Mar-12 2:13am
View
Thank you all.I got a method and is worked successfully.Thank you all once again for your valuable look in this
kutz 2
23-Feb-12 4:39am
View
I didn't get u.
Suppose 2 table Table1,Table2 is there under a database DB1.Suppose Table2 is the parent table of Table1.That is Table1 using a foreign key which is the primary key of Table2.So I need to create Table2 first.But while I am using
Database objDatabase = objServer.Databases["DB2"];
And looping through objDatabase.tables I am getting the order Table1,Table2
This is my problem.
So I am asking how can I solve my problem with your solution.
Could you please clarify
Thanks in advance
kutz 2
23-Feb-12 4:21am
View
I am asking about how to create it programically
kutz 2
6-Feb-12 7:03am
View
Actually I tried with true.still the problem is happening.Also formattedValue is showing error taht we can't assign to
kutz 2
15-Dec-11 4:26am
View
Ok I agree with your answer.But what will be the second case
kutz 2
6-Dec-11 1:19am
View
If I am accessing a member variable through a property then I can modify this variable outside which will effect the member variable.So what is the difference?
kutz 2
28-Nov-11 2:21am
View
Ok thank you.Now I it is cleared.
kutz 2
28-Nov-11 2:11am
View
But it is not getting any compilation error.
class ServerControl:DBMigrationSubPageBase
{
}
class DBMigrationSubPageBase : UserControl
{
}
kutz 2
28-Nov-11 1:00am
View
Please give a reply to above comment
kutz 2
25-Nov-11 23:40pm
View
ServerControl class inherit a class called DBMigrationSubPageBase.And this DBMigrationSubPageBase inherits from 'UserControl'
kutz 2
24-Nov-11 8:07am
View
If I put a message box in that function(OnPaint()) and build it in debug mode or release mode.Then i run the application it will show the message box only at one time.Please note that the above case(My question) is not happening with visual studio 2010
kutz 2
23-Nov-11 0:31am
View
In the above sample code when we call p->foo() or p->bar() how the object 'p' knows the address of the function because it is in code segment memory area.When we allocate a memory using new 'p' points to the memory contains only member variables.Then how 'p' can call the member function?
kutz 2
12-Aug-11 10:43am
View
Could you please provide the steps for the conversion
kutz 2
10-Aug-11 1:33am
View
Now I can encrypt the chinese data.But it is causing a slow execution because of bit level operation.So I tried ICryptoTransform class for encryption which resulting 76 character corresponds to 16 character input and for mycase that is better.
Thank you all for your valuable information and highly appreciating your help.
kutz 2
9-Aug-11 5:26am
View
Also please note that I am not just shuffling but after that will do some operation
kutz 2
9-Aug-11 5:23am
View
I am trying to encrypt each character so that an array of character results a chunk of data as like number of drops results a water.Now we are deviating the actual purpose.Could you please give any idea about what I am asked
kutz 2
9-Aug-11 5:09am
View
Is there any rule that the encryption should use 7 bit.I think we can encrypt and decrypt a character in any way so that the main purpose is security.Also I know I don't want to play with data bits for the encoding and decoding of chinese character.I just trying to encrypt the chinese character
kutz 2
9-Aug-11 4:31am
View
Ok I will explain.I need to encrypt these character.So first I want to get a Dec value less than 127 corresponds to each byte and then will do some operation on it.
[EDIT]
I used some C# encryption algorithms for encryption.This results too length output.I think in this case I will get maximum 4 length size for each character
kutz 2
9-Aug-11 3:24am
View
Yes I need this.
kutz 2
4-Aug-11 2:50am
View
Thank you SAKryukov for your valuable information
kutz 2
4-Aug-11 1:09am
View
.tlb of corresponding COM dll is missing.Now it is working fine.Thank you
all for the valuable information
kutz 2
4-Aug-11 1:09am
View
.tlb of corresponding COM dll is missing.Now it is working fine.Thank you
all for the valuable information
kutz 2
2-Aug-11 5:37am
View
Now I solved this issue by giving #import "E:\WINDOWS\system32\msxml.dll"
named_guids.Thank you to all for your look into this
kutz 2
1-Aug-11 6:08am
View
I tried the above one also.But still getting the error
kutz 2
1-Aug-11 3:17am
View
The included files are in the order
$(frameworkSDKDir)include
$(VCInstallDir)PlatformSDK\include
$(VCInstallDir)atlmfc\include
$(VCInstallDir)include
I changed this order in different ways.But still getting the same error.
kutz 2
29-Jul-11 8:31am
View
Ok Thanks for all of your information.
kutz 2
29-Jul-11 8:13am
View
Oops I just watched this "%" infront of "\\".Thanks it is working fine now.But why it is working fine in VS2003?
kutz 2
29-Jul-11 7:48am
View
str.Format(_T("\\\\%s%\\%s"),strPath1,strPath1);
kutz 2
28-Jul-11 5:32am
View
Sorry I am speaking about C++/CLI
Now it is working fine with Encoding^ objUTF8 = Encoding::UTF8.
Thanks
kutz 2
27-Jul-11 2:58am
View
Ok thanks
kutz 2
27-Jul-11 2:58am
View
Ok thanks
kutz 2
19-Jul-11 3:33am
View
I mean char datatype.In english it is 1 byte.I think in some other languages such as chinese it may be 2 byte or max 4 byte.Is it correct or not.I need to encrypt password which is in chinese(ie 2 byte or max 4 byte.not sure).So I used the code as shown below
crypto.Key = ASCIIEncoding.Default.GetBytes("UDNAHNNU");
crypto.IV = ASCIIEncoding.Default.GetBytes("UDNAHNNU");
byte[] inputByte = ASCIIEncoding.Default.GetBytes("オープンコンテント");
ICryptoTransform Encryptor = crypto.CreateEncryptor();
byte[] outputByte = Encryptor.TransformFinalBlock(inputByte, 0, inputByte.Length);
strout = Convert.ToBase64String(outputByte);
It successfully gave the encrypted string.After that I tried to decrypt the encrypted value using the below code
byte[] inpt = Convert.FromBase64String(richTextBox2.Text);
crypto.Key = ASCIIEncoding.Default.GetBytes("UDNAHNNU");
ICryptoTransform Decryptor = crypto.CreateDecryptor();
byte[] oupt = Decryptor.TransformFinalBlock(inpt, 0, inpt.Length);
richTextBox1.Text = ASCIIEncoding.Default.GetString(oupt);
But it returns "??????" like this.Please help me.
kutz 2
13-Jul-11 7:00am
View
It returns -1
kutz 2
13-Jul-11 6:33am
View
Here I used variable nSize which is the length of the string and it is 9.So i gave the third parameter as nSize+1
kutz 2
13-Jul-11 6:03am
View
Here is my code: BSTR key = _T("インフォメーション"); char *szDataIn; CString str = key ; int nSize = str.GetLength(); szDataIn = new char[nSize+1]; memset(szDataIn,0,nSize+1); wcstombs(szDataIn, str, nSize+1); Here szDataIn consists of empty value
kutz 2
13-Jul-11 6:02am
View
Here is my code:
BSTR key = _T("インフォメーション");
char *szDataIn;
CString str = key ;
int nSize = str.GetLength();
szDataIn = new char[nSize+1];
memset(szDataIn,0,nSize+1);
wcstombs(szDataIn, str, nSize+1);
Here szDataIn consists of empty value
kutz 2
11-Jul-11 6:10am
View
Thanks for your valuable information.But I don't think it can solve my issue.Because when I click the refresh button first time it will load the correct page but after that(within milliseconds) it is not loading my actual page.So inorder to solve this disable the refresh function and manually load the main page.Please reply..
kutz 2
11-Jul-11 5:07am
View
After installing the exe it is working fine.Thanks for your valuable information
Show More