Incorporate A Webservice Into A Windows Application?
Jan 9, 2007I am trying to incorporate a webservice into a windows application. Basically I would like the current weather from www.weather.com display on my windows app.
View 2 RepliesI am trying to incorporate a webservice into a windows application. Basically I would like the current weather from www.weather.com display on my windows app.
View 2 RepliesI have a web service that I will need to add as a web service reference in my vb.net application which is a plug-in to Outlook. I initially tried adding the reference by right clicking on the Project and selecting "Add Service Reference". In the box that pops up, I type the web service url in the address field and the namespace name and click ok.
Warning 2 Custom tool warning: Cannot import wsdl: portDetail: There was an error importing a wsdl:binding that the wsdl: port is dependent on.XPath to wsdl:binding: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:binding[@name='IAConnectServiceHttpGet']XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org
[code].....
I am using VS2010, and i am deveolping a 3 tier application.how to consume a webservice from a windows application form ?
View 2 RepliesMy application is connecting to a webservice but when the webservice is offline, it will show a messagebox saying there has occured an error in my application. Giving me the option to send a report...I surrounded my whole code with a try catch to catch unsuspected errors. But still this window appears. How can I stop this?
View 5 RepliesI wanted to make mysql dump files using a batch file and an app made through visual studio 2008.How can I incorporate this batch file or call it from vb?There is a code like this in vb.net but its using an absolute address:
Process.Start("C:exeexecute.exe")
How do I modify this so that I could just execute the file without providing the exact address. Or is there any place in the file system(windows 7) where I could just copy the exe file and just call it this way?
I am working with Vb.NET 2005, I want to incorporate a search tool on my application so that it can search for various combination simultaneously.
[Code]...
I am wanting to incorporate a Script Control into a vb.net application as opposed to using excel for logic calculations in the background. This is for users to store logic and have it repopulate a custom interface. I would rather store everything in sql server and evaluate it through a Script Control. Also, is there a Script Editor in the .net framework that would allow for entering the code? Maybe intellisensing as well?
I used the MS Script Control, however i don't think it supports the .net functions and is reletively old.
I want to use mssql on web... but i dont want to decompile my application code... (by reflector or...) How i lock my application for to reflector or may i use my application same webservice, and how?
View 3 RepliesThis is the function that I use in web service for getting current windows user.
<WebMethod()> _
Function User() As String
Dim p() As String = Split(My.User.Name, "")
[code].....
A lot of command line utilities use parameters, such as[code]...
How do I set up a .NET console application to take in command line arguments and, secondarily, how can you emulate handling "option" parameters like /i and /tlb: in the respective examples above?
Web service uses SQL Server based authentication how to change to windows based authentication both web server & Database service resides in different domain .
View 1 RepliesI created a Script Editor in a Windows Application using a RichTextbox and Regex for adding the colors for the coding. However it is not close to the Real VB editor. Is there some real good examples out there of how to build one or some free downloads?
View 1 RepliesI particularly like the Publish facility within VS 2008 (VB). What I actually want to do is use the same facility for a Spreadsheet. I.E. I have a Spreadsheet with a chunk of VBA code behind it.
Is there anyway to incorporate the spreadsheet into a VS 2008 VB project so that I can use the "Publish" facility to distribute updated versions of the spreadsheet from a web page (As created by the Publish Wizzard)
I am looking to incorporate a progress bar into my project to assure my fellow workers that the program is continuing to run after the process has been started. I have looked here[url].If someone could include the progress bar into my code posted below,[code]...
View 1 RepliesThis seems like it should be easy. I have an Excel file that has the information I need, but I don't want to need Excel to run my program. I need to be able to package that information with the VB code. I'm using VS 2010.
I know how to write a program to read Excel and put information into an array, but can I turn that information into something my next program can read independently of the original spreadsheet. This isn't something I have time to input by hand.
I'll try to explain this one more time so that it's clear as mud. I need to be able to incorporate an Excel spreadsheet or VBA code into a VB program so that it becomes independant of MS Office and/or (because it'd be nice to know how to do both) read information from the Excel spreadsheet and then save that array for use in a later program thereby removing the influence of Excel completely.
Finally, I'll explain my program and desired function so that somebody might be able to interperet my desperate ranting. I am writing a program that will require properties of steam to calculate boiler performance. I have found an example of the properties I need [URL] or I might be able to find other sources. I now need to roll that information into my own program.
I currently have two projects that are working fine alone. One is a simple chat program (found on forums) and the other is a client tool for my clients to use. I want to add a button to my client tool that executes the chat. When I try to add the chat code to my client project I get errors and understanding some of the issues. I know that some of it is that there is a form in the chat with buttons for connecting to the server and then a button to start the chat but I want to make it "one" button from my program that is "chat" and it connects and opens the chat form.
[Code]...
how to incorporate Ribbon UI into my VB.net form????
View 2 RepliesI am currently working on my Final Project and I need to incorporate some Exception Handling. I have created one in the following code but it isn't working. I don't have any "Errors" or "Warnings" but when I run the program it says the "BadNameException was unhandled." I thought I followed the steps correctly from my book, but I am stuck somewhere. [code]
View 6 RepliesI have been using vb express for some time, but do not know how to incorporate/ use a provided library in my app. I received the library for use, but have no idea how to use it in an application.
View 8 RepliesI was learning to incorporate Text to Speech functionality through this project
View 4 Repliesthis is my coding so far and it works all fine:
Private Sub btnCalculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculate.Click
'calculates the required Payments e.g. Monthly, Yearly and Total'
Dim dInitial As Double
[code]....
So what I'm trying to do is add another 'IF' statement of error handler in whereby if the user enters in a value that is not a double such as a string value it will display a message saying 'the data entered is not valid, please use numbers only'.
I am having a windows application. That downloads files from server and write into the local directory. It works fine. When we try the same appliication in Windows 7. IT shows an error Access to the path denied (While writing to the local directory).
View 1 RepliesI have developed a VB 2010 express application that works on my windows 7 machine, but when I deploy it to other windows 7 machines the application will not run at all. I created an msi script to install the software on other machines and it includes the .NET 4.0 framework an all of my application dll's and such. Any idea what might be he problem?
View 2 RepliesI have embedded the WMP control in my Visual Studio 2010 app which works on windows 7 (Framework 4.0), but installing the app on winXP, I get the following error:
System.IO.FileNotFoundException: Could not load file or assembly 'Interop.WMPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Interop.WMPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
[code]....
WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging, set the registry value [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.To turn this feature off, remove the registry value [HKLMSoftwareMicrosoftFusion!EnableLog].
I guess this is a reference issue, but I have added references to WMP libraries (axinterop.wmplib.dll and interop.wmplib.dll). The WMP works on the XP machine, but not when called from my application.I have searched the web now for 5 days and changed references, and reinstalled the media player on the XP machine, but nothing works.
I have seen this happen before but am not sure how I resolved it in the past. On runtime the controls of my form change from the windows 7/vista format to an older version format as shown in the attached image.
How to display the controls in the format on the left (new windows format)
I need to read data from an Excel workbook in my VB2005 application. I've add a reference to the Microsoft Excel 11.0 object (as I'm using Excel 2003). However, I got the following error when I build the project:
"Warning 1: Namespace or type specified in the Imports 'Excel' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. (follow by the path of the project)"
How do I incorporate my custom ASP.NET/VB.NET stuff into a DNN site? Long Version: I'm learning about DotNetNuke. I haven't done much yet, but I'm spending a while analyzing the software, hoping to be able to use it for a very large upcoming project.
[Code]...
How can I use user generated answers and incorporate them into my script? I want to make an extremely simple AI program which asks for your name and then says "Hello 'Insert name entered by user' " in a Message Box.
View 2 Replies how to incorporate a PIC with VB.
I`m trying to find out the steps needed to achieve that, i`m i correct?
1) i need to find a PIC that is suitable for my project (to handle wireless motion sensors)?
2) I need to write the code for the PIC? (does the manufacture of the PIC provides an environment to write the assembly language?)
3) Then i need to write the vb code?
4) Finally to use a serial port to create a communication between VB and PIC. Also are their any all ready made PIC`s that can support VB code direct without the need of writing the assembly code?
I'm interested in making a licence key system to incorporate into my programs. I understand the general idea of checking a database for used keys, but I don't know how I can implement a system into my programs.
I had an idea of creating a custom algorithm, creating a file which contains the licence key, which is encoded with the new algorithm. So people can't just guess the licence because they can't understand what the algorithm (like a custom hash) means. On the contrary, would it be possible to somehow set a licence key variable in my program when it is built or installed somehow? Because I don't understand how it would be possible to work out what key the user needs etc...
After writing that last sentence, I realised that when somebody pays for some software or registers, their username and email is put into a database, and then when they want to register the software, they have to fill in their username, email, and then licence key. Then the key will be filled in in the database. Would that work?