#region .Net Blog
Welcome David! I'm looking forward to read your posts!
While I respect your wanting the user:pass functionality... Remember that re-enabling it opens you up to the exploit, so please be careful when clicking links on sites that could use it in a less than nice fashion. http://zcat.wired.net.nz/upgrade/ shows a neat use of it (View Source and look at the 'Upgrade here' link to see the joke/spoof) Also, just to pick nits. From the RFC you show, there are two important lines: <pre> 3.1. Common Internet Scheme Syntax While the syntax for the rest of the URL may vary depending on the particular scheme selected </pre> <pre>Some schemes (e.g., ftp) allow the specification of a user name. </pre> and the big one is at 3.3. HTTP <pre> An HTTP URL takes the form: http://<host>:<port>/<path>?<searchpart> </pre> Notice that the definition of an HTTP URL does not include the user:password combo. Either way, enjoy
thanks for the code ;-)
Re-Enable the Authentication Method of IE
"The good news is you do not have anything to do". You do NOT do anything. If you link to someone a trackback will happen (or be attempted). There is NOTHING for you to do. -Scott
Thanks for the comment. But what does all that in 'Advanced Options' actually do then? :)
They appear to have fixed both the display bug _and_ dissabled Authentication, so re-enabling it shouldn't expose you to the display bug again, but you'll still be exposed to addresses like "microsoft.com{lots-of-random-garbage}@202.49.168.192/". It's only a matter of time until someone finds -another- bug in IE, and the scammers will get another two-month window to exploit it before MS produces a patch. The safest way to get that functionality back is to download a 'better' browser..
Oh, one other thing; in the past people have found registry hacks to change other undesirable behaviour in Windows (Messenger, for example) and some time later a Microsoft patch changes it back. So if you do apply this hack, expect that it will break again with random security updates and you'll have to keep applying it. Apparently "Trustworthy computing" involves randomly changing the user's desired configuration.
the exposing part to such url is easily spotted, i agree that a normal user doesn't understand it that he arrives at the site after the @, but the ones doing this reghack probably know that :)
As a side note, we are looking at exposing ACLs directly in the base classes for the framewokr, in the future. Keep an eye out for Beta1, and feel free to ask the team any question directly, via the questions page at <a href="http://www.gotdotnet.com/team/clr/bcl/">The BCL WebPage</a>.
Well, I followed all the steps, tryed doing it manually and I didnt have my user:pass back. Then I tryed the file you guys have, downloaded it and ran it, upgraded the registry, still didnt work... You guys have any idea what am I doing wrong? I of course rebooted my computer, but it still didnt work... Please help!!!
If you contact me trough the contact form, or leave your email behind i'll try to help you :) http://weblogs.asp.net/cumpsd/contact.aspx
PDC whidbey is in fact "Version 8.0.30703.27 (m2.030828-2105)"...sounds the same to me.
W00T, ended up working somehow.... =P Thanks anyways doh! =)
seems like fun!! i wanted to be there too ;) greets
David they did the same presentation in Ireland yesterday ! And David Chappell did the same but he wore the Irish football jersey. I was impressed by Avalon, but it seems to be confirmed by the MS chaps it will be only for Longhorn users. so not sure how we are going to deploy something like this before maybe 2010.
Sorry I commented on the wrong post :-) David they did the same presentation in Ireland yesterday ! And David Chappell did the same but he wore the Irish football jersey. I was impressed by Avalon, but it seems to be confirmed by the MS chaps it will be only for Longhorn users. so not sure how we are going to deploy something like this before maybe 2010.
True, it will only be for Longhorn, other OS's will need Windows Forms still. Too bad, but it's a nice future :)
David, Now I know whom I took a picture of at the end of the Conference. BTW, very nice overview you wrote about the event. I hope you like it and that we see you next time. Greetings, Gerd
... I'm amazed of you finding my blog and replying :) (in a very positive way ;)) Thanks for taking the picture btw! The batteries lasted just long enough to save it ;)
nice picture! :p i think it was very intresting, the next time they organize those devdays, i might go there too MS seems to have a lot of new facilities developed, that's kinda cool :p greets, Dhoore
ja tis gelik nog redelijk cool en al je moet wel teveel invullen vind ik :p kzijn da gestopt na een tijdje, khad geen zin meer ;) greets
I agree we have to wait for Longhorn for a while, but it's nice to know that it's coming.
Nice update David. It's really cool :) and very handy. It's indeed very annoying to click on every picture. I love this script :d
David's pictures from DevDays
yeah it's kinda cool, except when there are pictures with an extension like .JPG (notice the uppercase), then those pictures aren't shown, but it's still good thou (y) greets
Just add an or in the if statement :p Or convert to url to lowercase first
Microsoft Belgium Developer & IT Pro Days 2004
Use the lh_usa_4051_x86fre_pro.iso image instead of the lh_usa_4051_x86chk_pro.iso image. hth, thomas
I am using the lh_usa_4051_x86fre_pro.iso image :(
Maybe the CD is dodgy?
How to get this working? I cant get it working.. I want to list directory information of my /images for example. Wanna show the links to the image + creation date + file size.. But don't know howto :s Ideas?
Burned it twice already, without result. Hopefully it's not the .iso cos that's another download then (bandwidth usage limit's here)
First of all, this is ment for open dirs like: http://users.pandora.be/tr/ms/ You add a new url to your favourites, and in the 'Url' field you pase the chunk of javascript. Now, when you're on an open dir, click the favourite and it'll draw a new page with all the images on that page. Without you having to click each one of them. This isn't really an info tool or something, it won't give you links, creation date or file size. It's more of a lazy tool :) If it doesn't work when you click the favourite the first time, go back and retry, sometimes it seems to fail, but it works :)
Hey. I got the same thing. I'm installing lh_usa_4051_x86fre_pro.iso downloaded today (2/16/200). I'm using the ISO capture from VirtualPC. Bummer.
OOPS. I left the installer running over lunch and it seems to be progressing (although it is going to take a lot longer than 14 minutes :) ). Sorry about that.
Yes, if it continues it takes about 5 hours (noted on other blogs). But the problem is the error popping up on :(
Ture, I wonder who the stupid fuck is in SP.A/Spirit who said that... All thos idiotic litle things make the good BIG things (that no1 talks about) forgotten... And there comes the Extremist partys laughing (i guess tomorrow) cause they will have read reactions on the net ... :( Politicians should know what they say...
Linux runs on old, slow hardware with better performance than Windows. That's why it "lasts longer." Financial diff comes from case studies. "I was spending $X with Microsoft. Now it's $Y with Linux." Tends to be a big difference. I'm a .Net developer but I can see their point.
But with what do you compare it with? Yes you can run linux on older hardware as a router or server, standing in console prompt the whole day. But when you're starting to use X, you need some decent hardware as well.
Dennis, you can run Windows 95 on a 386 with 32MB of memory, no problem! I'm pretty sure if you want to run the latest version of a Linux distro with the latest version of an office suite that you'll need a pretty beefed pc (been there done that). A small note regarding this topic (from a developer point of view): increasing computer power is our friend (quote from Steve Riley, I thought). Fast computers enable us to write great software. VS.NET 2003 offers a much greater user experience than VB 1 for example because I like background compilation, intellisense, dynamic help (in fact I don't like dynamic help but you get the point), ... all these features improve my productivity.
LOL! It proves once again that politicians should stay out of technology.. aahh.. ignorance is bliss.. :-)
Aah I can tell. You never *truly* ran Linux before. Did you? Yeah yeah, I know, you probably installed some Red Hat or Mandrake distro. It was a fiasco. It was different. You didn't understand anything about Unix philosophy. You probably couldn't get your osbscure, fancy scanner to work properly and concluded that Linux is crap. Simply put. You went haywire. Let me put it this way. If you buy a car, you want choice right? Well if you buy a Microsoft car, it's *always* the expensive car. It's always the same company that does the maintenance. You are *obligated* to buy the fancy addons, otherwise your engine just stops working. And from the moment you bought that shiny MS car, you are doomed to drive MS forever. That's why I drive Linux. Lot's of models. It's as expensive as you choose. It runs excellent. Every model has a power engine. It just keeps on running. Maintenance is a breeze.
Acutally I run gentoo on my laptop... It's different yes, notice I don't say it's bad. And i know the philosophy, yes But what I don't like is bad arguments. I can do the win-linux discussion, if it's done with decent arguments. One of my longest holding opinions actually is to use win for clients and linux for servers. Because an end-user (when i'm talking customers here, not business pcs) doesn't know how to recompile his kernel to get usb support or to get his new hp 3500c scanner to work without too much hasle.
nice look, altough it could be touch lighter :)
Also using MA3D?!
Yup, MA3D. You too?
nice tool! it's very usefull, thanks!
there's a lot of black in the default look :) but that's doesn't matter, i kinda like black :p
PHP syntax highlighting in VS.Net
PHP Syntax Coloring with Visual Studio.NET
very useful thanks from another php coder ;)
PHP Code highlighting in Visual Studio .NET
Unfortunately, David, we will probably not be able to do the exact layout that you have above in XAML in v1. The reason is that we only support affine 2D transforms on controls. This means that you should be able to skew, but you can't do any perspective transforms. Another way to think about it is that all parallel lines are still parallel after an affine transform. Perhaps one of these days I'll post on my blog about that decision, but in the meantime, you can do a lot with a simple skew (as you saw from the demos at the PDC). As to not being able to put a skew on a listbox -- that sounds like a bug to me. Joe
Thanx to another "open" programmer...
I forwarded a link to your article around and one of our devs tried putting a skew on a listbox on the latest and greatest bits. Everything looks good. So, as of right now, it doesn't look like there is a bug here. :) Joe
I added 2 gifs to give you an idea of what it's doing here :)
I've tried out your XAML with the latest and greatest and the bug seems to have gone away. Here is a link: http://www.eightypercent.net/Archive/2004/02/24.html#a167 Joe
Skewed view
I kinda like the colors, they are indeed kiddie, but i love the buttons! nice work David ;)
well this is some very nice source code you posted here. i think a lot of people can learn from it thanks!
i think it's a very good idea, in this way we (= fellow students and other persons) can learn from examples, which is, I think, the best way to learn something
Well, what do you think I think of this plan? :-p It's a genious idea,... Didn't I tell someone It would be cool to make an IRC-bot with C# ;-), just kidding. If I can find some new subjects to work on, and subjects that aren't too hard, because, I can't ask you to write an Operating System, or could I :-p...? (This isn't necessary, there are plenty of OS'es, and plenty left to try)
Muchos graçias senior, I'll check this source out, but It won't be for today, maybe in a couple of hours, (tomorrow :-p)...
I know this is kind of at right angles to the point of the post, but if you want a real IRC lib for c#, check out my Nebo irc lib on the gotdotnet workspaces. http://workspaces.gotdotnet.com/nebo (at the moment, gotdotnet seems to be down, check back when you can)
Take Outs: The Digital Doggy Bag of Blog Bits for 24 February 2004
Non-Rectangular Forms with .NET
cool! it's kinda funny, and strange :s ;)
Nice, thx voor the answer... will test is someday :)
Cool article!
Thanks, this was just what I was looking for. Doesn't look difficult after all.
I think this 'll be handy :)
nice, verry nice :) but can't the picture be included in the exe-file? -bert-
hmmm, I tought i found that one a while back :p still waiting for the intellisense plugin for PHP :)
Real well done :) I Like it. It has been very usefull
it's very nice, this could by usefull if you want to test small files, cool :)
Forms non rettangolari
Very nice one (y), good work David. I will test it immediately.
Looks like SnippetCompiler: http://www.sliver.com/dotnet/SnippetCompiler/
Thanks for the link! Going to check it out this afternoon, looks wonderfull :)
omg, this is really strange!! when i do this test, i see lots of squares like this: ???????? (dunno if that worked) so it's not really invisible but still very strange
in notepad it are squars, when I copied it to here it were strange Chinese signs. After posting it became ???????? hehe :)
another strange one, if I create the file with UltraEdit, and then load it in Notepad, I get the same squares. If I load it in UltraEdit, it's OK. ??? Robert
Maby easter egg :p
Hmmm, this could be handy :) cya later projects :p
I believe it is an encoding bug of some kind. If you go to a command prompt and type > EDIT myscrewedupfile.txt you will be able to see the text. Here is another funny thing. Close the command prompt. Close the text file if you still have it opened. 1) Double click on the myscrewedupfile.txt It opens in notepad with the invisible text Close notepad 2) Use a hex editor (I used this one: http://www.hhdsoftware.com/) and open this same text file 3) Leaving the file open in hex editor, open it in notepad - volia - you see the text! weird stuff.
Thankyouverrymutch!
Well.. it is just an encoding issue. Nothing more :) I think it is stupid from notepad that it even has encoding. It is time for a new 'notepad' with only plain dos text in c++ for speed off course. Interested?
OK, here is my little notepad replacement.. made in mfc.. Got one prob.. I dont know how to change the font to courier new.. anyone knows.. please mail me @ wnz[at]w-nz.com simplepad http://files.w-nz.com/show.php?id=15&skin=default
BTW, it works with that little file
Download link is broken ;) Notepad can have encoding, but I'm wondering if it was a mistake to set the savind encoding different from the default loading one.
hu? Damn.. please give me ya email and i`ll send it manually.. strange.. i`ll take a look to the source
http://files.w-nz.com/show.php?id=16&skin=default this one should work (server wouldnt let you download an .exe)
That works :) not that I really need a notepad replacement, got it in my shellextension ;) Just hope someone will reply with the "why" notepad does this :)
Why convert the hashed value to a string? It is still storable - be it a binary field in a DB, or a binary file :)
nice done, yeah in php it's indeed easier :)
Why, well, to make it resemble the PHP function :) But also, I don't know if cookies can store binary data? But I'm sure they can work with strings, so to be 'universal' (read: in my projects) I made it as a string. Because you kinda have a guarantee that you always can get away with strings. And I don't know if you have the same as a binary array? If you have the same garantee, than I'd like to know :) Because I create my classes in image of what I know at that time, which can change in the future.
Weird problem indeed. When you open the file using UTF-8 encoding, nothing goes wrong, but when you open it using the default ASCII, it goes wrong. :-(
we use it in our zosa project and it rocks
this is why: because of the encoding issue, notepad sees the character set as Chinese, which needs the font 'SimSun", and if that's not present on your system, or you're using another font (as in notepad), you get the empty space or squares... Try copying and pasting the text in Wordpad, and you'll see that the font dropdown box shows the font SimSun.
gonna use it for asp.net project thanks alot mister elite coder ;) (in a positive meaning that is :p)
I tested the project you uploaded under Windows2000 but it works in a strange way. The region is correct but the backgroung image of the form isn't align with the region, so i can see the purple pixel around the bitmap.
The purple border might be a problem on my side, as that purple isn't like the filling purple :) I created the image in Photoshop, and it must have blended the borders a bit with the purper, that's why they didn't get marked as transparant. If you would make sure all purple really IS #ff00ff purple then it would be gone. Does this help you?
ehmm no :) the problem isn't about few pixels around the image, but the background is shifted down about 50 px, i think this is the vertical space of the caption or not?
after this line: this.Region = RegionConvert.ConvertFromTransparentBitmap(imageBackground, transparentColor); I must add this one: this.Region.Translate(SystemInformation.FrameBorderSize.Width - 1,SystemInformation.CaptionHeight + SystemInformation.FrameBorderSize.Height - 1 ); Dont ask me why, but it works fine now :) :)
Did you forget this step? "Now we go to our Form, you'll have to set the FormBorderStyle property to None." Otherwise you indeed have that shift because the caption gets drawn. Easier with a property then by code ;)
Take Outs: The Digital Doggy Bag of Blog Bits for 29 February 2004
Thanks for sharing, Take a look at these efforts too: http://www.sliver.com/dotnet/SnippetCompiler/ http://www.codeproject.com/dotnet/nscript.asp
I used your uploaded project and it has the FormBorderStyle property already set to None.
Strange... When i put your line in my project the image gets shifted higher then the region. But when I set the FormBorderStyle to FixedSingle it works again. It could be a version issue? Anyway, it works for you, that's what counts :)
thx
hmm, Isn't this something we use in Zosa ;-) Keep up the good work David and tnx for the code, I'am sure I can use it for other projects then Zosa too.
There is actually a static method in ASP.NET's form authentication class that allows you to do it somewhat easier. Have a look at "FormsAuthentication.HashPasswordForStoringInConfigFile". It takes two arguments: the password and a string containing "md5" or "sha1" which states the hashing algorithm to use. But I must admit that the method's name in PHP is somewhat shorter. :) More info at http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemWebSecurityFormsAuthenticationClassHashPasswordForStoringInConfigFileTopic.asp
Thanks for pointing that out! I'll remember that when I need md5/sha1. In our current project I went a bit paranoid and used sha512 ;)
Using .NET Cryptographic Hash Classes
Rock
Not that I know of, how to make them aware? or how to know if they are :)
Happy birthday David!
Happy Birthday David ! I'm curious about the other two articles.
Congratulations!
happy birthday
Yolly good birthday today :) Good yob in not dieing :p well euh... that is what a birthday is no?
Okay, an other thing to study :p
Thats an other thing I can study... so euh... format... XP? something wrong?
Nah, computer at my parents, took about 15 minutes after logon before all their programs got loaded, and all programs were installed right in the root of the drive :'( So it's time for XP now, more dummy proof, and I've been playing with group policies now to restrict a lot of things :) (Annoying thing, when you forbid access to the Control Panel, it's forbidden for everyone, even for the administrator, weird)
LOLz :p
You have been Taken Out! Thanks for the post.
Thanks for the source code, I'm using it for some stuff I'm playing with. So far it's working perfectly.
There is no Microsoft.Win32.Security package
If you would download the source you'd see what it is :) The GotDotNet sample has that namespace for it's class.
... right, sorry/thanks.
WELCOME
Labo.net
C# is for mental ill peoples:) better leave it.. it will die by itself soon
some people still believe in fairy tales ;)
WHhhhhaaaa.. YOU SAVED MY DAY !!!!! ") Thank you God,!!
Thank You VERY MUCH!
This looks great. I know AS/400 is used a lot in the business world, and yes I know how difficult it is to program the AS/400. I've done it for 4 years. I don't know if you already know, but Microsoft has also a solution to use the AS/400 as back-end. it's named Host Integration Server 2004 (HIS). At this moment it's still in Beta 2. Whit HIS, you can call RPG programs from withing VS.net and visa versa; I have used HIS now for a few months, and we're implementing this server for a customer. The big advantage is that you can leave all your business logic and the database site on the AS/400. You just have to write an interface between the two in HIS and the front end in f.e. ASP.Net. You can find some information, troubles and there solution on my blog.
Didn't knew that :) Thanks for mentioning, going to check it out once. (Althou I really hope to stay away from any AS/400's in the future :p)
yeap! RPG! i think it stands for Role Playing Games.....:p
RPG Really Painfull & Gruesome :-)
Sorry, where's the asp.net?
Do solutions like the one you described still happen? Oh YES, they do. Lots of them. A large number of SMEs (or KMOs as we know them in Belgium) still run AS/400s as their mission critical system (which is not such a bad idea: they are *very* dependable machines!) I haven't built such a solution myself, but a fair number of my colleageus @ Real Software have built (and are sometimes still building) them.
Take Outs for 21 March 2004.
ASP.NET is just a 'platform', you have an ASP.NET application. You can use C#, VB.NET, COBOL.NET in your ASP.NET app, here I'm using C#. So it would make sense to explain basics C#. PHP is a language, ASP.NET isn't. This person wanted to switch from PHP to ASP.NET using C#, so the answers to his questions made it possibile to create an ASP.NET app with C#. It's a very basic comparision between how you do something in PHP, and how you would do it using C# (in creating an ASP.NET app) But yes, my mind was set on the ASP.NET because it was a reply in the Getting Started part of the ASP.NET Forums. But you could classify it under basic C# as well.
Ouch, I hope their dev environments are better then what I went trough when creating this. Maybe something to do with the academic environment that doesn't use tools ;)
String literals starting with @ are not string where you don't have to escape special characters, they are strings where you can't escape those. Don't have to would mean that you can, but don't have to if you don't want to but that's not how @ strings work. @ just ignore standard escape sequences, \ is considered a literal \ character, not an escape sequence mark. You cannot use escape sequences at all in @ strings. If you want to include a new line character in your string you can't use @ literal.
I'm not quiet impressed that Spirit has launched this suggestion. The crazier the better is their spirit. You must know the SPA are in favour of everything that has to do with the word "free", and that's why they probably want to use Linux. Nobody of spa/spirit has probably already used Linux, and I'm sure their emailclient is Outlook, their spreadsheet Word and they play Patience. It must have happened like this: some geezer entered their office and said: "look what I have: Linux, an operating system like Windows, and it's free!", Steve immediatly fell of his chair, and Bert raised his eyebrows and started crying. Oh, and the thing about Linux being better for your hardware, that's only because Bert gets furious when Windows crashes and then he smacks his computer all the time...
Strings are not stored the way you mention in your post. They are specifically stored with at least an array length, string length, and an array of WCHAR. ArrayLength can be larger than StringLength and there is a null terminating character applied to the end, so at least that much was correct. Strings have far more overhead than a simple extra WCHAR.... DWORD m_ArrayLength; DWORD m_StringLength; WCHAR m_Characters[0];
Jerry Pisk: That's what I ment, yes. I'm not a native English speaker, but I did mention it was seen as a literal and without escaping. :) Justin Rogers: Ok, didn't knew all of that. Only wanted to make clear that a string is different from a char, and with all the extra info you gave it's even more obvious :)
Congrats! Already a FBB (Famous Belgian Blogger)! ;-)
we will go for a long time, walk and run. I'm sure about that ;-)
Congrats David :)
maby I'll try it again, previous version wasn't that good...
Taking notes... could use it soon :p
php, you can fit "anything" in a var.. string, int, char :) C# a var can only contain one type of data-struct, no?
You go girl! boy...
That's what ment by loosly typed vs strongly typed. C# is strongly typed, everything is of a certain type. In php it's loosly, it can be anything as you say. Just like VB6 supports the Variant type and also doesn't require to declare variables (when you work with Option Strict)
nice article,it quench my programming hurdel....
Hmmm..... kinda creepy the look of "Microsoft" behind *BARS* with all the lawsuites ms is dealing with ..... just kinda a funny / hinky vibe with the bars...
Notepad has to guess the encoding and can be tricked into guessing wrong.
you forgot to mention me :p
You do know that the Telnet is a defined standard. You can look up the RFCs. This is nice little chat program, but it is not telnet.
Yes, ofcourse, I should've chosen a better name. Sorry, what I really ment is that it's a small app listening on a port where you could use telnet to easily access it. My bad. I'll add it at the top of the article.
Ok, I updated the title and comments, it's now Small Console ChatServer :) and you can telnet to it ;)
I don't have SimSun or any other Chinese font, so Notepad must be substituting a Japanese font. But no matter what encoding Notepad guessed, it isn't a Japanese encoding. The display consists of: a full-width Kanji character a half-width black rectangle three full-width Kanji characters a half-width black rectangle a full-width Kanji character a half-width black rectangle The half-width black rectangles are the same as Notepad normally displays for a single byte value which is neither a valid single-byte character nor the first byte of a valid double-byte character.
It's not really an 'issue'. It's just that Notepad is not capable of displaying all kinds of Unicode variants See for more info http://blogs.msdn.com/oldnewthing/archive/2004/03/24/95235.aspx
Checked that, already replied there ;) Tried adding it as a trackback, didn't work for some reason when I tried. Will update my post with the url :)
3/25/2004 8:52 PM Sikko2go: > It's not really an 'issue'. It's just that Notepad is not capable of > displaying all kinds of Unicode variants It is an issue. Notepad isn't displaying a file's contents that are perfectly well encoded in Windows's main, system, default code page. In Japanese Windows systems this is code page 932 (Shift-JIS), set by default at the beginning of the install process, and rarely changed (I didn't change it). In US Windows systems I thought it would be either code page 437 or 850, but someone told me it's something different (without saying which one), but still, surely it gets set by default at the beginning of the install process and most US users don't change it. When Notepad can't even display those files correctly, Unicode variants are not to blame.
Hi, interesting article, thanks. Only a question, please. I need access email addresses of an Distribution List, in Public Folders/All Public Folders/COMPANY Contacts/MyDistributionList. I use Outlook 2003, but I have many problems. Some suggestion ? Thanks. Greetings. ekiquenet@yahoo.es
Check this for info on distrubution lists: http://support.microsoft.com/?kbid=313797 It provides VB.NET code thou
one word ...tech guru :)....here is great ")...The whole secret of the teacher's force lies in the conviction that man are convertible.
But the conversion can take a long long time :)
good idea
how to use them somebody can give me exmples, thank! newman0708@yahoo.com.cn
good work, very nice code!
Look at http://weblogs.asp.net/cumpsd/articles/81507.aspx Download the project and see, or view the example right under "This is how we test it:"
Keep on reading that book... It's one of the books every developer should read, don't you think?
Yup, it's even "required reading at Microsoft" ;) (as BillG quoted on the book)
then why are ther still "so many" exploits... do notice the quotes!
that's odd :p my solution -> don't unchek it :p
Don't know if anyone's still watching this thread after so long, and sorry to chime in with a "Me Too", but, well, "Me too". I've tried it off both the first DVD and the ISO image, with the same problem. I get this under VMware and Virtual PC 2004. So far all I can think of is that it doesn't like something about my hardware configuration, either the motherboard (it's 3 years old at least) or the 1G of generic RAM I added to my 512m base RAM. It's a little bit frustrating.
Hey Kevin, Don't know if it might help you, but try looking for another CD, or maybe if you can get a newer/older build. I got a new CD from someone here, don't know if it was the same build, but it installed, and it didn't take 5 hours as well, like everyone says, but it was done in about 1h30. Hopefully the next versions will give less problems.
noted into memory :p small bug are hard to find :p
You should look into using the ByteFX MySQL library. It's a native MySQL interface for .NET, so you don't have to use ODBC or ODBC drivers. It also supports name parameters, which could certainly make the code easier to understand and update. Just a thought! I've been using the library for a project I've been working on, and it's worked great.
Good alternative, I thought of using it as well, but it will be in the next project :) For others wanting it: http://www.mysql.com/downloads/api-dotnet.html MySQLDriverCS & ByteFX.Data
glad to know my asp.net thread was of use to someone else as well as me. drazic19
I got that for the first time a couple weeks ago. It sounded horrible, I expected VS to shut down or something...
There is an implied second half to that message, which can be interpreted in a number of different ways depending on your mental state: Catastrophic Failure: Time to go home, Catastrophic Failure: Time to go to sleep, Catastrophic Failure: Time to reboot, etc. :)
This stupid message has been around since COM at least, and unfortunately not fixed yet.
I encountered it with a VS add-in, VSNunit in particular. It looked worse then a blue screen to me, I expected my computer to get totally locked up. Luckily it did absolutely nothing :)
Take Outs for 9 April 2004
It is limiting. Read the docs and it will say that the amount of characters in a NTFS and FAT32 partitions can only have 255 characters.
Yes, I know, but why isn't there an error when you rename directories making the path go over 255 characters? It isn't refusing me when I rename all those directories, althou they are way over 255 characters after 3 renames. It just let me do it, without arguing, creating a path that is longer then 255 and making it hard work for an administrator to clean it up.
yes, it's really stupid mistake :)
Interesting code, however I was connecting to quakenet (ie se.quakenet.org, port 6667) and couldnt get the JOIN to work until I received "376" (End of /MOTD command). I rewrote the class for my purposes (ie to generate a stubborn back-talking BOT and also converting it to VB.NET) and fixed that...so it works! But there is one more issue, the swedish characters. They get lost somehow in the way. I was thinking that this line: m_tcpReader = New System.IO.StreamReader(m_tcpStream) should read: m_tcpReader = New System.IO.StreamReader(m_tcpStream, System.Text.Encoding.UTF8) (and same changed for the m_tcpWriter line) but it caused even more problems than it solved (somehow it fails already on the PONG-return). Is there another System.Text.Encoding I should choose, or is the m_tcpWriter.WriteLine causing the trouble (ie should it be cr+lf or cr only or lf only?)...or something completely other thing? I guess I could upload some VB-sample code if it would help...or I guess the same things would apply for your source as well? Best regards, Svarvsven
As you didn't leave an email or so behind, I hope you'll read this ;) Here's what i fixed for the MOTD: In the public void Connect(string IrcServer, int IrcPort) method I replaced if (commandParts[0] == this.IrcServer) by the following: if (commandParts[0].IndexOf(this.IrcServer) != -1) { // Server message Because apparently the quakenet server you gave returns this for endMOTD: :port80a.se.quakenet.org 376 redneckj :End of /MOTD command. And then in the case "376": I put: this.IrcWriter.WriteLine(String.Format("JOIN {0}", this.IrcChannel)); this.IrcWriter.Flush(); To solve the JOIN issue you mentioned. When choosing ASCII as charset it returns a "?" (question mark) However, when I used this.IrcReader = new StreamReader(this.IrcStream, System.Text.Encoding.Default); It displayed me special characters correctly. So it's definately an Encoding issue ;) This worked as well: this.IrcReader = new StreamReader(this.IrcStream, System.Text.Encoding.GetEncoding("windows-1252")); Try using that encoding once (I found it on google when looking for Swedish encoding ;))
Ok, interesting. I'll try the Encoding.Default! Yes, about the JOIN part...I fixed that. :) Tell me if you want to have a look of the VB-version... Best regards, Svarvsven (skom_svarvsven@yahoo.com)
Yes, the System.Text.Encoding.Default worked really nice. Thanks! (and thanks for such a quick answer too)
No problem :) Glad somebody could use my code :p
hope i'll still get that edition :)
This makes sense as VS add-ins are COM objects.
ok, I'm gonna be harsh here but your message: .NET gave me an error... A 'Catastrophic failure'. doesn't tell us much either, now does it? how can .NET give you an error? Who/what is .NET? Is she pretty, I know its sexy, but what do you think? ok, just kidding... honestly, regarding error messages, it is considered good practice to have a clean simple message stating the 'task' that could not be completed and possible remediation. As important is that there is a configurable way to log the error with sufficient details and that the log is written in a secured way. The log: As such Helpdesk/Admin/Devs can find out more information and escalate to the correct person, with sufficient details. In a secured way: Imagine a malicious user finding out all sorts of details about your application; database connectionstrings with password are common and well, catastrophic; just open an app, rip out the network cable and play around...; I personally know of several cases where people got access to information they should not see because they encountered a verbose error message. Be sure to visit our Security Summit (http://www.microsoft.be/securitysummit.)
Yes, I read that in 'writing secure code' as well :) never reveal too much info in an error message. But that error message just confused me big time, it sounds terrible, and it isn't 'catastrophic' after all. It confused me because I've never seen an error like that. Most simple errors go 'Action Failed.' or 'Task Failed', but never 'Catastrophic' ;)
@BertG: if you don't get one, let me know, we'll leave you without the second part of the TabletPC article :) @David: Glad you liked it, and acctualy it's produced by EMEA and shipped through Germany. Editing takes place in Schwitzerland...
top job. i'v ealtered the regs file for actionscript *.as files, lovely job.
I am pretty mucho interested in the vb.net / vb version of the code. Any way to get a copy of it ?
Iam haveing the same problem at 18 minuites it says Error copying files Please help me fakehair@msn.com is my msn and xsx213 is my aim pleaseee helpppp
I've been to the convention last year and indeed, it is just marketing, nothing more. I think devdays are much more valuable for us (student) developers... but these aren't free ....
wow ! an amizing script is it possible to make a function like showImages("url of an opendir") I tried to do this but it didn't work
You could do a document.location.href = yoururl right before executing the javascript, so your browser first navigates to the url and then lists the images.
Sweeeeet powerpoint presentation, i like the lizard a lot. If I could find his head, we can fix it! :D I can't say a lot about the content, because I don't have any knowledge about it, but it seems to be interesting!
nice!!
It was a very nice presentation, I learnt alot about secure coding :). I also took this picture (after a few tries)
hey, sounds like I've missed something interesting. But thanks for giving me an individual lesson :p
To bad I had to mis that presentation... :s
Would you be willing to provide me with a download of Longhorn? I have been trying to find it, but have not had any success. My email address is baystatersweb@charter.net Thank you.
Yes
I'm sorry, I cannot provide you with a download location for Longhorn, I got mine on DVD.
Mmm... doesn't work for me. I get the following error: Error: document.links is not a function I tried do this under Firefox 0.8 on a Linux box.
Then it's probably not a generic javascript function I guess, really not much I can do about it, this was just a quick thing for personal purposes :p
This was extremeley helpful, thanks!!!
However, if somebody finds a more strict way (with generic functions only), then i would love to know. This is something U have been looking for quite a while now.
Im having a very big problem with whidbey. I does not recognise the MSAvalon namespace. I check in properties and its set to Framework 1.2, whats up?
I am having the same problems with interbase/firbird. I tried the ? marks and that did work. Does anyone know of a similar library for interbase/firebird so I can use named parameters? Thanks
doesn't work for me on VS 7.0.
Hi, I did the changes for the JOIN problem, however I still can't connect to othernet, whereas I can connect to quakenet. Any ideas? Regards, tom (tom.frey@greentreetrading.com)
You could echo back all IRC data and check what the server tells you, if it needs something additional or if it doesn't understand something. In IrcCommandReceived, just uncomment the line that writes all data to Console.
If there is interest in my vb-port of the bot, please let me know. I did send S Reisinger a copy. skom_svarvsven@yahoo.com
@David That's what I did and the 376 comes in just fine that's why I don't know where the problem is ... no error messages either
Then I don't have an idea, sorry. Maybe it's something server related, or network related.
I really like it
just to let you know, I figured out the problem now. It's in here: if (commandParts[0].IndexOf(this.IrcServer) != -1) because if you connect to a server like irc.othernet.org or irc.quakenet.org you'll actually get redirected to another server like "Warren.MS.US.Othernet.org" and that's why the whole switch segment never gets triggered
Right! I remember, had the same when I connected to the global quakenet server, but then I changed it to use a local one, which didn't redirect me again.
I think Carlos G.A's managed firebird provider for .NET supports named parameters with the @-prefix, e.g. "select * from tbl_Name where id = @id" All the info is available here: http://www.go-mono.com/firebird.html
Isn't there a navigation on the side with the .NET documentation? or is it just a generation option?
this can bee handy... lets stry it on non executables :p
thanks for this :)
sadly there isn't with VBDOX, NDoc generates the same style with navigation. VBDOX only makes the pages, but you can compile it to a windows .chm help file where you have navigation.
Thanks Chris, I will have to give it a shot. Not sure I am going to be able to figure out how to get it to work, but I will try.
Thank you so much for posting this (and thank the lord for google for helping me find this post). I was banging my head against the wall with this same issue and being new to MySql I hadn't realized it didn't support paramertized queries. Thanks!
This reminds me an article for IBuySpy module communication by Brian Bilbro: http://authors.aspalliance.com/bbilbro/viewarticle.aspx?paged_article_id=6
Number 2 of that page (Have a base page class coordinate the communication) is my preffered approach, user controls are simply small modules you can control from your pages. Pages control usercontrols. Usercontrols don't control usercontrols. (I know they can, and a usercontrol can have another usercontrol on it, but you get my point ;)) Very nice page btw, just bookmarked it, if I have to make a communication system between classes later :)
How about using interfaces...
Or <a href="http://wilcoding.xs4all.nl/Wilco/Articles/View.aspx?NodeID=136">connection points or meta-data based connection points</a>? ;).
How create a verify for web form?
Just wow... I enjoy reading posts like this, although I can sympathize with your plight from the other end as well. I remember a few years back as Win2k was coming out, I had a 3 hour tech support call with MS trying to get it installed on a Gigabit mobo. It seems that the bios didn't recognize certain cylinders/tracks on my hard drive. I eventually got windows installed, but it trashed the drives by a few months later...
You certainly learn a lot from these kind of posts ;) Like what the solution is to a problem when you encounter it with someone else later on.
Probably your best bet is to get one of the not quite M$ friendly versions. I'm not advocating piracy, but sometimes install issues get fixed by these groups when they work on it. I've run a few winbeta versions that work just fine. It also could be flaky memory or a funky hdd cache on your part.
It worked with a disc from someone else already :) (as noted in a previous comment :p) Wasn't a mem or hdd problem, I tried different pcs, it was a problem with the iso file
Very very cool
Yea, this does not work in Visual Studio .NET 2002. Can anyone help?
I believe it is a matter of changing the .reg file, to 7.0 if I remember correctly
I used the "php_edit2002.reg" which is for 7.0 and it did not work.
Then I don't have a clue, but this might be a nice alternative: http://www.jcxsoftware.com/jcx.corporate6/ (If it works for vs2k2) I'm using it now on 2k3, and it's really nice :)
Nope that doesn't work on 2002 either =(. Is there an update from 7.0 to 7.1 or did us 7.0 owners just get shafted?
Not sure, maybe this works: http://www.codeguru.com/Cpp/V-S/tips/syntaxhighlighting/article.php/c471/ It uses the usertype.dat file as well, and if that doesn't work, I really have no idea. It's a tweak after all :p
IMHO you have done better, layout wise that is...
Registerd for 4, but didn't get it... hoping i'll get it now?
I'm folowing these for 2 years, or have been trying too... and it surly aint easy :p
an ircbot glined me how can i get through it? please help me if you can this is my e-mail if any one can help me it will be greatly appriciated - shane- skullraider144@yahoo.com
You wait until the gline has expired? Get another host? :p G-Line: "G-Line" is a global ban system utilized by many networks. While a K-Line is written permanently into the ircd.conf file to block a host from connecting to a server, a G-Line is a temporary ban blocking a host from all of the servers on a network, usually set by an IRC operator utilizing a "network services bot".
what do i need to istall longhorn?i mean programs and how many cd`s are they?And where can i get the original disk(s)please write back
A computer, 1 Longhorn CD (but they gave 2DVDs on DevDays). Where? MA3D, your school, MS-beta site, MS-events, ...
Belgians might want to register for the .NET Magazine on the MSDN Belgium & Luxembourg website: http://www.microsoft.com/belux/nl/msdn/community/magazine.mspx
Bert, feel free to drop us a mail (through the feedback link at the bottom of http://msdn.be) with your coordinates, so that we can see what went wrong.
Would you be willing to provide me with an FTP site & UIDPWD for a download of Longhorn 4074? Been trying to find it, but have not had any success, yet! My email address is emaleme(at)look.ca ... TIA. "yes, play on words > not mail > but MALE > and me NOT either!" alle
If you would look at all the comments: I can NOT get you Longhorn!
i need a download of longhorn very much too please, would you please e-mail it to me, my e-mail address is, mini_s_2002@msn.com thanks a lot, zack
i don't care what version, any will do
Please re-read my post, especially the Update2 ...
not even top 100? oh David... Just joking, well done :)
:p still waiting to see the number of players :) It mentions it's double as much as last year, and I thought there were 25000 then, not sure though, but if it would be true, that would be sweeeet :p
Since when do you read the License Agreement? :p
If some one creates an "ACT OF GOD" virus we're all screwed.
I think "Acts of God" has a specific legal meaning, covering earthquakes and the like. Could be wrong about this, though.
hehe :p since i stumbled upon one through Google :) I should start reading them more, what else could be in it?
You know what, you're absolutely right! I just checked with Google: "An act of God is generally considered an act attributable to nature without human interference. For example, damage from a tornado or a lightning strike would be considered an act of God." But I have to say, it sounds strange..
No kidding? Why not just "Natural Disasters" :)
Many EULA's include "Acts of God" in their agreements.
I'm amazed, really. What does God have to do with an EULA... weird legal term, religion in legal, pfff, I'm amazed nobody else has ever said something about that wording, some people don't believe in a God, the description is just something for disaster...
It's an insurance industry term, ie CYA. Basically they're saying if an earthquake destroys their building and you get a virus while their system is down you can't sue them.... -A
so, i'm an atheist can i agree?
Does it cover programmers that THINK they're god?
Scott: Yea ;o) In case if their site will go down becouse of programmer who think he is God ;o)
I think it's very funny :p
This is the most straight forward code example I have yet seen on this topic, however I belive there is a rather BIG SECURITY FLAW! You simply take the existing DACL and use AddAce twice to implement the permissions you desire. This may not always work if a Deny ACE already exists further up the ACL. ACE order is very important and it must be assured that ACEs are in the following order Explicit Deny Explicit Allow Inherited Deny from parent Inherited Allow from parent Inherited Deny from grandparent Inherited Allow from grandparent Inherited Deny from great grand-parent Inherited Allow from great grandparent and so on. Since the ACL is traversed from top to bottom, if an Allow ACE precedes a Deny ACE and the Deny ACE is a subset of the Allow ACE then the subset of denied users will actually be allowed. The code above should probably be fixed by calling Dacl.PrepareAcesForACL before calling SecurityDescriptor.SetDacl Also, any existing ACE entries in the original ACL should be checked to ensure there aren't any duplicates. Of course one way of avoiding checking and being absolutely certain that only the access you have allowed is allowed is by throwing out the existing Dacl and creating a new one from scratch. -Chris
Hey, first of all, tnx for the comment, I learned something from it. Didn't knew something like PrepareAcesForACL existed. Now, on to the comment: I never thought about duplicates, as this code was more something made for one goal, where it would never happen, but now I know it can couse problems as well. As for the PrepareAcesForACL, I checked out the source of the used dll and found the following pieces: /// <summary> /// This algorithm was copied from ATL source code: CAdcl::PrepareAcesForACL. /// /// We can't use QuickSort (or any other n log (n)) generic sort algorithm /// because we want partial ordering to be preserved. All we want to do is sort /// the elements according to their "Order" (see OrderAceAccess.Compare method), /// but we want the elements which compare to "Equal" to remain in their /// original order in the array. /// </summary> protected override void PrepareAcesForACL() And this method gets called by private unsafe byte[] UnsafeGetNativeACL() Which gets called by internal byte[] GetNativeACL() Which is used in private static void UnsafeSetDacl(SecurityDescriptor secDesc, Dacl dacl, bool defaulted) And finally used in public void SetDacl(Dacl dacl) So, I guess the security flaw is fixed by this? Each time you do a SetDacl it automatically PrepareAcesForACL. Tell me if I'm wrong, don't want a security flaw in what I tell
I am terribly sorry, I had thought I reviewed the Win32Security dll code carefully, however I missed the call to PrepareAcesForACL() that ultimately gets indirectly called by the SetDacl function. I've been researching how to do this for some time including reading some security books on common mistakes. Most of my reading brought me right to the windows api level (advapi32) where the SetDacl function does not take care of ACE ordering for you. I guess I got a bit over zealous and jumped the gun, I believe you are correct, your orginal code should work well. -Chris
Adding the following line should take care of any Ace issues. dacl.RemoveAces(sidUser); I have looked in the source for Win32Security and the funciton returns false if the Dacl is null, empty, or an Ace for the sid specified is not found.
Can you help me on a couple of lines I need to write. All I need is to remove access to everyone to a particular file and then set read and write accress to one particular user. Help help ehlps
look at the above sample and first removeAces from them, and then AddAce your desired rights..
How can I get a list of all the sid. is there are way to remove acces to all ?
The problem with not being able to view source of a web page (from IE) can crop up when you have a very large temporary Internet files folder, another symptom is when you right click an image to save it disk the save as dialoge will only allow .bmp extension. just clear your temp files ( Tools > Internet Options > General Tab > Delete Files) and the problem goes away :)
Nice! That happened to me a few months ago. I fixed it by downloading TweakUI and Notepad2. Now I will know what to look for if it ever happens again! Thanks!
Simon, ah, I never had the view-source problems with IE here, but good that I know another cause ;) And I thought having a huge temp Inet files folder was a good thing, to save your bandwidth...
.COM's have been run in preference to .EXE's since the days of DOS. Some viruses back then including PowerPump used to just create a hidden .COM that matched a .EXE name giving it chance to copy itself before launching the .EXE I'd strongly recommend finding out exactly what notepad.com is on your system ASAP. I can't think of anything legitimate...
It's a part from some spyware junk, I removed an activeX control it downloaded, and there was a similar calc.com in the root of the drive as well... Got IE security up to High now I expected it having something to do with DOS, but can it be safely switched now (eg; giving .EXE a higher preference), without breaking anything (on windows 2003)
I can view source again! I cleared my temporary internet files, which took about 5 minutes, and now source opens. Thanks for the tip!
The .com / .exe pair can be used for good as well as evil. That's how Visual Studio runs command-line and GUI style: http://blogs.msdn.com/junfeng/archive/2004/02/06/68531.aspx http://www.hanselman.com/blog/PermaLink.aspx?guid=188
Ah, nice way of doing things, but what I don't understand, why depend on the order of execution when it's so easy to change them? (for example, in the second url they mention BAT COM EXE, and my default system had COM EXE BAT...)
Ow yeah, I knew that problem of 'too many temporary Internet files', but the extensions, I didn't knew that .COM is taken before .EXE, kinda strange
It may be just for XP Home edition but if you put a shortcut to Notepad on your desktop, view source will stop working. I added a shortcut for my son to kick off notepad to practice typing and that broke IE's view source. Renaming the shortcut fixed it.
hmmm, now i see why you don't have to place the extention, if you want to strat notepad from RUN :p
Thank you! Thank you! Thank you! Coming from SQL Server and Oracle, I was so used to using named parameters that I totally forgot the questionmark approach. This being my first MySQL project, I was about to knock my head through the wall wondering why that database wasn't accepting my update statements.. as you pointed out, inject dynamic SQL is dangerous and not done. Like the others I just assume that MySQL supported named parameters... doh!
congrats!
hey nice going :) Isn't that the site with the 'lets do it how they want"-layout ? :p
Proficiat ^^
Congrats!! :)
Try this app: Opendir Viewer You can find it on some download sites and the developer is niceapps, www.niceapps.com, if i remember correctly
i want to save the text file as encoding"UNICODE"...ANYONE HELP ME...AS SOON AS POSSIBLE.. THANX
I'm not running Office 2003, so I dont have msoutl.olb, can someone email it to me or tell me where I can get it? van240sx@yahoo.ca thanks
VERY COOL!! Now if only I could find the same for .cfm as well.
Doesn't work for me either. This is because i do not have C# or C++ installed with my VS.NET ....
I've read your code. It was wonderful. I have added ASPNET user to a folder access allowed user. However, I follow your code to give it full-control right. I found it didn't do anything. Here is my code. What did I do wrong? Please let me know. Thank you. Microsoft.Win32.Security.SecurityDescriptor secDesc = Microsoft.Win32.Security.SecurityDescriptor.GetFileSecurity(strSitePath, SECURITY_INFORMATION.DACL_SECURITY_INFORMATION); Dacl dacl = secDesc.Dacl; Sid sidUser = new Sid (username); // allow: folder, subfolder and files // modify dacl.AddAce (new AceAccessAllowed (sidUser, AccessType.GENERIC_WRITE | AccessType.GENERIC_READ | AccessType.DELETE | AccessType.GENERIC_EXECUTE , AceFlags.OBJECT_INHERIT_ACE | AceFlags.CONTAINER_INHERIT_ACE)); // allow: this folder // write attribs // write extended attribs // delete // change permissions // take ownership DirectoryAccessType DAType = DirectoryAccessType.FILE_WRITE_ATTRIBUTES | DirectoryAccessType.FILE_WRITE_EA | DirectoryAccessType.DELETE | DirectoryAccessType.WRITE_OWNER | DirectoryAccessType.WRITE_DAC | DirectoryAccessType.MAXIMUM_ALLOWED; AccessType AType = (AccessType)DAType; dacl.AddAce (new AceAccessAllowed (sidUser, AType)); secDesc.SetDacl(dacl); secDesc.SetFileSecurity(strSitePath, SECURITY_INFORMATION.DACL_SECURITY_INFORMATION);
My guess is that you need to use this: Microsoft.Win32.Security.SecurityDescriptor secDesc = Microsoft.Win32.Security.SecurityDescriptor.GetFileSecurity(strSitePath, SECURITY_INFORMATION.DACL_SECURITY_INFORMATION); Dacl dacl = secDesc.Dacl; Sid sidUser = new Sid (username); // allow: folder, subfolder and files // full control dacl.AddAce (new AceAccessAllowed (sidUser, AccessType.GENERIC_ALL | AccessType.STANDARD_RIGHTS_ALL , AceFlags.OBJECT_INHERIT_ACE | AceFlags.CONTAINER_INHERIT_ACE)); secDesc.SetDacl(dacl); secDesc.SetFileSecurity(strSitePath, SECURITY_INFORMATION.DACL_SECURITY_INFORMATION); and don't forget to fill up username and strSitePath in your code :)
lol just to be an asshole, would you like to send me the recent longhorn version lol just kiddin, ill find it myself, its been awhile, last time i got it was 4051... and they havnt sent me the new one yet... Best of luck ;)
I wrote a short app that creates folders for users in Active Directory, and assigns permissions to them using this library. I was curious if permissions could be set on a network share (since we programmatically create a share of these folders once they are created.) By default, the share gives 'Everyone' full control, and I would like to modify this. Can this be done using this or some other library.
David, I sat in on two DotNetNuke sessions at DevTeach with Jim Duffy and I am definitely fired up about DNN, so your tips as I am about to install it, are PRICELESS! (Well, not priceless maybe, but really really helpful!) Thanks!
Interesting... Thanx for the pointers :) DotNetNuke guys should test their releases better
Hmm, I really don't have an idea how to do that, if anyone knows, please reply :p
I used this library basically the same way you have, however, the containter inheritance does not seem to be working for me. I set the AceFlags to AceFlags.OBJECT_INHERIT_ACE | AceFlags.CONTAINER_INHERIT_ACE, as you do, but when I look at the properties of a subfolder, it does not show the user in the security tab. If I subsequently add another user to the same folder using Explorer, then the user I added with code magically appears. Does this work for anyone else?
wow, that's very nice! when i got the time, i will also create my own outlook today :) nice job!
Nice, but it would be really nice if you used for example Cassini or Bart De Smet's solution for hosting ASP.NET pages (based on Cassini) instead of PHP ;)...
;) I got IIS running, no need to run Cassini, it's just that I had a PHP uptime script lying around, and just used that, instead of creating a new one :)
David, Here in Mexico we call "Tocayo" to those people that have the same names. Tocayo, you saved me a lot of time with this simple troubleshooting that you posted. Thank you very much
Very nice, I will try to do this for my own outlook. Just some remarks ;-) : - When using this with Outlook 2000 SP3, you can't modify my outlook today anymore. You have to change a value in the registry. - The technology you use is called "Digital Dashboard". Although you can use this in Outlook 2003, it's the old way. MS has now Portal Server which you can use to modify your Outlook. This because with Digital Dashboard, you have to know HTML and you have to change everything with scripting. But OK, for private use Digital Dashboard is very usefull because otherwise you need to install portal server. But in company environments more and more they will use portal server for the modifications.
You mean there are people out there who dont know HTML or don't like it? :p Portal Server eh, I'll remember that when I have to chance to use it :) tnx
need vb documentation
how can c# die when microsoft made it and its part of a vs.net package very nicely done. what microsoft makes the public wants.
Customising Outlook today
If you add the attribute FlagsAttribute: [Flags] enum Pars { ... } .NET will automatically give you the combination as string. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemflagsattributeclasstopic.asp
nice, this is usefull :) thx!
Tnx for the attribute :) didn't knew that one
Hi, thanks for the Code !! But I got an issue setting the owner ship of an user. Anything that I am doin is add a line to your code: secDesc.SetOwner(sidUser); This does not work, I am new to ACLs and stuff like that, what am I doing wrong ? :marcus
Dat dutch rest in english, minor mistake :p
this is good info :) maby we could teach it at school :)
same as last year?
Indeed =)
congrats =) I had 'just' a 'High Distinction', but that's fine with me :)
Just what i was looking for. Thanks mate. Btw, what theme are you using in your screen shot?
My own theme? :p That's what the article is about, creating your own :) 'Summer' Style ;)
Sorry, i did not make that very clear :$ - in this pic http://users.pandora.be/tr/ms/blog/outlooktoday/outlook.jpg the windows theme you are using (not the outlook thing :P) - whats it called :)
ah :p It's the 'Watercolor' theme, check this guide on how to do it: http://www.neowin.net/articles.php?action=more&id=54&perpage=1&pagenum=1 (Note: it might be different for another OS version) You need to change uxtheme.dll and then search for the Watercolor theme. PS: If your system crashes or some other damage occurs, I'm NOT responsible :) (never happened here though)
How do I know which additional datafields are available ? You are using some of them like datafld="Name".... Thanks & regards Derek
Good question, which I sadly enough can't give a good answer to, maybe someone else can. It's more a matter of finding them yourself, Google can't find anything on it, and I've read that it isn't supported anymore and almost not documented. I really don't know if there are a lot more besides the one I use, I'd guess there won't be that much more :) Sorry
this is nice :) add's a lot of code lines :)
what about the ClientRectangle? I'd like to use a shaped form like this, but inside of it i want to be able to use the standard Dock Fill method to have a child control resize to an inset position... e.g. i want to draw my own title bar and resize edges. when i just shape the window, the ClientRectangle is always the max size, so components which Dock Fill stretch out over my edges! Am I making sense? I tried overriding WndProc for WM_NCCALCSIZE, but even though I inset the ClientRectangle, it seems to have no effect.
You're making sense, but I wouldn't immediately know a solution, sorry
Hi, I add reference to 'Microsoft Outlook 11.0 Object Library' but i didn't get the Interop.Outlook namespace any help?
Did you get any new references? Check the Object Browser for the exact namespace if there are any Office references
Yes I get 3 new references: 1.microsoft.office.core 2.outlook 3.stdole
p.s if you can help me - i need to import data form outlook to dataset any help?
Well then, press F2 to get the object browser and find the exact namespace for the Interop namespace. -- You could create a dataset and fill it up with a foreach adding a row each time. It's all the same for emails, contacts, calendar items
You forgot my own God. The God of PC-nitwits. :-d
Hopefully we will not have a God for Microsoft Software and Linux Software. This can only result to a religion war ;)
:p good one, and since I invented these ones, I can make sure there aren't any gods for those ;) Every good coder is equal =)
God of Bugs and he has the Gremlins at his beck and call when he wants to strike ??
i think you have to much fantasy ;) but i must say that i like your new religion! :D
ok, i tried to post this 5 times... "I don't believe in god's", but for some strage reason, My power went out, IE crashed, my screen exploded... Think i know who's behind it.... The all powerfull ROOT / Admin (what ever you prefer :p)!
cool, i had 2 mistakes, but that was good too ;) congratz
Gratz!! :) I had two mistakes as well, two little, no big mistakes ;)
Hi.. this is good program. I try to write a program that is client for this server but when close the server occur an error at while ((chatMsg = this.ChatReader.ReadLine()) != null) { becasue data unable to read. how can I repair this error.
I'm unable to reproduce the error, but here is a try at a fix: chatMsg = (this.ChatReader != null) ? this.ChatReader.ReadLine() : null; while (chatMsg != null) { if (eventReceiving != null) { this.eventReceiving(chatMsg, this.Id); } chatMsg = (this.ChatReader != null) ? this.ChatReader.ReadLine() : null; } That way you won't get an exception when there's a null ChatReader. If this doesn't fix it, paste the entire error message you get :)
Hi - i am a student and would like to learn a little about integrating different technologies. I am looking into the integration of technology of two different companies, here are some details... company 1 - win2000, pentium machines, UX switching tech in LAN leased line WAN Oracle Technology turnkey apps legacy apps (CICS, VSAM, IMS, MVC) company wide integrated internet and email (MS EXchange) company 2 - IBM host and SNA environment AS400 amd BPCS Near company wide email (Lotus Notes) my aim is to integrate the two in the best way. consolidate group communications (intra company WAN) extend network for voice and data integration enforcing security also, company 1 has sites worldwide and company 2 is in a different country. please could you advise me on a wise move for integration. thanks
you could do this if documents.links doesn't exist: document.links = document.getElementsByTagName('a');
but i was there :p i hope they learned not to use claroline anymore...
I've got the magazine :) haven't read all of it though
Hi, Thanks for the code. i want to access effective permission of logged in User for file as well as AD Object. This DAcl gives me splitted permission and i dont know how to calculate effective permission for logged in user. I think there must be something but i dont know what and where? I would be great if you guys can help me. Thanks a million in advance.
You can loop over every sid in dacl and see if it applies to user, and then I think you can use the following method to extract the NTFS permissions out of the sid: http://weblogs.asp.net/cumpsd/archive/2004/06/28/168112.aspx
Sweet mother of God. :D Is there an impact on the amount of time it takes for the dialog to load?
this is nice! I like it a lot :)
None at all :) WIN + R and it's there immediately ;) There's a lot more you can tweak in shell32.dll, I replaced most of the icons in there as well. I am using them for more than a year now and suddenly they jumped back to the default due to a Windows Update (which apparently replaced my shell32.dll), but boy, I wasn't used to those anymore, quickly back to my own :p
Great and interesting... :)
What visual theme are you using? That's a nice looking start button as well.
Cool Stuff, Very interesting!
wheeeeeeeee it works, nice tutorial!!!!!!
The theme is watercolor, but it's with a hacked uxtheme.dll (http://www.neowin.net/articles.php?action=more&id=54&perpage=1&pagenum=4)
Another famous joke in China for notepad if you input legend, which is once the name for the largest PC company in China, and then save and reopen it, you will find two rectangles instead of two chinese letters. Then people said you should not purchase legend PC since MS hates legend. Notepad really has some problems in coding/decoding.
Even create a not very long directory name written in Chinese may cause errors. The most frequently situation is that you find you cannot delete this directory. It seems that Windows systems reinterpret it into something else.
Nice tutorial, works perfect here!! Thank you!! :) btw, I like the theme too =) with the nice, tight lay-out :)
When is the theme tweaking coming? =) (I like that visual theme :p)
I'm sad that Windows Forms removed "Resource Hacking" of this kind, but I'm hoping that XAML/Avalon will re-enable it. Heck, I've got Macintosh games with the "Resource stored sounds" completely hacked to the point of utter silliness yet so funny to play. A game of Links where the ambient bird sounds were replaced with funny comments from friends. An app with a dialog box with controls completely reordered just to fool with anybody who might wanna do something serious with a computer :-)
Love the tutorials, keep them comming
A backup before editing, one to edit on and backup with replacer... -> 2 backups = overkill :p nice tutorial :)
Like i said, you aren't forced to follow my advise :) But if you suddenly have a HD crash and your backup is gone as well, don't complain (I've already seen HDs fail with two at a time)
I need longhorn....could you please send it to me? My email address is blank-sucker@no-longhorn.com ;-) Not REALLY looking for longhorn(well, I am, but not here). Just wanted to see what others have to say about it. I know damn well I'm gonna have to find it on my own, and that goes for all you damn foolz out there as well. If you googled your way here like I did, you might be halfway there. Just don't expect it to pop up as link on any given webpage, for various reasons.....such as it wouldn't last longer than a couple of days before some bigshot pulls it off the the net, storage space, bandwidth consumption, not to mention the LAW. I don't think there are any webmasters out there STUPID enough to host longhorn on their servers and still expect to have their websites up the next month. GO AND LOOK FOR IT ON YOUR OWN!!!! Bullshit to the side, much props go out to CUMPS for what he's doing, let us know how it goes with longhorn.....on a side note....no Virtual PC????....wow, you're brave.... TUX lives on.....fuck M$.......PIMP THA PENGUIN!!!!!
Virtual Pc, nah :p Ghostcasting rox as a recovery method ;)
Meh, it doesn't really work for me... I prefer this one: http://www.justlikeed.net/StripDir/
THANKS!!! Works great for me in VS 2002. :o)
I gone through your code. It was wonderful. I have added ASPNET user to my application folder access allowed user. I added your code to give it full-control. when i open the folder security settings its showing full control but my application is not working, once i open the application folder again i set ASPNET user permission to full control then its working fine. Pls suggest me What did I do wrong? this is my Code // strSitePath : Application Folder // strUserName : ASPNET SecurityDescriptor secDesc = SecurityDescriptor.GetFileSecurity(strSitePath, SECURITY_INFORMATION.DACL_SECURITY_INFORMATION); Dacl dacl = secDesc.Dacl; Sid sidUser = new Sid (strUserName); dacl.AddAce (new AceAccessAllowed (sidUser, AccessType.GENERIC_WRITE | AccessType.GENERIC_READ | AccessType.DELETE | AccessType.GENERIC_EXECUTE , AceFlags.OBJECT_INHERIT_ACE | AceFlags.CONTAINER_INHERIT_ACE)); secDesc.SetDacl(dacl); secDesc.SetFileSecurity(strSitePath, SECURITY_INFORMATION.DACL_SECURITY_INFORMATION); Rin
The full control checkbox is checked? Hmm, i don't really know what could be the problem then, sorry.
Hi Cumps nice to meet you yes its checked but i am unable to get the files from sub folders Rin
Hi Cumps with your code only root directory getting the Full control permission. How to get the permissions to sub folders of that root directory. Rin
Normally that gets passed because of the "AceFlags.OBJECT_INHERIT_ACE | AceFlags.CONTAINER_INHERIT_ACE", but since you have them set I don't really know what's happening
I have a question .. I am copying some files from one folder to another. I want to copy the NTFS permissions of the files too Any Idea on how to do that??? Thanks MVB
Simple way? xcopy /o (/O : Copies file ownership and ACL information.) Hard way? Try fo find if File.Copy somehow supports keeping NTFS settings, if not, File.Copy the files over and then use this library to read the rights from the source and apply them to the destination string sourceFile = @"C:\bla\blaat.doc"; strinc destinationFile = @"C:\somehwere\blaat.doc"; SecurityDescriptor secDescS = SecurityDescriptor.GetFileSecurity(sourceFile, SECURITY_INFORMATION.DACL_SECURITY_INFORMATION); Dacl dacl = secDescS.Dacl; SecurityDescriptor secDescD = SecurityDescriptor.GetFileSecurity(destinationFile , SECURITY_INFORMATION.DACL_SECURITY_INFORMATION); secDescD.SetDacl(dacl); secDescD.SetFileSecurity(destinationFile , SECURITY_INFORMATION.DACL_SECURITY_INFORMATION); --- I'm not sure if this way works, if it does, it's shorter: SecurityDescriptor secDesc = SecurityDescriptor.GetFileSecurity(sourceFile, SECURITY_INFORMATION.DACL_SECURITY_INFORMATION); secDesc.SetFileSecurity(destinationFile , SECURITY_INFORMATION.DACL_SECURITY_INFORMATION);
good
Hi Cumps This is Rin using your code can you tested the permissions for the Root directory and sub directories of that root directory? can you have any idea or code for that Pls do favour. Thanks ~Rin.
Right, First, there is NO way this line gives full control: dacl.AddAce (new AceAccessAllowed (sidUser, AccessType.GENERIC_WRITE | AccessType.GENERIC_READ | AccessType.DELETE | AccessType.GENERIC_EXECUTE , AceFlags.OBJECT_INHERIT_ACE | AceFlags.CONTAINER_INHERIT_ACE)); This Gives 'Modifiy' rights, nothing more, nothing less. This on the other hand will give you Full: dacl.AddAce (new AceAccessAllowed (sidUser, AccessType.GENERIC_ALL , AceFlags.OBJECT_INHERIT_ACE | AceFlags.CONTAINER_INHERIT_ACE)); So replace your line by mine and try again.
therefore I used it for this novel site name (for Automation people). It is also the reason it is widely used by spammers to hide adresses. Regards / Ake.Hansson.se (just type hansson with a @) I quote from a W3C document: 3.2.2. Server-based Naming Authority URL schemes that involve the direct use of an IP-based protocol to a specified server on the Internet use a common syntax for the server component of the URI's scheme-specific data: <userinfo>@<host>:<port> where <userinfo> may consist of a user name and, optionally, scheme- specific information about how to gain authorization to access the server. The parts "<userinfo>@" and ":<port>" may be omitted. server = [ [ userinfo "@" ] hostport ] The user information, if present, is followed by a commercial at-sign "@". userinfo = *( unreserved | escaped | ";" | ":" | "&" | "=" | "+" | "$" | "," ) Some URL schemes use the format "user:password" in the userinfo field. This practice is NOT RECOMMENDED, because the passing of authentication information in clear text (such as URI) has proven to be a security risk in almost every case where it has been used.
is this problem sorted out? I have the same problem as you mentioned. What is the exact solution?
Aha, I fixed it out. But strange, there was 2 applications under windows\system32, notepad.exe and notpad.exe. I tried to copy a new notepad.exe from another computer to mine, and it said that "I am trying to copy ower notpad.exe. Could it be because of a trojan or virus? Anyway I backed up old files, I copied the new notepad to the original path and I deleted notpad.exe. It works.
Good thing you could fix it :)
How Open *.pst file ???
hello please my run menu
I even know much of this stuff... And I'm not even an IT-er... SHAME ON THEM!!
Yeah, I know lots of "IT" people that can't understand what a LAN IP is... Sigh... And RAM. That's so funny. We used to have a guy here that didn't understand the concept of LOW DENSITY SDRAM. Loser.
* Can't spell "lose" when posting to a blog or message board.
:p "are not native english speakers"
Cool, but I still, can't understand the language you coded it in... But I find the matches with the song ;)
After "Destroy their mobo and CPU by installing a printer" I'm going to be picturing somebody trying to install a printer internally for days . When I first read about the Ctrl-Alt-Del I thought you were being picky about HOW they did it, which Ctrl and Alt keys and what fingers, but then realized you mean either hitting the wrong keys or hitting Del first. I just take for granted that anyone using a computer more than a week has picked up on most of this stuff, but for an IT person to not know it makes me wonder what kind of favors they had to do to get the job.
"Believe that MSN is the only IM" hmm... I believe MSN is the only IM [that matters]. Does that make me a bad IT person? :)
It was 'Prince' first of all, Sinead O'Conner did a cover of it.
no, because you added the [ ] part :) The ctrl-alt-del went something like this: position your 3 fingers in the air above the right buttons and then in a millisecond put them down, hopinh they will hit ctrl alt del simultaniously, repeat if it didn't, i saw them repeat it 6 times :p
Sorry :) I didn't knew it from the start, someone told me on ICQ.
Can not shutdown a windows XP computer in 5 blind! keypresses :p
Sinead O'Conner version is GOOOD! and now I'll think of this code, instaid of enjoying the song :s :p
I believe it's 4 keypresses here? Win - Arrow Up - Enter - Enter (if Shutdown is the default option in the dropdown :))
well...theres an ISAPI filter that supposedly allows you to actually RUN multiple sites concurrently with XP Pro...and IIS 5.x its called multisite...you can google for it. i couldnt make it work though..if you can, let us know. Gabe.
check out multisite2 at http://www.hairy-spider.com/multisite.aspx should do exactly what you require
THIS watercolor thems is so sweet! This tutorial is great =) much bettery then that Windows XP Silver look ;) And again, gratz to the man ;)
Bloody heck! Talk about coincidence! I just got my new laptop, a Dell Inspiron 8600 and just installed a fresh Windows XP Professional, and remembered seeing this cool utility that allowed you to create multiple web sites in IIS on XP Pro, but couldn't remember where... So - thanks!!!
Tnx for multisite! Going to check it out right after all my blog postings of today ;)
I was unable to get my WLAN card working using the ndiswrapper under Gentoo with kernel 2.4.27, which sucks because I've got a Realtek rtl8180 based card and I want to run the 2.6 kernel. I was able to get the 2.4 drivers from Realtek working under Gentoo. I may have to try it again since I think I had an IRQ problem and not a problem with the actual driver. Is the Dell trumoble a Realtek based card? I couldn't get a laptop with the Dell card to stay connected to my home WLAN at all. Kept dropping off after it would connect.
No, it's a Broadcom BCM 4309 802.11a/b/g mini-pci card. No native driver available :( I hope Broadcom plans on releasing a Linux driver someday.
www.wallpaperchanger.de ...
wade.beasley@insightbb.com Thanks, Wade
email: scndsky@hormail.com firstnaam: doctor lastname: strangelove
Hehe, well, there is a tool for the people who want something fast ;) I just created my thingie because I wanted to try :p Gonna add a random function to it that picks one from a directory instead of a number, so that I can just drop in .bmps in a directory to configure it.
An invitation has been emailed to your friend Wade at wade.beasley@insightbb.com. An invitation has been emailed to your friend doctor at scndsky@hotmail.com
First: Seminary Last: Boy Email: seminaryboy2004@yahoo.com Tx, James
First: Mike Last: Wikstrom Email: mikewikstrom@hotmail.com Thanks
An invitation has been emailed to your friend Seminary at seminaryboy2004@yahoo.com An invitation has been emailed to your friend Mike at mikewikstrom@hotmail.com
Sorry, I forgot my junk mail gets deleted immediately. Could you send it again, Please? Mike Wikstrom mikewikstrom@hotmail.com
Name: Domagoj Lastname: Kovač email: domagojkovac@yahoo.com
An invitation has been emailed to your friend Domagoj at domagojkovac@yahoo.com Mike, i forwarded the request again :)
Thanks a lot, you rock!
or you could take the easy route and go get something like http://themexp.org/ or http://www.windowblinds.net/ i use windowblinds, personally... and don't have to worry aboug "hacking" any system files to use it. I installed XP SP2 right on top of my existing WindowBlinds, and never had to think about it because it works right.
sajeevan@free.fr thanx,
Too bloated list time I used Windowblinds ;) And the easy way is just toooo easy :p But ok, if you want theme's the easy way, use a program from the above comment. I'm convinced I want it 'native' instead of having a 3rd-party program do it for me, and I like tweaking and fiddling with my system =) (Norton Ghost = rescue)
first name, last name?
fname: Raj lname: Menon email: ozone@iname.com
An invitation has been emailed to your friend Raj at ozone@iname.com Fun, I just got more invites.. "You have 5 invitations left"
fname: Mario lName: chavez email: chavezmarioalberto@msn.com Thanks
An invitation has been emailed to your friend Mario at chavezmarioalberto@msn.com
Ah, those people sent me a mail on 19/7 too. A new way of head-hunting. ;-)
David, while you are at it; just for curiosity and comparison (since my hotmail now has a whopping 2GB of space too!!) First name: Rudi Last name: Larno e-mail: ThaRudeDude@hotmail.com
An invitation has been emailed to your friend Rudi at ThaRudeDude@hotmail.com. 3 invites left :)
Cool.. I am trying to get one.. I love testing. Its hyped but interesting just the same.. Thanks
An invitation has been emailed to your friend doug at doug_woznicki@hotmail.com 2 left
sajeevan@free.fr first name : Sajeevan last name : Jay thanx,
You have 0 invitations left An invitation has been emailed to your friend Sajeevan at sajeevan@free.fr. Done, all are gone :)
same here, theme hacking is actually more easy :)
this is very funny :D admin rights, it could come in handy some day ;) greets
I fail to see how having to hack your registry to get a simple feature refutes the benefit of the same feature built in to a competing browser. Shouldn't easy things be ... easy?
It's about the fact that the code is built in apparently, but there's no GUI for it. And about the fact that IE can have the same things as well, thus loosing an argument for converting... Double clicking a .reg file isn't difficult
Well, that's nearly valid, but it does beg the obvious question doesn't it? Opening a .reg file may not be difficult for a non-developer, but creating one is. Fortunately (or unfortunately depending on your viewpoint), keywords are among the least important advantages they've got over IE.
True, but in my conversation they used that argument, I simply wanted to get rid of that argument :p In my opinion, it's just a matter of taste. Tabbed browsing, very hyped, IE doesn't have it, I used both, but I don't really feel tabbed browsing as something *wow* or something that would make me switch to firefox permanently. I still need to get some really strong arguments on why to switch, some real added-value. Mouse gestures... don't need them, got shortcuts, tabs, I multitask with alt-tab for years, probably goes as fast as tabbed browsing (ah, I don't group windows in the taskbar as well, that's the frustrating feature, with a high resolution it's easy to even find your IE windows back without alt-tab), standards compliance.. good, except that it's less tolerant on shitty css-files, actually making some sites look worse than better. (example; text-align: center on a div, might nog really center it, you need to have left and right margin set to auto..) Security arguments are probably the strongest, and I agree, it's some real treath to regular users. I'm running Ie with higest security settings, for 2 years now, never had a problem.... but I know what to trust and what to distrust ;) So, my final conclusion: It's just taste, use the browser you like the most. I always try to steer away from browser discussions, because I really don't care what someone else uses, as long as I can use the thing I want, the same with some OS-wars :p
I agree. Use what you want, or are used to. So long as you're informed. I would, however, strongly discourage people from hacking their registry to get the keyword feature, especially if they don't know what they're doing. If that's an important feature, switch.
Left side: "Disclaimer I (David Cumps) cannot be held responsible for any damage what-so-ever that might come from this blog." And it's under 'Tweaks'. You'd be a fool if you read a dev's blog, with something about registry keys, about adding undocumented features along with something you don't understand. Just like I would never touch a single part of a car's engine when I read about some modification to increase performance on a mechanic's blog ;)
Never had that happen before, but having four computers with the sam e administrator password grants me full access to them all. Plus, I use the C$ share to navigate to folders via navigation bar. Very few people ever realize that Windows 2000 (and XP, I think) default share your hard drive to anyone with the admin password; no matter WHERE you are on the network. Maybe you're the "one."
Check this out: http://www.mozilla.org/docs/end-user/keywords.html
lol :p Too bad it doesn't happen to my new account ;)
Point being? Do you actually read my post? I know mozilla and firefox have it, I showed how IE can have it to, just like posted in all previous comments... Predictable, when you talk about IE and a feature that mozilla has, there is *ALWAYS* someone to point you out to a page about it
"It's about the fact that the code is built in apparently, but there's no GUI for it." Just want to point out that there is a GUI for it in Mozilla (Firefox)! *sigh*
seems intresting, i wish i was there too, it's a shame i had to work
i tried it, but i had a little problem, when the wallpaper changed it didn't show the wallpaper althoug it was selected as background in the registry. But i had the color blue as background
Hi Just tried this with Oulook 2003 and got an exception error? Thanks
Which error? Tried debugging? Which line was the error when you debugged? Greets :)
huh? What are you talking about? Is there a dummy version, 'cause I can't follow any longer. I'm just an user who only use ready made programm's. I'm trying Firefox for the moment, but I can hardly find differences between Firefox and IE and no, I don't have the intention to play with reg's in IE neither in Firefox.
Forget Multisite - its ok for very basic flat sites but can't handle asp. Read through their support forum backwards and it will save you a lot of time.
If you're using multiple monitors of any sort you're doing yourself a disservice without checking out UltraMon (http://www.realtimesoft.com/ultramon/). It's amazing. Nice little window icon next to minimize that lets you send it to another monitor, no dragging and minimizing, maximizing hassle. That in and of itself was worth it for me. But has other features too.
wow, commented on the wrong post in the wrong tab. delete me, or ignore me, please :)
But it's true, UltraMon rox :) I'm using it as well =)
OK!
I think if I watch this a few times, I will sure be able to understand it for 100% :p No, I mean it, it is very clear, very nice coded, if you ask me. Think you did some pretty good job with this. I've learned a lot (except the coding, because I don't code off course, it's not my thing ;) ) . You're always doing some great things, really! Greets, Jochen
I think it's very good, nice talking, nice presentation! Those alternate datasources are actually very strange i think :p but they might be usefull sometimes :) And shouldn't you be studying in stead of making blogcasts? ;) Just kidding. Well keep up the good work, i hope you will make some more blogcasts in the future. Greets
Like I said already very nice job! I've watched it already a few times and it's a very clear presentation. Keep up the good work! Laurens
I'm only 47% nerd :p! I'm neoNerd (still defining that, and no... nothing to do with the Matrix)
I like it! But a bit more enthousiasm would be great! :p
Somehow I've only managed to get 40 - Lightly nerd. Not quite sure how. That's good, right? :p
cool where can I buy it :-) no serious, this could be a huge succes, cause most of the dummy users hate to give those passwords, logons, etc... me well, kinda used to it so to give in a pass or to not give in a pass really just takes a second two type it in. But what I do think is that it'll be harder to hack those passwords cuz you aint got any :-). You could begin to think in 007 style with special techniques so you can hack in those systems but that's kinda futurustic isn't it ;-)? Any way can't wait to test it!
56% nerdy :-)
nice stuff! i would want one too, then i don't have to type my password everytime i want to log in at a website or at windows :) that would save me a second or 2 :p
hmm, i think the only difficulty to hack it, is that you have to obtain the code of the fingerprint. As far as i think the fingerprint will somehow be turned into a unique code, and it checks if the code is identically. Well if you can manipulate the input and get hold of the person's fingerprintcode, you can hack it.
I've been working with the MS Fingerprint Reader when it just came out, and it's a typically MS consumer product. It works with MS software, anything else, you're boned. I don't even understand how you have the guts to say "it doesn't matter if it doesnt work 100% on FireFox, because a normal user uses IE." I'm not a big fan of FireFox either, but statements like these really make me - and probably others - question your intelligence. What good is a fingerprint reader if you can only use it in this and this and this situation? As for my experiments with it, the hardware performed pretty well - although this is of course no accomplishment of MS itself, but rather DigitalPersona, the hardware manufacturer. What's also pretty depressing is that there is no SDK for this fingerprinting device available. MS does not ship its own, and the DigitalPersona SDK doesn't work with the MS model. I'm still looking for as to why that is usefull, because as for my product, I had to go look for another fingerprint reader, and drop support for MS's one. Real pity. Basically, all MS did was get the hardware from someone else, somehow make it _not_ work with their SDK and write a pretty looking shell around it. Boring.
Nibbler: Indeed, I tried 'hacking' it already when trying to use a left behind fingerprint, but didn't work (but I'm not a specialist in fingerprints either :p) You forget that normal users are boring per definition. And about the Firefox issue, if it would be a professional device then I would fall over it, but now it's nothing more then a toy. And I don't really want to start a browser discussion here, I might expressed myself a bit too much in general, so here I go again 'most normal users use IE'. I really don't care what browser you use :)
no FF suport => kill it :p nah joking :p think it's a cool gadget, but i can do without right now. Maby if I'm gray and old, my child will buy me one, cause i won't be able to handle pc's :)
Nice post...!!!
It's a very nice piece of hardware. I also had the change to test it and i loved it. To bad i had to give it back
Nice post, but your own search doesn't work - at least in FireFox.
Now it works ;)
Works awesome. Also note that I changed the google url to .COM instead of .BE for the standard English site. Thanks.
Awesome, added it to my blog too :) Thanks for sharing!
David...you are a rock star! Once I figured out exactly what to paste, it worked great! THANK YOU! This might be a stupid question, but if I replace the google.com/search with MSN's search site, would it work for MSN also? Don't laugh at me for not knowing this ; ) I'm sure that some of the code would be the same..would I have to change anything else?
Heather: for MSN it will be search.msn.com instead of www.google.com and search.yahoo.com for yahoo
David, some enhancements: you should use escape(oInput.value), since your search will not work for queries like c# or alike and you can use window.open instead of top.location, it would be better I think
Anatoly...I tried that and it still searched in google..which I thought was really weird. I pasted it into the same place (static news). Is there something I should insert between them? I don't know why it would still search google even after I put MSN in there. Here's what I used (Sorry David for clogging up your comments section): <h3>Search my Blog Using MSN</h3> <input class="BlogSearch" type="text" name="searchBox" id="blogSearchText" value="" onkeypress="return blogSearch(event, this);"> <input type="button" value="Search" onclick="return blogSearch2('blogSearchText');" class="BlogSearchButton"> <script type="text/javascript"> function blogSearch(event, oInput) { var keyCode = (event) ? event.keyCode : keyStroke.which; if (keyCode == 13) { top.location = 'http://www.search.msn.com/search?q=">http://www.search.msn.com/search?q=' + oInput.value + '+inurl%3heatherleigh+%3Aweblogs.asp.net'; return false; } return true; } function blogSearch2(oInputId) { var oInput = document.getElementById(oInputId); top.location = 'http://www.search.msn.com/search?q=">http://www.search.msn.com/search?q=' + oInput.value + '+inurl%3Aheatherleigh+%3Aweblogs.asp.net'; return false; } </script> Is there something I should change? I can't believe I am asking for coding advice..I might have to bookmark this!
Thanks for your positive comments, obviously there is a need to add search to this .Text version :p Anatoly: I added escape(), tnx for the tip! Heather: I made it easy or you and added an MSN version (which you can use together with the google one if you want, the function names are different)
No idea if I can say this, but Scott promised me last weeks of december that in january a new version of .Text would be released. But a few days ago I got an email that it's gonna be "next couple of weeks" for the release! :)
Cool, hopefully it will run here as well :p curious to see the new features (update: fixed MSN version, made a typo in the function name)
You rock man! Thanks!
nice going, rock star ;)
IANAL, But it looks like you have violated section "2.3 Attribution" of Google Free search argeement at http://www.google.com/services/terms_free.html by not providing a Google logo. As well you have violated section "1.5 Exclusivity" by offering a link to MSN search on same website. IMHO, The best way to use Google is to plug in this code: <FORM method="GET" action="http://www.google.com/search"> <INPUT TYPE="text" name="q" size="25" maxlength="255" value=""> <INPUT TYPE="hidden" name="as_q" value="inurl:/heatherleigh"> <INPUT TYPE="hidden" name="as_sitesearch" value="blogs.msdn.com"> <INPUT TYPE="submit" name="btnG" VALUE="Search in blog"> </FORM> <a href="http://www.google.com"> <IMG SRC="http://www.google.com/logos/Logo_25wht.gif" border="0" ALT="Powered by Google"> </a> Take a look - different q and as_q params used ;-) The only (but huge for me) problem is nested forms due to global ASP.NET form one. Possibly some kind of ASP or CSS trick requered :-( Anybody can workaround nested forms problem in ASP without javascript ? I'm not an ASP person :-( For all others who does not use ASP - and can reallign <form>'s in their templates - my solution will be acceptable.
Problem solved, no Google search then for now... I don't want any of those logos disrupting my layout. No visitors for Google then from here. CSS tricks to change form logic? you have read too many service agreements and not enough code :p Just because there is the form 'problem' with ASP.NET the solution is Javascript (as you can read on the blog I linked) PS: Now I really hope there will be an integrated .Text search soon, just to get rid of 'violating' agreements. PS2: Ok, I'll make a google graphic myself, as that is allowed by their agreement, just not an official graphic ;)
Guess what, now i'm ok with the Attribution and Exclusivity sections of Google's agreement :p And my site is still small-style ;)
Forgive me. Do not take this personaly - but you are again in trouble, Take a look on this page: http://www.google.com/stickers.html And take a read http://www.google.com/permissions/guidelines.html "One of the conditions for all uses is that you can't mess around with our logo. Only we get to do that. " "If you are using the Google logo on a web page, there must exist a minimum spacing of 25 pixels between each side of the logo and other graphic or textual elements on your web page" Probably the best way to is to add "Powered By" logo at the footer of your page near .TEXT and ASP.NET logos. You are not allowed to play with logos as you wish - there are strict rules :-( BTW, Goggle is not lonely in regulating all uses of their products. For Microsoft there are huge dedicated website with details with Do and Don't at http://www.microsoft.com/permission/ In the same time - there are rules for MSN search box (they do not allow to play with box code - but does not requere Exclusivity) http://beta.search.msn.com/docs/affiltou.aspx For Intel - http://intel.com/sites/corporate/tradmarx.htm Even Redhat has strict rules about trademarks and all communications at http://www.redhat.com/legal/legal_statement.html Doing software/web-site development is not technical-only job. You need to play fair on legal side too and respect permissions that others people grant to you.
No more search then, let's wait for the integrated search.
Seriously? I think Google is full of shit on the guidelines. Same goes for the NedStat picture, you can't change it. But I've never had any difficulties. And if Google starts complaining, I'll remove it. But for now I'm keeping it...
David - Thanks for taking the time to write this. Very, very, very useful and helpful!!
Your Dominant Intelligence is Logical-Mathematical Intelligence that is 18 years old :p (didn't do the other tests) yeah, thats me :)
Great! Thanks, that was elucidating.
And I'm a number 7 Happy and chearfull, multi talented and succesfull! I'm not open... well they can't always be right :p
My brother's 7 as well :p
AT nailed it; before you guys all run out and install this code on your site, read my post here: http://zerotrilogy.gotdns.com/jaysonblog/archive/2005/01/18/795.aspx I lasted all of 4 days before I simply disappeared from the Google index, and it's b/c of the search box. That being said, it's a great idea (thanks David!), but I really wish you'd pull the code from your blog as inevetibaly it could lead to a lot of unhappy bloggers who get banned from Google. I'm not as bitter as I could be, but I'm not entirely thrilled either. It could be many weeks before my site is re-spidered. Cheers jayson
Jayson, I tested some other people who used it right after this post, and their search results still work apparently. Why yours is out of the index, I have no idea. But I have added a notice to the post above explaining it, and providing choice. Now, people reading these blogs are mature enough to decide for themselves :p
Jayson, I tested some other people who used it right after this post, and their search results still work apparently. Why yours is out of the index, I have no idea. But I have added a notice to the post above explaining it, and providing choice. Now, people reading these blogs are mature enough to decide for themselves with this new info. I'll go round and post a comment to the sites that are in my comments, informing them, so they can decide as well.
I took the google search off of my site. Geez -- all they had to do was ask in a piece of mail. Threats and demands? Forget it.... Thanks for the heads up, in any case.
David, Thanks for the info. Just to make it clear, I wasn't complaining per se (as it's indeed up to me as the user of Google to read over their terms...but who has time to do that ;-)), it's just a PITA to have been dropped from the index. I've put an email into Google to try and get some more insite as to exactly what happened, I'll share whatever info I get from them with you if you'd like. By the time I realized I needed to include the Google logo, it was already too late and that's where I get a little peeved...I wish I had enough information going in before using your code to know that I mighta been dropped. But hey, it's not the end of the world right? Just consider me a beta tester! cheers jayson
Sure, inform us, it's really weird they dropped you. It took me a while as well to go to the 'legal process', as it's because of the comments I got to know about it, otherwise everything would still be without warning :p Even a small Google logo isn't allowed :( Tnx for beta testing ;)
Thanks posting the notice. I remove the search boxes and will look to a built in search instead. It is scary how powerful a company like Google can be when they have control of so much of the web, that is the power to send people or not... Thanks again! Rocky Moore www.HintsAndTips.com www.RockyMoore.com
What I find interesting is that you are blogging from a Microsoft owned domain they use for developers to blog from, mostly employees, but not all, as you are not an MS employee, Microsoft who is rightfully very touchy about people breaking their TOS or their EULAS and you are recommending to people that they go ahead and break Googles TOS.
If you would read correctly I am NOT recommending anyone to break them, I have even suggested to remove the search from the blog altogether. You guys already made your point about legal issues, I made a notice, don't keep coming back on it.
Are there *any* fingerprint reader out there right now that supports Firefox? For that matter are there any reader/password software that's hack proof?
Hack proof? probable not. Firefox support, yes, the original one of the MS version (same model, not branded with MS logo, forgot the name)
I think I 'll go with you, seems nice
What about something like this. If you can't read the image click here to hear it aloud. Then when they click it you play a sound through flash.
That would actually be an idea yes and it would be good for all blind people, but then we still exclude a minority group, the ones being blind and deaf It seems we end up at something like: "Because of spammers, we are excluding normal people"
But then again, how many blind *and* deaf people are actually using a computer? I don't personally know of any easy way to do so. What about a small comprehension question... in slang? Maybe something like: "sup dude! listen, if ur broke and i give u 10 greens, how much u've got then?" Actually, forget slang, maybe just comprehension question that can't possibly be understood by a machine. It can be related to a culture, common sense or simple human logic. It's an old idea, but it can be put into actual use, don't you think?
Rami, then you are excluding stupid people.
Ooops, missed that :) Maybe those should be banned from logging in altogther though....
Leisure Suit Larry used that method to prevent young players from playing it, by answering an "adult" question :p
Well, concerning blind people ... one of the rules oen has to follow to keep a website "blind surfer friendly" is providing alt text info for every image or other media objects on a website. CAPTCHA is just another one of those objects, but ... it's not easy to solve ... giving it an alt text property makes is readable for non humans again I guess ... Sound is indeed not for everyone a solution ... there are devices that transform text into braille ... so that wouldn't work either. But I think we might say that blind AND deaf people surfing with those braille devices indeed are a very small minority, and very aware of the limitations of their system. But when you target those kind of people I guess you have to take the risk of spamming and NOT use things like CAPTCHA.
Ping Back来自:blog.csdn.net
Community Evening @ Developer
David, your translation seems to be in an incorrect language. Hope this helps.
Doesn't help... It's like saying 'it seems your car is broken' and not giving more information
I also have a Logical-Mathematical Intelligence, and have nr. 6 in the number test (loyal, ...) :) But in the last test I would be 26 years old.. well, still 8 more years to go :p
David it was a nice talk. No reason to be nervous, with only slies nothing can go wrong. Are you gona post the slides? Mayb just one tip, do the demo's in the slides. Now you had one or 2 slides with the demo explained, I think it would be better if you would ave had 5 slides with screenshots of the demo's. I knew about datastreams, I just did not know it was that easy (with a dir > ) to create it. Maybe explain also a little more that this is a favorite technique of virusses. (With some examples...) But hey a great 3 minutes ;-) y
can't wait for the report on all the goodies you got this year! sorry i couldn't be at your speach :)
Slides can be found at: http://www.cumps.be/index.php?p=voordrachten&s=ads Will remember that if I do another 5-minutes (sorry, 3 :p) It's because of the time constraint I didn't tell as much, I thought I would end up with 6 minutes now, but apparently not :p Some more info is in the blogcast though. Some extra info: echo Hello > :stream Will create an ADS called stream to the current directory you are in (or the root drive if you are in c:\), something I forgot in the slides.
no pics this year?
i'm looking forward to more comment of you about these developer days! you're the best!
Yeah, come on... more info pleas!
Hi. I've tried the fingerprint reader and the one thing I dislike about it is that it can only register a single user's fingerprint on a single xp account. you can't register fingerprints for more than one user on one win xp account. is there any way that i can fix this? for example, i logged into my yahoo mail account with my fingerprint and then i logged out. i would like my friend to log in to the same browser that i am using to access his yahoo mail but when he presses his finger on the reader, win xp would automatically exit my win xp account and logs into HIS win xp account where he registered his fingerprints. anyone out there who thinks this problem can be solved?
i've got this little gadget, and it supports firefox just fine. works with any windows application that has a password field, actually (with the exception of logging in to terminal services). i'm just sort of bummed that it doesn't work to fill in forms that don't have a password field.
---- rdude: i've got this little gadget, and it supports firefox just fine. works with any windows application that has a password field, actually (with the exception of logging in to terminal services). i'm just sort of bummed that it doesn't work to fill in forms that don't have a password field. ---- You must be high. Unless they've decided to update the software it most certainly does NOT work with FireFox. It acts like it does, but it will not insert the password when you attempt to login to a page with it in FireFox.
how many ppl can use e finger print at 1 computer ? thanks! sam
Liam: I would like that feature as well, don't know if it exists though sam: Unlimited :) 1 person per xp account, so if you have 10 accounts on your computer, 10 different people can be registered with the device.
Here is a different take on the problem using the Google API Web Service. http://www.elegantcode.com/dottextweb/articles/462.aspx
I recall implementing the A* in LISP for a grad course in AI - it helped a mouse find cheese in a maze.. :-)
hey, lloking good :) sounded really intresting... to bad i wasn't there
it's readable and you did a good job! to bad your laptop wasn't willing to do it's task :p
Great stuff - Hope you have a great time during your internship :)
You can adjust the heap so the root element is element 0 fairly easily- the children of element i are elements (2*i)+1 and (2*i)+2, and the parent of element i is element (i-1)/2. The explanation is easier to understand if you use 1-based arrays, but it still works with 0-based arrays. Also note that you are about halfway through (and past the difficult part) of understanding how heapsort works. Brian
Thanks for the comment! I'll add this info later to be complete :)
I did an intership at Boeing last summer as a DBA... I wasn't required to blog about it... but I did one anyways. I really like your blog... I think this is going to be very interesting to read
I sure hope it's going to be as much fun as you had :) after reading your first 10 posts at Boeing, it sounds like you had a great time :p
"Thanks to the parent information of each node it is possible to reconstruct the shortest path from start to end." shouldn't that be from end to start :p Great tutorial!
again a nice tutorial! only half way? Damn, I'm only halfway understading this one :)
There's also a button (last one) that says "WordClean" which should remove this bogus stuff. Might wanna give it a try.
you wearing glasses now???
David, good luck!
Grats on getting an internship. Maybe it was the search code that did it. ;) Good luck anyway. Kaisa
Nice blog! Some comments on A*: When you use an admissible heuristic (in your example, the Manhattan distance is probably best), you end up with an interesting situation that you can use for optimization: At every step you are removing the node with the best F value and inserting new nodes. What are their F values? They have an F value which is the original F minus the change in H from the old node to the new plus the cost of moving one node. An admissible heuristic underestimates, so the change in H has to be no greater than the cost of moving one node. Therefore F never decreases. Furthermore, the most F can decrease is bounded by the movement cost + maximum change in H between adjacent nodes. Let's call the bound B. So you have a queue where you're pulling out the best one (where F=F0) and you're pushing on new nodes that are at most B worse (F<=F0 + B). That means the priority queue (which you have implemented with a binary heap) only has to handle F values from F0 to F0+B. You can do this with buckets, and it can be faster than a priority queue. Neat, eh? (This is similar to radix sort being faster than quicksort -- you can take advantage of your data.) In practice (especially in games), you may not have an admissible heuristic, and F may decrease. If F is decreasing most of the time, then you may be better off with a sorted linked list. Insertions are fast because they're mostly at the head of the list; removals are fast because they're always at the head of the list. Another trick is to avoid sorting until necessary (keep a sorted or heap structure for the "good" nodes and an unsorted structure for the "bad" nodes, and when you run out of "good" nodes, you sort the bad ones and move the best ones into the good structure).
It's not really bogus, it's just a problem because I'm using tables and aligning pictures in Word, when I paste it, the generated HTML isn't that nice (align=left in an image, overlapping everything on the main feed :p) But tnx for mentioning that button, never noticed it :)
Ah, yeah, I have glasses to see stuff in the distance, the other picture you might be reffering too probably was something where I either didn't want to look far :p or didn't have to I'm noticing it's easier keeping the glasses on than constantly on/off :p
Haha, who knows :p Tnx all =)
Tnx Bert, fixed it :) (good thing, because these texts are going into a book for school graduation :p) Unbelievable, the great Amit replying here :) I love your site explaining everything so clearly, it's the place where I originally learned the workings of the algo :) I use Manhattan indeed, and now I'll try to use your advice in practice, it's very usefull, because every ms of speed is starting to count. I believe the heuristic always underestimates in my case, because it's either straight lines (exact heuristic) or blocked by an obstacle it has to go around (underestimated heuristic) Tnx!
Oliver Sturm's weblog » David Cumps on boxing/unboxing
Is Reflector really using Reflection? To me some of this stuff looks like it can't be done with the System.Reflection namespace?
Correction: I wrote above, "Furthermore, the most F can decrease is ....." when I meant to say "Furthermore, the most F can *increase* is .....".
I suggest downloading it, and using it on it's own ;) It's a really complex tool which I don't understand everything of it yet. It seems to have everthing possible in .NET coded as an interface in it, probably building up a model of the code found with Reflector, and then when outputting it, applying formatting to it to the language selected in the dropdown.
shouldn't there be a link to Nsurvey from that site :p I see you are doing good :) very good keep it up!
loking good! But i would place a light gray (maby a bit translucent) behind the result string. Not the jukky white border you have now :p
now make it 3D! get your geometry from under the dust :p
Don't know if I can control that, it's generated by the MapPoint servers.
Don't believe the WebChart control supports 3D :p And creating a charting control myself is not very valuable when having this great control already in NSurvey :)
for 3d effect, add... pie.Explosion=8; pie.Shadow.Visible=true; pie.Shadow.Color=Color.LightGray; pie.Shadow.OffsetY=5;
I've just started using VPC and it's nice to have. However I'm wondering how to handle Windows XP activation for my virtual instances. It looks like I either have to activate a virtual PC (a waste of a license), or re-install the image every 60 days. It takes hours to install XP and get it updated with service packs. I'm not smart enough to do a merge install thingy with SP2 already installed. I have MSDN universal, maybe the next set of disks will have XP ISO images with SP2 already installed..
I created a default install, activated it, and am copying that image each time now. This is a good site to integrate SP2: http://unattended.msfn.org/ Using nLite it's great: http://unattended.msfn.org/beginner/slipstream.htm
Thanks! That worked :)
I'm using VPC for a while now. And I found it a great program just for the same reasons you mention in your article. And Brad, just create one VPC image. Activate your license. And then copy this image each time you want to use your VPC to test some program. Then you only have to activate your VPC XP only once and use it many times. That's one of the advantages of VPC.
I will be doing an internship at MS as well, see you this summer.
Ah, but it's not @ Redmond, I'm currently doing the internship already, in Microsoft Belgium
Post the improved pie chart image.
i knew that, and i did it... should do it again maby :p
excuse me, where can i get it? It's a good tool to test ,or to debug. Maybe i should install win98,win2K,winXP and so on.So i can test my application on my own computer. ^_^
http://www.cumps.be/ms/internship/pics/PieChartReport.png
http://www.microsoft.com/windows/virtualpc/default.mspx :)
What type of license do you use to work with the MapPoint service? Can this service be queried free of charge?
Thank you I am learning of new things all day! And it is good to know of my RSS already work. I think I need add button of RSS to make this thing clear. But more work to do! http://www.52z.com
You can get a 30day trial account with MapPoint, and that's the one I used for testing.
wohoo! even less work for us in the future :)
I kept getting people asking me about RSS and blogs, so I finally had to put up a Blogging and RSS 101 post. I linked to your excellent (and illustrated) post. http://www.devcow.com/weblogs/PermaLink,guid,4ae5aa54-f57c-4134-bcfb-54cf39b4508f.aspx I love reading what you're writing. Keep up the great work.
Great 101!
I'd love to hear more on this topic! For example, how does it play with auto-updates by windows? Does this mean the base image is then "locked" from changes? Or would changes just break the child images? Also, can I use an existing image as a base, and just work from there?
i have the same question here... what if you update the parent images?
It would probably be helpful to talk about how you set that up in VPC.
Good questions, and I planned to just give a small overview about it :p (this is 2 pages already ;)) But here is the answer exclusive for blog readers: Auto-updates: you're basicly screwed with this, which is a shame, you'll have to update each individual child, no more touching of the parent. Changing the parent BREAKS all childs! You can use an exisiting image as base, even better, you HAVE TO use an existing image as base :) (as you can see on my picture, i have a windows 2003 virtual pc (described in another blog post) with a clean install, which I used as a base for the differencing disk of the child. But I have a solution! ;) You see that Software Update Services child? That's a differencing disk child which runs only SUS, and which I synced today with Windows Update, so now this one Virtual PC contains all patches needed. Now if I want to patch another child I get the patches from the SUS Virtual PC instead of downloading it from Windows Update again (which is lightning fast because it's local :p) Setting up a differencing disk, good remark, totally forgot, basicly because it's just following the wizard :p You create a new Virtual machine, you go to the settings, to the hard disk, throw out the existing one it created (dynamically increasing one), and then push the wizard button Create a new disk. Then in the wizard you get a radio button list allowing you to select "Differencing", and then it will ask for the parent, and where to store the new disk. And "Finish' and it's done, you have a differencing disk which you now can use in your virtual machine as hard disk.
Virtual PC Base Image technique
Thanks for writing this up! I do have a question: For the situation where you have a network share of base images, do the consumers' hardware all need to match the machine which originally created the base images?
No, that is the Virtual part of virtual pc :) You run it on any hardware you like (that can run Virtual PC) and vpc then runs the image on EMULATED hardware That's the whole virtual idea, to emulate a computer inside a computer independant from the hardware used to run the Virtual PC application.
Hi David, I'm using this technique some time, it works great (see my blog post: http://weblogs.asp.net/jan/archive/2004/12/27/332760.aspx). One note: "A final caveat: you can't compact a differenciated (is this an English word?) disk. A recommendation which I've read quite a few times in the newsgroups, related to this issue is to place the differenciated disk into a compressed folder on a NTFS partition."
cool stuff!
Jan, indeed, I just was told this evening as well. Somebody used NTFS compression and reduced a 2GB image to 300MB on disk :)
Hi I would like to know to how did you build the matrix question and how you display it Thanks Shay
So what about the names of the child servers. This method sounds very interesting because I used to just copy over the diskimage and rename it. With this I could just do the difference but would I have the problem of two of the computer names being the same on the network? In the past I would fire up the other and run sysinternals "newsid" on the machine renaming it in the process. Any thoughts here? Rich
What I did after differencing was the following: If you copy the vmc file, make sure the MAC address entry is empty! (it will generate a new mac address upon first start) otherwise your machines have the same MAC If you just create a new vmc this isn't a problem. The first thing I did on a new machine was in the config screen, system, rename the computer :) Don't know if this will help, I guess you still can do newsid now, because it's a NEW machine, but it's HD starts from a base image, but you can change everything on it
have u done the 3d effect? That would be interesting to have.
Thats a good idea but after adding the ORDER BY TITLE to the SProcedure how did u print out the date? Can you please explain more? Thanks
Echo echo, 3d: http://www.cumps.be/ms/internship/pics/PieChartReport.png
The title of the survey includes the date :) It sorts them alphabetically, but in the system I only added 2 surveys called '03/........' and '11/........', so the dates were part of the title. So instead of having it ordered by creation date, I changed it to be alphabeticall, that's the only change.
Does this still play nice with 'undo disks'? I.e. can you have 3 levels, like this: 1 read only base image 2 local diff to the base image 3 undo disk for this sessions changes or is this just a different way virtual pc uses the possibility to have one disk that contains diffs against one other disk? In fact, what version of virtual pc are you talking about, mine doesn't seem to have this option...
Indeed, 3 levels. Undo disks still work for a differencing harddisk, very nice isn't it? :) I'm using Microsoft Virtual PC 5.3.582.27 (from the about box), which probably is VPC 2004
Thanks David for the version info, that is my version too and looking a little further I just found the option.
this is indeed verry usefull!
I can't wait to have mine!
why does it have to be initiated within 30 sec? AND! doesn't your solution give a problem if you restart the service?
what is actually the difference between a singleton type and the solution "instantiate a new object when the service started". Isn't that the same thing?
no questions here :p
Because that's something of Windows :) If a service takes longer then 30sec, windows will assume something went wrong and will give an error "the service did not respond in a timely fashion" (i believe) My solution does not give a problem when restarting, no :p Can you explain why you think it should?
Not exactly. The Singleton solution will provide an object remotely but works like this: During start it publishes the fact that it has a certain object, and then it can be created remotely, but this object will not have a way to communicate with the windows service, it's just an object, which happens to exist at the server side instead of the client side. The Singleton aspect of this will make sure only one object can be created remotely and the others will use the same one each time. While the Marshal solution provides an EXISTING object (which has a way to communicate with the service!) to be access remotely. And this happens to kinda look like the Singleton pattern, but it's not a published WellKnowType, just a Marshalled object.
I have several questions about this: 1. Did you use events in the remote obejct to let the service know that the client wanted it to change state? 2. Can you use the same object to reflect state (ie pass current state information back to the client)? 3. If you wanted to expose more than one remote class do you have to use a different Channel for each or can you publish them on the same channel? 4. Would you mind showing your complete source code? Thanks for the help Ian
In my winservice I have a "private PlayerServiceController playerControll" which I instantiate in the constructor of my service, with 1 parameter, the service itself. In the controller I store this in a var as well. If I now make this instaniated controller remotely available and call a method in it, it will perform some other method on the stored private var representing the service. ----- Yes, this way allows for data being returned. It's almost transparent that you are calling something remote, which is contained in the winservice. ----- Very good question. My guess is that you can do it on the same channel, but use a different name. And as you can see in: http://weblogs.asp.net/cumpsd/archive/2005/04/03/396932.aspx You would use the correct url. ----- That, I can't do, sorry. If I could, I would (as you can see from other blogposts), I'm trying to just post enough code to make the idea clear without posting too much of the source code :p
This is the first time I saw the GUI for Enterprise Library. I have to get it running.
heh - very strange! And why is it called a "Partner Pack" anyway, considering Microsoft are listing their own utilities there too....?
hehe nice :p
So much for surfing the net anonymously :/
Is windows service synchronous or asyncrouns? I am thinking of writing service to handle to incoming files and do some stuff. The question do I need to write code specifically to handle these files asyncrounsly by writng multiple dll for each specific jobs and then call them within service call them using multithread or asyncrouns?
I would say it's synchronous, because as you can see with the 30sec startup, it actually is waiting, instead of starting it in another thread. Ofcourse you can do a multithreaded implementation. A thing I'm doing now to do simple actions (Start Playing, Stop Playing) is calling the start method of the controller through Remoting, which in turn just starts a timer for 5ms, where the real start is located. This way the call is immediately returned, while the service can take care of the rest. Bascily it's just the same logic as your normal Windows Forms application, except for that fact that it's running as a system service.
Hope we will win VG together :p
Couple of observations (see martin fowler's excellent PEAA - http://martinfowler.com/books.html#eaa): - Dalc is a Registry. - IXXXDataAccessor is known as an IFinder interface. - I hate the way you get your configuration (see IoC - http://martinfowler.com/articles/injection.html) assuming that ConfigurationManager does not allow for pluggability from "above". Overall, your design is sound if you plan to switch backends (sql db, xml, ...), otherwise its pretty much overkill.
Thanks for your valuable comment! - "Dalc is a Registry." I guess there is a design pattern called this way? (Never heard of it, that's why I ask, because Google even confuses me more) About the configuration, i'm not familiar with IoC (reading now) but more info about the configuration solution I'm using can be found at: http://weblogs.asp.net/cumpsd/archive/2005/04/09/397823.aspx I'm using the Enterprise Library for Configuration purposes. The design is indeed planned to switch various backends, starting with SqlServer, MySQL and Firebird, and if there's time left, others as well :)
Although trivial in this case, make sure "this.LoadConfiguration" is thread-safe.
What you will find is that after you have written like about a hundred of these types of dals, is that the task is very repetitive, and coming up with suitable method names (besides the very simple ones) becomes non trivial. Although switching backends is often called a "business edge", I doubt many sizeable (real) projects either achieve nor require this.
I've been very glad to meet you Joel
And I'm honored to have such a loyal reader :)
I don't understand why anyone would want to write this kind of code when there are several very good (free and non-free) data mapping tools available. Apart from that, why go through the trouble of making your data layer provider-agnostic when you do things like hardcode column ordinals? What's more likely - changing your database or changing your schema? Seriously, IMHO this kind of code is obsolete. Jim
Hmm, I agree on the ordinals. About the Data-mapping, can you please name some? After all, I'm also learning on my own, and don't always pick the best solution among all different choices presented.
A starting point: http://sharptoolbox.com/Category74089b0a-1105-4389-b1db-eedf27e20cfb.aspx Genome is my personal favorite because of the advanced feature-set.
Hey nice done! btw: nice gesture ZogStriP giving a PDA away :)
Didn't they include that to be compatible with the MAC file system... If so, te apple adepts wiill have a "again redmond copy's" frenzy :p
hey hey, nice :) If you ever lose your PDA, the "honest" finder will have a lot of fun trying to update it :p
Good point! :)
Thanks, BertG :p
A couple of points, if you want them: 1. Although your implementation of InvokeRequired is correct, if you just use Control.Invoke always without checking you'll probably find it is as fast. 2. More importantly, unless I am missing something, you are very lucky with your progressbar updating. You are doing that straight from the Threading.Timer callback which *is* on a different thread. You should use Control.Invoke there as well.
While I was writing it about the progressbar, I already started wondering why that worked without Invoke and the other updates didn't work... And your comment just confirmed what I was thinking, so, yes the progressbar has to be updated with invoke :) Going to change this in my code :)
Two words: Guild Wars
Well, I've got some friends who bought it the day it came out... And from what I can tell there are often big problems with the servers. Sometimes only the login server doesn't work :-/
I bought it a month or so after it was released and I've never had a problem with either the game or the site when I've logged on. That's not to say I don't believe the reports of problems. Just that not every experience with the game is a negative one.
Well,,, I think using index column ordinal are faster than "nameIndexing", ALWAYS... If you use mapping tools, why to avoid to use ordinals ??? if you change your dataBase, only thing you have to do is to run your template script again in your mapping tool... and.. IT´s DONE!!!! A good free tool is the "My Generation".. you can find it in the Shartoolbox too. I like it, because it´s free and you can make your own templates or get in the site, other users templates. There is all kind of templates (MS DAAP, Opf, Hibernate, etc...) Patrick
Dude I got the same problem, and I really hate Blizzard for this.. BUT....Im now playin it, and since I wasnt the only one with that problem I wanna try and help others to play aswel Here is what I did... With mine it constantly says slowpoke and shit... DOWNLOAD FIREFOX!...trust me If you install that and go to creating an account, first you should fill in the CD-key and then it still will give the error Slowpoke, but with firefox it saved my CD-key in the boxes, so when I did it the second time I could double-click every empty box and just fill in my CD-key... Now if you do this with every page, you simply have to restart every time, so you can just relaxt fil in your address and all that, and when it says Slowpoke you already have it saved... I did this, I think, 7 times and then I went trough it like Speedy Gonzales, if you know what I mean. And now my WoW works perfectly, I hope this helps...=)
Hehehehe... I know people are having problems and yes, the game does sometime not allow you to login or anything. Last week or so, the airco of the room the servers were in, failed and they had to emergency shutdown a lot of servers. Even of the servers that weren't down, some you could not login to. So LOADS of people login to a server they can login to, and then create a new character. I did the same with a friend of mine and we now both have a level 10 rogue on Bloodhoof. Maybe we'll play it when our own server is down again! ;-) What questions me the most about MMORPG, is the way they are developped. For some reason, some bugs that are to me, as a developer, very minor bugs cannot be just solved in the game. So while they are known and can be large exploits, they stay in the game for months. Example. When you'd create a speeder in Star Wars Galaxies in your house, you'd get an error that you cannot pull it out in your house. Oh, by the way, the access set to the house had to be private, so others could not enter your house. Then when you'd pull it out again, it had over 1000% more health/durability! This was in the system for months and could not be monitored or fixed by Sony Online Entertainment. Another one. For offensive name (SMEG) our guild was disbanded. Our guildleader was also called SMEG. He was a second character of someone. He was given a new name. Because of the name change, the player could not access any items that were his. Normally, you'd have a primary key for every player and item. But strange enough not in Star Wars Galaxies. In WoW I have noticed simuler things. Kinda odd, if you ask me. I certainly enjoy playing the game though. I'm on server Arathor (european) and am known under the names Compile (priest) and Sharien (warlock).
Hehe, this is what you get when you create a game and are not prepared for the gigantic succes it will be :p lolz to Sjonnie :p wonder how long it wil take David to undo your FF remark :)
No, it's true. Their site has a problem with IE, radio buttons are hidden unless you change to german language... I did 4 hours on it, and their entire jsp stuff went crashing down on me.
Another very nice tool was DebugView. This is a tool from Sysinternals that enables you to monitor all debug messages on your system. This allows you to have the following in your code: Debug.Write("This is written trough System.Diagnostics.Debug.Write."); Trace.Write("This is...
I believe that any DataLayer must be a simple code block, that they allow operations against DB. That code block would not have to know on the Business Entities. Single to specialize it is to execute the operations (Store Procedures and SQL Sentences) against the engine DB (SQL, Oracle, DB2, etc.), with which this setting. Finally, I invite to you to download the DataLayer.Primitives Public Version. This is very cool Data Layer :) DataLayer.Primitives - Readme! http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=1389
Blizzard suspended my son's account because the 6 month service charge was disputed by the credit card holder. Evidently when he signed up, they charged someone elses credit card and of course that person disputed the charge. My son's account was NEVER charged! The bozos at customer service refuse to do anything. I can't get anyone to resolve the billing error.
It's a brilliant game, as long as you can play it. I can even understand Blizzard having problems coping with the (not so) unexpected huge number of players. What I absolutely do not understand is why Blizzard cannot communicate with their PAYING customers about these problems. Why not have constant 'status' information on the first page of the homepage? Why not have a 'status' blog telling us 'live' what is going on instead of a couple of hours after the fact via the forums. Basically, they suck bigtime at communication and it generates a lot of negative feelings about an otherwise great product.
WytzeB, you totally got it right :) The game is great, so they got a good product but doing a terrible job at everything outside of the game ;)
Ya ok so WOW has problems from time to time. I have been playing since release and I still think this is the best MMORG ever made.
I'm from Portugal, i've bought the game and i tried to create my account but when i finish alll of that stuff( account name, keys, etc) i click create and appears a page saying i need to wait and then it goes back to the page i was and says me that occured an unspecified error on the page (crap). i bought the game because i knew it is really good and now i see this. can someone help me please since the god damn capitalists of blizzard doesn't. thx
i need help too. i bought WoW and when i try to create an account i receive an error message saying there is an unspecified error in the page right after i finish entering all information and clicking create account. appers a window with strange guys walking around and saying i need to wait and suddenly it goes back to the page i was and shows that error message. plx help me with this since the guys from blizzard don't give any help. thx a lot for all the help u can give
hey... how do I get a free cd-key ?
u can't get it, u need to buy the game. ^^^^^plx help me there
Well, since the WoW site seems to be down now and you can't login to WoW, my advice is, wait until it gets up and their load drops (try at night :p) Using Firefox might help, since they apparently had a problem with IE Your best bets are to watch the technical forums for solutions :( mostly in the last 10 threads. if there's a problem, people will post right away (that is, if they can get on the forum)
Been waiting all week to play WoW tonite... and what happens? Can't log in and the european site is totally wiped out... So furious right now...
On Reply to Dave, Sometimes the Servers act up, hence the problems your having, and the problems others are not. We at blizzard are trying to fix these problems (along with all the complaints of other glitches) and return you to your gaming experience. We are deeply sorry for the problems, hoping that we can fix these and not lose any fans. ------Game Guru, James Thompson-----
Hey James, Thanks for your reply. I'm sure you guys are fixing these problems, else we wouldn't be able to play anymore at all. The thing I've read most from the forums, is communication however. We get an "the problem is fixed, we are sorry for the inconvenience" every time after it's fixed. Instead of having some status page, separate from your webfarm, because that goes down as well, where you post problems if they occur, and an estimate on the time it takes. This way, we know something is wrong, and can do something else, instead of first wasting time on figuring out if it's not a problem on ourside. It would also give a more open and honest image to Blizzard, instead of the negative trend that is building currently. Apparently a lot of members spot the problems quickly, seeing the Tech forum fill up very rapidly when there's a problem, but an official remark mostly stays out for hours, if there will be one to begin with. I hope you'll ever be back to this post and are able to give a remark to my above suggestion. Best Regards, David
i want to play on the US servers but it wont let me how can i change this
With an European version, you can't. Maybe if you contact Blizzard sales support, or read their forums, it's a question that's asked a lot. You'll have to read forums for a possible answer, the last one I've read was that with the EU box you can only play on EU servers. You can however install EU and US side-by-side to play on both :p A GM posted a trick for this: Install EU version Rename directory where you installed it Remove EU version with Add/Remove Programs (it will not be removed because you renamed the dir) Install US version Make shortcuts to wow.exe of both version and select the one you want :)
I have a problem when i start the game i get an error that tells me to install direct X 9.0 c !!!!!!!!!!!! What do y do ???
Hi David I see you'll be blogging again. Have a nice go! bye bye kurt
Maybe download and install Direct x ?
Blogging again I see? You have a old reader back then ;)
This sounds like my dream job ;) Nah :p Have fun there!
If I had time (and a Windows OS) I might give it a tried as well... But I'm trying to reduce my PC oriented time :p If you ever need a good game concept... I got one laying around, think mass multiplayer and heavy physics... Guess it'll be out of your league for a while no :p Oh, but I also got a nice game idea about a suicidal deer :p
Heh, lol... It has been ages since I wrote any SQL... yesterday I wanted to do an INSERT; couldn't remember the syntax! Damn those frameworks :p
I got that too after using Gentle for a year and doing everything O/R-mapping :)
And yet more hacks needed to get nice designs working on both IE6&7 FF Opera and Safari... Happy times :s
I have US Box game, is it possible to play on EU servers by perhaps installing the EU updates and patches? What can I do?
It should hold itself to existing standards more now ;)
But yeah, it'll get more complicated again, one more browser to support.
You have to buy the EU version :/
A long time ago, I talked about Differencing Disks in Virtual PC. Most people just have a base imagine
Thanks for that solution David, works a treat!
Workarounds, what would the world be without them?
Hey David love your tuto hope you don't mind I went ahead and put this one up http://www.ryanvm.net/forum/viewtopic.php?t=2905 :)
That's ok, you placed a link back here so I'm happy ;)
Glad you liked it :)
I like a lot about the DAAB but have issue with two aspects. The mapping from DBType to SqlDBType could do with more options. Mapping DBType.String to SqlType.VarChar doesn't feel right. Also, ExecuteDataSet expects a single table result whereas a DAL should be able to support SP's that return multiple tables...
I got this game two days ago, and when i finally install all the discs, it does not let me create an account, it says "web page error" even when i go to manage account or billing it still does not let me go on it. i cant put my pin number in or create a character. im realy sad because i was realy looking forward to this game, shame cant go on it. plz if anyone knows how to solve this problem plz reply thx
yea i went out and bout 60 day game card then went to their website... i had to enter the 10 day trial because the key on the card did not work there.... it asked me what i would like to use to pay... i was like i have to buy it to play it for free.. this doesnt make since at all and i need to know how to just make a account without having to buy a month or something just be able to enter game card key
Ashley shaw, you'll have to wait for it to come back up. Get used to those webservices being down ;) And pray the server you choose doesn't lag too much.
robert poophed, select visa and enter a specimen visa number for the trial or something :)
Lol, this is cewl... I created a runbox with a Windows XP like picture, like in the winver command :D. Like it very much!
You are not billed i used a 10 day trial of course it wont accept my credit card.. Its supposively invalid but anyways it really dont bill you trust me i know..
PingBack from http://little.xmtp.net/blog/2006/10/30/dumping-stored-procedures-using-boo/
That worked, thanks.
First a stupid question, what do you mean with locking and unlocking the host computer (alt - enter twice?)?
Secondly, the problem I have is that sometimes indeed I get the message when going to the VPC environment that the Ctrl keys has been hold so if you want to start in save mode or not.
Thirdly, the biggest problem is that when typing or the keyboard isn't functioning (solved by 5 times pressing Shift and clicking cancel or OK for the StikyKeys message) OR the keyboard does react but with pressing 1 time typing 2 to 3 times! Very anoying and impossible to work with. How can I solve this. Please save my life...
Note, I don't have a keyboard with altgr and use alt enter to go to the VPC...
Thanx & regards,
Roger
Top tip, sorted out such an infruriating problem
Roger,
1/ Lock and unlock
- Windows key + L
- CTRL ALT DEL - Lock Computer
(2000, XP, 2003 have this, no idea about 95, 98 or ME :p)
Unlocking is simply hitting CTRL ALT DEL again when it's locked.
2/ You'll have to give me a better explenation on this, since I don't immediately see the connection between CTRL keys and Save Mode :)
3/ Does pressing CTRL solve this problem?
You could try to not use ALT Enter to go to the vpc but change this to Right CTRL. I belief it's in the main VPC window settings you can change this (not in the Settings of a VPC itself!) I can't check the exact place at the moment since I can't install VPC on my 64bit machine *sigh*
I have an intranet web application that runs in ASP.NET that interfaces with AS/400s quite a bit. The AS/400 can be a challenge to interface with.
However, using OleDb, I can connect to the database for data, and using the cwbx.dll, I can actually call RPG programs on the AS/400.
Here is a link to an article I wrote describing how to do this:
http://www.netsplore.com/PublicPortal/Articles/ASPNETArticles/CallingAS400AS400RPGProgramsFromASPNET/tabid/246/Default.aspx
Lucky you, we didn't get oledb to work at all at that time :/
I just bought the game but can't create an account...but I already entered my account code. Im afraid that I'll loose the account code since the app kicked me out in the middle of the process. Any ideas?
You can try again later, I got kicked out in the middle dozens of times when I joined originally.
PS: I stopped WoW alltogether now, so I don't keep updated on the current status of the game. I returned to Real Life :)
I want to buy another month of subscription and iam getting: [ServletException in:/WEB-INF/jsp/account/directDebit.jsp] Error running /usr/local/java/bin/javac compiler'.
I think it's faith telling me to quit the game.
registered finaly:-) thnx.
I bougnt world of warcraft and when it finished downloading i went to create my account but when i filled in all the information it says i need to set billing imformation but on the box it says u get 1 month free. how to i fix this?
I cant play world of warcraft cos of this stupid message after entering my key:/usr/local/java/bin/javac compiler xud someone help me? I am using firefox and it sitll isnt working!
Hi guys. i was just searching around the google for cracked "things" about wow and i got to this site. i had a problem too with wow. i bought the game about a year ago but i was using it from an internet cafe. recently i cinnected my computer with the internet but i remembered that i had thrown away the case of the game, so i dont have the s.n. i e-mailed blizzard about that and they replied me that they weren't responsible for what happened. i mean, ok, you are not responsible, but you can at least gimme a s.n. or do something. anyway. i had 2 players of 60 lvl and now i havent played for about 3 months. i am VERY VERY dissapointed with blizzard and i decided to quit the game at all. BLIZZARD HEAR THIS: YOU'VE LOST 2 CHARS FROM ME!!
i have a iPAQ HP rx 1950 pocket with italian language. i would like to change this language with english. Until this moment nobody was unable to help me with a good point ore somme softwere, so that's why i write my poblem on this page. I hope somebody knoes sommething about this and can help me. Thanks
Nice Example, Thanks !!
how about a linux host like dreamhost for the wiki / subversion etc.
watch for special price codes around the web for that one, but if you want a server in the sky with lots of space and backup space that's probably the one to go for.
Well, I have my webhosting space already, so I'm not really going to pay for only the subversion part.
I've been using the wiki a bit more at my own webhosting now, and I like it, so I think I can manage fine without subversion for now ;)
Seriously, why would anyone even consider going for the super-bloatware like Windows Blinds when you can do it with uxteme.dll patching as easily and much more efficiently.
Just discovered this by accident but another way to get some themes to use with your hacked uxtheme.dll is to install the demo of StyleXP them remove it.
If you look at the Appearance tab under Display Properties then check the Windows and buttons dropdown it seems to leave all it's themes behind, including a decent Mac-alike thing and the various flavours of Watercolor.
I don't know if it's relevant but I was using the Watercolor theme when I uninstalled StyleXP.
Looks like Google already beat you to it; see http://mail.google.com/mail/help/whatsnew_getmail.html
although it's not yet available to every account.
Another option I'm using currently is Google Apps for Your Domain http://www.google.com/a/. Completely Free e-mail hosting for your domain !
Yeah, but I don't like a third party handling my mailboxes :)
I don't have a lot of trust when it comes to others managing private email :p
Having something on my own makes me sleep peacefull at night ;)
rx 1950
lol, i have exactly the same prob, the only thing is that mine is in portuguese.
mmm thats a bit true because today my friend give me the guest-account card and it doesnt worked but ill try to buy the game because its good and it worked the registration to my friend
Awesome Cheers David, worked like a charm.
It would be nice to see a codeproject article on this.
It's better to switch to .NET 2.0 which has built in classes now to set NTFS permissions :)
For InstaPix; Just put a panel or something transparent in the form then have the control Dock Fill the panel.
a FULL PHP IDE is available now from
www.jcxsoftware.com, it is built on top of Visual Studio.NET
it works great, and very powerfull debugger :)
jcxsoftware VS.PHP local and remote debugger is awesome too. I love it.
Thanks alot, Im going to use this for my keith knutsson applications. thanks alot.
Keith Knutsson
Hello David.
I saw i'm not the only one who have this problem, so if u r able to help us please do it. Thanks a lot.
Gerro. ;)
Why not try the same technique I used above? :p
On your own risk ofcourse :)
Get an english update and the update of the normal language, compare them, and modify the english version so it looks like the other language ;)
your description is so clearly that I want to have a try.and I do like to recommend one software that you can convert Macintosh pct, pic or pict files to Windows bmp file format,that is,
MacImagesConverter,http://www.qweas.com/download/graphics/image_converters/macimagesconverter.htm
have a good time!
10 day free guest card yeh right ...in america perhaps
After entering the guest card key you still have to say with which creditcard you want to pay and for howmany months.
I suppose they dont have someone improving their site ..its just sad ...
using System.Windows.Forms;
using System.Drawing;
class MyForm:Form{
public static void Main(){
Application.Run(new MyForm());
}
protected override void OnPaint(PaintEventArgs e){
e.Graphics.DrawString("Hello World!", new Font("Arial", 35),
Brushes.Blue, 10, 100);
I have a abit kv8-max3 motherboard and I think I have the same problem thanks to you.
I have a stick of 1GB and 512 and my motherboard can only recognize 1GB or 512, but not together
My Account was hacked around mid december.
I reported this and provided all the info they asked me for, then they asked again, then again and so now many weeks later after them receiving the info several times I've still heard nothing back from them and still can't access my account.
3 level 60's ,1 tier 2.5 epic, 2 years worth of playing up the spout!
They take weeks to respond to emails, they're service sucks, but the game I realy enjoyed.
They're service and security manangement is a disgrace when you consider the money the corperations turning over every month!
just bought wow, oh my god what a mistake, i dont have a credit card, and did not know i needed to pay for future months access, the game does come with 1 month and as a FPS gamer thought id see what all the fuss is about. clearly not worth it !
Costly Friend. I remove the hat for you, I am with the same problem that you were, bad mine is a HTC TyTN windows furnishes 5.0 in French and I am Brazilian and I need of the Portuguese language, I sent an email for the manufacturer in London and they answered me that the language is recorded in the memory rom and does not have as install another one language unfortunately, if had like install the English Good, for me is more facil of understand, I Believe that I will not have exito, bad itself will know help I thank something that be able to me. Happinesses. Adilson Faria
Just curious, what are the two additional buttons on your Notepad's title bar?
It's Ultramon, first button is span across all monitors, second one is switch to other screen.
I did something similar when creating a tools which compares the differences of stored procedures between two databases (which one is only in one or the other, which are equal, which have differences,...).
sp_help ( http://msdn2.microsoft.com/fr-fr/library/ms187335.aspx ) can make things easier.
It's a bit annoying to have to fudge in the system tables to get those metadata.
hi!
i have the same peoblem. a wallaby pocket pc, with english os and need a german system.
i can download a german flash, but i dont know which hex editor to use!
and what changes should be made. only the deahder?
please help,
yours, tom
on my pocket pc the labguage is dutch how do i change it to english
Mine is in Dutch too! I tried the ELang SW from this site but it killed my OS. It's possible that I misread the dutch wizard.
http://www.penreader.com/PocketPC/Language_Extender/Language_Extender_English.html
Anyway, please let me know if you figure it out.
Hello,
Does anyone know how to take an existing set of Ghost images (I have 6 in a single set total 11.5GB in size) and deploy that set to a virtual hard drive? Everything I have tried so far has failed. I tried putting 2 images on a DVD and that failed I even tried the microsoft knowledgebase article 824547 and that failed because it wasn't for the version of Virtual pc I have (2004) or the version of Ghost I'm using (8.2 Enterprise.)
Thanks
Yep nice, just locked it ctrl + L, unlocked..
viola!
Lock/unlock works - Thanks!! I have been ranting for hours.
/S
Thanks, cause it works in VS2005. Yay!
So..... is any solution about change the hp 3950 from german to englis??
thanks alot
I don't own a German HP 3950, so, no :)
I only described it for the Dell. If people feel adventurous it's up to them to research if they can do something alike with their models, I'm already lucky enough it works for me
If you come across this looking to color code php in VS2005 there's a simpler way.
Go to Tools>Options>Text Editor
Type 'php' into the 'Extension:', change 'Editor:' to 'HTML Editor' then click Add then OK.
Open a php file and it will be color coded.
Thanks for the article. I have a quick question: if I have both outlook and outlook express running on the machine, how do I tell the program to use outlook express instead of outlook?
Thanks,
Chun
Wouldn't you need a reference to some Outlook Express dlls? If those exist.
I bout WOW today and I created my account and paid with a credit card and all that junk right. Then I went to log in and it said I didn't exist......I've been trying for hours and still...no play. Do I have to wait awhile for my account to be activated or what?
i just bought the game today goodie for me, or not. it says that my keys that came with the game are already being used... so maybe i have to buy it all over again but the good news is, that if someone got my keys then they must have a key generator, not that im going to find my own justice with it...
i bought wow yesterday and created my account but when i go to login it keeps sending me to some downloader thng. How do logon without going through that????????
what if your family doesn't have a credit card!!
I need sample RPG400, RPGILE programs pdf. You have any idea about this i mean say any sites or you collected some programs folder....let me know i will check that programs for my better capabilities.
A have a question how to set a permission on a local printer.
I have tried with:
GetSecurityInfo(ptrPrinter, SE_OBJECT_TYPE.SE_PRINTER, SECURITY_INFORMATION.DACL_SECURITY_INFORMATION)
and I get info about DACL and ACE-s, that added new ACE
and when I tried to save all the thing with
SetSecurityInfo(ptrPrinter, SE_OBJECT_TYPE.SE_PRINTER, SECURITY_INFORMATION.UNPROTECTED_DACL_SECURITY_INFORMATION);
I got an error : Object reference not set to an instance of an object.
What have I done wrong.
Help me please,
Mato
Hi
I am looking for an internship for this summer.Microsoft could be a great choice.What are the formalities to do to apply?
10x
Visit the website of Microsoft of your country, find any Academic manager and mail them :)
Bonus points if you simply call them and thus show you are pro-active.
Have you checked the NTFS possibilities of .NET 2.0 already? I don't have an answer for your question, sorry.
Wewt!...looks cool! thx mate :)
Only problem I had was that Replacer didnt work for me=(
But I fixed it by just editing the original shell32.dll file with ResHacker
once again thx
now to theme editing...
man i bought wow and i enter the authentication key and it comes up error please try again later..like this is bs and im thinking i should have stayed with warcraft three on battlenet cuz quite frankly this was a waste of money and time.
PingBack from http://blogs.dotninjas.dk/pandasan/archive/2007/02/22/1687.aspx
Blizzard does have "game cards" available, so the whole credit card argument is moot.
However, I cannot log in to my main server, and I cannot log into the service part of the site. So I petitioned a GM, all he said was "you seem to have deeper connection issues, we can't help you anymore. Have fun on WoW!"
Yeah, have tons of fun when I can't play on my main. <_<
dat was great!.... I have downloaded an Installer for XP actually named crystal xp edition but hate the run dialog box that goes with it.. it was pre-customized... now I was able to change it wid mine! thanks for that!
The supplied fix only works for those who have Visual C++ installed with their Visual Studio, because the reg file associated .php extension with C++ syntax:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\Languages\File Extensions\.php]
@="{B2F072B0-ABC1-11D0-9D62-00C04FD9DFD9}"
A "fix" is to associate .php with an installed language syntax. For example, I have C# language support installed with my Visual Studio, this I can associate .php with C# syntax:
@="{694DD9B6-B865-4C5B-AD85-86356E9C88DC}"
Or you might sometimes want to associate .php with .html syntax:
@="{58E975A0-F8FE-11D2-A6AE-00104BCC7269}"
You might also want to read the following webpage, which lead me to this solution, and which explains how to edit the registry settings for other versions of Visual Studio:
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4196
Also an explanation of the usertype.dat file:
http://www.codeguru.com/Cpp/V-S/tips/syntaxhighlighting/article.php/c471/#more
Thanks to all for this syntax highlighting solution, as this greatly speed my work and lessens eye strain and errors.
Shelby Moore
CEO & CTO
http://CoolPage.com
For those who want to protect their wealth:
http://Miningpedia.com
I have found the free Komodo Edit 4.0, to be very similar interface to Visual Studio, and superior syntax highlighting for PHP with embedded Javascript, HTML, and XML:
http://www.activestate.com/products/komodo_edit/
http://MiningPedia.com
thanks for your codes.
but i hava one question.
how can i show the user in the sharing tab's Pemission?not only in the security tab?
Try my bulk unblocker script
// Script to "UNBLOCK" all files in the current directory by pete.at.redtitan.com
// (c) RedTitan Technology 2007
// http://www.pclviewer.com
var shell=new ActiveXObject("WScript.Shell");
fso=new ActiveXObject("Scripting.FileSystemObject");
var total=0;
var f=fso.GetFolder('.'); // Current folder
var fc=new Enumerator(f.files);
for (; !fc.atEnd(); fc.moveNext()){
var fileName=fc.item().Name+':Zone.Identifier';
try
{
f1 = fso.OpenTextFile(fileName,2); // If the Zone Identifier does not exist ..
total++;
f1.Close();
catch(e){} // .. we don't care
shell.Popup('Unblocked '+total+' files');
isn't this going to slow down the search process quite a lot?
Plus.. what is a keyword doing in the SQL file?
I checked my registry and that entry is already there. So i did a search for SELECT and got no hits in .sql files...
Good idea though...
Most likely it will have a bit of a performance hit, but it's a good trade off in my opinion. Windows is already using them, just check out the registry entries for .txt for example (it's the same plain text handler)
Secondly, what do you mean what is a keyword doing in a sql file? It's just a script :)
---
It might be that the Indexing service is responsible for making it work or not, I didn't investigate further since it works here ;)
Hey David,
ik ben ook bezig met iets gelijkaardigs in Office. Ik heb echter geen idee waar je die GetFolder method vandaag haalt.
Deze regel: Outlook.MAPIFolder olContactFolder = GetFolder(contactFolder);
i got world of warcraft and when it instale i had to wate nearly 12 hours for patches to install
talk about slow
I bought a game card today and sweet enough it says the code has already been used... a brand new game card... wtf!
Download the code, the GetFolder method is just a method I created :)
Greets
they shoul have made this a video game!!!!!! then we would put in in the console(disc holder) and wait for it to load and bam!!!!!!!!!!!! we could play after about 30seconds of waiting instead of 30minutes!!!! 30minutes!!!thats minutes!!!! yeah i wrote i was patient but this is gettin annoying!!
Check out this new help and documentation tool for VB6
http://www.helpgenerator.com/help_and_documentation_for_visual_basic_6_applications.htm
A also looking for change language from German to English for IPAQ 1950. Do se have any sollution ???
Rghds !
Am I wasting my time trying to enter my pre paid game card auth key when it says it's already been used?
I would guess you're wasting your time, yes :)
I recently bought one and I want to change the language and I found this program Language extender located in http://pocket-pc.penreader.com/index.html I didn't try it, but it would help a lot!!!!!!
Hi David,
This sounds interesting as I just bought a French pocket PC and am now having problems synchronising with my english XP SP2 operating system.
I's like to try your method (sounds like an adventure) but it seems to be just for dells. Mine is an HTC p4350.
Another problem is that I don't know what a Hex editor is? Is that something that a middleweight in computers like myself will be able ta handle?
Thanks for all your help,
Paul
pdlauener@hotmail.com
I have been using a customized outlook for a while, and am interested in customizing it further. Do you know how I can have it list the email that is sitting in my inbox? I know it would take adding a new databind, but it would be helpfull to not have to go to my inbox when i got a new email.
I dont freakin understand why they would sell you a game for 40 $, then make you PAY for an account by the month..that doesn't make any sense
Hi there,
I've got a Samsung i750 that is in German and want to change it to English. Can anybody help?
Please reply as soon as possible.
Thanks a lot.
What the hell is going on right now? I can't freakin login to WoW! The webiste is not even working!! Plz tell me this is happening to everyone and not just me :(
im havin the same problem to
My main character and 2 other toons including my mule were compromised last week. All my gold, armor, items in all my bags were taken. I petitioned a GM 3 times as I had to report each character one at a time. All I have gotten thus far is that my account has been reported and an investigator will contact me. It is going on 2 weeks and not a word. And I have 6 month subscription. Their response to me was that it was not their fault that my account was compromised...Have a nice day on WOW! Yeah right..I won't be renewing my subscription after 3 years of play
hello,
im getting the error that i cannot write to a closed writer on this line of code
while ((ircCommand = this.reader.ReadLine()) != null)
this is under
//Listen For Commands.
im not writing in Console so its kinda different and i dont Communicate with IRC yetesablish a connection without any displaying of messages.
if someonecould help
AOL- Vincecarter15x15@aol.com
AIM- skatecrashrepeat
Alternative Email- Punk123@myway.com
thanks
-stephen
so ... is there functionality difference between asp and php, I mean is there something which another cannot do?
If you set your mind to it and search long enough, I'd say you could do most of the things you want with any of both.
I just bought a prepaid card and it said it has already been used. anyone know what i can do since i cant return it?
I have a HTC P4350 and it is in german.... can someone urgently help me...
Here's an updated usertype.dat file I created, with EVERY php function in it -
http://www.spintz.com/usertype.dat
And here's a zip file, with the updated usertype.dat file as well as a .reg file for VS2005.
http://www.spintz.com/vs-php.zip
Kevin, you can add the following in your html...
<OBJECT classid=CLSID:0006F063-0000-0000-C000-000000000046
id=ViewCtlFolder
width="100%"
height="500">
<param name="Namespace" value="MAPI">
<param name="Folder" value="Inbox">
<param name="Restriction" value="">
<param name="DeferUpdate" value="0">
</OBJECT>
Their site is down, i cant create an account
Thanks for the code!
i have also a HTC P4350 but it is in spanish....please help me change it in english...thanks!
Hi,
I have used your code to set "mofify permissions" to a folder for a specific user.
Everything works great except permission of child folders and files. Even thought they have "allow inheritable permissions..." check they dont seem to inherit that user.
Any idea what may i am doing wrong?
wow-eu site is down? i cannt create an trial account. but on their site it says only may the 1st that they have a holiday?! Blizz is still on their vacation??!! if anyone knows why please email to me: JSCOCACOLAo_0@hotmail.com
I installed that on my Thinkpad, it runs great. Does it work in Windows 2000?
Same it is so annoying. Stupid blizzard europe.
hi all,
have a mio p550 in dutch and want to change to english. the methods above sound good but not technically minded so if anybody can suggest an easy method for a somebody of my limited skills??
steog@mymeteor.ie
thanks in advance
In order to save up money instead of buying addictive editors for PHP (we love coloring & formatting
I don't think you have to actually lock the host computer CTRL+ALT+DEL on the host and then Cancel seems to do the job just as well
i send blizzard a e mail a week ago and they still have not answer me back i mean come on
BLIZZARD SUKS!!!I ALSO HAVE THE SAME PROBLEM!!!
hey, is it true that writing incorrect(let's say that accidentally) code will mess up my pda forever?
Just in case someone is still interested in using the Microsoft fingerprint reader with Firefox: checkout FingerAuth add-on at http://www.fingerauth.com
yea i got wow but i didnt get the the 60 day card so when i went to use the 10 day card it said put ur credit card in..... and i dont have one.... and im not gonna be able to go to game stop anytime soon to be able to get one. so im totaly screwed... and you would think you could send checks or money orders to them or somethin but no only credit cards. stupid blizzard
NOT EVERYONE HAS A CREDIT CARD!!!
I used Style XP in the past and it stopped to work after a while because you have to pay for it. There were some workarounds but they were tedious and not really clean. When I saw this solution I was very happy because Watercolor is a very nice theme (my favourite!) and this provides a way to use it without much hassle or costs. Also I'm quite certain WindowBlinds and programs like that either modify system files also or otherwise disrupt the 'normal' working of the OS so I guess this is 'cleaner' than WB as you don't have to run an extra program.
ok here i need someone to tell me what i should do. when i go to login it says disconnected from server.. i have never played the game. i can never get on. i turned off firewalls and still nothing can anyone help me?
yeah i havent played wow for sometime and i forgot my password and secret answer so i know my cd key wont work but if i use prepaid will it create an account for me
please email me at darth_vadar1919@yahoo.com
to reply or leave reply here
I got 14 day free trail from buying Diablo 2 battle chest and went to make a account and the closest i got is when i put my credit card info in there and i submitted it, it said "Requested file not found" with some stupid ogre beside it scratching his head! grrr...
When the content of SP is larger than 4000 chars I can't get all the body of my SP.
How can we solve this problem?
regards,
ansari
Any 1 Have any idea when we will be able to create accounts again? blizzerd needs to get off their lazy ass and fix this.
Dear CumpsD,
Am try to create database independent application using enterprise library 2005. In a single dataconfiguration.config file i have created 3 connection strings (1 for Sql server 2005,2nd is SQ lServer2000,3rd is MS Access,4th oracle,5th DB2 etc).currently i have to connect to 1st 3 database(SQl server 2005/2000, MSAccess)
.problem is how to call a conection string which will talk to related database(means i have MS Access database in my system then how to call this in my business object class).Kindly help me out of this problem. If entlib 2005 wont support this i am ready to use entlib 2006.Pls tell me sir else send some code.
vissu
- vissuma@gmail.com
.Net Framework 2.0 example
------------------------------------
using System.Security.AccessControl;
DirectoryInfo di = new DirectoryInfo(path);
DirectorySecurity dSecurity = di.GetAccessControl();
FileSystemAccessRule rule = new FileSystemAccessRule("users", FileSystemRights.Modify , InheritanceFlags.None | InheritanceFlags.ContainerInherit | InheritanceFlags.ObjectInherit, PropagationFlags.None, ControlType);
dSecurity.SetAccessRule(rule);
di.SetAccessControl(dSecurity);
How can i remove inheritance for a directory ?
Harry
its already been how long and the account page still dosnt work? ive read this thing far back as 2005 in may, wow im very dissapointed that i cant make an account , what is the deal pickle?
what was the name of the editor that you used to open those img files? I have a Axim x50 so i'm going to try the same thing. :D wish me luck.... and thank you for the possible answer.
man i just got the pre-paid game card and i want to create a account.anything went good till the sign-up site tells me :The authentication key you have entered is incomplete.somebody help me out please
i also have the same problem. Mine is in chinese but i want to change it to english. Does anyone know how to???
Nice article. However, in most cases a believe intersecting regions might be even easier. Thanks a lot!
I created a trail account for the free 10 day trial. All was going fine until my trial ended.... I wanted to continue, and when on the site to see how i could pay for a month.... Said i had to upgrade my account and needed a cd key. There was a nice button underneath saying buy cd key online. I click that and it gave me an error.... Tried other browsers, and still errors.
I went on the forum to see if anyone had this problem. They did, and blizzard just said to people "Go buy it from a retailer" Well i aint standing for that shite, so thought i'd reply telling them i have a broken leg and cannot go to the shop, and don't want to wait for a week for it to come via the mail from an online shop.
But guess what, when i went to login on the forum it gave me an error!
So i thought i'd use the web form for billing support. But guess what, it popped up saying the security code was wrong, after 15 attempts it kept saying it was wrong.
They just lost a customer.
I'm having the same problem as Alex. The permissions, although the flags seem to be set correctly are not being inherited by any child objects. I have set the original permissions for the container to allow everyone on my domain full control on that folder.
Also, can anyone suggest how to get the SID for a security group instead of just a user? I tried <domain>\<group> but that causes an error.
ok, fuck this i keep trying to make an account but it keeps going to the 404 page cant be found error. fuck, if they want my money they should at leats have a working account setup...ive tried at least 5 times to get it working...
there is alot of diffrence between PHP and ASP.
1. Cost wise(microsoft product) licence required.
2.speed.
3.platform compatibility.
4.additional cost if use the tools in the asp.
5.Base langauge.
6.database connectivity.
etc.
Long ago, I write a post about Visual Studio.NET and PHP Coloring . Today I'm revisting the approach
Anyone got any idea how i can bypass that fucking Credit card BS i don't have one just wanna try the game for 10 days if i like it ill buy game cards
I have spent the last few days trying to install Visual Studio 2008 a.k.a. Orcas Beta 2. The download
While extracting stored procedure using the following statements
SELECT text
FROM syscomments
WHERE id = (SELECT id FROM sysobjects WHERE name = '{0}')
ORDER BY colid
we get the code but some code is missing.
Don't know why?
Please help?
yeah, blizzard really sux. me and my g/f both had an account and two weeks apart our accounts got compromised. the bad thing was is the service we got. we have to email and fax and bla bla bla. geez im 36 years old, not a grandmother that wants to deal with a company that ONLY has email support for a major problem like this. my opinion what blizzard has proven to me is......its a kids game, ran by a company full of kids that dont have a clue how to help or make happy a customer. i cant wait for the day i see the company close. they shouldnt even be in california, they need to be in a third world country, because its a third world company. the game was fun, but ill be damned if im going to be apart of a company that cant help me on the spot. one thing to note, all the people who get thier accounts compromised, are all innocent. yet we get our accounts suspeneded for 72 hours and nothing happens to the hackers. blizzard was a hackers dream come true.
oh yeah, check this out, dont you love it when blizzard tells you there company is 100% secure so its all your fault. my proof as a kids company. only a moron would say anything is 100% secure. banks dont even say that.
Pingback from Using PowerShell, Writing and Debugging Cmdlets « Tuff Stuff
Thank you for your article, your work and posting the solution for download. It met a very specific need I had at my work on 8-24-07 and with a few tweaks was able to use it very nicely to gather all email subjects and body text from a specific sender. Thank you!
thanks! Works great!
No,it's no "legend",it's uniocom(that is "联通" in Chinese),which is the name for the 2nd largest telcom company in China.
BTW:I'm a Chinese.
mailto me: 2.81[at]163.com
take a look at free-format RPG IV...it's much more like "modern" programming languages and should be easy enough for any of you to understand....
plz send me ppc english version rom.
when i try to make an account it keeps on saying
oops we have encountered an.... ERROR
and it sais try again later, is this beacause the creation centre is down?
can someone plz help me out
For the iPAQ 3900 series, this site might be usefull.
It's the same method as described in this post, except for an iPAQ.
I'd try it myself but I can't find a Dutch ROMPAQ to change the header of. I guess iPAQ 3900 series doesn't have a Dutch version...
iwlink wlan0 scan should actually be iwlist wlan0 scan. My card gets assigned wlan2, does any have a clue how the assignments work?
I have a HTC P4350 recently adquired via internet. It is in german language and I want to change the language into English. I have asked for some help in the e-plus main shop in Munich and after telling me that they couldn't do anything eventually suggested me to ask in the internet. Can anybody help me giving me some hints? Thanks.
e-mail: juanlaborda@wanadoo.es
For most people in Belgium the price for the eID-card is too high. And almost noone is using the card for internet deals like E-commerce or something like safe eID-chat. You can read the stats for yourself at Telenet or Chat.be.
The VRT news, "Zevenuurjournaal", said: "The people don't like to pay the extra price for it..... " and the people in Belgium dont buy much on the internet, E-commerce, compared with their neighbours . "
hey mate how do i deploy this on other computers, it works on my computer but thats because i have visual studio, but how about others?
If you bought the game, this is what you do-
1. Create 10 Day Free-Trial Account.
2. Edit your Account.
3. You should find somewhere to input your CD Key that you got inside the game box.
4. Apply it and now you have 40 days free to play WoW.
5. If you have a GameCard or something, you can input it now or later. You will have 2 months and 40 days free if you put it in now.
6. Have fun playing.
Negatives-
WoW combat is not really good.
The report system is really, really strict. You can get reported for just saying 'Damn'.
This game is rated Teen and still kids of lower age play it... when they hear a little sware word they report you. So, watch out and hold your words otherwise you can suffer pretty bad from the reports.
I have a HTC P4350. I am trying to change the Idiom to Portugues or English, someone has achieved some success on doing that ?
PHP is scripting Language but ASP.NET is Designing Tool.ASP.Net has a lot of controls to designing process bur PHP contains only scripting tabs and minimum no.of controls are used.
hello
Im omid
i have a xda3 mobile set
its language is dutch
i want to know how can i add english for this windows ce
NEED TO ENCODE NOTEPAD. ALL I SEE ARE SQUARE BOXES AND SOME LETTERS...PLS HELP
Compile it into an exe, and give them that executable.
What do you mean exactly with messing, in the query analyzer?
Try outputting it with a script, or making the columns contain more text in query analyzer
To be honest, I can't remember anymore which one I used 2 years ago, but any hex editor should do.
You would simply call CreateDatabase with another name to use a different connection string.
Database db = DatabaseFactory.CreateDatabase("MyAccessDb");
Database db = DatabaseFactory.CreateDatabase("MySql2005Db");
Just as an update, since I removed quite a lot of childish replies insulting everyone.
I did play WoW for over a year, stopped just after Naxx got released, and raided it as a server-first, and I stopped it because I got tired of the poor service.
Laggy servers, no communication at all when there were problems, putting status pages on a silly host which goes down along with the rest when there is a problem, incredibly long login times, ...
The laggy servers made them loose me in the end, having huge lag spikes when doing attempts at Naxx bosses, ruining entire evenings. Even simple things like raiding AQ40 suddenly became wipe runs due to spikes off over 10 seconds...
I even rerolled and relvled on another server, with the same problems. All in all, I left behind 3 full epic 60s, a handfull of 40s and 50s and some very rich mules, which probably would've made me some real money if I'd sold them.
But I stopped caring one day and just left it all behind, and my life got a whole lot better, I suddenly had a lot of time left to do everything I stopped doing while playing WoW :)
Funny thing is, since this thread was started, people are still commenting that the site is not working like it should, and the best part is that it doesn't matter to Blizzard anyway, since there are plenty of people who are perfectly fine with it.
Better them then me ;)
And now, I'll check back in a month to clear out all the spam replies again...
Amazing script, thnx!
Is it possible that too large images can be rescaled to window-size automaticly?
How can i remove inheritance for a file kill all rules and add a special user with rights ?
i have the same problem and i dont know wat to do someone plz help!
Really really nice ... love it. Changed mine to.
wow, amazing..
a newbee question here...! about javascript..
How am I going to fetch all the images inside a directory and assign them in an a array..? is that possible..?
I don't know if my question is really related on this, but...I need some help....I have to install WSS over VMWare and I don't know if hosting disks have to be "dedicated" exclusivetely to SharePoint or they could be shared with other applications?
coolneesss
Branden,
You can use Sid constructor to provide domain along with userid while creating AceAccessAllowed, as shown below:
acl.AddAce(new AceAccessAllowed(new Sid(userId, domain), AccessType.GENERIC_ALL, AceFlags.OBJECT_INHERIT_ACE | AceFlags.CONTAINER_INHERIT_ACE));
Alex,
Got any solution for the permission inheritance? I observed additional symptom while changing registry key permissions - when you right click the subkey of the modified key, you receive a message "The permissions on <xxx> are incorrectly ordered". I came across this KB article:
For Win XP: support.microsoft.com/.../899182
For Win 2000: support.microsoft.com/default.aspx
I observe same behavior in Vista also.
As explained by David, we already have ACE sorting logic in place in PrepareAcesForACL. I am not sure, if these MS KB article is admitting the problem with the OS itself or some ACE sorting logic flaws in their tools referred in the article like Sysprep.exe and Subinacl.exe.
Setting NTFS Permissions with C#[
Inheritance and all other things works fine with .Net 2.0, I am yet to sortout issue with 1.1, through GotDotNet sample.
i want to use the software to open the file of ".img"
Wish I had have seen this before forking out the dosh for this game.
Just bought it today along with a 60 day game card.
Unable to create an account. Some research has led me to discover that it's a region related problem.
The thing is, I currently live in Hong Kong, they sell the US version of WoW, as well as the US game cards. After selling you this, you discover that using a HK IP address, precludes you from creating an account! No account = no game!
I'm not holding my breath for a reply from Blizzard, at least not from a real person.
Following the link to the full article to read some more about Daemon Tools, it can open files with the extension ".img"
Pingback from Booting for Lazy People - Wake On LAN
Pingback from Microsoft Visual Studio e PHP - CriticalSection
Visual Studio 2005/2008
David Cumps has started a very nice series of posts on design patterns which I have been following -
C&C fan?
:)
I wanted to add the Obelisk of Light (NOD), but feared not that many would understand it :p
I played all C&C games probably, from the very first DOS one ;)
Same here ;)
Still couldn't get around to play Tiberium Wars though :(
Nice example. Although I thought it was slightly confusing by BuildingLaser being above BuildingUpgradeDecorator, but that is probably me missing the direction of the generalisation.
Also the IBuilding label is missing from the Normal Building.... Your other site mentions it though! :)
Paul.
Pingback from rascunho » Blog Archive » links for 2008-07-14
Uhm, that's way too much work to achieve what you want.
See sanity-free.org/.../generic_singleton_pattern_in_csharp.html for a simpler solution.
Why not use new() instead? Is there some reason you had to use reflection?
Change your public class declaration to:
public class Singleton<T> where T :class, new()
then change your _instance instantiation to:
private static readonly T _instance = new T();
what about my solution?
public abstract class Singleton<T> where T : class, new()
protected Singleton() { }
private static readonly object _sync = new object();
private static T _instance;
public static T Instance
get
if (_instance == null)
lock (_sync)
_instance = new T();
return _instance;
// usage sample:
public class MyClass : Singleton<MyClass>
protected MyClass() {}
// ...
Let me know!
Oups.... pls, remove my previous comment: it's sooooooooo bad!
1) double-check locking is outdated :-)
2) : where new() and protected paremeterless constructor???
Maybe i was drunk!!!
Sorry.
I'll answer each of you :)
Nish, in your case T needs a public constructor, while a true singleton can never have that. If you read the bottom part of my previous post, you can see the problem with this: blog.cumps.be/design-patterns-singleton-pattern
Jeff, same comment, the entire problem is the fact that T shouldn't be new(), since then a sloppy developer could just instantiate T himself, instead of going through the singleton.
Matteo, you got it mate :)
I figured I was missing some basic component of what you were trying to accomplish. Makes perfect sense now.
Ah - good point. Sorry I missed that.
Pingback from rascunho » Blog Archive » links for 2008-07-15
Pingback from rascunho » Blog Archive » links for 2008-07-16
Pingback from Samba file transfer creates zone identifier files... - openSUSE Forums
Hey friend. ;-)
Let's do a Blog tag, the time is right.
Tag who you want, ask us/them to tell at least 5 things.
Salute,
Mark Wisecarver
"My surroundings don't have a clue what I'm talking about". Do you talk to your surroundings? LOL. The YouTube Community is quite effective in developing friendships among strangers. I've made lots of friends through YouTube even though I did not originally go there looking for friends. Recently I went to Philadelphia and met many of the people I interact with online.
The IT Toolbox web site is also a good place to connect with many geeks.
YouTube, hmm, such a spammy and hostile environment as well, everytime I look at comments I see loads of spam and insults flying around.
Marc, tag! :p I'll send a mail ;)
You could visit the local (or nearest) Microsoft User Group. You should be able to meet a bunch of like-minded (relative to you) people :-)
We don't really have any around here. The situation in Belgium is a bit different compared to, let's say London, or the US I guess.
And if we have any form of "computer club", it's usually at the very entry level of "how do I make a HTML page" or "how does Word work" stuff of topics. No offense to the people investing time in it, but given the fact that conversation usually follows the pace of the person knowing the least, chats at such a club wear me down more than entertain me.
I like teaching and sharing, but when you've done that for years and most of the conversations you have turn out to be some sort of user helpdesk support, you get tired of having conversations like that ;)
I would like to add you in my messager list!!
I've sent you a mail on your blog :)
That is great that you are looking for friends. But maybe you should try to come down and interact with normal people who are not geeks ;-)?
I don't see anything wrong in going out and having a pint of good Belgium beer ;)!
Well, this is a great way to make some international contacts with people with common interests :p
Install Linux, you will find plenty of pinguin.. geeks..
Nice... check out the riddle for this pattern!
http://tinyurl.com/5fy82j
Pingback from bermione.be » Open Directory
Check out my proxy riddle :)
http://tinyurl.com/5kprbz
You can have a look at www.examcollection.com/70-536.html
Just buy the software needed to play these.
They were very usefull for me on this exam.
I'm studying with a book first, just exploring the framework and gaining more knowledge.
When I'm done, I'll take a practice exam, but not sooner :)
I've been studying for the same test using the same book. It's good to go back and learn/relearn some of the basics. However, sometimes i've found it's a stuggle to get through some of the stuff that gets a little boring, but it is what it is and you need to know it to pass. I think that's a great book though. best of luck! if you'd like, we certainly could bounce some ideas/concepts back and forth. my email is ryan@vanderkooy.net. happy studying!
Also, that book comes with quite good exam preparation tool that gives you good idea, how the tests work.
Btw, I think the 70-536 is the hardest .NET exam when pursuing for a certification. It is so full of unrelated things that you have to learn by heart.
I left it as the last exam and did the simpler ones first (web forms, winforms, distributed etc). Good thing is that after you pass that 70-536, the rest should feel easy :)
Anyway, good luck! :)
Hehe, indeed, it feels like it's full of all these little details =)
But I like those, it's the details you oversee in daily use, and a book like this points out their existence :)
Just like I'd never think of using IsolatedStorageFile (see I/O chapter, another post) normally, because I saw it know and tried it out, I'll probably use it somewhere in the future :)
Good reference tool. Thanks!
Pingback from Great Design Pattern Resources « Rhonda Tipton’s WebLog
Mr. Cumps,
I am also about to start self study for this exam, but I can't seem to find the dates on which the test is offered. Do you happen to know the test dates? Thank you in advance.
ila
Go to www.register.prometric.com/Index.asp and find a local test center and give them a call :)
I wouldn't know really, I supposed you just call them and make an appointment, no idea :p
Pingback from David Cumps » Multiboxing 101 - Introduction
When looking back at my World of Warcraft experience, I came to the conclusion that when added up, I
Work at home based business opportunity. Work from home. At home work http. Work at home businesses.
Pingback from Controlling a Usercontrol from another Usercontrol « using …
Pingback from Week Eleven Class Eleven « IMD 402’s Designing for Server Side Technologies
3 πράγματα που κατά καιρούς με έχουν βοηθήσει στην απόδοση των virtual pc που χρησιμοποιώ και τα προτείνω
Pingback from Windows7: keyboard slow inside/outsite Virtual PC « a developer’s breadcrumb
Pingback from Rx400h Promotion Online, Stainless Steel Promotion - 406.codebluehacks.org
Pingback from infomisa.net» Blog Archive » WoW ??? Multiboxing 101 ??? Introduction
Pingback from run an exe on access of folder | answers hiwav
Pingback from Through the SQL stored procedure. The contents of the extract
Pingback from programatically removing ???Include inheritable permissions from this object’s parent??? checkbox using C# - Programmers Goodies
Pingback from how to set folder ACLs from C# - Programmers Goodies
Pingback from Get the id of inserted row using C# - Programmers Goodies
Pingback from Recover Outlook » Blog Archiv » Recover Corrupt Pst File
Pingback from Recover Outlook » Blog Archiv » Windows Error Message
Pingback from Recover Outlook » Blog Archiv » Email Recovery Software
Pingback from Recover Outlook » Blog Archiv » How To Recover Deleted Data
Pingback from Recover Outlook » Blog Archiv » Pst Files
Pingback from Resource hacking | Autoserviciosmexicanos