Click here to Skip to main content
15,891,939 members
Home / Discussions / C#
   

C#

 
GeneralRe: Visual C# 2010 - Application Crashes At A Certain Time (Causing VS2010 To Crash As Well) Pin
PIEBALDconsult1-Nov-09 3:29
mvePIEBALDconsult1-Nov-09 3:29 
QuestionWeb.sitemap updating, but Menu is not updating... why??? Pin
Timothy OBrien31-Oct-09 6:46
Timothy OBrien31-Oct-09 6:46 
QuestionHow i can make my mobile as modem by c# program Pin
Abdaqader31-Oct-09 5:33
Abdaqader31-Oct-09 5:33 
AnswerRe: How i can make my mobile as modem by c# program Pin
Henry Minute31-Oct-09 6:04
Henry Minute31-Oct-09 6:04 
Questionhow to get the throughput of my hard disk during the latest period of time Pin
sinron31-Oct-09 4:52
sinron31-Oct-09 4:52 
AnswerRe: how to get the throughput of my hard disk during the latest period of time Pin
Randor 1-Nov-09 11:26
professional Randor 1-Nov-09 11:26 
GeneralRe: how to get the throughput of my hard disk during the latest period of time Pin
sinron2-Nov-09 0:14
sinron2-Nov-09 0:14 
QuestionConsuming Web service in VS2008 [modified] Pin
Aftab Sindhi31-Oct-09 3:08
Aftab Sindhi31-Oct-09 3:08 
I am facing this problem 1st time. I've made a web service in VS 2005 and a windows client application which consumes it without any problem since long time.
Recently we decided to develop the new client application hence i decided to use VS 2008. I copied the methods from old application, which has code to call the web service methods. I added the web reference and I can see all the web service classes and methods in OBJECT BROWSER (by right clicking on the web service reference and clicking on View in Object browser). When I compile the application i get the error on the line where I am declaring the variables of classes in web service
MyAppNamespace.MyWebService.ClassName webObj;  // Here is error

Note that fully qualified name is in my code and same is shown in Object browser. But when I try to type the code in VS 2008, I can not see the web service name space (MyWebService) in intellisense any where. I opened the Reference.cs file of the web service, there also present same name space as i am using. I can open the Web service URL in browser and also old application is still working fine with web service.

Is there any body who can guide me what is wrong? Thanks in advance

Modified:

One thing more for your information. I've 2 projects in a solution. One is Windows Forms project and other is .NET Assembly project (to create the .NET assembly).
If I am adding web reference in Windows Forms project, it is working. i.e. I can use web service classes and methods, but if I add web reference to .NET assembly project, I can not, which is actual problem mentioned above.

Regards

Aftab Sindhi
.NET Application Developer
U.A.E

modified on Sunday, November 1, 2009 2:40 AM

QuestionCOM port problem Pin
Reza Shojaee31-Oct-09 1:14
Reza Shojaee31-Oct-09 1:14 
AnswerRe: COM port problem [modified] Pin
OriginalGriff31-Oct-09 1:25
mveOriginalGriff31-Oct-09 1:25 
AnswerRe: COM port problem Pin
OriginalGriff31-Oct-09 1:44
mveOriginalGriff31-Oct-09 1:44 
GeneralRe: COM port problem Pin
Reza Shojaee31-Oct-09 2:05
Reza Shojaee31-Oct-09 2:05 
GeneralRe: COM port problem Pin
OriginalGriff31-Oct-09 2:47
mveOriginalGriff31-Oct-09 2:47 
AnswerRe: COM port problem Pin
idan_bismut1-Nov-09 9:54
idan_bismut1-Nov-09 9:54 
QuestionHow to send/recieve objects with sockets? Pin
Chesnokov Yuriy31-Oct-09 0:19
professionalChesnokov Yuriy31-Oct-09 0:19 
AnswerMessage Closed Pin
31-Oct-09 0:52
stancrm31-Oct-09 0:52 
GeneralRe: How to send/recieve objects with sockets? Pin
Chesnokov Yuriy31-Oct-09 4:41
professionalChesnokov Yuriy31-Oct-09 4:41 
GeneralRe: How to send/recieve objects with sockets? Pin
harold aptroot31-Oct-09 5:20
harold aptroot31-Oct-09 5:20 
QuestionRe: How to send/recieve objects with sockets? Pin
Chesnokov Yuriy31-Oct-09 8:55
professionalChesnokov Yuriy31-Oct-09 8:55 
QuestionGiving range to Run time end and start date parameter Pin
haleemasher30-Oct-09 23:53
haleemasher30-Oct-09 23:53 
QuestionUsing Connectionstring Pin
haleemasher30-Oct-09 23:52
haleemasher30-Oct-09 23:52 
AnswerRe: Using Connectionstring Pin
OriginalGriff31-Oct-09 0:46
mveOriginalGriff31-Oct-09 0:46 
GeneralRe: Using Connectionstring Pin
Keith Barrow31-Oct-09 3:03
professionalKeith Barrow31-Oct-09 3:03 
QuestionHow to access mdi parent's menustrip items from a child form [modified] Pin
idan_bismut30-Oct-09 21:58
idan_bismut30-Oct-09 21:58 
AnswerRe: How to access mdi parent's menustrip items from a child form Pin
idan_bismut30-Oct-09 22:37
idan_bismut30-Oct-09 22:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.