|
he posted just a code snip where he gets the Uninstallstring from registry of the selected node in the treeview. comparing the text of the node with the DisplayName coming from registry..
|
|
|
|
|
where will we get text of the node from is it treenode of registry
|
|
|
|
|
he uses a treeview on a form
the treeview is build at initialize or some where else...
this snip is only finding the correct uninstallstring according to the selected node..
take a look an System.Windows.Forms.TreeView and Microsoft.Registry to understand!!
|
|
|
|
|
hi.
i want write cms project but i dont how create anew webform.
iwant until press button ,create a webform with c#.
i must use whaat code?
please code me!!!!!!!!!!!!!
|
|
|
|
|
I'm not handing you any code, instead you get my advice to buy and study a book. You have a lot to learn judging from your post.
Do it, do it now!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Luc Pattyn
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
it's just like "I have a screwdriver and I want to build a plane"..
forget it, learn first how to write a hello world in C#.
|
|
|
|
|
|
torabi23 wrote: please code me
Realizing that English is probably not your native tongue, I will let you know that no one here is likely to code a cms up for you for free. We are here to help you if you have a specific question but most of us are way too busy with our own jobs...
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Individuality is fine, as long as we do it together - F. Burns
Help humanity, join the CodeProject grid computing team here
|
|
|
|
|
torabi23 wrote: please code me!!!!!!!!!!!!!
Wow. Just wow.
torabi23 wrote: i want write cms project but i dont how create anew webform
If you don't know how to post in the right forum, how to create a blank form, how to ask a question, then it's plain you need to contact your 'client' and tell them that you are a con artist. You obviously have less than no idea. If you thought about this at all, you'd realise that no-one can, in a forum reply, tell you how to write a CMS, starting from 'how to create a blank form'. I doubt any books exist that cover all of that, in one go from absolute beginner through to professional code.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hello,
Now I have an array of 7 bits bytes or a string I want to take the last bit from the second byte and add it to the right most of the first and so on which will result in a new 8 bits byte Is there any direct way to do that than using loops and arrays? Example http://www.dreamfabric.com/sms/hello.html How can I do this by c#?
Thanks.
Dad
|
|
|
|
|
Shouldn't be too difficult to figure out an algorithm for it... Some hints:
1) To check the rightmost bit of a number: (x % 2) // Remainder when dividing by 2) The generic form would be (x % (1 << numBits)) to get any number of bits.
2) To remove the rightmost bit: (x >> 1) // Shift right one bit
3) To add a bit to the left of a number: (x + (newBit << currentBitCount))
As for the algorithm, you know exactly how many bits are moving into and out of each byte... Each group of eight septets turns into 7 octets... So the formulae are:
oct0 = s0 + ((s1 % (1 << 1)) << 7)
(Start with septet 0, get 1 bit from septet 1, shift it 7 places left, and add it to septet 0)
oct1 = (s1 >> 1) + ((s2 % (1 << 2)) << 6)
(Shift out one bit, since we moved it to octet 0, grab 2 bits from the next byte, shift 6 places, since we're one place shorter, and add)
oct3 = (s2 >> 2) + ((s3 % (1 << 3)) << 5)
See the pattern?
(A = this byte, B = next byte)
octN = (A >> N) + ((B % (1 << (N + 1))) << (7 - N))
Do that for 7 bytes, skip the 8th byte (All 7 bits from the 8th byte would be shifted to the 7th byte), and start over.
|
|
|
|
|
Hi,
In my C# program i'm filling data retrieved from the stored procedure in a excel sheet template. the excel sheets contains some 5 sheet. when i try to insert data into the sheet4 the program is returning me a error the object not found, the data are inserting into the sheet 1,2,3 without any problem. The program is not recognizing the sheet 4 or more. please help me...
Thanks,
Vinoth
|
|
|
|
|
A new excel instance only has 3 sheets, you must create sheet4 to write to it.
|
|
|
|
|
EliottA wrote: A new excel instance only has 3 sheets, you must create sheet4 to write to it.
Not true, the initial number of sheets is an option setting in Excel; e.g. on my system it's only 2. Also, the OP already stated that there are 5 sheets in the template.
|
|
|
|
|
Hello everybody,
I have a database that has multiple rows and columns some of the rows share for the same value of fields(columns). So I want to merge or combine these two or more rows and make invisible the line(s) found between(among) them while the others are being visible, using DataGrid. Please any of you help me. I'm in need, it's urgent.
Thank you.
modified on Tuesday, September 29, 2009 8:43 AM
|
|
|
|
|
Read Data from DataBase, merge the common fileds and save data in a datatable and then assign datatable to datagrid.
It would be good if you provide some code.
|
|
|
|
|
Al right, but I want to merge for rows not for columns, any way here is the code.
<
command = new SqlCommand("sp_query", itsConn);
command.CommandType = CommandType.StoredProcedure;
command.Parameters.Add("@IDNumber", SqlDbType.Int).Value = infoId;
itsAdapter = new SqlDataAdapter(command);
itsAdapter.Fill(itsDataSet, "Schedule");
itsDataGrid.DataSource = itsDataSet.Tables["Schedule"];
itsDataGrid.DataBind();
>
|
|
|
|
|
I want a button to generate Product id on C# winform. Pls i need your help
|
|
|
|
|
I am not clear about your question. Pls explain.
|
|
|
|
|
Hi,
What kind of product id you want to generate? Is there any particular format for that id? Please explain your question first so that someone can help.
Regards,
Paramhans Dubey.
|
|
|
|
|
string productID = Guid.NewGuid().ToString();
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN%
R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
-----------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
First read the guide on how to ask questions. Then, ask a clear question. Do you not know how to create a button ? Where is the id stored ? What does it need to look like ? Do you want to enter an id, or have it auto generated ?
At the end of the day, whatever the answer to my questions is, this is a simple enough task that you probably should buy a basic book and read it, and not be doing any sort of paid work at this time.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
LIQUID NITROGEN
Harvey Saayman - South Africa
Software Developer
.Net, C#, SQL
you.suck = (you.Occupation == jobTitles.Programmer && you.Passion != Programming)
1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111
|
|
|
|
|
delete
modified 2-Apr-21 5:22am.
|
|
|
|
|
hi,
check ilmerge. this might be help out
|
|
|
|