snovi's Q&A profile
.NET Development Removing IIS site port from WSDL
Due to the arrangement we have with our firewall, our IIS server sits behind our firewall and hosts websites on different ports. When requests come though the firewall for different URLs, the firewall handles these and passes them onto the appropriate sites by their port. This is fine for everything but web services. When you try to capture a web service on a site behind the firewall, for some reason the WSDL keeps putting the port of the website in IIS in the path, and as a result, gets blocked by the firewall (because all requests go through HTTP(S)). How can I prevent the WSDL file from automatically adding the port to the web servic ...Show All
Visual Studio Report Designer - how to add ObjectDatasource?
I am trying to add a local report to my ASP.NET 2.0 app. When I create new datasource in VS report designer it always creates SQL Datasource (it doesn't even ask me about the name of the dataset). I am going to use my business objects as a source of data, so it would help to be able to use them when I design the report. I don't need that DataSet1.xsd in my project. I just want to use my own objects. Is there any way to do that in the report designer Is there a way to access the session from this object to retrieve session stored info System.Web.Httphandler.Current is nothing w ...Show All
Visual C++ STL for Managed C++
Is anyone interested in porting stl for Managed C++. I know that Dinkumware is coming up with STL.NET but its meant for specifically VS.NET2005. But my application is already written in VC++ 7.0 and I am not ready to port it "again" to VS.NET 2005. The wrapper uses a gcroot handle. My main intention of using a wrapper is to provide something for operator & which is private to gcroot. This would allow me to use containers like Boost Muti-Index which might require the address of the entitiy which is added to the collection. --P ...Show All
Windows Forms C# VS2005 - Installing deployed application to an specif path
Hello everyone, Where exactly do I configure a C# application to install in a specific path Like, for example: C:\Program Files\myApp Please note that I don't mean the deployment folder! I looked throughout the application properties, publish properties and publish Wizard, but didn't find a configuration option for that. Thanks a lot, JC. Are you using ClickOnce This technology is intended for per-user (not per-machine) installs and to enbale restricted users (who don't have write access to the Program Files folder) to install. ...Show All
.NET Development connection to access db
HI people, i have visual studio B2. i try to connect to a access data base with control bidingsource but after i select witch table i want i’ve get this error: "Some updating commands could not be generatied automatically. The error message was: ERROR [HYC00] [Microsoft] [ODBC Access Driver] Optional Feature not implemented" Any sugestions Thanks Yupypt I think you have problem with "UPDATE Qurey". You have to be carefull with updating the PK Field. Anyways, as we cant see any code and the Table specaification it would be hard to know why this getting this error. Please, post some related code a ...Show All
Windows Forms New Window
i am making a browser in vb 2005 beta but sometimes when i click a link it opens in a new window in Internet Explorer now how can i have it so it opens in a new version of my own browser or a browser on a second form any help would be greatly apreciated. So what if you use the entire code on that site, does it then still not work on your particular computer ...Show All
Visual Studio VSS no longer finds the 'Registered Application' for .sql files
Hi, I have no idea how this happened, but VSS no longer shows a 'Registered Application' for .sql files. In the Windows Explorer, however, I do still have a registered application set, do doing a get latest version and then double clicking the filename in Windows Explorer still works, but double clicking in VSS Explorer, no longer shows a Registered Application. I already posted this question months ago in the newsgroups http://www.eggheadcafe.com/forumarchives/sourcesafe/feb2006/post26006178.asp This KB article is about the only reference I can find, but it does not help much; http://support.microsoft.com/default.aspx scid ...Show All
Visual Basic Real Time Data Monitoring
Hi All: I am writing a project to analyze data from a device in real time. The idea is to pick up the signal from a sensor through serial port in 20Hz and to do some calculation on the data received, and plot out the result on the form. I use a background worker to read data from the serial port and do the calculation within a Do Loop. There is no problem on this. My problem is that when I try to use GDI+ to plot the results on the form, data are not refreshed instantly on the form. I use a Collection of Single to store the data for plotting. Questions are: 1. Can Vb2005 do the job Or VC2005 is better 2. Is there a control ...Show All
SQL Server T-Sql Preformance
I have a Stored Procedure that I need to make run more efficiently. I am calling the SP from a page that displays the data as a report. I have tried to change the SQL to several queries into temp tables and selecting the data from the temp tables, but the page does not display any data. I then put all the queries together and the page works if it doesn't timeout. I realize the query below is not efficient but I am uncertain how to speed it up further. I have copied the SQL below. Can someone point me in a direction Hello, Well, I don't think there's a silver bullet for you, but immediately I would consider the following to improve perf ...Show All
Windows Forms DataGrid word wrapping
Could anyone post an example os a word-wrapping datagrid If not, and because I need to implement it, I'd like to know where the row height can be altered, since that all i need to override the Paint event of DataGridTextBoxColumn object. I've been looking for hours trying to find it without success, and it MUST be saved somewhere, as it's somehoe pres ...Show All
Visual Basic Decimal number format
I've a simple question but can't find any existing solution. Please help. How can I format a decimal number in the following manner 6.000 ---> 6 2.5 ---> 2.5 I want to format the decimal so that the trailing zero as well as the decimal point will not be shown in case of a whole number. Hi, You can do your formating on the string format. dim d as decimal dim s as string d = 4.0000 s = d.tostring("0.#") ' add additional # for decimal places to be round off ' you can use also the formating of d.tostring("0.0") or ' d.tostring("0.00") add "0" after the "." to set the nos of decimal places the result of s ...Show All
Software Development for Windows Vista Vista Beta 2
I am also having the same problem Old software on a non rewitable disk use a dvd rw and Use format software to get rid of UDF set for Iso burning on an RW use trial version of Gear software available in your search engine under DVD burning software. format your disk and burn Iso. ...Show All
SQL Server Incorrect parent child aggregate values in SSAS browser
I've created an "Account" dimension using parent child relationships and added a unary operator to the dimension e.g. "+" and "-" to aggregate things like gross margin = sales - cost of sales. The dimension hierarchy shows correct operators and levels (it is a ragged dimension) in the dimension browser, however when I go to the cube browser and place the hirearchy in the rows some of the members which have children cannot be "expanded" to see the children while others can. Some members when expanded show children which do not belong to them (i.e. different than what is shown in the dimension browse ...Show All
Visual C++ Visual Studio .NET 2003 executable format
We are building projects consisting of non-managed console applications and COM DLLs using Visual Studio .NET 2003. We are using Rational ClearCase as our source control tool, but for the time being we need to build all our applications using snapshot views. Unlike dynamic views, snapshot views do not keep version history of derived objects like executables. Also for the time being, our process requires that we do a full clean of all derived objects and executables prior to the start of the build process. In order to make our installer process work most efficiently, we are looking for a way to determine whether ...Show All
Visual C# Creating a Command Interpreter
My application has a method, we'll call it ParseCommand(string command) which is called whenever the user inputs anything. Currently the method looks something like this: public void ParseCommand(string command) { if (command.Equals("someCommand")) { // execute whatever code for someCommand } else if (command.Equals("anotherCommand")) { // execute whatever code for anotherCommand } else if (command.Eq ...Show All
