Amilath's Q&A profile
Visual Studio How to make Accounts Receivable Reports
Can anyone help me know how to make an accounts receivable reports It was definitely about aging and if anyone had a sort of tutorial or any input about this, please let me know.Thanks... What are you using for your data If it's SQL Server you could create a stored procedure that would summarize your data into columns of date ranges then design your report off of this. If it is SQL server that you are using, and if your data is based on dates and amounts, I can send you a sample stored procedure that might help you. ...Show All
Visual Studio Team System Schedule for Teambuilds
Hello! How can I run a TeamBuild (or several Teambuilds) for example every night at 3.00 am Is there a scheduler for TeamBuilds Regards CSharpNewbie22 Nope - Team Build does not have a scheduler in V1. You should just use the standard Windows Scheduled Tasks functionality to kick off TfsBuild.exe (the command-line tool for Team Build). -Aaron ...Show All
Internet Explorer Development Any Ideas on why this may be crashing????
I have been using jClientUpload for a couple of years it has worked well. I "upgraded" to IE7.0 and it crashes as soon as I navigate to a page with upload applet. I have licence for jClientUpload and upgraded V1.8 and JRE 1.5.0. It works fine in IE6.0 and Firefox/1.5.0.7. The error I get from IE7.0 is "Runtime Error! Program C:\Program Files\Internet Explorer\iexplore.exe abnormal program termination". So it seems to be a problem with IE7.0. Has anyone else seen this or have a work around Yes. I had similar problem with applet inclusion HTML & JavaScript with IE 7. The sun applet generator template that I chose is no longer recommended. It is the one that used to have broadest suppo ...Show All
SQL Server simple text processing e.g. regex search and replace
I've got an nvarchar(max) column that I need to transform with some simple text processing: insert some markup at the very beginning, and insert some markup just before a particular regular expression is matched (or at the end, if no match is found). Since the SSIS expression language doesn't support anything like this, is a Script Component the only way to go Does Visual Basic .NET provide regular expression matching Thanks! there is no need to use a script component or create a custom component because microsoft already provides a regex component for ssis: http://www.microsoft.com/downloads/details.aspx familyid=c16f11ad-150a-4091-b3a2-83d21d3e0973&displaylang=en ...Show All
Connected Services Framework Error 26201. Error 2147024769: failed to create SQL Database: CSFTraceDB, error details: unknown error.
Hi, To install the CSF3.0 Lite edition in my machine, I have done the following sequence of steps. 1) Installed Visual Studio 2005 (This itself installed SQL Server 2005 Express edition) 2) Installed WSE 3.0 3) Installed MMC 3.0 4) While installing CSF 3.0 Lite, I got the following error. Error 26201. Error 2147024769: failed to create SQL Database: CSFTraceDB, error details:unknown error. Anybody can help in this regards Regards Srini I changed Mode from Windows to Mixed and tried, but no use, got the same error. I tried installing CSF by giving various values to SQL Server Log On properties. But getting the same error. I am using SQL Server 2005 ...Show All
Windows Forms Print One Windows Form Control
Hi All, I had the knowledge of printing the whole windows forms using C# codes. But, what if I would like to print a specific controls only, such as a button or combobox Printing only one instance at a time. Can it be possible Thanks in advance. I believe you would just "draw" that control. http://www.c-sharpcorner.com/Code/2003/March/FormPrinting.asp ...Show All
Visual C++ graphics in visual c++
does visual c++ support the graphics.h header file on its own or do we need to install the software seperately. the coding which is being done by me is in visual c++ and have included #include<graphics.h>. the error which am constantly getting is cannot open the include file: graphics.h. am not using the graph.h, graphview.h which are inbuilt in visual c++. I think you are trying to compile Turbo C/C++ program in VC++ compiler. (Are you trying to compile programs from Yashvant Kanitkar's book ) I have never seen graphics.h in VC++. VC++ has enough graphics functions. If you want to do more in graphics programming, just google for a good graphics library. My suggestion is, consider OpenGL. :) Purusothaman A ...Show All
Visual Studio Team System Visual Build Pro scripts
We have lot of 'visual build pro' scripts that do our day-to-day work. Is it possible to use those scripts in TFS(i.e call visual build pro scripts thru team build) Also, if yes.. is it a good idea to do this these scripts that I plan to use are mainly the deployment scripts like deploying database files. Correct me if its not a good approach......i was thinking to build thru Team Build, so that we get all the logging good and also the tfsbuild database gets these things. then while deploying(.net code or database scripts), if i could use our visual build pro scripts to start with. still thinking how to make the whole process work....open for suggestions. But more importantly...... i tried to run the fol ...Show All
SQL Server Error code: 0x80004005
I created a package that refreshes tables on one SQL Server to another SQL Server. First, I use an ExecuteSQL task to truncate the tables. Then I use a Data Flow task to copy the tables from one server to the other. Finally I update a log table. It was working fine with four tables. I added another table to the refresh and now I get these error messages: [Source - RbcAcctSegment [1096]] Error: An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Unspecified error". An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Communication link failure". ...Show All
Windows Forms How to create and Invisible Groupbox
I am creating an application for a Tablet PC that has a flash movie playing in the background and looks for input from the user (from a writing area I have defined in a groupbox on the main form). I am curious how to make this groupbox invisible but still usable so that I can show it and unshow it without anyone knowing the difference and it will still collect the pen input. Thanks! While it seems like it should be working... its not. To see what I'm talking about: open a new C# windows application, put a flash object in the main form so that it covers the entire form background and then put a groupbox over it and try to set the transparency. I have tried a variety of things to get it to just show the flash object but nothing has wor ...Show All
SQL Server Reference axis(2) members in MDX
Hello everybody. I've got a little problem: I want to reference axis(2) members in a calculated member, so I can use multiple selection. I've tried: with member [Measures].[Test] as 'settostr(axis(2))' select {[Measures].[Test]} on 0, {[Dim Sales Territory].[Sales Territory Region]. members } on 1 from [Adventure Works DW] where ([Dim Geography].[Country Region Code].&[US], [Dim Geography].[Country Region Code].&[CA] ) However, I get an error. Is there any other way Thanks a lot, Santi You could use the Existing function: >> with member [Measures].[Test] as settostr ( Existing [Geography].[Country].[Country]. Members ) select {[Measures].[Test]} ...Show All
Windows Forms Screen Print
This seems to be a very simple thing but I just can't find anything to tell me how to do this. Everything seems to point to printing a document. I just want to print a hard copy of the current (active) screen (window/form). Thanks for any help, JasinB(David) Try something like this. private void printDocument1_PrintPage( object sender, System.Drawing.Printing. PrintPageEventArgs e) { Bitmap bm = new Bitmap ( this .Width, this .Height); this .DrawToBitmap(bm, this .ClientRectangle); e.Graphics.DrawImage(bm, 0, 0); } } ...Show All
.NET Development How to Save data from XML File to table
Hello everyone.. I'm trying to convert table to XML file.. My code like this.. n it's success!!! Dim ds As New DataSet Dim cn As New SqlConnection("Initial Catalog=PDA;Data Source=Maizatulakmal;Integrated Security=True;") Dim da As New SqlDataAdapter("select * from users", cn) da.Fill(ds, "users") ds.WriteXml("users.xml") Now I want to read the XML file back and save it to table.. Dim ds As New DataSet Dim filePath As String filePath = "users.xml" ds.ReadXml(filePath) What I'm suppose to do after this code to save the data from XML to my existing table Thanksss!! a lot Maybe , you would look ...Show All
.NET Development ObjectDataSource Bidirectional ControlParameter - is it possible?
Hi. I have a question. On my page there are TextBox, GridView, ObjectDataSource and a button: <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="Method1" TypeName="Class1"> <SelectParameters> <asp:ControlParameter ControlID="TextBox1" ConvertEmptyStringToNull="False" DefaultValue="0" Direction="InputOutput" Name="param1" PropertyName="Text" Type="Int32" /> </SelectParameters> </asp:ObjectDataSource> Where Class1.Method1(ref param1) - is my business object. When app launched, the value from TextBox1 is passed into the parameter using ObjectDataSource1. Method1(ref param1) returns data for GridView1 and nmodifies param1. GridView1 shows the data, But, TextBox1 doesn't get the va ...Show All
SQL Server Data Mining Clusters
In a response posted Nov 21 (Clustering Dimension), Jamie wrote... "The only option of using a table-based model as a dimension is to write out the cluster labels and simply make the cluster label as a dimension attribute. You could even append the cluster label to the source data (e.g. the customer table) and not have a seperate dimension, simply a browseable attribute on the dimension of interest" Jamie, can you provide more information on how to do this We'd like to have a series of clusters in an existing household dimension. That is, we need multiple occurences of cluster model results over time browsable in the source cube. I've looked at the data source, dimension, and cube created by the data mining model, but I d ...Show All
