|
Things are starting to clear up a bit, but don't be frustrated when I tell you that you still didn't answer all of my questions. I'll put them straight this time:
1- Do you call GetCheckedIndices() from FormB directly? please post the code in FormB.
2- What is Global.Instance.Count_Indices?
3- When the above method is called by FormA. What are the numerical values of:
count, indice, TableListBox.CheckedIndices
4- Again when you call the same method from FormB; What are the respective values?
Forgive me if I didn't get a clear idea, or if I'm asking too much misleading question, but I'm trying to cover all the possibilities here.
Waiting for your reply. I hope that my next reply would be the answer.
Regards
|
|
|
|
|
Hi,
i want to format DateTime so that Day part of Date should be printed like that '1st','2nd','3rd','4th' etc. Please help me in this regard.
Best Regards
Kaleem
|
|
|
|
|
There is nothing built in to .NET that I'm aware of. The closest you'll get is say: 1 November 2006. You would have to create a custom class to handle this.
only two letters away from being an asset
|
|
|
|
|
hi
iam using atlas in my webapplication i need to upload an image and its not working
regards
chaitanya
chaitanya
|
|
|
|
|
So what is the problem you are encountering?
only two letters away from being an asset
|
|
|
|
|
Standard question #1:
What do you mean by "not working"?
Standard question #2:
What error message do you get?
Standard question #3:
What does your code look like?
---
b { font-weight: normal; }
|
|
|
|
|
i'm novice in C#.net 2005 and i want to know how to call or invoke the directX, how to display an image to the screen (full screen size) and how to play a music(.wav or .mp3).? what are the libraries needed..? Please give sample codes....
Sorry for my awkward english....
plz help!!!
-- modified at 7:41 Monday 11th December, 2006
|
|
|
|
|
Try using the DirectX 9 SDK. Examples are included. But if you're a novice at C# then I suggest you learn the basics first, since directx isn't so simple to begin with...
|
|
|
|
|
hi.....
what i mean of novice is im novice not on the language C# but only about invoking direct X using this language...... sorry for making you confused!!!
you have an idea about my problem..??
plz help!!!
|
|
|
|
|
Well, if you have some expercience already, I assume you already know about gdi. I'd use that to display the image. If you need a way to go fullscreen, just google. There's plenty of examples. Also, there's a p/invoke thingie for playing sound. If you insist on using directX, I don't see why you would, just use the examples that come with the sdk.
|
|
|
|
|
hi every one,
when u have an unbound combo box in the datagridview. how do u get the value selected in that combobox. I'm trying to do that and its giving me a nullref exception. I'm working in c# 2.0 windows forms
I was trying to access that with somethin like this
datagridview1["AttendanceComboBoxColumn",i].Value.ToString();
but its not working.
plz help its urgent
thanks in advance!!
Rocky
|
|
|
|
|
Hi all, Could anyone help me building an 'Un-Installer'. Our team developed a set of client applications. I am supposed to build an Un-Installer which can Un-Install more than one application based on User's choice .. Please help me (or refer me some resource) how I can build an Un-Installer in C# ??? Waiting for your replies ...
Thanks in advance
Kaliem
Two wrongs dont make a right but three lefts do...
|
|
|
|
|
to be specific, I want to develop Un-Installer in .NET ....
|
|
|
|
|
You can have a MSI project to setup right. That would manage your install and deinstall seamlessly. To create a MSI project you can access New -> Project -> Setup and Deployment project in your Visual Studio.
|
|
|
|
|
Hi all,
I have an application that fetches data from a web service, and then displays the data into the datagrid on a form.
I have put some images so that the form looks similar to the Web page developed for the same application.
Now the problem is when i show the form the form displays and then all the controls are slowly painted on it.
What i want is the form should not be displayed until all the controls are fully painted on the form. So that it does not flickers.
Any ideas, pointers in this regard will be appreciated.
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
there should be two function available called SuspendLayout and ResumeLayout .
hope this helps...
V.
No hurries, no worries
|
|
|
|
|
Hi every 1,
I have a project in which I am using DataGridView and I have to show ContextMenu on the grid.
The problem I am facing is, I need either the Index of the cell where the user "Right Clicks" or get it selected some how... The reason I can't do it is that the when I assign context menu to the DataGridView it takes over the RightClick event of the DataGridView meaning that it will never be fired.
If any1 can suggest a feasible solution to it I will be great full.
o O º(`'·.,(`'·., ☆,.·''),.·'')º O o°
»·'"`»* *☆ t4ure4n ☆* *«·'"`«
°o O º(,.·''(,.·'' ☆`'·.,)`'·.,)º O o°
|
|
|
|
|
|
Thanks Robert
You really saved my day..
ThaNKS AGAIN
o O º(`'·.,(`'·., ☆,.·''),.·'')º O o°
»·'"`»* *☆ t4ure4n ☆* *«·'"`«
°o O º(,.·''(,.·'' ☆`'·.,)`'·.,)º O o°
|
|
|
|
|
Hi,
I'm trying to check if a certain tabpage is selected.
This is how i tried it:
foreach (TabPage tabControl in this.tabControl1)
{
if (this.tbp1)
{
}
}
I didn't find any property which represents "selected" for this.tbp1.
And i also got an error in the foreach statement which says:
foreach statement cannot operate on variables of type 'System.Windows.Forms.TabControl' because 'System.Windows.Forms.TabControl' does not contain a public definition for 'GetEnumerator'
How can i iterate through my tabpages in a tabControl and check if a certain tabpage is selected or active?
Thanks in advance!
|
|
|
|
|
Hello,
You have to compare the Index property of the TabPage, and the SelectedIndex property of the TabControl.
foreach (TabPage tp in this.tabControl1.TabPages)
{
if(tp.Index == this.SelectedIndex)
{
}
}
Hope that helps!
All the best,
Martin
|
|
|
|
|
Bulls eye!
|
|
|
|
|
Hi,
try using TabControl.SelectedTab .
Robert
|
|
|
|
|
Hi guys,
I thank all of you for your reply!
But what Robert suggested did the trick
Thank you !
|
|
|
|
|
you can use the Selected or Clicked event of the tabPage (not the tab control) you can access this by selecting the tab control then go to the properties panel and on the top of the panel click on the drop down arrow and select the name of you tab page that u want to iterate. then select the events and select any event you wish
Good luck
|
|
|
|