|
|
Yes, there is one.
Start Menu -> All Programs -> Accessories -> Calculator...
There are also 7.2 million results if you would have done a google[^] search.
I wasn't, now I am, then I won't be anymore.
|
|
|
|
|
Random nonsensical sentence of the week?
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|
|
Try something and post your queries here - someone might be able to help you.
|
|
|
|
|
What have you tried so far?
Vande Matharam - Jai Hind
|
|
|
|
|
You can try one of the following: Google Search[^]
Christian Amado
MCITP | MCTS | MOS | MTA
Olimpia ☆ ★★★
Please mark as answer, if it helps.
|
|
|
|
|
Hi all,
actually what I need it's so simple (but not for beginner just like me) I read two articles about registry manipulating but I couldn't do what I need, it's to add these values and data using C#:
"Key"="000000000000"
"VID"="AAAADjUuMC4xMTMzNy4xOTY4"
to the existing key:
[HKEY_CURRENT_USER\Software\Google\Google Earth Plus]
could anyone help me please?.
Many thanks in advance.
modified 3-Aug-12 10:34am.
|
|
|
|
|
The following is untested code but should give you something to get started, add:
using Microsoft.Win32;
to your class, then where needed try the following code. I believe that CreateSubKey and SetValue will create the required Key/Value if they do not already exist, or update them if they do.
RegistryKey software = Registry.CurrentUser.CreateSubKey("Software");
RegistryKey google = software.CreateSubKey("Google");
RegistryKey googleEarth = google.CreateSubKey("Google Earth Plus");
googleEarth.SetValue("Key", "000000000000");
googleEarth.SetValue("VID", "AAAADjUuMC4xMTMzNy4xOTY4");
edit: correction of typeo in the word goolge google
modified 3-Aug-12 12:22pm.
|
|
|
|
|
Hi,
I tried this code but I got some errors like:
------------------
The name 'google' does not exist in the current context
The name 'goolgeEarth' does not exist in the current context
------------------
Anyway I also tried this code but nothing happened:
RegistryKey mykey = Registry.CurrentUser.CreateSubKey(@"Software\Google\Google Earth Plus");
mykey.SetValue("VID", "AAAADjUuMC4xMTMzNy4xOTY4");
Thank you.
|
|
|
|
|
looks like a little miss typing in the code sample i have now corrected it, the values are going into the registry fine for me here, remember if you are looking at regedit you will need to refresh the screen View > Refresh to see the new values.
using System;
using Microsoft.Win32;
namespace regWriter
{
class Program
{
static void Main(string[] args)
{
RegistryKey software = Registry.CurrentUser.CreateSubKey("Software");
RegistryKey google = software.CreateSubKey("Google");
RegistryKey googleEarth = google.CreateSubKey("Google Earth Plus");
googleEarth.SetValue("Key", "000000000000");
googleEarth.SetValue("VID", "AAAADjUuMC4xMTMzNy4xOTY4");
Console.ReadLine();
}
}
}
|
|
|
|
|
It worked, thank you very much.
|
|
|
|
|
ogin form in user is three times password is incoreect in project is find out conformation code?
|
|
|
|
|
please rephrase in english tyia
|
|
|
|
|
You can change the record to 0 in IsLockedOut on your aspnet_membership table. If you're using ASP.NET Membership.
Regards
Christian Amado
MCITP | MCTS | MOS | MTA
Olimpia ☆ ★★★
Please mark as answer, if it helps.
|
|
|
|
|
Hi, im a have a multiline texbox and a datagridview all c#. I want to filter the grid by the multiline textbox and need to use every single line to filter the grid. Please can somebody helm me with that??
Jaasiel
modified 3-Aug-12 7:26am.
|
|
|
|
|
Pssst....wrong forum!
Try the C# one
"Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." ~ Garth Algar
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair
|
|
|
|
|
Yes, I can helm this by suggesting you to put your question on THIS[^] forum.
People are so bad towards kind of question here. and will constantly remind you to look at the top of the page.
Regards,
Hiren.
|
|
|
|
|
--- DO NOT ASK PROGRAMMING QUESTIONS IN THE LOUNGE ---
I'd quickly apologise and move this to Q&A if I was you.
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
Nagy Vilmos wrote: I'd quickly apologise and move this to Q&A if I was you.
As a newbie, It seems it will be too late till the time he realizes.
Regards,
Hiren.
|
|
|
|
|
Nagy Vilmos wrote: I'd quickly apologise and move this to Q&A if I was you.
Can we start the Univote Frenzy now, pleeez pleeeeez pleeeeeeeez?
[Edit]:
Posted this before it was moved to C# forum
[/Edit]
Full-fledged Java/.NET lover, full-fledged PHP hater.
Full-fledged Google/Microsoft lover, full-fledged Apple hater.
Full-fledged Skype lover, full-fledged YM hater.
|
|
|
|
|
I'm not overly familiar with winforms and the correct way to filter data on a datagrid view. But something like the following may help you.
var filteredItems = Items.Where(row=>textbox1.Lines.Contains(row.FilterColumn));
you may want to do something more to allow for ignoring the case of what you are filtering on, but filteredItems should be a step towards what you want.
|
|
|
|
|
With what exactly? Where will the filtering take place, on the server or on the client-machine? And how do your lines in the textbox match up with the tablenames?
Perhaps if you showed us some code that explains how you load the data in there, we might hint what the most appropriate solution could be.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
Let's assume your DataGridView is already full of Data, in Cells, organized in Rows and Columns, naturally.
Now for each line of text in the multi-line TextBox:
Exactly how do you want to use that to filter either certain Cells, or certain Rows, or certain Columns, in your DataGridView ?
What exactly does "filter" mean here: to hide something that does not "match," or ... ?
What have you tried so far ?
I do think if you can write up your problem more clearly, that it would be better, for you, if you posted it in the QA section.
best, Bill
"Everything we call real is made of things that cannot be regarded as real." Niels Bohr
|
|
|
|
|
Thanks everybody for helping! And sorry for late answer.
Bill , as you're saying i have a datagridview full of data.
What I want is show the datagridview rows that match with the lines in the multiline textbox
For example: my datagridview have two columns: Name and Last Name to say something...
In the textbox I type in the first line John and in the second line I type Mary.
I want the datagrid to show me only the rows that have these names.
And if I keep typing in others lines keep doing the firter or search...
I hope I explained better now... Thanks in advance!
|
|
|
|
|
If you will re-post this in QA, with the details you've disclosed: I will respond in greater depth, and I think you'll get many other helpful comments from other people.
best, Bill
"Everything we call real is made of things that cannot be regarded as real." Niels Bohr
|
|
|
|