|
hi srichand,
You can use the Visual Studio Tools for Microsoft Office Applications (VSTO) if you're developing for Office 2003. It's an add-on for Visual Studio 2005.
Talal
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook
|
|
|
|
|
hi sultan
is any downloadable version for Visual Studio Tools for Microsoft Office Applications is available. if so can you send me that link please
thanks for ur suggestion and help
sri.
|
|
|
|
|
Hello again,
You can find VSTO here http://msdn2.microsoft.com/en-us/office/aa905533.aspx[^].
Hope this helps
Talal
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook
|
|
|
|
|
hi sultan
thanks for your help..
srichand
|
|
|
|
|
hi sultan
does this Visual Studio Tools for Microsoft Office Applications contains ADX components for developing new thing which could integrate as a plugin for outlook
may i know your yahoo messenger id so that i can chat and clarify my doubts regarding this with you..
that to if you are willing only
thanks yar...
srichand.
|
|
|
|
|
Well, I don't know what ADX is and the fact is that I'm not really familiar with VSTO, I just installed it this morning because I wanted to learn it for Word All I know right now is that I got a code-behind page for the Word document. You can add windows forms controls to your document and for example, implement the click events for buttons, contact a web service, etc...
Sorry I can't help you more on that.
Talal
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook
|
|
|
|
|
I am getting 2-Errors in creating an as here 1. "Could not find 'D:\Aleem\DSOControl1\obj\Debug\DSOControl1.dll' and 2. Error creating
assembly manifest: Error reading key file DSO.snk - the system cannot find the file specified.
As I didnt use assemblies till now, I dont know much about it. I will put the step by step process how I did I try it.
1. Created a Windows control library, and put all the required controls and functionalities in it.
2. Build it, and successfull.
3. Then at vs.net command prompt put "sn -k DSO.snk". It is also successful.
4. Then <assembly: assemblykeyfile("dso.snk")=""> put this in the assemblyinfo.vb file in the Control application(like
DSOControl1).
5. Then again I tried to build the application its giving errors as I mentioned above. Please tell me which step I miss and I did mistake.
Thank you.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Check that the key file is in the specified directory. I suspect that your assembly file lists it as "DSO.snk". Try putting in the absolute or relative (to the DLL) path instead. For instance, if it is in the DSOControl1 directory, you would reference it in the assembly file as "..\..\DSO.snk".
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.
|
|
|
|
|
I put it like this
sn -k "d:\Aleem\DSOControl1\Bin\DSO.snk", still its giving me the same error. What may be the reason. And If its correct, whats the next step that I should do. Please tell me, Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Now its giving error as this : 1. Unable to emit assembly: Referenced assembly 'Interop.DSOFramer' does not have a strong name.
Please tell me what may be the cause for this. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
That just generates the key. It doesn't do anything to bind the key into the assembly. In your assembly file (and I'm assuming that you're using VB.NET here) you need an entry like this in AssemblyInfo.vb:
<Assembly: AssemblyKeyFile("d:\Aleem\DSOControl1\Bin\DSO.snk")>
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.
|
|
|
|
|
Actually I am using the Interop services in this assembly. I am using a DSO Framer control in this and giving all its functionalities in then I am trying to make it as an assembly. Thats what my problem is.
Whats the problem with my assembly, why is it not building properly. Thank you.
Regards,
Aleem.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Hello all,
I have a C# windows application and I need it to contact an Axis web service. The service needs a certificate to allow access. I added the certificate into IE.
The weird thing is that when i enter the URL in IE, I get the following message:
<br />
Hi there, this is an AXIS service!<br />
<br />
Perhaps there will be a form for invoking the service here... <br />
I don't get the classical web service screen where you have the list of available methods.
Also, I am unable to make the "add web reference work."
Suppose the URL of the service is https://www.somecompany.com/service/soap.php, when i try to add the reference, I get that the HTML document does not conatain web service discovery information. so I tried this https://www.somecompany.com/service/soap.php?wsdl but I got an error saying the document format is incorrect.
The provider of the web service sent me the wsdl and xsd files. So I thought I would try using wsdl.exe. when I run >wsdl thefile.wsdl it says that it cannot find the xsd file, although the xsd file is located in the same folder and the URL that wsdl.exe says it cannot find is correct!
I tried running wsdl https://www.somecompany.com/service/soap.php directly, i got that the request was aborted because it couldn't create the SSL/TLS secure channel.
What I need to know is, is it possible to connect to such a service? and if so, how?
Thanks in advance.
Talal
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook
|
|
|
|
|
Hi all,
Not sure if this is the right place for this but please help if any one can!
I have created a program which i am deploying with clickonce from a file share on our server,
it installed on 2 clients no problem, but on the third a got the error:
Unable to connect to the remote server
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
and on the forth machine a got the error:
Unable to connect to the remote server
No connection good be made because the target machine actively refused it
On the forth machine i copied the installation folder to the desktop and started it from there without any problem.
Any help would be greatly appriciated.
Many thanks in advance.
|
|
|
|
|
I have a VB.Net 2.0 custom control which allows me to pick a date and a 24 hour time. The control consists of a standard DateTimePicker to select the date and for the 24 hour time a textbox (txtHours) to display the selected hour, a label (lblSelectHours) which consists of an image of the standard dropdown icon and a Panel object. When the user clicks on the dropdown label the Panel, containing one button for each of the 24 hours in a day, should pop up. However, the panel is nowhere to be seen even though I know the label's Click event is firing. I am pretty puzzled about this as the popup panel for the standard DateTimePicker in the control appears perfectly. The Panel object is defined in the control as being off the main area being displayed but when the user clicks the dropdown arrow (the label) the event handler below should set the correct position to appear and set Visible to true:
Private Sub lblSelectHours_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lblSelectHours.Click<br />
<br />
pnlHours.Left = Me.Left + txtHours.Left<br />
pnlHours.Top = Me.Top + txtHours.Top + txtHours.Height<br />
pnlHours.Visible = True<br />
pnlHours.BringToFront()<br />
<br />
End Sub
So does anyone know why my popup panel won't appear? If I copy the various components of the control and just put them on a form (ie: without the use of a custom control) the panel appears fine with this same code.
TIA for any help...
Mike
|
|
|
|
|
I am surprised to see Left+Left and Top+Top
maybe your coordinates are way off ?
Luc Pattyn
|
|
|
|
|
I have an issue. I have a datagrid that includes a dropdownlist when I populate it. What I want to happen is, when I load the datagrid, I also preset the dropdownlist to the value (if any) that's in the row from my SQL Server.
Right now, the values in my dropdownlist are 1, 2, and 3 for Not Arrived, In Warehouse, and On Location respectively. In the table, a row may have any one of these three values. Everything else is populated just fine. I'm just at a loss as to how I can programatically preset the value of the dropdownlist to the column value.
Any help would be greatly appreciated. The only other thing I can do is to have the value loaded when they choose to edit the datagrid row. That would work, but it would be nice to have it preset.
Thanks very much! BTW, I'm using VS 2003.
Pat
|
|
|
|
|
Hi,
Take the Value that is to be selected in the dropdownlist in a table that is binded to grid. And in grid you make that column visible=false.
We have an event ItemDataBound. in this event you write a code to cast the template Drop downlist to a dropdownlist and using the cell value you bind the selected one.
public void DataGrid1_OnItemDataBound(e EventArgs,Object Sender)
{
if(e.Item.ItemType==ListItemType.Item)
{
DropnDownList ddlGridDropDown=(DropDownList)e.Item.FindControl("ContolName");
ddlGridDropDown.SelectedValue=Convert.ToInt32(e.Item.Cells["CellName"].Value);
}
}
Hope this will work for you.
Thanks & Regards.
|
|
|
|
|
|
Well this all looks very impressive.
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.
|
|
|
|
|
And the question is ?
Luc Pattyn
|
|
|
|
|
I see that you got a 1 vote for this. May I suggest that you create an article (or two) about it. This is much more likely to drum up interest.
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.
|
|
|
|
|
Beating my head with this one...
How can I add a command line argument to a service written in .Net or, for that manner, can it be done?
Thanks,
Tim
|
|
|
|
|
When you create a WindowsService project the wizard generates an OnStart handler for you.
protected override void OnStart(string[] args)
Doesn't get much easier than that.
led mike
|
|
|
|
|
That's good.. but I am trying to find out how to modify the service startup to pass a command line argument, not the code in the service itself.
|
|
|
|