|
liqnit wrote:
RadioButton rbNew = new RadioButton ();
rbNew.Name = (rbNew.Name.ToString() + i.ToString());
rbNew.Text = TempString;
rbNew.Visible = true;
pnVSSProjects.Controls.Add(rbNew);
You're not setting the Top and Left properties of the controls you're creating to move them around the container they're in. This means that each one is being put in the exact same place, so the first one created is the only one you actually see. All the others are behind it.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
thanks
it's working great now
Have a nice Day
|
|
|
|
|
Hi All,
In my application User selects the file which is *.dll by browsing on the System. Now i want to find out this dll is .NET assembly or Com dll.
How should i find out the Dll is Managed dll or unmanaged dll programatically??
Thanks,
TusharM
|
|
|
|
|
Try to Load the dll file in a try catch block. You will recieve a System.BadImageFormatException
for unmanaged dll's.
try
{
Assembly.LoadFrom(@"C:\WINDOWS\acb.dll");
}
catch(System.BadImageFormatException ex)
{
MessageBox.Show(ex.Message);
}
catch ( Exception ex )
{
MessageBox.Show(ex.Message);
}
|
|
|
|
|
If i create a file or whatever can i give it a protected status?
Once thats done would it be possible to remove it as well?
|
|
|
|
|
What do you mean by "protected status"?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
How, can I call an excel macro fom C#?
Thanks
|
|
|
|
|
do not know exact code for Excel but I just dug through simular
thing (only with MS Outlook ), you can use Interop to dig down all objects in Excel.
1. set referense in solution explorer to ms excel com library(COM tab).
2. get a handle of Excel namespace:
using nsExcel=Microsoft.Office.Interop.Excel;
from there to run a macro it is basicaly just the knowlege of Excel objects
and not much of c#.
|
|
|
|
|
Thank you
You are probably right what I need is know how to call an excel procedure from an external program
Regards
|
|
|
|
|
I want to put my referenced assemblies in a subfolder of \bin .. like \bin\assemblies. My application is in \bin.
By fefault .NET puts my app/assembly in same folder as my referenced assemblies. i use "Local Copy" of all references.
Is there a way to tell .NEt to use other locations?
//Maw
|
|
|
|
|
How to instantiate C# from Excel?
|
|
|
|
|
You don't! C# isn't a class, but a language.
Perhaps a more detailed explanation of the problem would help?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Create a COM component, then you can use it from an Excel macro.
|
|
|
|
|
Thank you
And How can I create a Com component in C#?
L.
|
|
|
|
|
There are a *lot* of tutorials about this on the web, search Google and MSDN and you'll find it. Probably you'll even find some sample that makes Excel communicate with a C# component.
|
|
|
|
|
hi,i want to make a voice chatting software
in C# can anyone tell me the road map that i should follow, i mean, that tbe things i should know first to develop such a software or what i should know to complete it efficientlly .thankx
|
|
|
|
|
PLzz give me quick response bc i am making project on operating system i choose java or C# for making the simulation of operating system and i want to make my project on linux
rana......linux
|
|
|
|
|
You might have easier to find tools for java on the linux platform, as C# is more of a Microsoft product.
Other than that it's more a question of taste. Personally, I like C# better, but I bet you don't have to look for long to find someone with the opposite opinion.
---
b { font-weight: normal; }
|
|
|
|
|
hi there
Aamir Rana wrote:
making the simulation of operating system
can u explain more here?
Aamir Rana wrote:
i want to make my project on linux
for me, java is supported better in linux env
<< >>
|
|
|
|
|
i am in fast varsity and i have subject name operating system and i have a project to make the simulation of operating system
in phase 1
implement virtual machine
phase 2
implementing shell
.........
|
|
|
|
|
the language u have to decide to select is up to u.
As my opinion, java is better in linux env
So good luke to u and hope ur project is done well
Happy coding
<< >>
|
|
|
|
|
Hi there!
I also think, that Java would be better for a linux application.
|
|
|
|
|
How can I call COM interface from C#?
|
|
|
|
|
hi there,
U need to have a look at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vcwlkcominteroppart1cclienttutorial.asp
<< >>
|
|
|
|
|
i can't find any Tab Control in ASP.NET ,i want code for adding Tabstrip control in my project,Is there any way 2 add that control in my proj?i hav seen that IE doesn't support for Tabstrip control in asp.net1.1 ..
ranjith reddy.
|
|
|
|