rctaubert's Q&A profile
SQL Server Dynamic Connection string (config file)
Hi, I have a web application (.NET 2005), which reads data from a multi-company database either SQL 2005 or Oracle. The company_id and connection string and other information is specified through a config file. I need to display the report from the click on a menu item. The developers design the reports using Report Designer and store the RDL file in a designated folder (configured in the config file of the website). On the click of the menu the page (.aspx) page accepts values for the parameters of the report. 1. In this scenario, can these parameters, company_id (from config file) be passed to the report (which is already de ...Show All
Visual Basic How to set cursor for a control from a file
Hi How can I set cursor for a control from a "cur" file in VB2005 Thanks Button1.Cursor = New Cursor( "path_to_cursor.cur" ) ...Show All
SQL Server Reporting Services Wizard - Error in XML document (0, 0)
After a clean install of Reporting Services for SQL Server 2000 and Service Pack 1, I enter Visual Studio 2003, select new project - >business intelligence project -> Project Report Wizard. The wizard crashes with:- There is an error in XML document (0, 0). I have tried uninstalling and reinstalling to no effect. Other machines on which I have installed with a very similar configuration do not have the problem. Any ideas welcome. -- Bob Yes, that did it! I completely uninstalled CodeSmith and the Reporting Services Wizard now works fine. Only problem is I still need to use CodeSmith.... I'll experiment with a newer version and ...Show All
SQL Server DATEDIFF in Report Builder
I'm having a bit of trouble with the DATEDIFF function in my Report Model project and in Report Builder. I am trying to create a new Expression field that will work out a persons age from the current date and their Date of Birth, here is the formula that I have entered, DATEDIFF("y", NOW(), DOB) where DOB is the field that holds the persons date of birth in the database. When I enter this into the formula box and click OK i get the following error, "Operation is not valid due to the current state of the object." The detailed error text is Program Location: at Microsoft.ReportingServices.Modeling.Expression.GetResultType() ...Show All
Visual C++ plugin based applications in c++ projects
Hi friends If i want to code a big project in C++ in VS2005 which road must i follow What do you advice me Especially i want to design it with plugin support.I write it skeleton, then other parts will be plugin or it can be developed by other coders.I want to learn what must i prepare before start coding.How must projects settings be for plugin support or for a such a big project.(For great extensibility) I am looking for your answers.Any links , articles, advices will be very useful for me. Thanks.. ok thanks. I think i must also ask this to c# forum. Good works.. ...Show All
.NET Development Assembly version problem
I m using some shared assemblies in my project. I can see their proper versions in gac (C:\windows\assembly). But there is one assembly which creates problem in my project. I see the correct version in gac but still when i refer to one of its methods, it throws an MissingMethod Exception. I found on folder named Download in assembly folder and it has lots of different copies of same assembly, which i m neither able to delete nor move. Does anybody have an idea where they are coming from and how to get rid of them. Or may be this is not at all my problem, but i m so exhausted i can't think anyother way. Can anybody please help me Thanks ...Show All
Windows Forms DataBinding a Treeview
Hi I am just playing about with making a databound treeview and i have got this to work by just passing a datatable to it. My question is, now that i have got this far would it be possible to bind it to a bindingsource or a binding navigator. If so Could you give me any pointers please. I have never worked with the binding source before and haven't a clue but i would like to learn Thanks Mike Pooley Hello Mike I am wanna same thing, my task is like this. I have a table in DataSet which has the elements for my TreeView Control. Now I am using BindingSource between DataSet and TreeView, as there are ...Show All
Windows Forms bound combo not set when selection made using keyboard
I have a usercontrol that includes a combobox. the usercontrol exposes DataBindings , text and selectedvalue properties for the combo. the usercontols text and selectedvalue properties are bound to a datasource. The combobox (in the usercontrol) displays my data correctly and the dropdown is also filled fine. If I use the mouse to select a value, it works perfectly. If I use the keyboard (tab onto the control and arrowdown to select), when I try to save the record, it says that the column bound to the text property is null. As I said though, it works fine when using the mouse. Is this a bug or do I need to expose more properties for the comb ...Show All
SQL Server Cube Size Estimation formula....
We need to estimate the size of a cube that will eventually have.... which will get to the multi-terabyte range when mature.... I have a formula I picked up on the web below, but the sizes projected seem enormous... based on the data going in... STORAGE FORMULA ESTIMATE - measure group storage (bytes) = (((2 * total # of attributes) + (4 * # of measures)) * # of fact records) / 3 Use the formula for each measure group in UDM model and sum the results. The total # of attributes argument reflects the # of attributes in dimensions that intersect the measur ...Show All
Windows Forms Installation location
Hi, Can I change default installation location of application like “c:\myapp\”. What about creating application shortcut on desktop. For ClickOnce Installed Apps You can not change the install location A start --> program --> shortcut to your app will be created by ClickOnce but not desktop icon. -Thanks Sreekanth ...Show All
Windows Forms Webservice and VB.NET development to production
I have developed a Webservice which is on my pc (localhost) while I develop my VB.Net application which gets its information from the Webservice I have lots of code like: Dim pxy As localhost.GCG pxy = New localhost.GCG pxy.ClientIDValue = New localhost.ClientID() what I would like to do is somehow set an alias or declare in one module the localhost.GCG so when&nbs ...Show All
.NET Development VS 2005 RC1, VS 2005 Beta 3?
I noticed that there was a beta3 release today. Why is there a Beta 3 if a Release candidate is already out this is rather confusing...should we be expecting any features in Beta 3 to be included in the release, or should we stick with RC1 also, i heard there is a tool to automatically uninstall previous beta version. Can someone point me to that tool thank you Hi, Its not a Beta 3 of Visual Studio 2005 but the Beta 3 of Team Foundation Server. Release Candidate 1 is the most recent edition of VS2005 and there will be no Beta 3 for VS2005. Here is the link for the uninstall tool: http://hgao888.members.winisp.net/vs_unins ...Show All
Visual Basic read a cell of excel from vb.net 2005
hello guyes I have an small database in excel and I want to retrive this data from vb.net and store them into strName, strPhone, strMsg. here is my code: Dim MessageType As Integer Dim strFileName As String Dim dlg As New Windows.Forms.OpenFileDialog Dim strName As String Dim strPhone As String Dim strMsg As String dlg.Filter = "Excel Files (*.xls)|*.xls" dlg.FilterIndex = 0 dlg.ShowDialog() strFileName = dlg.FileName ' Open the Workbook in excel Dim xlApp As New Microsoft.Office.Interop.Excel.Application xlApp.Visible = F ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Let the user input before do remaining process
I would like to create a function that do some process, and then wait and let the user to click something on the screen. After the user click something, the function do the remain process. How to do it e.g. public void func() { . . . do something . . . // Wait the user to click . . . do remain things . . . } Thank you Thank you very much for your reply. I am using the sampleframework in MDX to write a game with C#. I want to create a function that when the function is called, it calculates some of the data and then showing the data on the screen and ask the player to select a choice(by clicking a but ...Show All
Visual Studio How to make width of column in detail section behave
Using Crystal Reports for VS.Net 2003, I've noticed something in the Designer is placing a border around my rows and columns of output in the report. I've tried to manipulate the column width through the resizing handles and while that seems to work there is an unwanted border being placed over the whole report via CSS. I am using an ADO.Net dataset generated with the ADO.Net Dataset Designer. I populate the dataset via a SQL Server 2000 sProc, exporting the report to PDF, and using Response.ContentType = "application/pdf" [more info follows] I eliminated the PDF aspect of this and went with straight HTML so I could "view source". Here is ...Show All
