|
HI,
Plz advice me to learn c# and .Net packages.
Guide me the way to start learning.
Priscribe the books or links to follow.
Tell the order of learning packages like can i learn ASP.Net without knowing c#
Awaiting for you valuble guidence.
Thanks,
Preethi.
|
|
|
|
|
Preethi_123 wrote: I have 3 years experiance in VC++, MFC
Honestly, Seeing your questions I kinda doubt your experience.
Plz advice me to learn c# and .Net packages.
I advice you to learn .Net
Guide me the way to start learning.
Buy a book
Priscribe the books or links to follow.
See amazon, there is a rating for each book I think, but if you have a good basics book, you'll learn the rest from msdn.
Tell the order of learning packages like can i learn ASP.Net without knowing c#
See this tells me you don't have a clue about .Net. .Net is language independent. You can create .Net winforms and webforms with VB, C++, C# and I even heard you can do it with COBOL if you really like too. The thing is that the only valid options you have considering your experience is C++ or C# and I would go for C#. ASP.Net is more complex then winforms and it's easier to develop if you can keep your mind off pointers and garbage collection.
hope this helps
|
|
|
|
|
Thanks, I dont know Anything about .Net that is why i asked these questions.
|
|
|
|
|
Start with C#. It's the main language for .NET, and is a more modern language than C++. While studying C#, you will gradually encounter more and more .NET concepts.
Start with any beginning book on C#. Then "Effective C#" by Bill Wagner is a good second book. It covers key points that a beginning book will gloss over.
There are three versions of C# in current use. After the first two books above, "C# in Depth" by Jon Skeet covers C# versions 2 and 3, assuming you already know version 1.
ASP.NET and ADO.NET can be used from any .NET language, and are used to make web pages and access databases.
|
|
|
|
|
What is the difference between AddPrinterConnection and AddPrinter.
And when do you use one instead of the other?
Thanks
|
|
|
|
|
please get me component and other requirement for this project.
|
|
|
|
|
no
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer)
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
|
|
|
|
|
succinct, to the point. its got my 5!
|
|
|
|
|
Why? Do your own homework.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Component = Phone, You
Requirement = Phone Rings, You Answers.
Now go start doing your assignment...
|
|
|
|
|
Gees...........Can I also get somebody to do my work for me?? I don't think so............Is this another Easterner??
Excellence is doing ordinary things extraordinarily well.
|
|
|
|
|
Hi All
**********Programmin Challenge**************
I am developing a desktop application in C#.Net which opens
another form of an unmanaged application. The WinForm(of unmanaged application) has number of controls on it .Textbox has a focus when application starts.I just want to focus on the third control which is a button by programmatically pressing the tab key
SendKeys.SendWait(Keys.Tab.ToString()); //for taking focus on second control
SendKeys.SendWait(Keys.Tab.ToString());
//for taking focus on the desired button which has a tabindex=2(0,1,2)ie third control
It is not taking the focus from the textbox to the button but instead typing in the textbox "Tab".
Thanks in advance
Sandeep Kalra
I am the ONE
|
|
|
|
|
Sendkeys.Send("{TAB}")
and arrange your tab order in the IDE
Life - Dreams = Job
TheCardinal
CTC-RDG
|
|
|
|
|
If you have created an application which uses database, and installed it for your client. Next you have updated the application and updating the database structure. So the client's database and the newest database has different structure. What is the ideal way to update the database structure, and still using client's previous entered data. I use C#.
|
|
|
|
|
This has been discussed a lot; it's a common scenario. Here's a thread on the MSDN forums that discuss dealing with SQL schema changes from the C# side of things.
|
|
|
|
|
I'm currently creating an application that reads the structures of old and new database, creates insert query and executes it to the new database from C# application. This means I have to executes lots of rows. I'm looking for a better way if any.
|
|
|
|
|
Where can I find sample codes showing implementation of Monte Carlo rabin_karp search NOT just a pseudocode.
Thanks
|
|
|
|
|
Angelinna wrote: Monte Carlo rabin_karp
What? Honestly, this is one of the strangest sounding questions I've heard in the last 4 years in this forum.
A google search for monte carlo rabin_karp doesn't produce any results.
Can you explain what it is? Then maybe we can help you.
|
|
|
|
|
This is a pseudocode for Monte Carlo rabin_karp algorithm.
Input Parameters: p,t
Output Parameters: None;
Mc_rabin_karp_search(p,t)
{
m = p.length
n = t.length
q = randomly chosen prime number less than mn2
r = 2 ^(m-1) mod q //computation of initial remainders
f[0]=0
pfinger = 0
for j = 0 to m-1
{
f[0] = 2*f[0]+t[j] mod q
pfinger = 2*pfinger + p[j]mod q
}
i = 0;
while(i + m<=n)
{
if ( f[i] = = pfinger)
println (“Match at position”+i)
f[i + 1] = 2*(f[i] – r*t[i]) + t[i+m]mod q
i = i +1
}
}
What am seeking is a sample of a working code to help me understand it actual implementation.
Thanks
|
|
|
|
|
I would suggest trying the Mathematics and Algorithms forumn. I'm sure somebody on there might know what you talking about.
Excellence is doing ordinary things extraordinarily well.
|
|
|
|
|
Are you saying you are unable to turn that pseudo code into a method? Maybe you should consider changing occupations. I'll pay you $50 to mow my yard.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
I'll add my 50 to that, and she can clean my drive when she's finished your yard.
|
|
|
|
|
|
Hi Guys,
I am working on a console app which telnets to a linux server. Now this linux server ask for a username and password which i try to send via my code. Now everything works up until the SendKeys.SendWait() - it seems that the window does not react to the "Enter" command. I have tested this with some other telnet servers, which are not linux and they work. Any help or if any other work around are available I am open for anything.
My issue is - I have a system built by ADP and would like to grab data from them and put it into my on db to process. However, their system is closed and the solution I came up with is to screen scrape what I need. If you guys know something alredy out there or can point in the write direction it would be great.
Thanks ahead of time.
public string Login(string Username,string Password,int LoginTimeOutMs)
{
int oldTimeOutMs = TimeOutMs;
TimeOutMs = LoginTimeOutMs;
string s = Read();
while(s == "" )
s = Read();
Console.Write(s);
if (!s.TrimEnd().EndsWith(":"))
throw new Exception("Failed to connect : no login prompt");
Console.Write(Username);
SendKeys.SendWait("{ENTER}");
|
|
|
|
|
Not sure I can help, but I wrote a telnet client to do similar stuff (connect to a SCO UNIX box and manipulate a third-party character-based application). I had to create a script language for it. A Windows Service would cobble up the necessary script and run it.
A sample script to log onto a server, execute ps -a , and disconnect:
<login:
@someserver
<Password:
>myusername
<TERM
>mypassword
<$
>
>ps -a
$exit
The important bits are:
System.Net.Sockets.TcpClient
System.Net.Sockets.NetworkStream
Anyway, I didn't use SendKeys, I simply used Read and Write on the stream.
I would have written an article on it, but the handling of telnet options isn't quite right.
|
|
|
|