|
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
|
|
|
|
|
He's already told you. Now that he's told you about ToolStripContainer it should be easy enough for you to take this further and actually do some research on your own.
BTW - please don't use text speak in your messages as it can be difficult to read. Text speak was designed for small screens where removing vowels was necessary to get the words to fit in. I assume that you aren't viewing the forums off your mobile phone, so you have more of a viewing area.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
HI,
I hope u didn't get my question.
see i want to have separate toolboxes for different menuitems
whenever user doubleclicks on it it should go to its position and user can able to reposotion it .
reference microsoft Excel Toolboxes.
Pls help me
With regards
Prasad
|
|
|
|
|
I hope u didn't get my question.
see i want to have separate toolboxes for different menuitems
whenever user doubleclicks on it it should go to its position and user can able to reposotion it .
reference microsoft Excel Toolboxes.
Pls help me
With regards
Prasad
|
|
|
|
|
Hello,
I have created an email application.
Error Message: The remote certificate is invalid according to the validation procedure.
But keep on getting this error message each time I try and send. The remote smtp is working ok as that has been tested using outlook, so i think something to do with my code, or something i have not done.
I have also tested this code using gmail's smtp server:
gmail@smtp.com using my gmail account details. Sent e-mail ok.
The code i am using to connect to a remote server is this below. can anyone tell me if I have done something wrong.
<br />
private void button1_Click(object sender, EventArgs e)<br />
{<br />
MailAddress msgTo = new MailAddress("steve1_rm@hotmail.com");<br />
MailAddress msgFrom = new MailAddress("Steve1.rm@gmail.com");<br />
MailAddress msgSender = new MailAddress("steve1.rm@gmail.com");<br />
<br />
MailMessage mailMsg = new MailMessage();<br />
mailMsg.To.Add(msgTo);<br />
mailMsg.From = msgFrom;<br />
mailMsg.Sender = msgSender;<br />
<br />
SmtpClient client = new SmtpClient("xx.xxx.xx.xxx", 25);<br />
client.Credentials = new System.Net.NetworkCredential("xxxxx@smtp.xxxx", "xxxx");<br />
client.EnableSsl = true;<br />
<br />
try<br />
{<br />
client.Send(mailMsg);<br />
}<br />
catch(SmtpException ex)<br />
{<br />
MessageBox.Show(ex.Message);<br />
}<br />
catch(Exception ex)<br />
{<br />
MessageBox.Show(ex.Message); <br />
}<br />
}<br />
Many thanks if you can help me with this problem,
Thanks,
Steve
|
|
|
|