|
In that case, just get the count of files with JPG and count of files with TIF and they must be equal.
Dump the code I had posted.
Edit: There is a lot of misunderstanding going on in this post.
|
|
|
|
|
I already thought of that - but it is definitly a no-go. Why? Well, maybe there are some files which dont have their tifs, but some tiffs dont have their jpgs - and the count may match.
Regards,
Matjaž
|
|
|
|
|
aha I got ya now. The thing you want called Stack. Last In Last Out.
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Matjaž Grahek wrote: 1.jpg has his own tif, but with a different name
that is plain stupid. Extensions exist so files that belong together can share the name part of a filename. Use it to your advantage rather than strugging with some code to fix the mistake.
Luc Pattyn [Forum Guidelines] [My Articles]
- 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 the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
|
|
|
|
|
Is there a super easy way to convert a string generated from something like Application.StartupPath to dos compatibility (i.e. directories with spaces have quotes around them and Directories that are too long have a ~ inserted?
Thanks,
Colin
|
|
|
|
|
yeah, you format the string yourself, how much easier can you get? (without doing any work that is)
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
I figured as much, just wanted to make sure I wasn't missing somethign horribly obvious like toString.DosCompatability or something dumb like that
|
|
|
|
|
Try this:
Path.GetTempFileName();
Path.GetTempPath();
I think you'll manage implanting this one
Regards,
Matjaž
|
|
|
|
|
Try using the GetShortPathName API. You can get the function signature at pinvoke.net, and an example here
|
|
|
|
|
Dear developers
I need to provide an environment that users can build a formula usuin field names of a database
table and some string functions like "substr","left", and "right".The environment saves formula
in a string variable,and when user clicks a button,my code must run that formula over values of
those fields for selected record of that table.
Now,I have that environment and it returns formula as a sring to me,but I don't still have any
idea how to run this string.Do I have to write some code to compile it?I found that .Net has
some namespaces for building dynamic methods,I mean Document object model,but if I want to use
classes of this namesapce I have to convert that formula to IL,which is more difficult for me.
Is there any other idea how I can run a user defined expression inside my code and show up its
result to user?That expression can be like this,if we suppose all table field names start with
"fld":
"fldDKCode+fldDKSerial+Substr(fldDKDate,3,2)+fldDKId+Left(fldDKUserName)"
and I have a database table named TBDKUsers,includes all fields mentioned above.When user clicks
on Run button,my program must show the result of this expression for selected record of TBDKUsers.
Thank you very much\
Reza
|
|
|
|
|
I can't really understand what you are doing, but I think this might be it. You are having users write an expression string that will pull out of a (SQL?) database? If so, just take those expressions and turn them into the equivalent SQL statement. If you are using a different database system, the steps will still be almost the same.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
If your looking for a way to convert a string to a use-able command you could break the string up into sub strings and then pass those through methods you create.
So if you had the string of Blue/No/Yes/Please
And methods
String Conversion;
Color of Eyes;
Children;
Married;
Call Back;
This would allow you to execute specific commands to your database based off of the strings contents.
|
|
|
|
|
how can i make transparent only my form back ground except rest all(buttons,textBoxes and ListView Boxes) only back ground....
A S E L A
|
|
|
|
|
By setting form's BackGround color and TransparencyKey as same color.
|
|
|
|
|
i mean same as Opacity....but i want to do opacity only for back ground....
A S E L A
|
|
|
|
|
Did you tried what I had replied? Whats wrong with that?
|
|
|
|
|
ya i tried that
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this is the transperant colors.....once i put this its become totaly transparent....i don't want like that...i want like vista aero.....
even when i change the colour of this red...63....etc become another colours....
i want to some thing like
this.BackColor as opercity 0.90....some thing like that.....
A S E L A
|
|
|
|
|
Judging by the amount of posts you've cracked out in the last few hours, I can only assume that you're a clueless freak that should only be allowed near a computer under the supervision of a responsible higher lifeform, such as an amoeba. Why not do what the rest of us have done and buy some books, or maybe even do your own freakin' research before posting inane questions, you complete and utter waste of oxygen.
"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
|
|
|
|
|
if u don't know just shut up and di your own work....ok....FU
A S E L A
|
|
|
|
|
A S E L A wrote: if u don't know just shut up and di your own work....ok....FU
Hey, moron, I do know. And do you know how I know? Why, it's because I know how to read books. You may not be aware, but a book is this wonderful thing with paper, and words and information, all waiting for you to pick it up and actually think for yourself.
I may have to explain this words concept to you because you don't seem to be aware that you can actually expand single characters into these wonderful things which convey knowledge.
"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
|
|
|
|
|
Could someone pass me a rope? I think I'm drowning in irony
|
|
|
|
|
Good morning Mr P, nice to here you sounding so full of the joys of spring. I just love the way these little tykes get woomphed to charcoal and yet still come back. You've gotta love 'em. Or flame 'em!
Crispy fries anyone?
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
It's been a while since I've felt the need to roast the clueless, but today they've queued up and practically begged for a whupping.
"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
|
|
|
|
|
Pete O'Hanlon wrote: you complete and utter waste of oxygen
We really need to work on you speaking your mind and not holding back
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Individuality is fine, as long as we do it together - F. Burns
Help humanity, join the CodeProject grid computing team here
|
|
|
|
|
I know - I really need to stop being such a shrinking violet.
"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
|
|
|
|