|
We're not the ones ruining your career...
You don't need any help with that. You're doing fine job of that all by yourself.
|
|
|
|
|
Rajdeep.NET wrote: I dont think
Rajdeep.NET wrote: You are insane and you never created even any single form application in your life, did you?
Have to turned to insulting people who know more than you now?
Yes, adding a registry for your application can be useful and some products use it but it is also widely accessible to malicious attack!
Your posts are raising red flags everywhere, you may intentionally be playing dumb to wind us up or, most likely, you don't know what your talking about. In which case you should go and do some serious research rather than coming here wanting mummy to hold your hand.
Lets see what is waving tiny red flags at us:
0) You posted a 'joke' about deleting a DLL file from the Windows folder.
1) You ask for someone to tell you how to "randomly" search for a file to be deleted.
2) You want to copy the executing file.
3) You're asking about batch files.
4) Hiding the executing window.
5) You want to edit the access of a folder.
6) You're now playing with the registry.
You cannot deny that all of those things put together are malicious!
Grow up, stop acting like an annoying spoilt child!
My failometer has shot off the end of the scale!
I seem to have misplaced my ban button.. no wait... found it!
|
|
|
|
|
fly904 wrote: 0) You posted a 'joke' about deleting a DLL file from the Windows folder.
1) You ask for someone to tell you how to "randomly" search for a file to be deleted.
2) You want to copy the executing file.
3) You're asking about batch files.
4) Hiding the executing window.
5) You want to edit the access of a folder.
6) You're now playing with the registry.
You wrote so long for me! I couldn't believe that!!! Thanks for that, first. Secondly, it would have been better if you could have given be the code for doing so....
|
|
|
|
|
Rajdeep.NET wrote: Every good software will edit the registry
Not always. If you're saving settings, it makes far more sense to use the app.config file (unless you write a service, in which case you shouldn't need to save any settings anyway). My applications have an encrypted XML file which is read into a Settings class using Reflection and LINQ
|
|
|
|
|
Rajdeep.NET wrote: I dont think like there's anything malicious in editing the Registry! Even great softwares available in the market edit the registry. Every good software will edit the registry. But how would you know that? You are insane and you never created even any single form application in your life, did you?
That is entirely untrue, not every great software edits the registry.
The difference, every piece of malicious software that ever existed edits the registry. They lock folders, delete or edit dlls, copy from memory... wait a second, am I talking about malicious programs or am I listing your previous threads....
|
|
|
|
|
|
I had an in process dll developed in c# of VS2005, if I want to communicate to a windows form application developed in vc6.0,
how can I do this?
|
|
|
|
|
Dear Frnds...
need your help..
How to unzip the .zip file programatically
|
|
|
|
|
* By launching a Process to unzip it
* By using the built in classes
* By using a third-party library
Do you know how to Google?
I are troll
|
|
|
|
|
|
Hi all
I'm faced to deverlop a program that sends a message from one form to another using Delegate and Event.
I do know a little about Delegate but do not know about Event. I can't make them work together.
Here is my exaple
|
|
|
|
|
Nine_ wrote: Here is my exaple
Er..............
Where? Or are you using anonymous delegates?
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
//aspx.cs page
//button1 click will fire the delegate event and then the onShowAllClick will fire the event.
protected void Button1_Click(object sender, EventArgs e)
{
Response.Write("hi");
}
//delegate event
public void ShowAllClick(object sender, System.Web.UI.WebControls.CommandEventArgs e)
{
Response.Write("hello");
}
//delegate
public event CommandEventHandler Show;
protected void onShowAllClick(Object sender, CommandEventArgs e)
{
if (e is CommandEventArgs)
{
ShowAllClick(sender, e);
}
}
//aspx page
<asp:button id="Button1" runat="server" onclick="Button1_Click" text="Button" oncommand="onShowAllClick">
Padmanabhan
|
|
|
|
|
Dear All,
I have a win form which has two package at two side, each package looks like a bucket.
these bucket are images in picture box.
I have another picture which is 80 * 50 pixel. I want to move this picture [80*50] from one bucket to another while user should be able to see the movement of the picture the same as copying,deleting or moving files from drive to drive.
how can i achieve such a goal?
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
I'd look to animate the image along a path if I were you.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
If i knew image animating then i would never post my question to code project
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
You asked how you could achieve it - I told you. It's up to you now.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
thx my friend, I think google can help. how to animate an image
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
Spot on. That's the spirit.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
You need to change the position of the image with time. And loop it back so as to make it repititive. But you might not be having a very proper visual of the animation.
|
|
|
|
|
I have a .exe file in which there are certain options to choose. According to choose of these options I have to make a installer. How can I achieve this. Any Idea??????
Thanks in advance.
|
|
|
|
|
How are you creating the installation package if the options were known? Are you using any installation SDK in specific?
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Thanks for quick reply...
Let me clear my question...
I have a exe file of the project. In this the option choosing page along with all the forms which are needed for the particular option. Lets say if I tick 2 option among 5 option then I should have to make setup file taking only the forms related to the options I choose. Its like a making setup file in runtime.
|
|
|
|
|
I understood your query, but I was asking you if you are using any setup SDK in particular. Not all installers offer you an API that you can use from your code (they only have a GUI). You might want to use the Windows installer SDK[^]. The API reference for the same is here[^].
CodeProject has a wrapper class around the said API - Wrapping the Windows Installer 2.0 API[^]
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
If the setup is relatively simple, you might as well consider doing the packaging yourself with the cab SDK[^] or you could create a self-extracting archive.
If you choose to do it with a self-extracting archive, there are several ways (z-lib, lzma sdk, etc.,). I remember there was a C# wrapper around the lzma sdk (and that supported creation of self-extracting archives from your code) . A search must bring up plenty of options.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|