473,791 Members | 3,216 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Add Web Reference to a single aspx file

Hi everyone!
I have a single aspx file that I want to use some Web Services located
in "http://ip:port/WebService" but I don't know what to do to
accomplishe that...
Can someone tell me the milagrous line code??
(I don't have that aspx file in a Project...its a simple aspx file
that will be called by another program)
Thanks in advance,
Bruno Pereira
Jun 27 '08 #1
2 1467
Hello Pereira,

You need to make webservice from this file or whatg?

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
PHi everyone!
PI have a single aspx file that I want to use some Web Services
Plocated
Pin "http://ip:port/WebService" but I don't know what to do to
Paccomplishe that...
PCan someone tell me the milagrous line code??
P(I don't have that aspx file in a Project...its a simple aspx file
Pthat will be called by another program)
PThanks in advance,
PBruno Pereira
Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
933
by: Steve Haun | last post by:
I've seen alot of chatter, but no solution. I am getting started on my first asp.net webapp. the app i am re-writing contains over 900 files, 70 of which are asp and it also has 2 rather big webclasses to re-write. there is no way on earth i can fit this app within a single directory to make it run, and the app will require some anonymous and some authenticated access. Making a subdirectory pretty much a requirement for more reason...
4
399
by: Moe Sizlak | last post by:
Hi There, I have a user control that has 2 listmenus populated from a database, I want the form to submit when the listmenu are changed which seems to happen no problem when the page is on it's own but when I have it as user control I get the error "Object reference not set to an instance of an object. " what am I doing wrong? Moe <><
16
2093
by: Kent | last post by:
We have created several Assemblies that we add to the GAC on our web servers. In an ASP.NET app in VS2003, Adding a reference to strong named GAC'd Assembly meant that the web app would use whatever version was in the GAC. Now in an ASP.NET app in VS 2005, adding a reference to a GAC'd assembly actually adds a version specific reference to the web.config. That means that we would have to change the assembly reference in every single...
1
1072
by: antonyliu2002 | last post by:
The tutorial "Separating Code from Presentation" ( http://www.samspublishing.com/articles/printerfriendly.asp?p=25468&rl=1 ) is very good. It tells us how to have multiple presentation pages inherit from a single source code in codebehind. But, I wanna do the opposite. I want to separate my application logic code for a single presentation
2
2908
by: Ben | last post by:
Hi, I need to add a reference in my project to a file (e.g. mysqldata.dll) in order to access Mysql. Using Visual Web Developer, i know how to do (menu website/add reference), but suppose i have no VWD or any tools, and that i create only one test.aspx file and another test.aspx.vb file with Notepad. How can i add a reference directly in the files in order to access Mysql? Thanks
3
2070
by: Ganesh Palaniappan | last post by:
We're getting following exception for the below piece of code. We're wondering how it is possible since we're having a null check for objGraphics and strokePen... Exception: System.NullReferenceException: Object reference not set to an instance of an object
9
1656
by: needin4mation | last post by:
I have a .aspx file and it's src. I also have a third file, a class that the src references. Everything is in the same directory/folder. Everything has the same namespace. How do I reference the class in my c# .src file? I don't believe this is an ASP.NET question, but a OOP C# question, thus my post here. I have searched and I thought it was with: using FilterSQL; //the name of my class using reports.FilterSQL; //name of...
7
2250
by: Bodyboarder20 | last post by:
Hey, I'm sure this is an easy question for most. I would like to create a class with a bunch of "library" functions... But I'm not sure how I would configure it so that I can call functions from one "code" file from another "code behind" file.... Page1.aspx ---Page1.aspx.cs ---globallibrary.cs
1
1806
by: =?Utf-8?B?bWFya203NQ==?= | last post by:
There is probably some simple answer to my question, but i'm still new to this a bit.. I have a master page.. with a menu system which is coded onto the masterpage.aspx... it uses A tags with hrefs etc.. the usual stuff.. I also have a sub section on the site.. where aspx files arent in the root.. ie: /rootfiles.aspx here.. then /subsection/subfiles.aspx The menu is fine and dandy with the usual relative references like <a
0
9669
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9517
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10428
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10207
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10156
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4110
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3718
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2916
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.