|
If i use panel, then how do i display text on the panel. There is no 'Text' property associated with the panel ?
Imtiaz
|
|
|
|
|
Use label or Use Group box instead
|
|
|
|
|
No, but what I meant, that you place your label over the panel.
In this case, the transparence of the Label will work!
All the best,
Martin
|
|
|
|
|
Set the opacity property of the lable to 0 .This will make the label transperent and will give u the required effect
|
|
|
|
|
Opcity property is related to Form and not controls. Plz correct me if i am worng.
Imtiaz
|
|
|
|
|
Unfortunately, there's no built-in way to do this.
You'll have to build your own control to get real transparency.
One way to do this can be found here[^]
or here[^]
Regards,
mav
--
Black holes are the places where god divided by 0...
-- modified at 14:16 Wednesday 19th July, 2006
|
|
|
|
|
Hello friends
Could you please tell me How to access Outlook address book from C#.NET
Yogesh_T
-- modified at 3:29 Wednesday 19th July, 2006
|
|
|
|
|
<br />
Outlook.ApplicationClass appOut = new ApplicationClass(); <br />
AddressLists addLst = appOut.Session.AddressLists;<br />
Use addLst object to browse thru the address List
|
|
|
|
|
Hello
Please tell me the exact procedure to do this.
Thanks for your reply
Yogesh_T
|
|
|
|
|
Add reference to Microsoft Outlok COM component
and use the namespace Outlook.
and use the above to get the addressList
beyond I also don't know ....You have to dig it out.
|
|
|
|
|
Can Anyone Tell How To Increase Crystal Reports Performance
I'm Using Crystal Report Viewer And Web Services To Retrieve Data.
Ala'a Al Atrash
Special Systems Co.
Culture St. - Amman - Jordan
Software Developer
Work Tel:- +962 6 5664221 Ext. 140
Home Tel:- +962 6 4752702
Mobile Tel:- +962 7 96700423
|
|
|
|
|
Could be many different things. Look at your queries and fine tune them if possible. Also look at network performance as well.
Hope this is a start
|
|
|
|
|
hi,
i had tuned my queries, and it worked very good,
thank u very much.
Ala'a Al Atrash
Special Systems Co.
Culture St. - Amman - Jordan
Software Developer
Work Tel:- +962 6 5664221 Ext. 140
Home Tel:- +962 6 4752702
Mobile Tel:- +962 7 96700423
|
|
|
|
|
Respectfully,
First I have added a UserControl, then i have added a panel on it and on the panel i have added a combobox. But on run, when i want to select an item from combobox , it autohide the list. I can select the item by typing. When i click the dropdown button it opens the list. but when i try to select an item. The list get collapsed. Plz solve the Problem.
Thanks.
|
|
|
|
|
Hello,
Tried it out and worked fine.
Are you shure, that the ComboBox is in the Container of the panel?
All the Best,
MArtin
|
|
|
|
|
Yes i checked it again.
First i have made a usercontrol, then i make a panel on it, then i put all the controls on that.
But these all controls (Complete user control), i am adding at runtime on a Autocad Pallate.
Problem still exist?
Thanks,
|
|
|
|
|
I got this error when I ran cmd.ExecuteNonQuery(). But if I run the cmd directly in the database, it doesn't have any problem.
Can anyone know what causes it?
|
|
|
|
|
|
i have two tables one is class table,student table if i select a class from class table all the students presnt in that class should be added to list box if i select two classes all the students present in the two classes will have to come into the list box but i am getting only the last one of the class
can anybody help me please?
sivamyneni
|
|
|
|
|
Hi sivamyneni,
I think when you select one class , the result come in the list box. but when you select the second class , the previos result disappear and the new one shows. I am not sure what method you are using for adding in the list box. Before adding items in the list box , be sure, you should not clear the list. You have to append or insert into the list.
If problem not solved, than show the code to me.
|
|
|
|
|
Hi Aslam Bari,
I just want to find out how to append the items into the list
this is the code i used in my project
//
foreach(DataGridItem di in DataGrid1.Items)
{
CheckBox check=(CheckBox)(di.Cells[0].FindControl("checkbox"));
if(check.Checked==true)
{
// here retrieving the items from database to the dataset after that just wrote this code
Dataset dsItem=new DataSet();
ListBox1.DataSource=dsItem;
ListBox1.DataBind();
ListBox1.DataTextField=dsItem.Tables[0].Columns["ThumbNail"].ToString();
Thanks in advance
sivamyneni
|
|
|
|
|
Dear Sivamyneni,
Currently i don't know the problem with DataSource, i think at a time we can add only one datasource. I also couldn't find the listbox.DataBind() and listbox.DataTextField. What version of .NET u r using.
By the Way an alternate way i am giving here and try it..
//Connection to database
OdbcConnection con = new OdbcConnection("DRIVER={MySQL ODBC 3.51 Driver};server=localhost;database=mysql;uid=root;pwd=mysql");
con.Open();
//Get data from user table
OdbcDataAdapter ad = new OdbcDataAdapter("select * from user", con);
DataSet set = new DataSet();
ad.Fill(set);
//Here is the code to add all the items of the first column of the user table.
foreach (DataRow row in set.Tables[0].Rows)
{
listBox1.Items.Add(row[set.Tables[0].Columns[0]]);
}
////ON OTHER EVENT LIKE CHECKBOX OR BUTTON CLICK REPEAT THIS.
OdbcDataAdapter ad = new OdbcDataAdapter("select * from BILL", con);
DataSet set = new DataSet();
ad.Fill(set);
//Here is the code to add all the items of the first column of the bill table.
foreach (DataRow row in set.Tables[0].Rows)
{
listBox1.Items.Add(row[set.Tables[0].Columns[0]]);
}
|
|
|
|
|
hi,
I have made a vpn connection and tested it but i want to know how to run and launch it from the code or windows scripting host.I need to make an automatic program to run this vpn in random times and close it.
|
|
|
|
|
Hi
I have written a program to zip files with Shell32 in C#.
The program zips the folders and then deletes the original folders.
The problem is that the folders are big in size ,each being atleast 10MB in size.
Now when the program starts the delete process it gives me that the folder cannot be deleted because it is being used by other process.
Now I think that the zip process is not completed and the delete process starts and hence the error.
Is there any way to know that the folders are not being used anymore and then i can proceed with the delete operation.
Or is there anything that will tell me that the zip prcess is over.
I am using the thread.sleep method but it aint helping.
Thanks,
Nikhil
|
|
|
|
|
It would probably be better to use a .NET implementation of Zip because that way you can completely control it. And find out exactly when it finishes.
Free Libraries:
#ziplib - http://www.icsharpcode.net[^]
Xacc.IDE[^] has a BZip2 implementation
Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9
Ed
|
|
|
|