|
Hi Luc,
The problem is that we dont want users to install programs since the control is based in a web client. Is there a way around this?, eg embeding the vsjlib somehow.
Regards,
Gareth.
|
|
|
|
|
Hi Gareth,
no:
- AFAIK you cant embed a dll into something else
- you are not allowed to distribute parts of .NET
but you may find a way around without vsjlib by using other classes that are available,
or by creating your own. What is it you really need ?
|
|
|
|
|
Hi Luc,
Im using a 3rd party DLL which creates some graphs, that uses the vsjlib. So i cant not use vsjlib since its not my code
I've contacted the 3rd party company but was hoping there might be just a simple way around it.
Regards,
Gareth.
|
|
|
|
|
I see.
You might consider another graphing approach then; there are several graphing articles
on CodeProject (and lots of commercial products as well of course).
|
|
|
|
|
To consider another approach would mean a months work would be wasted and a license fee payment wasted as well.
I found on the web you can distribute the vjslib.
http://www.codecomments.com/message160639.html
The problem now is, how do i make the 3rd party dll look at my version of vjslib and not the one in the windows directory.
Regards,
Gareth
|
|
|
|
|
Hi Gareth,
vsjlib.dll being redistributable is very good. Here are two attempts to use it:
1. put it next to the dll that references it, remove it from its original position
and see if the graph lib still works (or use some tool to see which vsjlib.dll
got used, TaskInfo might help here).
2. ask your vendor to come up with a product that includes its own vsjlib.dll and
does not reference the one that may or may not be in the system folders.
Good luck
|
|
|
|
|
The 3rd party guys got back to me and gave me the following URL:
http://devcenter.infragistics.com/Articles/ArticleTemplate.Aspx?ArticleID=1264
But i dont really understand it that well. I also tried uploading the vjslib to the webclients bin directory (same location as my controls bin dir) and i get a new error:
[FileLoadException: Could not load file or assembly 'vjslib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Failed to grant minimum permission requests.
I've signed the vjslib with our companys certificate but that didnt help.
Regards,
Gareth.
|
|
|
|
|
Hi Gareth,
I fail to see the relevance of the infragistics article; it does not contain "vsjlib".
I did not study it, as I am unfamiliar with web apps.
Is your graph lib a signed dll ? If so it needs vsjlib.dll to be signed also (with the
signature they expect, not with yours). If not, there would be no need to sign at all.
I suggest you Google "could not load file or assembly vjslib.dll"; there seem to be
issues with Win64.
|
|
|
|
|
Hi Luc,
The graph DLL is signed with our company certif, and if it wasnt, it would not be allowed to run in the web client. The webclient is running on a UNIX Solaris box and the client machines are all windows 32bit so i dont think the Win64 issue would be affecting this.
Regards,
Gareth.
|
|
|
|
|
Hello,
Im new to C#, I try to connect a pda to a server via GPRS.
But I have no idea to how start!
Anybody here who has a code example or can give me some information?
Thanks in advance
Regards,
Hulk
|
|
|
|
|
if you know the interface of the webservice,but you aren't sure what knid of transport protocol can be used, and whether to carray the infomation with the soap1.1 .Even you dont know where is it ,the web service.
How can you call the service in the runtime when you get some services that are fit ?
In dotNET, if you only dont know the address of the service, you can config the *.conf file together with the application to indicate the location.
hello world!
|
|
|
|
|
Set the URL of the webservice object at runtime. Make sure the definition is set to by dynamic.
File Not Found
|
|
|
|
|
Make sure the definition is set to by dynamic.
what is the definition?
hello world!
|
|
|
|
|
hello
long story, short tell ...
maybe someone knows a recipe to get the information if and which direct x version is installed? i tried to get it about the gac, but i dont find a member (using fw 2 & c#)?
thx for help
|
|
|
|
|
Hi,
there is version info in the registry under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectX
|
|
|
|
|
in the beginning i want to load the .html file inside the axWebBrowser and when i will click anywhere inside it i want the page to be opened inside Internet Explorer or any other browser (while the axWebBrowser will stay the way it was)
thx in advance!
|
|
|
|
|
Hi,
IIRC that is the default behavior, so try this:
string url="http://something";
AxSHDocVw.AxWebBrowser browser=new AxSHDocVw.AxWebBrowser();
object dummy=null;
browser.Navigate(url, ref dummy, ref dummy, ref dummy, ref dummy);
|
|
|
|
|
i'm loading an html page into AxWebBrowser like this
object o = System.Reflection.Missing.Value;
axWebBrowser1.Navigate(@"c:\1.html",ref o,ref o,ref o,ref o);
and i want that on clicking any link inside the .html, that it will be opened in internet explorer or some other browser....
any ideas?
|
|
|
|
|
Hi,
yes that is how I understood your question from start, and it is exactly what my
code in my app is doing (both under 1.1 and 2.0): the Navigate argument shows in the
axWebBrowser, and whatever you click in that page opens in IE.
And I would like to know how I can prevent it, i.e. have all clicked links open
in the same axWebBrowser !
|
|
|
|
|
i did as u sayed
and it opens all in same Axwebbrowser
here the code
string url="http://www.cnn.com";
AxSHDocVw.AxWebBrowser browser=new AxSHDocVw.AxWebBrowser();
((System.ComponentModel.ISupportInitialize)(browser)).BeginInit();
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
browser.Enabled = true;
browser.Location = new System.Drawing.Point(8, 112);
browser.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("browser.OcxState")));
browser.Size = new System.Drawing.Size(600, 300);
browser.TabIndex = 1;
this.Controls.Add(browser);
((System.ComponentModel.ISupportInitialize)(browser)).EndInit();
object dummy=System.Reflection.Missing.Value;
browser.Navigate(url, ref dummy, ref dummy, ref dummy, ref dummy);
}
here a rephrase of my problem:
How to force an IE window to be opened on link click from axWebBrowser:
I'm not interested in simple solution of getting the url and opening IE from process.start(IE,url)
the closest thing i had in mind is : when i right click the link from axWebBrowser and choose "open in new window" it opens it in new IE window, so I'm looking for a way ti imitate it somehow and perform the same action on left mouse click on that link (and in the background it will open a new IE window), like re-routing from axWebBrowser into IE.
again, im not interested in the url that is being opened on "open in new window" its more complicated than that, thats why I'm looking for a way to "re-route" from axWebBrowser into IE.
thx ahead!
|
|
|
|
|
i need to make make gridviewer to appear as main row and subrows under it like:
a
a1
a2
a3
b
b1
b2
b3
c# 2005 desktop application
ma_refay
|
|
|
|
|
and you share this information with us why?
life is study!!!
|
|
|
|
|
hi,
I am creating a editor and i have created a standard toolbar for File main menu.
i.e. A toolbox with new,open,save,saveas toolbox buttons.
Now i want to create a many tool bars of "Docking Toolbars"
e.g.Like Microsoft excel toolbars.
pls help me
With regards
Prasad
-- modified at 6:46 Wednesday 28th February, 2007
|
|
|
|
|
use ToolStripContainer
life is study!!!
|
|
|
|
|
hi,
Thank u for u r reply
can u explain me pls.
With regards
Prasad
|
|
|
|