|
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
|
|
|
|
|
Hi guys,
After a long google search, I accurately found out what I wanted. So, I thought to show this off to you guys. The only difference is, the project in the link has been written in VB.NET and I am trying to convert it to C#.NET. Heres the link, please go through it: Use CLSID to secure folders in WinXP[^]
PS: The above link also mentions about hiding a folder, is that somewhat malicious?
Cheers,
Rajdeep.NET
|
|
|
|
|
Rajdeep.NET wrote: After a long google search
Hmm. Not quite as long.[^]
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
Rajdeep.NET wrote: Goodbye forever,
Rajdeep.NET
Forever just doesn't last, any more.
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|