|
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
|
|
|
|
|
OriginalGriff wrote: Forever just doesn't last, any more.
Without CodeProject I am nowhere! So, I am in a circular Array which has only two index positions. I say goodbye forever from the 2nd index position and then again return back to the first.
|
|
|
|
|
RajdeepOption[] roArr = new RajdeepOption[]{ new RajdeepOption("Attempt to Code"), new RajdeepOption("Goodbye") };
foreach (RajdeepOption ro in roArr)
{
try
{
ro.Run();
}
catch (FailException fe)
{
CodeProject.Help(fe.Gibberish);
}
}
Rajdeep.Exit();
Nothing circular about that!
My failometer has shot off the end of the scale!
I seem to have misplaced my ban button.. no wait... found it!
|
|
|
|
|
fly904 wrote:
while (unfortunatelyTrue())
{
RajdeepOption[] roArr = new RajdeepOption[]
{
new RajdeepOption("Attempt to Code"),
new RajdeepOption("Goodbye")
};
foreach (RajdeepOption ro in roArr)
{
try
{
ro.Run();
}
catch (FailException fe)
{
CodeProject.Help(fe.Gibberish);
}
}
}
Rajdeep.Exit();
Fixed that for you!
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
|
|
|
|
|
My failometer has shot off the end of the scale!
I seem to have misplaced my ban button.. no wait... found it!
|
|
|
|
|
Argh!! He's in my startup!!
|
|
|
|
|
Calm down, calm down.
Breathe deeply, and slowly.
In...
...Out
In...
...Out.
Thats better.
Now, tell me: How long have you been feeling he is in your startup?
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
|
|
|
|
|
What seems like forever. And just when he says he is uninstalling he pops right back up! He is like Microsoft Search Indexer, even if I disable his service the stupid sh*t never really quits! make it stop make it stop
|
|
|
|
|
Rajdeep.NET wrote: Use CLSID to secure folders in WinXP[^]
Yeah, and only people who don't know any better would think that this is a valid security technique, and it's not a supportable solution. It screws up backup software and what would happen if you lost the batch file that removed the CLSID?? How are you goin gto recover the folder??
Rajdeep.NET wrote: PS: The above link also mentions about hiding a folder, is that somewhat malicious?
No, it's just plain stupid. The only people it stops are the ones who don't know how the file system or Explorer works.
|
|
|
|
|
Hi,
How can run the track bar while reading string from a text file.
eg:
i have a text file which contain
aaaaa
bbbbb
ccc
dddddd
eeee
.
.
etc
i will read these one by one as each row. While reading each row i need to move the trackbar accordingly automaticlly.
Thankyou
YPKI
|
|
|
|
|
Try a ProgressBar , and increment by each step
I are troll
|
|
|
|
|
I think you mean a progress bar - something to show the user haw far through you are? Rather than a track bar - something to let the user change numbers?
if so then:
FileInfo fi = new FileInfo(fileName);
ProgressBar pb = this.pbShowProgress;
pb.Maximum = (int)fi.Length;
string line;
while ((line = file.ReadLine()) != null)
{
pb.Value += line.Length;
}
You may want to add using(...) and / or try - catch to this.
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
|
|
|
|
|
hi
i need to read XML data from an XML file into C#.i tried using XmlTextReader class but i am not getting all elements.
My XML file is as follows
<?xml version="1.0"?>
<Form1>
<button>username</button>
</Form1>
My code is as follows
XmlTextReader textReader = new XmlTextReader("C:\\books.xml");
textReader.Read();
while (textReader.Read())
{
textReader.MoveToElement();
Console.WriteLine("Attribute Count:" + textReader.Value.ToString());
}
in the above code i am not getting all the nodes and elements...(maybe due to whitespaces)
please give links to any code samples etc...is there any other method to read??
thanks in advance...
"Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"
|
|
|
|
|
|
hi there,
I have this text file
Enroll No,194,date2,30/4/2009,time2,0:3:38,Check Out
Enroll No,78,date2,30/4/2009,time2,0:3:43,Check Out
Enroll No,78,date1,30/4/2009,time1,9:44:47,Check In
Enroll No,107,date1,30/4/2009,time1,9:44:52,Check In
Enroll No,108,date1,30/4/2009,time1,9:57:39,Check In
Enroll No,106,date1,30/4/2009,time1,10:40:47,Check In
Enroll No,109,date1,30/4/2009,time1,15:23:30,Check In
Enroll No,107,date2,30/4/2009,time2,17:6:27,Check Out
Enroll No,194,date1,30/4/2009,time1,17:9:44,Check In
Enroll No,132,date1,30/4/2009,time1,17:32:19,Check In
Enroll No,106,date2,30/4/2009,time2,17:35:31,Check Out
Enroll No,78,date2,30/4/2009,time2,17:35:41,Check Out
Enroll No,132,date1,30/4/2009,time1,17:45:2,Check In
Enroll No,108,date2,30/4/2009,time2,18:33:18,Check Out
Enroll No,109,date2,30/4/2009,time2,22:30:18,Check Out
Enroll No,194,date2,1/5/2009,time2,0:4:18,Check Out
Enroll No,132,date2,1/5/2009,time2,0:4:29,Check Out
i'm using windows application c#.net 2005
i want to calculate the number of hours spend by each enroll no.
each employee should workk 7 hours daily and make 182 hours monthly.if the made more than 182 hours will be overtime,if he made less than 182 hours will be deduction.the employee can take 4 or 5 days off each month.
i want to calculate the number of hours he made between 2 dates as he may comes on 30/4/2009 at 8 o'clock pm and leaves 12:00 am that will be on 1/5/2009.
i also want to make a combobox which has enroll no's and the user choose his number then his working hours will be displayed according to his number.i don't know if that possible or not because i'm using this text file.
Best regards,
emmy
|
|
|
|
|
Which part of doing this whole thing are you having trouble with?
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|