|
string allstr = "";
for (int count = diction.Count; count > 0; count--)
{
allstr += diction.ElementAt(count-1).Value;
}
MessageBox.Show("allstr = " + allstr);
8.Kelvin()
{
while (!(the machine can program itself))
Wont_stop_coding = true;
}
|
|
|
|
|
I got this error message.
'System.Collections.Generic.Dictionary<int,string>' does not contain a definition for 'ElementAt'
I appreciate your help all the time...
CodingLover
|
|
|
|
|
CodingLover wrote: I got this error message.
'System.Collections.Generic.Dictionary<int,string>' does not contain a definition for 'ElementAt'
Add
using System.Linq;
will do.
8.Kelvin()
{
while (!(the machine can program itself))
Wont_stop_coding = true;
}
|
|
|
|
|
or just use
diction.Last().Key
and
diction.Last().Value
will do.
8.Kelvin()
{
while (!(the machine can program itself))
Wont_stop_coding = true;
}
|
|
|
|
|
Hi,
I am using rich text box to display data from database but i want to display data from from a an other world which is on the middle or some where in database like i have data,
Please remember to search our articles, the forums, MSDN and Google before posting your question.
Now i want to start the first letter in rich text box like MSDN not from Please
Kindly tell me what i should do please do replay.
Thanx.
|
|
|
|
|
I don't really understand the question, you would like to get some random words which will be placed inside your rich textbox?
I'd do that something like this:
String s = "Please remember to search our articles, the forums, MSDN and Google before posting your question.";
String[] words = s.split(' ');
String endString = String.Format("{0} not from {2}", random.Next(words.length),random.Next(words.length));
If this isn't what you want, then you should recapulate your question.
|
|
|
|
|
Dear,
Thanks for your replay but it is not what i am saying i am just saying that if i have some data like A to Z but when data fill in rich text box the starting letter must be
F in database of A to Z not started from word A.
I think you will understand my question now.
waiting for your replay.
|
|
|
|
|
I really don't get your question.
What is the text in the database? And what is the expected output?
Like you have this in the database: 'a b c d e f g h' and the output is 'f g h' or something.
And where do you have the problem? Splitting the data to whichever you want or getting data out of the database?
|
|
|
|
|
|
|
Hi, I want to change the url displaying on browser when a file is opened through it. For example,
file:///s3413.pdf/ to http://NewWebapplication.pdf
how it is possible using c#?
|
|
|
|
|
Write a new browser in C# and make it to do something horribly anti-standards as you just described.
Otherwise, it's not gonna happen. It should not happen. Do not so much as think that what you are asking is reasonable.
Now, if you just want to talk about redirection from an actual web site, not your local file system, there are things that can be done. But those don't involve C# either.
Don't let my name fool you. That's my job.
|
|
|
|
|
Well...It can be done...It is known as URL Rewriting Take a look into this URL ReWrite[^]
Or try Google for more articles.
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)
|
|
|
|
|
I know what URL rewriting is.
What you missed is that the OP is trying to rewrite when he is looking at the file system, NOT a web server.
Since there is no web server involved, there is no URL rewriting possible unless you write your own browser and then distribute that browser to all your customers.
And that's a really stupid thing to do.
Don't let my name fool you. That's my job.
|
|
|
|
|
Oops!! I got it ...I missed out the file system...Thanks for enlightening me
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)
|
|
|
|
|
Had it been a web served document, your answer was rather good.
Don't let my name fool you. That's my job.
|
|
|
|
|
Hi friends...
Please help....
I have created a setup in VB.NET and installing in different machines. Now the problem is that the same setup is working on some machine fine, while same setup is not working. When i am trying to run the application its giving a message that "unable to find a version of the run time to run this application".
And also i want to tell you that all those machine having same configuration and same operating system, same anti virus.
Now please help me... i got frustrated with this kind of error.
krishna veer singh
|
|
|
|
|
install .Net Framework in those pc plus this[^] is VB forum...
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
|
|
|
|
|
What Version of Visual Studio did you create your Application ?
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
Hi,
While i register an TcpChannel sometimes it shows exception 'TcpChannel already register'
How to check the TcpChannel already register or not?
Thankyou,
YPKI
|
|
|
|
|
Hello. This is my first post. I'm an online teacher with only a little experience of actually creating web pages so I'd like to ask this question. I was referred here from another forum to an article about creating search engines with a C# spider but the article is quite old so I thought I'd ask here.
I'm trying to duplicate a site, www.acrofiche.com and I believe that the web master is using some code to gather and collect the links rather than manually inputting them into a database. Right now I'm looking to hire a programmer who can do the same thing for me but create an easy-to-use interface so I can do the same thing this site is doing without massive data entry.
Some have suggested that he is using a web crawler and C# to find the document links in an automated fashion. Another person mentioned curl and fsockopen() coupled with some regex code or something like Snoopy.
I'd like to know how this site is created so I know what I need a programmer to create for me since I'm doing this as a side hobby and don't want to get totally ripped off. If anyone has any suggestions, I'd appreciate it.
the site is www.acrofiche.com
|
|
|
|
|
I'm sure a lot of people here could help you to write a web crawler; sadly, I'm not one of them. It might be helpful, though, to use View/Source to see what the site is outputting to your browser. That often leads to a wealth of information about the site directory structure, and from there you can often access other information that the designer never meant users to have. Few understand how to fully lock down a site, and you may find good resources such as scripts and server-side code that you can use. Many sites allow FTP access using the username 'email_address' with a password of Guest, and you might be able to glean a lot of information that way. I don't recommend stealing anyone's code, but as a learning tool nothing beats looking at code that actualy works.
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
|
|
|
|
|
Hi all experts,
i would like to know how can i include libraries from SDK softwares into C#? thanks!
|
|
|
|
|
|
Hi ,
I am building a ASP.Net page using c#. I have two tables. In the Employee_details table I have created a reference number for each role. In the master_table I have employee names and the reference numbers from Employee_Details table. Now when I list them in data grid based on a search criteria I should display the name and the role of the employee. How should I do this? We should be able to do this by adding dataset relations.I just forgot that all of sudden. can anyone help me?
|
|
|
|