Answer Questions
Waii unload a dll
I know you can load a (unknown) like this: Dim asm As [Assembly] = [Assembly].LoadFrom(FullPAthAsmToLoad) How do you unload a dll Remco According to the .NET Framework documentation, you should use application domains for the separately (un)loadable units of code. In your case, create a new AppDomain using System.AppDomain.CreateDomain() ; load the assembly into it using System.AppDomai ...Show All
Michael Finlan disable command prompt (2nd window) when launching windows application
i have created a windows application with visual studio .net 2003. after clicking 'build', the .exe is created. when i double click the .exe , both the 'program' created as well as a 2nd window that is a ms dos prompt / command prompt - 2 windows are launched. the command prompt has no text displayed within it, and its just an annoyance: if you close the ms dos prompt, the program is forced closed too -- if you close the program, the prompt is c ...Show All
FrancoA Rich edit scrolling help
Hiya Could to with some help. Can anyone tell me how I could get two rich edit boxes next to each other to scroll together. i.e. line n in the left hand box is always in line with line n in the right hand box. Both boxes are the same height. I am completely at a loss about this so any help would be most appreciated. Im using VS 2005 and C# btw. Thanks in advance, Chris p.s. sorry if this is in the wrong forum, thinking about it it should be in a ...Show All
RobSmith Wizard Control for .NET
Hello, I am looking for a control for my new application that acts exactly the same as a tab but without the tabs. Is there any way of removing the tabs in the Windows forms control without changing the offset ...Show All
triston oconnor difference b/n ShowDialog() & Show() method of form
Whats the difference b/n ShowDialog() & Show() method of form ShowDialog stops the parent form from responding until the dialog is closed. This is called a modal form. Show just shows the dialog, the parent form continues to be alive, so you have a floating dialog, but your main app continues to respond also. ...Show All
KevS ClickOnce localization
Hi, I have built a globalized application in .net 1.1 and created an msi file to install it. The application detects at runtime the CultureInfo.CurrentCulture.Name and loads the correct localised assemblies. I have then upgraded the application to .net 2.0 and i have decided to use clickonce instead of the msi file. Everything works fine a part from always using the default resource files and not the ones appropriate to my machine CultureInfo.Cu ...Show All
Prashant Soni event on scaning barcode
hi , i am using vb.net 2003 and i want to scan barcodes with the scaner i want if the scaner completes the scaning doesn't matter what the length is the next textbox is focused i tried it on different events but could not find the&nbs ...Show All
pablo123456 transfer unmanaged memory to Bitmap object
I have a program which reads raw image data from audio hardware. I am reading the data in unmanaged C++ code. In a managed C++ routine, I have a pointer to an unmanaged unsigned char array. I would like to load a bitmap object with&n ...Show All
rosswashere Memory Leak?
For some reason, when I add a debug.writeline statement to my C# windows form, the amount of memory the process is using constantly increases while it is running. Here's how to replicate the problem: 1. Create a new C# windows form project 2. Add a& ...Show All
Amit Nalla Prerequisites and ClickOnce Application
Hi All, I deployed ClickOnce application with prerequisites(.Net FrameWork,Sql Express etc..). The application is working fine. In the long run if I have to upgrade my application and if it needs some other prerequisites, is there any way to include prerequisites with application updates Plz suggest any solution for these scenario. Thanks in advance Srinivas Hi Srinivas, Unfortunately there is no way to have ClickOnce auto-install up ...Show All
Julian Ladbury Newbie Question - Adding a "Next" Button
I am completely new to using Windows Forms and Visual Studio. I downloaded a Sample code off of this site called "Tabbed MDI" I plan to use this as a starting point. Currently the only way to navigate from one form to another& ...Show All
Vergie Can VSTO project publish by ClickOnce ?
Hi. I am doing a test on ClickOnce, the concept is quict nice to me, however, I have a though that using VSTO, I can doing my application Presentation Layer by Excel. Therefore I quickly implement a small Excel project. then use clickonce to deply. everything going so fine, no warning or exception occur. but when I try to lunch the application by browser, it is not working... does ClickOnce support this scenario ...Show All
Watch Pick n Poke Action Databinding to dataset in seperate class problem
I have created a strongly typed dataset using the designer and saved it as a seperate class library project for use as a simple business layer. I can drag the tables onto forms and achieve similar drag n drop databinding as i could if i had created the dataset within the windows forms project, the only difference is that the tableadapters components arnt added to my form and i have to fill the dataset myself. my problem is that it doesnt s ...Show All
gdexter Trigger fill dataset from other form
Hellow, This is the situation: I have one form (form1) and another form (form2). Form1 is the standard form that opens on application run. In form1, there's one datagrid, bound to a dataset (members of form1). When I click on a button "new row" in&n ...Show All
empty mind Call UC load event from main form
I have main form (Windows Application) that loads other UCs. When I load certain UC, it loads data for that UC. On each UC, I have buttons (eg. delete, add etc.). I want that when I click on add button to add some data, automatically after adding that certain data, UC control reloads. How can I do that Thanks. I tried Activate event as well and as long as I remember, it didn't work. When I was implementing ...Show All
