|
I have to make shared AddIn Setup each time according to make the code and test it. There is another method to avoid setup process each time.
Please help me. Its urgent
Thanks
Arun Kr
Arun Kr
|
|
|
|
|
Hi, All
Who have experience with used gcServer on .NET 2.0. Please share experience.
|
|
|
|
|
Hi all,
I have created a Windows Service in visual Studio 2005 beta version.In this service,I want to import a dll called CamtoJ2k.dll.
[DllImport("CamToJ2K.DLL", CharSet = CharSet.Unicode)]<br />
<br />
static extern bool CamToJ2K(string sourcePath, string destinationPath, int qFactor);
I also copied this dll in bin\debug folder.
When i ran the service ,i got an error that unable find the dll.
Exception:System.DllNotFoundException: Unable to load DLL 'CamToJ2K.DLL': The specified module could not be found. (Exception from HRESULT: 0x8007007E)Plz tell me about
1.how to import dll in service
2.do i need to add any reference to this dll(i tried this but couldnt able to add )
Thanks in Advance..
cheers
sangeet
cheers
sangeet
|
|
|
|
|
Are you sure your service is being run from the bin\debug folder? Also, does your CamToJ2K.dll have any dependencies that might also need to be copied to that location?
-Phil
|
|
|
|
|
Hi,
I made a .net assembly which in which I put an activeX control called DSOFramer. I have converted this in a windows control library and compiled it and installed it in GAC.
This library contains the code to display and edit the office documents similar to DSOFramer control. This same code when tried with DSO Framer and windows application it is displaying the documents. After this,
I tried to put this control on a web form, by using
/* <object id="DSO1" classid="
"DSOControl1.dll#DSOControl1.FramerControl""
width="800" height="300" style="font-size:12;">
<param name="FileUploadURL"
="" value="http://localhost/ServerFileUpload/UploadFile.aspx" />
<param name="MaxSessionUpload"
value="10646" />
*/ tag as above.
But here its not displaying any word or excel file. Could anybody please tell me whats wrong with this and how should I achieve my target. Please tell me if you know. Please.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Hello All,
I'm working on a project where I'll have multiple controls on a Windows form that may get updated when messages are received on a socket being listened on by a worker thread or the controls might get updated from the main thread.
The way I currently understand it is I need to set the controls properties using a delagate if control.InvokeRequired is true.
How could this be done without having to have a delagate method for each control on the form? There are many of them and they all could be updated from the worker thread.
All advice is appreciated.
Thanks.
|
|
|
|
|
Try reading up on the SynchronizationContext class. This article[^] might be a good start.
|
|
|
|
|
Sir/Madam
I am Final Year Engineering student. I want to get information about connection of computers at different cites.
Actually if I want to computerize a department of any company which have its offices at several cities then what steps I should follow.
Means how I can connect that no of computers in appropriate manner to get desired output.
I want to make it just like railway reservation system through in which if I enter data at same time then database must be able to prioritize data in sequence to enter in database.
Which database & platform or language I should use to code this kind of project.
Thank You
Ashish Porwal
|
|
|
|
|
hi
nice idea
actually this all system is on Intranet so u have to know more about INTRANET
SP
--
Bugs can neither be created nor be removed from software by a developer. They can only be converted from one form to another. The total number of bugs in the software always remain constant.
|
|
|
|
|
I am designing a control that will be manipulated BOTH at run time and design time through a property grid. I have some properties that I would like to hide form the run time property grid as they are not part of my run time interface so to speak (IE: Have no bearing on the run time user experience).
I see this happening already because at run time, when I attach the property grid I am not seeing any of the properties that are in the native 'Design' property category so I know it can be done.
I have tried the simple thing of just putting my properties that I want hidden in that same category but no dice.
I found an attribute called 'DesignOnly' that seemed promising but it does not do what it sounds like it does. MS docs say that it can be used to make a property read only at design or run time, not make it invisible. I found an article in Visual Studio Magazine that seems to indicate different however and have written the author asking him. His article says the following:
"The convenient design-time–only DisplayImageIndex property lets control users pick which image to show. You can apply two attributes to this method's declaration: <category ("design")=""> tells the Visual Studio Properties browser where to list the property, and <designonly(true)> hides it at run time."
Are there any takers out there?
Before you reply here, I already now that you can use the 'Browsable' attribute and hide the property, but this hides is from BOTH design time and run time property grids.
|
|
|
|
|
Ray Cassick wrote: I see this happening already because at run time, when I attach the property grid I am not seeing any of the properties that are in the native 'Design' property category so I know it can be done.
These properties probably have the EditorBrowsable attribute applied with the state set to EditorBrowsableState.Never . In addition, they may also have the Browsable attribute applied and set to false.
You can get more information on the EditorBrowsable attribute here:
http://msdn2.microsoft.com/en-us/library/system.componentmodel.editorbrowsableattribute.aspx[^]
You may want to use EditorBrowsable with the state set to EditorBrowsableState.Never , which states:
The property or method is a feature that only advanced users should see. An editor can either show or hide such properties.
-----------------------------
In just two days, tomorrow will be yesterday.
|
|
|
|
|
Hi,
As part of an application I'm writing, I created a simple help form. basically, I'm just displaying an html file in a webBrowser component.
As of now, I'm loading the html file from my personal server but obviously that solution doesn't scale for a large number of users (at any rate, not with my home brewed linux-apache setup).
I know there is a way to load html files from the resources into the web Browser control but I have not idea how to proceed. I gave it a shot and included a help.htm as a file resource in my form and then called webBrowser.Navigate("res://help.htm") but it is not working.
Can anyone help please?
Thanks a lot.
Allad
----
Navigator - Your best alternative to Windows Explorer
|
|
|
|
|
I dont think you can do that in a simple way. Here are some ideas:
- distribute your help text as one or more separate files
- include code to turn help resource into one or more local files
- include code that is a simple web server which makes your help resource available
as a set of URL pages.
Luc Pattyn
|
|
|
|
|
It is possible, but you can't embed the html resource in a C# assembly. Check out the following article for information:
Embed Win32 resources in C# programs[^]
-----------------------------
In just two days, tomorrow will be yesterday.
|
|
|
|
|
Hi,
I'm writing an application and I need to load some settings at startup. So before, the creation of the main form, I open a settings file and read the preferences.
The settings are correctly read. So far, so good.
But, when closing and I try to save those settings back to the same file I got an exception : "unable to open "library.xml". The file is being used by another process".
Actually I'm displaying a splash screen (spawn in another thread) before the main form. when I comment out the code for the splash screen, I don't get any more exceptions.
So, I'm wondering? Is there anything wrong about showing a form (the splash screen) before the usual Application.Run(frmMain) statement? Cause basically, the splasher is just another thread in the same process and I abort that thread right after displaying the main form.
Any help is welcome.
Thanks for your time.
Cherif
----
Navigator - Your best alternative to Windows Explorer
|
|
|
|
|
I'd prefer showing the splash screen from your Form's constructor or Load event using another thread. Also read the settings from the form's constructor, not the Application class.
Regards
|
|
|
|
|
thanks for your reply.
I've followed your advice and so far, no more error.
Thanks again.
----
Navigator - Your best alternative to Windows Explorer
|
|
|
|
|
Hi,
there is nothing wrong in having another thread showing a splash screen before creating
an instance of your actual application, in fact it is the way I prefer it (create and
show the splash as soon as possible, with the least amount of app code running yet,
and close it as late as possible, i.e. at the end of the main app's constructor, or in
its load event).
But I do have two remarks:
1. if the splash has to share something with the actual app, be careful to close
and syncrhonize things properly (e.g. the settings file, is your splash reading/writing
it ? closing it ? if so, did you establish a lock ?)
2. I did not like the abort you mentioned. You should not abort/kill a thread if there
are softer ways to achieve what you want (e.g. Form.Close, or setting a flag that makes
a loop terminate).
Luc Pattyn
|
|
|
|
|
|
In theory there shouldn't be a problem, but some of the IDE extensions are still in beta.
Kevin
|
|
|
|
|
Thanks Kevin.
So worst come worst, those new IDE extensions may cause crashes if I use them, but generally when i develop anything against 2.0 framework, there should not be any issues as-is.
|
|
|
|
|
|
Hiii
For testing a NMS (network management system) , we need to create virtual networks of different types having different devices such as WinXp machines, printers, scanners etc.
There are softwares available to do this, but we want to develop our own.
Any hints on what needs to be done ??
i mean how can i create virtual systems by writing some code ?? which dlls , which APIs etc ??
If you know it , Please help !!!
In God We Trust. Everything Else We Test.
|
|
|
|
|
Please do not cross-post in multiple forums.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hello friends,
while acessing a SOAP Web Service am getting a error "org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize."
please tell me any solution for this...
Rgds,
Nithin
|
|
|
|