|
Thanx Nassos it realy work and thanx again
wasim khan
|
|
|
|
|
Thanx Nassos it realy work and thanx again
wasim khan
|
|
|
|
|
Hi,
u can do this..
Array arr = Enum.GetValues(typeof(days));
now you can get value from arr of any position.
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
My program reads some data from a txt. I want to compile the txt into the exe itself, so I won't distribute the txt file.
If possible, how?
Thanks.
|
|
|
|
|
You can add the text as a resource, most likely just add it to the settings, which means they will appear in the app.config file.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
If you go with putting it as a resource, then people can still look at it using a resource editor like ResHack... If you want full security, encrypt it first, then add it in the resource script.
But then again, some hacker with a disassembler can decode the encryption key and view the file... If your program can read it, then anyone (with sufficient experience) can also.
(Which is exactly why software developers are having tough times with piracy... there's no way to prevent it.
Windows Calculator told me I will die at 28.
|
|
|
|
|
hi
how can i cancle the Alt + Ctrl + Delete in my c# program ?
|
|
|
|
|
You can not. This is a special key combination interrupted and handled by Windows.
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
|
|
|
|
|
but whay ?
in VB6 i can do this
|
|
|
|
|
Yet another not to use VB6.
|
|
|
|
|
You'd probably have to use a hook. Hook the keyboard, and see if you can cancel the message. Although this is not advisable, unless you'r making some kind of kiosk thing. There are articles here on how to hook the keyboard and mouse and whatnot.
My current favourite word is: Bauble!
-SK Genius
|
|
|
|
|
hi guys
i want to handle the rowadded event of c1flex grid
but i am unable to find any event handler there ,
so if there is any alternative to handle the event when there is new row
inserted in cqflex grid ,.,
thansk in advance
hello
|
|
|
|
|
Hi,
actually what u wanna do ?
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
no these events are not available
there ,
i just want to hanlde the event when a new row is added , if rowadded would hv been there so there
was no problem at all but its not there ,,,
thanks in advance
hello
|
|
|
|
|
Hello All,
I am getting an unknown error when trying to create a huge word document. It will create somwhere arround 37 pages of word document thene it will pop up error message stating..
error HRESULT E_FAIL has been returned from a call to a COM component.
Thanks in advance.
Bharath.S Ron
|
|
|
|
|
|
Hi,
I am trying to use logging but it's giving th problem.
Please suggest whatr can be done.
public void TraceLog(string strTraceLog)<br />
{<br />
try<br />
{<br />
TextWriterTraceListener objTraceListener = new TextWriterTraceListener(m_LogFilePath);<br />
Trace.Listeners.Add(objTraceListener);<br />
Trace.WriteLine(strTraceLog);<br />
<br />
Trace.Flush();<br />
<br />
}<br />
catch (Exception ex)<br />
{<br />
throw ex;<br />
}<br />
<br />
<br />
<br />
}
why is this giving me error that other process is using it or cannot access closed file.
Thanks
Develop2Program & Program2Develop
|
|
|
|
|
Hi
I am developing an application using C#.NET and SQL Server 2000.
I want to create and implement triggers in select update and insert statements
|
|
|
|
|
You do that through the database.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
is there a way to call thread.join to thread from the threadpool?
|
|
|
|
|
If you want to synchronize one of your threads with a queued worker item, I would suggest
you use an AutoResetEvent or ManualResetEvent object; the worker item could call its Set()
method, the interested thread could use its WaitOne().
Luc Pattyn [Forum Guidelines] [My Articles]
this months 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
|
|
|
|
|
Hi,
I have created a window application. I have to provide security to it. I have to provide a login form with username and password. The username and password are present in the database. When i click the login button it should compare the username and password entered in the form with that in database and give access to the Window application that i first created. How to do it.
Please help
Nitin Raj Bidkikar
Nitin Raj Bidkikar
|
|
|
|
|
You just take the username and password from the windows form, have them be in the where clause of your query, if the query returns 1 row, then you let them log in. Simple enough.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I am writing a program that stores date, as fixed width data. The record is supposed to be 532 characters wrong. When I do the getRecordLength method it says that the record is 548 characters wrong. I looked at the file and its adding a strange character ( [], (, #, $, etc...) to each thing im writing. Why is it adding this and how do i get rid of this.
Thanks.
Kyle
Kyle Maldonado
|
|
|
|
|
Because your name is Kyle.
Could you post a small section of the code that is performing the write?
|
|
|
|