99 Posted Topics
Re: I would imagine that you need a certain rep/post level yourself to do it, to stop people just signing up and negging. | |
Hey everyone, I have been told there is a way to get a users login name and their SID in C#, does anybody have code or know a very detailed and easy to understand site? What I am trying to do is this, when a user logs in my application … | |
| |
Re: [QUOTE=benyam_dessu;315239]Just try to answer the question only the question, any u will become smart. Thanks for ur support. Always Regards, Ben.[/QUOTE] Sorry for jumping on the thread without providing help, but my God I love that! From here it seems like you are asking for a solution - but not … | |
Re: [url]http://www.codeproject.com/cs/database/linkAccessInCSharp.asp[/url] Try that site. | |
Re: Welcome to the forum :) Is Phrogram actually powerful enough to do major applications? | |
Re: Add a WebBrowser (which by default will be called webBrowser1) to your form. Or to open direct from a button etc use this code: string website = textBox1.Text; System.Diagnostics.Process.Start("iexplore.exe",website); That will open IE and go to the URL that is currently in your text box. | |
Hey all, I spotted Rugby mainly by looking at the "hello world" thread in Legacy. So I was wondering if it is actually worth learning? I am always looking for more ways to update my CV, but is Rugby wide-spread enough to warrent learning for any other reason than fun? … | |
Re: From what I have always read, you shouldn't leave laptops on for prolonged periods of time. The fans generally wouldnt be able to cool the system as well as a workstation, there just wouldnt be the room. | |
| |
Re: Yes piracy is highly illegal, not to mention the method you are using is even more dodgy. You are downloading stuff from people assuming it's all "legit" and happily giving out your IP to anybody that wants to check. Is it any wonder anti-piracy groups have realised that P2P users … | |
Re: Yes never trust these Emails! A big hint would have been that it is a freely available Yahoo! address and not a company one. I like to live by this: If it seems to good to be true, it probably is. | |
Re: Never really worked with a binary writer, but where exactly are you trying to put it into the textbox? Are you getting any errors or just not getting the right output? From the looks of it you actually need to just tell your code to put it into the correct … | |
Have a good Easter everyone, 45 minutes left until a nice 4 day weekend. :mrgreen: Nice hot day, cold beer, going to be good. | |
| |
Re: Unless you mean C#, sorry no. Try here for C: [url]http://www.daniweb.com/techtalkforums/forum8.html[/url] | |
Re: And for your other problem: if (textBox1.Text is equal to what you want) { // Move on } else { // Dont } Just replace that with your actual code. If you are holding a password however that is very insecure | |
Re: Best thing to do is uninstall and the reinstall VS. Could be that its corrupt. | |
Re: The following will save what you have in your first text box (textBox1) to a text file in your Bin/Debug directory. The 2nd piece of code will then read that text file and put the output into the 2nd textbox (textBox2): [I]Save your text to file[/I] [CODE] System.IO.StreamWriter StreamWriter1 = … | |
So who here will be watching the football tonight (proper football, not the American version of rugby :mrgreen: )? Big games tonight for Scotland and my wee country Northern Ireland. England look like they could let down their 'loyal fans' again. :lol: | |
Re: Wouldnt you need to take into account the fact that not everyone has static IPs? So you would need to use a range and make sure they are not using a proxy or whatever. Plus having to actually store the IP information somewhere so it can be checked. | |
Re: [QUOTE=smartway;335003]if you help to this i will give documentation cost for u.[/QUOTE] To start with you need to explain in more detail about what you want. Also I assume you will be paying the person to do this, so that would require a contract and definately more details. Nobody wants … | |
Re: I take it you have added the reference and wrote your using statement? | |
Re: I done it but just got an empty white page when I submitted | |
Re: [url]http://www.samspublishing.com/library/content.asp?b=STY_Csharp_24hours&seqNum=11&rl=1[/url] That is a very good site to learn C# quickly (well, 24 hours!) but it won't cover everything in a massively detailed way. So always best to go through proper books etc when you have time. | |
Re: Hover your mouse over or click the things it cant find like 'dsLibrarians' Then when a little box saying: "Options to help bind the selected item" Click the option which will say the likes of "using System.IO;" or whatever the DLL is. Whatever DLL you reference you have to type … | |
Re: Here's a good joke: Microsoft treat their customers fairly LOLOLOLOL!!!!! | |
Re: Don't Valve check for scripts anyway? so even if you were provided with one you would be easily caught and banned from just about every CS:S server excluding the poorly run dodgy ones. And they get closed often enough. Stick with using a marker on your screen or better yet, … | |
Re: I hate myspace. Horrible site and it gets so cluttered with idiots putting stupid stuff up. Bebo is better, but only just. My girlfriend uses it, yet she wont listen about staying safe. Silly girl. | |
Re: Ok I am rather confused about what you want, so the Ú is not meant to be there but is added when you read? | |
Re: Seems rather strange, I wouldnt think it would be good for creating GUIs as it is mainly symbols so error finding might be rather tricky lol | |
Re: God you are fond of python ain't ya, mentioned all the time lol. Treat C# like a completely different language, don't try to make comparisons as that just leads to trouble: StreamReader reader = new StreamReader("MyFile.dat"); string strAllFile = reader.ReadToEnd().Replace("\r\n", "\n").Replace("\n\r", "\n"); string[] arrLines = strAllFile.Split(new char[] { '\n' }); … | |
Re: To make it invisible use this code: this.Hide(); BUT if you are hiding your main form, then you will have to use Application.Exit(); when you want to shut down the application. Otherwise it will still run and cause problems. If it's not the main form of your application (by that … | |
Re: Do you mean for C#? Try this site: [url]http://www.samspublishing.com/library/content.asp?b=STY_Csharp_24hours&seqNum=11&rl=1[/url] | |
Re: Yes please post your code. Chances are you are having to insert values into all columns if they both have the same ones yet you are only inserting into 'x' | |
Re: Ahh newspapers, whipping the world into a frenzy over very little. Why is this such a big deal? Now if they didn't give her anything I could understand a little fuss, but they gave her food! What do the public want? Pupils to be fed 5* meals everyday? Do they … | |
Re: I just have a 2GB black iPod nano. Can't understand the need for more than 2GB, I rarely travel long enough to listen to all the songs I currently have! ![]() | |
Re: Would be along these lines: [CODE=C#] public struct MyStruct { public string text; public string text2; public int number; } [/CODE] [url]http://www.codeproject.com/useritems/InterOp.asp[/url] [url]http://www.java2s.com/Code/CSharp/Collections-Data-Structure/Array.htm[/url] Some basic information ![]() | |
Re: That seems a little rash though? Did you try a system restore? Or logging in through Safe Mode to do a full virus scan? | |
Re: It's pretty much been covered, but just to get my own 2 cents in, I would just go all out and buy a brand spanking new machine... in a few months. If you want Vista you are best off being able to use all of it's features (basically the look … | |
Re: Numerous questions. My advice is to read various tutorials on t'internet. I used this site when I was learning: [url]http://www.samspublishing.com/library/content.asp?b=STY_Csharp_24hours&seqNum=11&rl=1[/url] It's rather brief so some programming knowledge is required, but it gets you going and plenty of sample code. Here is an MS link about debugging (which is simple, it's … | |
Re: I've been working in various places since I was 13. Started in a factory doing odd jobs, then doing summer jobs in the same factory for 2 years, then teaching HTML in a training centre, then working for Tesco (go me - highlight of my career...), working in a sales … | |
Re: I tend to pop over to a few developer forums to play an RPG. I won't name them here as that would just be rude, but they are basically simple text games built in. Or, for more long term fun, you could try mafia.org aka Mafiareturns It's been many moons … | |
Re: Yes Vista eats through ram like I do a rack of ribs. My advice is to upgrade your ram (would say 2GB) and processor. | |
Re: I have never liked Valentines Day. Always horrible if you are single and never get a card! However, my good lady has kindly granted me a pardon for this year. She said I don't have to get her anything (and no there isn't any female reverse psychology here) as she … | |
Re: Hi suren23, Couple of questions: 1. What are you using? MySql, postgres etc? 2. Are you looking for direct access or a stored procedure? | |
Re: [QUOTE=campkev;312374]that login code will leave you open to an sql injection attack. Never take input directly from an input and put it directly into an sql query[/QUOTE] It depends on what exactly the intended use is. If it's just for a little in-house program that nobody else will see or … | |
Hey everyone, I'm a brand new member (well, I signed up last month and lost the link!). So where to start with the intro... I'm a 21 year old student, my course at Uni in Liverpool is Computer Games Technology, and as you might have guessed from that I am … |
The End.