Ian Hale's Q&A profile
.NET Development updated web service successfully but i did not see web service proxy was refresh!
hi All, All what i am doing is in Visual .NET 2005 I created a project with ASP.net 2.0 and a Web Service, the first I have only two functions that are func1 va func2 , I had called to this web service from webclient, now i wanted to add func3 to the webservice, I had built successfully, I had updated to get new proxy in webclient, currently I could not find func3 in the webservice proxy. note:1. I am sure that I had updated webservice successfully from webclient. 2. I had checked out before perform updating. You have done this very well with VS 2003. please help me if you know any reason. thanks. Thank you for helpping me, I had removed the web references then recreate the reference .But it st ...Show All
.NET Development RealProxy
Hi, Can someone tell me, if RealProxy's Invoke can be gauranteed for multithread. It seems to me that, when call by multithread, the return value are checked someway and if the return is not set, some reference error may happen. Thank you! I think you can get an example at this link: http://www.devx.com/vb2themax/Article/19899 type=kbSampleProd&trk=MSCP ...Show All
Visual Basic How to Setup Visual Studio 2005 for VBScript Editing
I am developing a number of VB Script files as part of a larger project for our Business Group. It makes sense to me to use the Project capabilities of Visual Studio, but I can't seem to find a vbs template or any references on customizing a Project to recognize the differnces in the VBS langauge compared to VB. It seems crazy that JScript is listed as a separate langauge, but not VBScript. Am I missing something here Help! Hi. I had the same idea. I have been able to set up a VBScript project that remembers your breakpoints. I wrote a guide at: http://krestenm.blogspot.com/2007/12/vbscript-projects-in-visual-studio2.html ...Show All
Microsoft ISV Community Center Forums Automatic Macros
I have already been using the "Sub Auto_Open" and "_Close", some of the helpful codes that automatically runs when the sheet is opened or close. Can anyone suggest me a real time update or macro that runs when a certain sheet is selected I want my macro to update the pivot table automatically when I enter or encode a value at the source range of the pivot table... THanks for all the help... music_at_ulan wrote: I have already been using the "Sub Auto_Open" and "_Close", some of the helpful codes that automatically runs when the sheet is opened or close. Can anyone suggest me a real time update or macro that runs when a certain sheet is selected ...Show All
Visual Studio Express Editions Amazon-Enabled Movie collection starter kit
I downloaded and installed the Amazon-Enabled Movie Collection starter kit (AmazonMovieCollection_1_3_vb_rtm.vsi). When I tried to use the search online option I got the following error message: There was a problem connecting to the web service. Please verify that you are connected to the internet. Additional details: The request failed with HTTP status 407: Proxy Authentication Required. Is there a coding modification that can be made so I can supply the proxy server address and a user name and password Thanks, Fred Bernstein You are not using the code I suggested. Below it is repeated. Replace :8080 with the port you need to use if it is different. Uncomment the line p. ...Show All
.NET Development Navigating Large Database
I have a SQL database table with about 1,000,000 records. I would like to be able to view these records on a form, linked to textboxes and such, and be able to navigate through them, as in back and forth. I have tried using the dataset and it is extremley slow to load the dataset. Its so slow it would not be usable. Does anyone have any suggestions on how I would be able to navigate through these records Hi, the first question that comes to mind is why would you want to navigate through 1 mil of records in a first place. I mean - that's a lot of browsing... and a lot of memory space. Anyway, for this kind of navigating you might want to use a grid control, which supports Virtual mode (DataGridView d ...Show All
Visual Studio Team System how do i make Domain groups into global groups
Hey everyone ok well im in a situation where i want to have some groups that can ONLY read status's and not change it and some that can change the status for different stages of the defect.. my problem is that i created a couple different groups which were domain groups, when i go to the list of groups that i can read only or whatever there are only the global groups, how do i switch my domain groups to global lists thanks Kardi, If you mean workflow state, you can restrict who can change the state by using transistion security like below for each transition. See "Authoring Work Item types" document in VS SDK for details. <TRANSITION from="Resolved" to="Complete" for="AllTe ...Show All
SQL Server Question about querying xml returned by eventdata() function in ddl trigger
Hi All, I wanted to query the xml returned by the eventdata() function in a ddl trigger to view it in result set. I made that code but it returned null, any help please create trigger DatabaseEvents on database for ddl_database_level_events as --select eventdata().value('(/EVENT_INSTANCE/EventType/text())[1]','nvarchar(max)') declare @data xml select @data = eventdata () select Col . value ( '(/EventType/text())[1]' , 'nvarchar(max)' ) as 'Event Type' , Col . value ( '(/PostTime/text())[1]' , 'datetime' ) as 'Post Time' from @data . nodes ( '/EVENT_INSTANCE' ) as EventsTable ( Col ) go Thank you in advance, Bishoy The path expression ...Show All
SQL Server How to for date is not null or nothing condition
How can i write a condition for like isdate(Fields!DueDate.value) I tried isdate but i am getting an error message. what is the equivalent for isdate in sql server reporting services formula fields or calculated fields expression. Thank you very much for the information. ********************************************* =IIF(isdate(Fields!DueDate.Value), ................ ******************************************** Sorry should have read it all. =IIf(Fields!DueDate.value is nothing,"False",IsDate(Fields!DueDate.value), "True" , "false" )) Ham ...Show All
.NET Development Web Service Invoking via HTTP POST
I have a web service and it works correctly and I can invoke its only function via the asm test page that uses HTTP POST. I want to be able to call the service via a the wininet library that uses a call to a web page. I have the following link to my web service and It doesn't seem to work like this. I would think it would because this too should be a POST right Link -> http://localhost/SubmitOrderService/SubmitOrderService.asmx/SubmitOrder param1=10¶m2=0 However, I get the following error when I put a link like this in a browser and call it; Server Error in '/SubmitOrderService' Application. In .NET 1.1 this should work fine.... but in .NET 2.0 you have to configure the webservice to allow the GET verb.... ...Show All
Software Development for Windows Vista Consistent set of components
Please consider this as a plea for help - not a complaint I just downloaded and installed the newly released .NET 3.0 RC (Release Candidate) as well as the Update for Windows Communication Foundation (KB912817) which has likely nothing to do with WWF, so I am mentioning it here for the completeness sake. In addition, I installed the Visual Studio Extensions for Windows Workflow Foundation RC4, after the RC5 failed to install. Finally, I installed the Hands On Labs from http://wf.netfx3.com/files/folders/documentation/entry4919.aspx Then, I tried to re-create the Lab1 and found that everything behaves as it should, I was able to compile the application with no errors. However, setting the break point does not cause the appli ...Show All
Visual Studio Express Editions Trouble changing directories in VB Express
Just recently I started having this problem. When I go to open a file or save a file in VB Express 2005 and have to change directories from the default, the change in directories either happens very slowly (up to a minute per folder change) or doesn't happen at all and I have to shut VB down and start again. I am kind of new at this and I don't know what I am doing to cause this problem. Any help would be appreciated. On the main menu, go to Tools/Options/Projects and Solutions/General. There you will be able to change some of the defaults. You can also see how to navigate to other options and defaults that may be changed. ...Show All
Visual C++ Different MFC versions causing problems
Hello, I have a problem which stems from the fact that MFC 6.0 and MFC 7.0 are incompatible. I am trying to use an MFC library written in 6.0 with Studio 2003 (MFC 7.0) and it does not work. It gives the usual CRuntimeClass* GetThisClass() link errors, which from what I've read is one of the hallmarks of the 6.0 to 7.0 incompatibility. The strange thing is, I have the code for the library and I have compiled it in Studio 2003 and it compiles successfully. Yet it still gives the same linker errors in my other application. So I assume what is happening is that it is compiling in some sort of "compatibility mode" with the older MFC (which the project was made with), and generating a library not compatible with the current vers ...Show All
Smart Device Development Making forms appear sooner
I'm developing an application in VB .net and have several forms that call one another. It basically works but it takes too long for the called form to appear sometimes. The desktop appears for a few seconds giving the momentary impression that the program has stopped. I have some lengthy initialization processing that has to occur in the load event of each form now. Is there another event where I can put the initialization processing so the form will appear before the initialization processing starts it depends on the nature of what you're doing in init. can you move the routines to Activated, Load, OnActivated, or something similar Use the IDE's Intellisense to explore the various events available to you. ...Show All
Visual Studio Express Editions Computed Column
I am having trouble finding the correct sytax for formulae in creating computed columns. I would like to create three computed columns in my table in my database. The first is an average of the last 20 prices, the second is the average plus one standard deviation and the third is the average minus one standard deviation. I would appreciate any help. I have tried even simple formula but nothing seems to work, i keep getting error messages. Thank you for the reply. It does help, I looked up expressions on the MSDN pages and found some information. But I am still confused. It looks like you are coding this into your program I was using the Table Designer in the IDE. Do you have to use the dataset when your making an expression in the t ...Show All
