|
How are you referencing the VB .NET library? Did you add it by browsing and selecting the dll (binary reference) or by selecting it from the Projects tab (in VS .NET) ? If it is the former and if Copy Local is set to true, then Visual Studio won't watch for modifications to the library, instead, it will simply use the local copy (that's what Copy Local does). My guess is that you added it as a binary reference, whereas for C# controls, you had them in the same project and therefore added them through the Projects tab.
You can try setting Copy Local to false (Right click on the reference in VS .NET, click Properties). Or, if the changes are very infrequent, you can manually copy the library to the C# project's bin/debug directory (or do it as a PreBuild step).
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
Yeah its added as a binary reference.
Right i'll get the guys to try your suggestion out, i see what your saying, and thats worth a try.
It does seem to be more when you look at the designer of a form containing the controls, though.
Si
|
|
|
|
|
Hi!!
i m developing one application in which i want to access any pc( stadt alone, lan pc ,behind firewall pc).
what i have done for this is i have created one remoting server that is going to installed on pc which i want to access and i m accessing this remoting server from web serve through remoting client..
This thing is working fine in my internal lan . but when i tried this from out side i m not able to connect to my lan pc..
Waiting for your early reply...
Thanks in advance..
|
|
|
|
|
I have run time generated data table and table style including numerictextboxColumns. I set datatable to datasource of Datagrid1. Before setting datagrids table style, user can move on cells with tab key , after setting table style, when user try to move on datagrid with TAB key, cursor jump 2 cells not one :S
What s problem.
|
|
|
|
|
You will have to override the PreProcessMessage of the DataGridTextBoxColumn and NumericUpDown. There you can control the TAB key. Look for this method in MSDN. If you want I can post some code snippet.
|
|
|
|
|
I have an API function like this:
void theFunc(LP_STRUCT theStructPt);
theStructPt is a pointer to struct STRUCT.
I want to use it in C#, so I have this
[DllImport("myDll.dll", EntryPoint="theFunc")]
public static extern TheFunc(IntPtr theStructPt);
I call the function and the theStructPt pointer point to my required struct now. But I dont know how to convert the memory where theStructPt point to to struct so I can use it. I want something like that:
MyStruct str = (MyStruct) theStructPt;
str.var1 = "hello";
str.var2 = 5;
Anybody help me! Thanks alot
|
|
|
|
|
|
Duong Tien Nam wrote:
[DllImport("myDll.dll", EntryPoint="theFunc")]
public static extern TheFunc(IntPtr theStructPt);
Did you try this?
public static extern void TheFunc(ref STRUCT theStructPt);
|
|
|
|
|
Hello
how do i create a new RadioButton in run time?
i getting a list of name would like to create a radiobutton on the form within a panel .
when i try :
RadioButton rbNew = new RadioButton ();
i get
Embedded statement cannot be a declaration or labeled statement<br />
please advice
thanks
Have a nice Day
|
|
|
|
|
Searching for the error brings up that you maybe put the statement inside of an if-statement, which isn't allowed. Try the following instead:
RadioButton rbNew;
if (something)
{
rbNew = new RadioButton();
}
If this doesn't help, please provide the surrounding code.
www.troschuetz.de
|
|
|
|
|
thanks a lot
Have a nice Day
|
|
|
|
|
hi
How can i add user control in class library
|
|
|
|
|
Hi
I have to work on multithreading concepts in c# windows application.
Design a form with 3 labels and 3 text boxes and a button.
I should enter the time in three text boxes. Three different times. And press the Button.
Label 1 should become green color after the entered time period in text box1.
Label 2 should become Yellow color after the entered time period in text box2.
Label 3 should become Blue color after the entered time period in text box3.
I should have three threads to start three processes. Start the three threads in the button click.
Thread 1 to start the thread and wait for the entered time in text box 1 and make the label 1 green. And so on.
U should enter the time in milli seconds. 1 second = 1000 milliseconds.
So if I want to enter 5 seconds. I should enter 5000 in the text box. I should Write a windows application for this.
Pls anyone explain me how to do this . pls help me to do this sample.
dhol
|
|
|
|
|
I'm no expert in Threading but i could accomplish the same task without explicitly using threads. I used the Timer class.
|
|
|
|
|
Hi,
I have a problem in drawing lines.
I am drawing lines using mouse events when I draw the second line it will start from the end of the 2 line and when i draw the 3 line which should start from the second line but the problem is I CAN OVERWRITE the first line which should not happen AT ANY POINT OF TIME NO LINES SHOULD BE overlapped. When I press a key like 'C' the first line and the last line should coincide with out overlapping any line.
Plz do help me if u have any solution
Advance Thanks to all.
Regards
Suresh
|
|
|
|
|
|
Hi
I am using a third party dll in my project but now I want to use the updated version of this dll.How can I use this dll in dotnet.
Thanks & Regards
Pradeep Kr. Kamlapuri
Pradeep Kr. Kamlapuri
DotNet Programmer
Bhanusoft Tech Pvt Ltd
Noida
|
|
|
|
|
Just put the new DLL in place of the old DLL and you should be fine.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
I am creating a page dynamicly(using stringbuilder, then PageOut) I want to be able to dynamically name a button, then get input when that button is pressed. How do I do so?
|
|
|
|
|
How do I pass variables between aspx pages?
Example with CGI
http://www.dotcom.com/thepage.cgi?plugin=0&affiliate=marryweather&randval=213510766
So, how do I pass variables in a similar fashion?
|
|
|
|
|
Hi
Do this
Response.Redirect("mypage.aspx?id1=val1&id2=val2");
On the page mypage.aspx u can retrieve these values as follows
Request["id1"];
Request["id2"];
shashank
|
|
|
|
|
Does anyone know a library containing functions that directly decompresses a packed DIB that is a result of using "avifil32.dll's" AVIStreamGetFrame into a type Bitmap or any other type that a picture box could recognize. Thank you very much!!!
regards,
Raymond
|
|
|
|
|
Hello
I am doing a project in which i have to move a plane on the form from one side of the screen to the other. But the problem aries because i also have to play the sound parallel to it for this purpose i am using threads. I am moving the iamage by cahngeing the postion of the image but the movment is not uniform some time it stops for a whle and some time it moves on fastly.If any one know the solution plz let me know.
|
|
|
|
|
How can i get the CPU serial number or HDD , ...ets
|
|
|
|
|
I think such informations are stored into the registres...
Try this key entry for a start "HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0"
I hope you understand...because is a rough world out there...
|
|
|
|