bfarr23's Q&A profile
Visual Studio 2008 (Pre-release) hosting WCF in IIS
Hi, I have a WCF service which works fine when i run it locally (using http://localhost :...) When i try using it from the webserver we have (IIS 6.0) I get this: "Unrecognized configuration section system.serviceModel." Does this mean i have to get my webserver admin to install .net 3.0 on the machine (he's not too keen on the idea..) Can anyone tell me what exactly are the steps needed to get this up and running Thanks in advance ...Show All
SQL Server Decimal places in Node_Description??
There's been several good posts on using the node description of a model as the end user description for a specific cluster. My model uses a number of continuous input columns defined as currency from a fact table in the source cube. After processing, the node description has elements that look like this: -0.5799759795 <=Interest Expense <=0.8397462488 , Since the source data is currency, this makes the node description look a little strange. The data type in the model is set as double. The precision implied by the description is not what I want the model to consider. In the case above, the difference between the numbers listed is not significant. It would be great to have a better node desciption that do ...Show All
Visual Basic multiple textbox counter
i have a program with about 30 textboxes on it for number inputs. I need to make a label that on a tab or mouse click it will show the total number amount from each text box. for instances tb1 -- 10 tb2 -- 3 tb 3 -- 5 label = 18 Thanks Michael Hi, Define what tb1--10, tb2--3 and tb3--5 are please. Are these 3 separate textboxes or is tb1--10 all of the 1st 10 textboxes What number format are you using integers or decimal Are you wanting to simply add up totals from the lot to show the answer in a label or a textbox or 4 separate answers I'm guessing here. Put this code into a button-click event Sub or label-click event Sub. Dim answer1, answer2, answer 3 As Double ...Show All
Windows Forms CollectionEditor questions Names in left pane
Hello all, CustomItem is a class which inherits Component. I then created a strongly typed CustomItemCollection which inherits CollectionBase. Next, I wrote a custom editor which inherits from CollectionEditor. It works well except that I can't figure out how to access the (Name) property in the PropertyGrid. I would like to change the names in the left pane away from Class0, Class1, Class2, etc. based on one of the properties in my CustomItem class. Thanks in advance for any ideas and/or suggestions. Hey joey, The CollectionEditor is the form that pops up when you have a collection property. It is similar to the standard Items... editor except on the right side it displays a property grid and ...Show All
Silverlight (formerly WPF/E) Why using "javascript:functionName"?
Hi, I would like to get an answer why the JavaScript event handlers have to be written not very JavaScript like. element.loaded = functionName"; instead of element.loaded = functionName; Will there be any other protocol available than JavaScript Michael For our Mix release we are eliminating the need to do " in XAML and we are also enabling normal JavaScript event handling semantics. Adding an event in JavaScript will look like the following: canvas.addEventListener("MouseLeftButtonDown", handler); rather than: canvas.addEventListener("MouseLeftButtonDown", handler"); Joe ...Show All
Windows Forms adding single records to a gridview
I have a cbolist the user will select a name hit enter then a query runs to get that name details and enters it to a grid view, the user clicks another name and its details are added. How do i do this. i have only used the adapter.fill(table) gridview1.datasource = table but only one record is showing the last one clicked. well its not going to work exactly like that. everytime you fill a dataset it will I believe clear out the existing entries and fill it with new data and this is what you are binding to the datagrid. instead you may wish to use a SqlDataReader, read the data and add it into a listbox perhaps, or even create a datatable locally and add values to that and bind it to the dat ...Show All
Windows Search Technologies WDS 3.01 and Outlook 2003 (Exchange)
Somehow I can't select folders from Outlook 2003 to index. The only visible folder is 'public folders' but greyed out because I don't run Outlook in cached mode. WDS 2.66 did show the open inboxes in Outlook and indexed them nicely, in WDS 3.01 they are gone and I can't get them to show. See my previous post, I've installed the .adm file and can now index my own inbox. The other 4 mailboxes that I have open do not appear in the list however. These are also Exchange boxes that I have opened. ...Show All
Visual C# Printing PDF from specific printer tray problem
Dear all, For a C# project I would like to be able to print PDF documents from specific printer trays. Up to now I did succeed in doing half the work. 1. I can print PDF documents by doing a DllImport of winspool.drv and send the raw bytes to the network printer. By doing so, the PS/PDF capable printer understands the PDF bytes and prints the PDF flawlessly albeit using the default printer tray. I thought of making copies of the printername with different default trays and use the different names in my application, to no avail... 2. I found a way of printing with different printer trays (using WMI or even better C# PrintDocument). This works perfectly apart from that it is only capable of printing Strings (plain text that is). When I open ...Show All
Visual Studio SP1 for ReportViewer Redistributable?
Hi Everyone. Now that VS.2005 SP1 is out and seems to include an updated ReportViewer control, is there an update to the ReportViewer Redistributable with those same fixes Our product installs this redistributable silently, and we render reports locally (i.e. RDLC), so installing the full Visual Studio service pack would not help us. Thanks for your help! Erik Can you unistall the older ReportViewer I had a computer with the old ReportViewer installed that was still having issues. I unistalled the old version (it was listed in Add/Remove Programs) and dropped the .dlls mentioned above in the .exe's folder and it worked fine. Might be a bit of a hassle, but probably better than having the problems ...Show All
.NET Development MS06-061
last night, wedenesday, i, for the first time, noticed a microsoft vulnerability on my pccillen scan; referring me to the vulnerability addressed in the microsoft MS06-061 bulletin . i can't figure out how to solve this particular vulnerability. "the microsoft vulnerability" MS06-061; rated as "very risky," by my pccillen security software; continues to be identified by my security software; no matter what actions i take! i am dedicated to the following ongoing practices AND have taken the following steps, attempting to address this vulnerabilty, with no success: i am religious about updating and scanning my computer (I scan it daily, with "full system scans"; using not only my pccillen, but a ...Show All
Visual C# Windows Service or Scheduled Task
Dear All, I need to run particular database script every 20 minutes. So what should I be doing I am confuse between windows service and scheduled task. Which is better Dear Gabriel, So are you telling me to write a c# script and then put it as task scheduler to run it is it How can I write a database C# script But I guess windows service wil suit me better I guess. Please advice. ...Show All
Visual Studio Tools for Office Reading pane previewer in Outlook 2007
Hi, how can I write (and register) my own previewer for attachments Any tutorials available Thanks I just want to point out http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=963759&SiteID=1 and that the source code is available on MSDN Magazine web today. I haven't tried it yet, though. ...Show All
Visual Studio VSS 2005 is giving me invalid password on some computers, but works fine onothers
Hi all, I have VSS 2005 installed, and the database is on a network. I am the administrator, but when I tried to open VSS from some computers, I get the message "Invalid Password". It recorgnizes the password from my computer, and even from some other computers. Can someone explain this Thanks in advance. Hi Alin, Thank you for trying to help. The thing is that I could not have been connecting to the wrong database. There is only one database, and I created it on a network server, with a login ID and Password same as my Windows account. I also have full administrative rights on that server. VSS is not denying me access, it is just not able to recorgnize my password from these other c ...Show All
Visual Studio Express Editions Reading Textfiles with latest lines only
Hi Everyone, Can I ask if somebody knows how to read only updated lines in a text file I had a text based log file and I want to read from time to time those updated lines only. Everytime I use "reader.readline, and .readtoend" it always starts from the beginning hence there is always a huge overlap of data in my database. Thanks in advance.... There is a diary example in help that always puts a date with each entry and then uses the date to find a start position. It's concepts may be of help. ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/dv_vbcn/html/7d2109eb-f98a-4389-b43d-30f384aaa7d5.htm ...Show All
Visual C# Sending SOAP Requests in C# Client
Hi, I have a question about how to generate/send SOAP requests from a simple C# command line client. First of all, is there a class/method that will generate the SOAP envelope instead of having it manually created as an XML Second, how do you send the SOAP request with the HttpWebRequest class, and how do you obtain the response back from the server I am not looking at doing anything too complicated, just writing a simple SOAP request/response console client. The server is assumed to already have the appropriate services available to handle the SOAP requests. Please provide some sample code, or directions on where I should look, as I am new to the .NET/C# development community. Thanks. check this link. ...Show All
