|
Yes, you can very well host a windows form or windows control in a web page, for that you need to make your form as a activex control, actually u just need to use the tlbexp.exe and get the .tlb file, make sure u gice a guid attribute to your class, u have to register the tlb using regsvr32 and use it as how u ll embed a activex control in a web page , using java script.
|
|
|
|
|
Hi,
Thanks for your reply. I am a newbie in C# language, i am still doing my research on this project. My chart s display in ActiveX control. I have no idea what is tlbexp.exe and .tlb and how can i register the tlb using regisvr32? Can you please give me some guideline on this?
Thank you so much.
Sincerely,
Velerena
|
|
|
|
|
What i need to do is get a row from a nodeTag and then insert that row into a new table while editing a column value.
The code below is what i do at the moment, but it never changes the value e.g.: copiedRow[classLabel] = newValue;
DataRow row = nodeTag.OriginalRowRef;<br />
mainDataSet.Tables["Modified" + nodeTag.ClassName].ImportRow(row);<br />
<br />
DataRow[] copiedRows = mainDataSet.Tables["Modified" + nodeTag.ClassName].Select("[" + classStruct.ClassKey[0] + "] = '" + nodeTag.NodeName + "'");<br />
foreach (DataRow copiedRow in matchingRows)<br />
{<br />
if (modifiedField.Equals(FieldModified.Label))<br />
{<br />
copiedRow[classLabel] = newValue;<br />
}<br />
else if (modifiedField.Equals(FieldModified.Name))<br />
{<br />
copiedRow[classLabel] = newValue;<br />
}<br />
<br />
mainDataSet.Tables["Modified" + nodeTag.ClassName].Rows.Add(copiedRow);<br />
mainDataSet.Tables["Modified" + nodeTag.ClassName].AcceptChanges();<br />
}
|
|
|
|
|
I fixed the error, by mistake i wasnt going through the in-correct data collection. The deadly copy and paste from another section of my code was to blame!
-- modified at 9:16 Tuesday 12th December, 2006
|
|
|
|
|
Hi,
I have a treeview in my application and a
righthand click on a node should have the
same behavior as a lefthand mouseclick.
For the lefthand mouseclick I use the eventhandler
<br />
private void treeViewServer_AfterSelect(object sender, TreeViewEventArgs e)<br />
{<br />
} <br />
The righthand click should call the same handler. But
the eventhandler "click" of the treeview
<br />
private void treeViewServer_Click(object sender, EventArgs e)<br />
{<br />
}<br />
provides not the TreeViewEventArgs of the "AfterSelect"
Some ideas?
Thanx in advance
Erik
|
|
|
|
|
very urgent..
Now I am doing a project.The core of the project is the
conversion of AVI format into 3GP. I cannot get any code from net
please anybody help me
Abhilash
|
|
|
|
|
Search for mencoder, maybe you con P/invoke this stuff?
else you can read the code and implement it in c#
|
|
|
|
|
Hello everyone,
I am programming with Window Mobile and I heard that in the .Net SDK supports not only web service SDK at client side, but also offline web service module support? That is really cool!
Could anyone recommend some samples/tutorials on this topic?
thanks in advance,
George
|
|
|
|
|
This sounds like you are talking about Smart Clients. Try this article for a view:
http://www.codeproject.com/smartclient/SmartClientSOA.asp[^]
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Thanks Pete! The smart client is only for desktop application, other than for Windows Mobile application, right?
What I need is the ability to provide offline Web Services function for Windows Mobile application. Any comments?
regards,
George
|
|
|
|
|
George - the whole concept works for both Desktop and Mobile applications (in fact, I would say that it is better for mobile than desktop apps). Have you looked at the Smart Client Application Blocks or the Smart Device Framework?
http://opennetcf.com/CompactFramework/Products/SmartDeviceFramework/tabid/65/Default.aspx/[^]
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Thanks for reply Pete! I have read through the document and related samples, and they are very informative. But, ... , I have not found any information about offline Web Services support ...
Maybe I am wrong or careless. Could you kindly point it from the URL/document you mentioned please?
regards,
George
|
|
|
|
|
|
Thanks Pete! This is just what I am looking for! You guy have a lot of good stuff!
regards,
George
|
|
|
|
|
No problem. I'm only too glad to help. Good luck there.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi Pete, in this Web cast, I only find some high level descriptions. Are there any materials about,
1. how to setup environment (both client/server side);
2. a simple sample with source codes?
In MSDN, I can not find.
regards,
George
|
|
|
|
|
Hi,
Am a Intermediete C# programmer,
can you please guide me which will be the best book to buy?
thanks and regards
Karam C Bose
Thanks
|
|
|
|
|
go for any book on wrox publishers
|
|
|
|
|
I have professional c#, i find it really boring! (
|
|
|
|
|
just make sure when buying one to take a good look into the index to make sure it covers almost everything "sockets are missing most of the time!"
All generalizations are wrong, including this one!
(\ /)
(O.o)
(><)
|
|
|
|
|
Thank you Muammar!
|
|
|
|
|
If you are intermediate programmer with good background, usually by now you should be looking for best practices, not just knowledge. You may find some advanced books on topic -usually the is no book on advanced C# as a whole with very few exceptions-. For example you might look for books on Database programming, advanced remoting, network programming with C#, etc.. You can browser sites like Amazon[^] for that.
Yet in sites like CodeProjects you would find articles written by people who faced certain problems and solved them. These articles usually provide very practical solutions to problems and are one of the best way to increase your knowledge in programming.
Also forums and discussion borads -again like those in CP- ,offer you a much wider range of problems -and programming by some definitions is no more than problem solving-. There you'd find wide variation of problems that people faced, and this encourages you to search for an answer to help, and in the same time to learn. Even if you didn't get an answer, usually there are more experienced programmers who would provide a best answer for most of the question -most of the time a question would have more than one good answer-. You can learn and increase your knowledge by just browsing problems and their solution.
Regards
|
|
|
|
|
"Complete Reference" - Herbert S
would be better to start with.
Regards,
Bhupi Bhai.
|
|
|
|
|
Thanks a lot Nader,
its really nice you took time for typing and help me out ,
cheers!
|
|
|
|
|