|
Hi, thanks for reply...
if any location is accessible to anyone then what usually people do to secure their application? putting core functionality in a separate DLL seems a very time consuming way...is'nt there any other way...?
Is there any way i can do it using code, may be by using a different encryption technique or some thing else....?
Regards,
Affan Ahmad Toor
.....................................
QUAIDIAN FOR ONCE, QUAIDIAN FOR EVER!
|
|
|
|
|
Affan Toor wrote: putting core functionality in a separate DLL seems a very time consuming way
Actually it isn't: you have only to put authentication functionality there. Anyway it's a relatively weak solution.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Thanks for reply...
I got your point! i was thinking of core functionality as the major functions of application, but thats easy to put just the authentication functionality in dll.
Since this is the only available method to make application little bit secure, then i think i should go for it...
Thanks again...
Regards,
Affan Ahmad Toor
.....................................
QUAIDIAN FOR ONCE, QUAIDIAN FOR EVER!
|
|
|
|
|
You may also use a NET code obfuscator, but i don't know how secure it is.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Any technique is a realtively weak solution!
The whole idea behind copy protection looks great on paper, until you get a few bored teenagers involved.
|
|
|
|
|
But some are more stringer than others (but it also depends on how much is the teenage bored, of course).
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Afternoon all,
I have quite a few textboxes on a form. Is it possible to pass these to a single keypress event handler and then determine therein which textbox sent the message?
Many thanks in advance
Colin
|
|
|
|
|
cols2910 wrote: Is it possible to pass these to a single keypress event handler and then determine therein which textbox sent the message?
The sender argument ( the one that's an object ) is a reference to the control that generated the event. You can check if it's a particular textbox directly, or cast it and then use the tag or name properties.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian,
Many thanks indeed
Regards,
Colin
|
|
|
|
|
Guys
One more thing just occured to me. Is it possible to get the value contained within the textbox from the object sender? I have the name of the textbox by querying the sender object, but can I also get teh value contained within that textbox by similar means. I cant see anything obvious like .value for instance
Many thanks
Colin
|
|
|
|
|
Oh yes. It's also very handy. Of course you have to identify the control that generated the event by inspecting the sender argument of the event handler.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Perfect. I have it working now
Many thanks
Colin
|
|
|
|
|
Got it. cast the sender object then use .Text. Think I have been at this too long
Cheers,
Colin
|
|
|
|
|
I need help in this problem. So, anybody please help. It is urgent.
I have a user control which is docked inside a panel, and a Form. The user control contains an unbounded datgridview control. the Form open with a button on usercontrol. The Form contains few textboxes and a button. On button's click event, The textbox values should be saved inthe usercontrol's datagridview as a row.
I have tried it through delegate also, but, it runs with no errors and no data in datagridview. Please help.
|
|
|
|
|
I have same thing I do this
<%@ Reference Control="~/UserControls/a.ascx" %>
on button click
Dim objHeader As UserControls_a = Page.Master.FindControl("a")
If Not IsNothing(objHeader) Then
objHeader.UpdateCartItemCount()
End If
|
|
|
|
|
Thanks Hardik:
But it is related to ASP.Net and I am developing a windows based application.
Will you please be more specific.
Thanks.
|
|
|
|
|
In Window XP with Sp2, how can we block WiFi, BlueTooth , Serial and ll port?
Vijay Negi
|
|
|
|
|
Hi Brothers,
Yara I am working in C#. I want to read an excel file and put that read data into my database( in access).
Data in written like:
1 ## SUMMARY GP-GS Min FG% 3PT% FT% R/G A/G STL BLK PTS/G
2 -----------------------------------------------------------------------------
3 42 Horford, Al......... 16-16 28.8 .570 .000 .606 9.2 2.5 16 31 13.4
4 02 Brewer, Corey....... 16-16 30.6 .454 .295 .662 4.6 3.1 32 5 12.4
5 11 Green, Taurean...... 16-16 34.8 .381 .360 .886 2.1 3.0 18 1 12.2
Plzz tell me how can i get these records and place in a table having 12 columns(one column for each above column)
|
|
|
|
|
Do you want C# code to do this?
If not you can use import option in the Access.
Regards,
Arun Kumar.A
|
|
|
|
|
yes I want C# code. or some idea that how can i do this.
|
|
|
|
|
Microsoft offer Office interop libraries so you can call excel. Passing data into Access is trivial and well documented on the web.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
HI,
it is possible to print the content of an object panel, as an example a design?
Thanks
Alex
|
|
|
|
|
Hi.
Do you have any idea of how could the path to the exe file of an installed application(like MS Words or Adobe Reader) be found?
Thanks.
|
|
|
|
|
If it has a file type associated with it ( like doc or pdf ), then you can find it in the registry. That's how windows knows how to open a file when you double click on it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
This is my first post, so please excuse my poor english or if I miss giving you important info.
I need to start a windowless exe file from an internal website. I have been using System.Diagnostics.Process with credentiels and without. If I use it with credentiels I get a "The application failed to initialize properly (0xc0000142)." error and without I get different sort of errors from the application I am trying to start.
The exe I want to start is written in C# (as is the website), and I have the sourcecode for the exe.
The website and the exe file is running on the same machine (a 2003 server). The exe is also running every night by a scheduled task. I have been trying to start the scheduled task aswell, but hit a dead rock there aswell...
Does anyone have a good formula for doing this? As this is on an internal website the security issues are less crusial (but still important).
Best Regards
Caroline
|
|
|
|