|
I can change the wheel of a car going at over 1000mph
My current favourite word is: I'm starting to run out of fav. words!
-SK Genius
Game Programming articles start - here[ ^]-
|
|
|
|
|
|
Hi.......
Every is possible ......
Try this code for disable and enable USB MASS STORAGE
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Microsoft.Win32;
private void button1_Click(object sender, EventArgs e)
{
RegistryKey delKey = Registry.LocalMachine.OpenSubKey("SYSTEM\\CurrentControlSet\\Services\\USBSTOR", true);
delKey.SetValue("Start", "00000004",RegistryValueKind.DWord);
MessageBox.Show("USB MassStorage Disabled");
}
private void button2_Click(object sender, EventArgs e)
{
RegistryKey delKey = Registry.LocalMachine.OpenSubKey("SYSTEM\\CurrentControlSet\\Services\\USBSTOR",true);
delKey.SetValue("Start", "00000003", RegistryValueKind.DWord);
MessageBox.Show("USB MassStorage Enabled");
}
|
|
|
|
|
I have a dataset with thousands rows i want to devide it in multiple datasets can any one tell me the solutions.hanx
|
|
|
|
|
can you please specify the situation where you want to do this ?
|
|
|
|
|
Why did you ask this, delete your post, and ask it again ?
Why do you need a dataset with thousands of rows ? Wouldn't it be better to ask for the data in the form you want it ? Why do you need to break it up ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Can someone tell me or refer me to an example of how to print data from a datatable please? I need to get the data from a data table and print it in a report. Thanks.
|
|
|
|
|
use Crystal report
wasim khan
|
|
|
|
|
Best option, use Crystal Report and print it as your custome format
|
|
|
|
|
hi have to print my datagrid values like this........
Printed out should be like
Pepsi 500ml £1.09 coke 500ml £1.09
Fanta 500ml £1.09 Sprite 500ml .99p
but i am getting print out like......
Pepsi 500ml £1.09
coke 500ml £1.09
Fanta 500ml £1.09
Sprite 500ml .99p
|
|
|
|
|
Wow - I answer your question, so you repost it ? Why didn't you respond to my answer ? It's clear to me from the code you posted that you're getting by copying and pasting code you find on the internet and do not understand. If you remotely understood the code you posted, this change would be trivial for you. Either way, I explained how to do it.
If you don't understand something when it's explained to you, ask on the same thread. Don't repost, it makes you look rude, and it also leaves us with the feeling that you're looking for a complete cut and paste solution because you're too lazy to learn how to do it yourself. I can write this code for you, but I prefer to encourage people to learn for themselves. That tends to help people who want to be programmers, and cut out people who just want to take on work and get us to do it for them.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
sorry one of my frind posted it again...
|
|
|
|
|
You have two people sharing an account, and trying between you to work out how to print items in two columns ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
now i got some idea from u thank u very much
|
|
|
|
|
>>Sorry my friend posted it again.
Who is your friend?
cse.vidiya>>It's another bot.
OK,. what country just started work for the day ? The ASP.NET forum is flooded with retarded questions. -Christian Graus
Best wishes to Rexx[^]
|
|
|
|
|
|
|
You want to split hte data between two datasets ? Did you have a use for the full dataset as well, or would you be best to handle this by getting the two sets from your data source in the first place?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Please Don't Delete Any message
|
|
|
|
|
Abhijit Jana wrote: Please Don't Delete Any message
There are no such thing as stupid questions, only stupid people, right?
|
|
|
|
|
leppie wrote: There are no such thing as stupid questions, only stupid people, right?
Nope. I'm pretty sure that there are stupid questions. My wife keeps me well informed when she thinks I hit the mark.
|
|
|
|
|
I'm using XP and I can't search eventlogs for a specific string like vista.
is there any tool to do that?
|
|
|
|
|
From Eventviewer -> View -> Filter, you can filter Data.
If you want search String, you can create your custome Tool. and i thing that you can do with some Effort.
|
|
|
|
|
hello does someone know how to put a code in one of the treeview nodes???
i want every nodes to open differennt window forms..
how can i do it??
please some sample codes.. i really appreciate it,
ginji
|
|
|
|
|
Well, I assume the nodes have a tag property. You could set that, handle the selected node changed event, check the tag and based on that, open a form.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|