|
Hi
before you are going through the .NET syntax and other .NET stuff. You should understand OOPs concept. There are lot of website describe the OOPs in better manner.
Once you understand the OOPs then you will get answers for your maximum number of question.
Thanks
Saravanakumar.K
Saravanakumar.K
Tokyo
|
|
|
|
|
Thanks for replying to my post Saravanakumar.K
I am right at the beginning of my studies. Could you suggest some links for beginners to OOP
Thanks in advance
Craig
csp
|
|
|
|
|
Hi
There are many websites are describing OOPs Concept, below link explain the OOPs with .NET as example
http://www.c-sharpcorner.com/Code/2005/June/OOPSand.NET2.asp
You can find many other OOPs tutorial by searching Google
Thanks
Saravanakumar.K
Saravanakumar.K
Tokyo
|
|
|
|
|
I am new to Biztalk Server and am having difficulty. I was able to do a project.Build and deployment were successful. Where I run in to difficulty is when testing When I drop the file in the in File folder - it leaves immediatley, but never appears in the out folder. Please provide me with some troubleshooting tips. I have checked the ports, all appear ok and are up and running. When I look at the BizTalkmgtDatabase I see entries in the receive and send tables, but the message never appears. Please provide help ASAP.
Heather
|
|
|
|
|
Hi ,
Can any one please let me know how can i use the vc++ code in c# using the concept of Managed and Unmanaged code?
Bcoz i dot have any idea about the interface so please suggest me about how i can go ahead.
Thanks
|
|
|
|
|
Yes, if your new to this i would start simple. For my final project at uni i had to wrap an old C++ header file to .net. It was very tricky, but not imposible!
First have a google at wrapping C++ into .net, and get round the concept of IJW (it just works) that try a basic C++ concole app first in MC++ to wrap it into .net!
your first example wants to be simple, then move on to pinning parameters, this is a bit complex.
good luck
andy
|
|
|
|
|
I heard on the MS parnetship sites that the VS2005 service pack 1 was shipping next week. But, the public potion of MS says Q3.
Does anyone know the truth?
I heard it has edit and continue for c#, so I can't wait.
Nick
1 line of code equals many bugs. So don't write any!!
|
|
|
|
|
What do you mean with "Edit and Continue"? I assumed it just meant you could change the code from the debugger and continue execution of the modified code directly. But since this is already available for C# in VS2005 without any service pack, you must be referring to something else?
|
|
|
|
|
It doesn't work for me. Is there a setting?
It barks at me if I try and continue. On the partnership sites it says ts not available till q03.
1 line of code equals many bugs. So don't write any!!
|
|
|
|
|
..its defintely in. I use it all the time. Had an idea that the service pack isn't out for quite a while yet, which is a pity as there's quite a few issues which need addressing.
Tools->Options, Debugging->Edit and Continue->Enable Edit and Continue.
Regards,
Rob Philpott.
|
|
|
|
|
I don't have the Debugging section in Tools->Options.
Although I have the VB setup because I like the VB shortcuts better. Is that an Issue?
Nick
1 line of code equals many bugs. So don't write any!!
|
|
|
|
|
As far as I'm aware it's due in q3. However, VS 2003 SP1 should be due any time now. Maybe that's what the confusion is?
Kevin
|
|
|
|
|
We have used one listbox in windows form and we bind it with datasource from database.
Listbox allows multiple selected.
How can we retrive value of selected items from the list box??
we tried following thing
for(int i=0;i
|
|
|
|
|
What do you think is the selected value?
You filled the list with a DataView (which is a set of DataRowViews), so SelectedItems[n] returns the selected DataRowView.
I hope you have already tried that:
MessageBox.Show( ((DataRowView)lstEducation.SelectedItems[i])[0].ToString() )
_________________________________
Please inform me about my English mistakes, as I'm still trying to learn your language!
|
|
|
|
|
Thanks lot,
It works, Thank you very much.
Please give me link of ur blog if u r writing
Nilesh Gambhava
Nilesh Gambhava,
Life is NP-Complete so don't use Algorithm but use Heuristics
|
|
|
|
|
Along with the first post you can also set the DisplayMember and ValueMemeber to the column names you would like to display and key off of.
-Richard
|
|
|
|
|
i made a webform in asp.net and i want to print that web form design by clicking the button in the webfrom.anybody know how can i do it?
thank you so much
|
|
|
|
|
Sure you can print it! Attach to button this client script "window.print()" it's all you need to do. Also you can put two functions on your page
function window.onbeforeprint()
{
//Make you changes before printing, like
//hiding unnecessary while printing elements
}
and
function window.onafterprint()
{
//Restore previous state after printing
}
|
|
|
|
|
IS it for visual basic ,asp.net webform?
|
|
|
|
|
No, it's Javascript. If you would use ASP.NET to print anything, it would be printed on a printer connected to the server.
---
b { font-weight: normal; }
|
|
|
|
|
I am using Asyncallback in .net CF development. I added the callback in a button_click event, but as I run the program, it is fine to deploy the program, but as I click the button, error occured. The message is 'An unhandled exception of type 'System.NotSupportedException' occurred in System.Windows.Forms.dll', and it stopped at 'application.run(new form())' I used the begininvoke to start the callback, and endinvoke to get the result. Thanks for your help.
|
|
|
|
|
For size and performance reasons, the .NET Compact Framework supports only a subset of the .NET Framework. Control.BeginInvoke() and Control.EndInvoke() are two of those methods not supported by the .NET CF. You will need to use Control.Invoke() or some other asynchronous mechanism instead.
-Phil
|
|
|
|
|
Thanks for your reply. So you mean that in .net cf, BeginInvoke() and EndInvoke are not supported. But as I opened a new thread, I can use BeginInvoke() and EndInvoke(). Here comes the source code.
button_click(....)
{
...
Thread myThread = new Thread(new ThreadStart(myThreadMethod));
myThread.Start;
}
myThreadMethod()
{
this.BeginInvoke(delegate, object)
}
I posted the detail of my question with some source code below, and thanks for your help.
I am using Asyncallback in .net CF development in a button_click event. There is no problem when I deploy the program, but as I click the button, error occured. The message is 'An unhandled exception of type 'System.NotSupportedException' occurred in System.Windows.Forms.dll', and it stopped at 'application.run(new form())' I used the begininvoke to start the callback, and endinvoke to get the result. I used ppc 2003 emulator, and vs2005. Thanks for your help.
Here comes part of my code:
private delegate int CalcDelegate(int input1, int input2, ref string strResult);
CalcDelegate mDeleg;
private void button1_Click(object sender, System.EventArgs e)
{
mDeleg = new CalcDelegate(Calc);
int input1 = Convert.ToInt16(textBox1.Text);
int input2 = Convert.ToInt16(textBox2.Text);
string strResult = null; // dummy parameter
AsyncCallback cb = new AsyncCallback(CalcCallback);
IAsyncResult ar = mDeleg.BeginInvoke(input1, input2, ref strResult, cb, null);
Thread.Sleep(1000);
}
private void CalcCallback(IAsyncResult ar)
{
string result=null;
int output = mDeleg.EndInvoke(ref result, ar);
textBox3.Text = output.ToString();
}
if I could not use BeginInvoke() and EndInvoke(), how can I change this code? Thanks.
|
|
|
|
|
I think you're second block of code is ok. The BeginInvoke() and EndInvoke() methods of delegates are supported by the .NET Compact Framework, as far as I can tell. (I believe the BeginInvoke() and EndInvoke() methods are implicitly created by the compiler, for each type of delegate declared, and not really a part of the Delegate class API itself.) It is only Control.BeginInvoke() and Control.EndInvoke() which are not supported (as used in your first block of code).
-Phil
|
|
|
|
|