aybe's Q&A profile
Visual Studio C# + VS 2005 + Crystal Reports
Hi, i have a doubt, how can i make a report with 2 distincts groups I have a master table and two child tables. I would like to list all child table one and after all child table two. Both child tables are diferents. How can i do that Thanks. ...Show All
Visual Studio Express Editions Error handeling showing source in messagebox
Hmmm i got question about showing the error soruce in a messagebox....... thats how i used to do in vb6 msgbox err.description & " - " & err.source thx ahead :) Hmmm it work KK in Console, but if i try to do it in a Win app, in a MessageBox it don't work..... try { System.Diagnostics. Process .Start( @"this.exe" ); } catch ( Exception e) { Console .WriteLine(e.Message); Console .Read(); } tryed to read the two links you gave, didn't found the answer. ...Show All
SQL Server How to render multiple reports into one output file?
We are using SQL Server 2005 Reporting Services and looking to render multiple reports into one output file. So, for example, say we have four reports and when the user asks for the reports to be generated, we would like to have all four reports come out in one PDF (or Excel or HTML) file instead of four separate files. I hope this makes sense. Is there any way to render multiple reports to one output file Thanks! the number of input parameter vary from time to time.. since there is only one input parameter for one report being displayed... how can be done in case of subreports or is there any other way to over this Regards, Somu ...Show All
Software Development for Windows Vista How to call webservices in a workflow in an asynchronous way
Hi, I am doing R&D on the features of Windows Workflow Foundation which we are going to apply for our project after release of WWF. we are using SOA Architecture. So I need to call services based on the rules. I have succeded in doing them practically using Sequential and State Machine Workflow. So, now I want to achieve Asynchronous way of calling webservices. I don't know whether this can be possible with WWF or not. If it is possible, can any body please help me in doing this. Thanks in advance. This looks like you are on the right track. I'm not sure why you can't see the interface as you have it declared correctly as far as I can tell. I've posted a simple example out for you to look at. Let me know if this helps. ...Show All
Visual C++ malloc or new?
In our application there are constantly being allocted and deallocated small amounts of memory. We use VC8. Should we go for malloc/free or new/delete (Speed is essential). malloc(100); new char (100); Is there any difference thanx Soren In my opinion it is difficult to give a precise answer to your question. It depends on the implementation of run-time library and other factors. For example, if new is based internally on malloc , then we can expect that malloc works faster. Otherwise, if malloc is based internally on new , then new should work faster. If we suppose that new and malloc are implemented as separate routines, then it depends on used allocation algorithms. These routine ...Show All
SQL Server need decimal data after division
HI, when i divide 2 nos i need the result in decimal. always the fractional part is truncated how to get it. venp-- Hi, i need to divide an amount value with month, like this 10000/9 . i need the value in decimal as it involves money.i have sql server 2005 installed. venp--- ...Show All
SQL Server The data types varchar and uniqueidentifier are incompatible in the add operator.
hi, i want to know how to do that: table: costtypes fields : typecode values: amount, vat, duty, table bills: fields: billid, costtype, amount value bi1 amount 1000 bi1 vat 10 bi2 amount 200 i need to create a view that will display amount, vat, duty as fields. note that these are values in the table. so that i will have billid amount vat duty bi1 ...Show All
Visual C# quick help please... XML attributes
Hi all, I have a DataGridView that displays an XML file in it... the table has these column names: Name, Value, Data. After I've populated it I need to compare (via a method call) the data in the Name cell with the string value in the XML comment. So basically I'm comparing the Name cells value with the comment value in the XML file. The XML file contains the useual <name>, <value> & <comment> tags. How would I do that Also I want to color the cells Name & Value if they do not match private void SeeForMatch() { XmlDocument doc = GetXmlDocument(); // loads XML file DataTable dt = datagridView1.DataSource as DataTable ; foreach ( DataRow rows in dt.Rows) // loops through the datagridview1 or ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Direct3D - how to render a simple bitmap ( Draw2D ) transparently ?
Hello all! I'm using Direct3D 9 (windowed) @ C# 2005. I load the bitmap file to my Texture object like that: tB = TextureLoader .FromFile(devD3D, @"b.bmp" ); I tried all kind of combinations with my Sprite object (who's associated to the DevD3D Device object) to render this Texture transparently, with the Draw2D function. Why Because this program is very simple and I don't want to mess around with 3D stuff. So, what am I missing here How can I render it transparently Can I tell what color to be rendered as "transparent" Thanks in advance ! Don't know why I didn't check this one before.. Took a few minutes to figure it out, so for those who gonna look for it, I'll highlight the important stuff, ...Show All
Windows Forms discarding user actions on a form while in busy state
Hi, I can't seem to figure out a decent way to do this. I have a small window, and I need to discard user input while performing some lenghty task. For example, if the user wants to sync the app with a server, and this takes time. The proper behavior would be to change the cursor to a busy cursor, and prevent the user from touching any control on the form. Of course, painting should still be done, and the form should be able to move and resize (user actions like move, resize, maximize, minimize). When the job is done, the cursor changes back to the default one, and the user is able to interact with the received data. I've seen various sugestions: - disable the controls (or the whole form): not good, as the appearance of the c ...Show All
Visual Studio 2008 (Pre-release) EventSetter handler
Hello, Is it possible for me to bind a delegate to Handler: <EventSetter Event="Click" Handler="{Binding Path=ViewModel.ClickHandler}"/> I don't I can do that because I get an exception...is there anyway around it Is there a way I can assign a command for the EventSetter Thanks Houman OK, this took me a while to figure out. I cannot bind to an event handler however, I was able to replace the EventSetter with a command. here is how the style for my listview item looked before (on double click invoke the event handler ShowDetail): <Style x:Key="ListViewItemTemplate" TargetType="{x:Type ListViewItem}"> <EventSetter Event=&q ...Show All
SharePoint Products and Technologies Where can I download the wss12.xsd file?
I am trying to edit a .webpart file and would like to add the schema to the properties for the file in VS 2005. However, in my 12 hive directory there is only a wss.xsd file and no wss12.xsd or anything resembling that. Several forum posts make references to the wss12.xsd file but I can't find it on the web anywhere. Also, I have installed SharePoint 2007. I looked there and I do not have the file. I have the wss.xsd filebut not the wss12.wsd. I saw all the posts that imply the file should be thre, but I don't have it. I need to know where I can download it from. Thanks. ...Show All
SQL Server Transfering data from DB2 OS/390 to SQL Server 2005
How can I make a connection in SSIS Data Flow to connect to DB2 on the mainfrain Have several DTS packages in SQL Server 2000 that uses the ODBC connection. Please help! Melvin, can you post more details - you couldn't set the connection meaning you did not find a way to set the connection Or you got errors setting up the connection thanks wenyang ...Show All
Visual C# Thread
I have a problem with my server application. When I run it and look in the windows task manager, it seems like there is only one application running. But when i'm closing it down, it's stille running in the background. Here is my code: public partial class ServerForm : Form { private TcpListener server = null ; private Thread serverThread; ArrayList BestiltView = new ArrayList (); public ServerForm() { InitializeComponent(); serverThread = new Thread ( new ThreadStart (serverstart)); //serverstart(); serverThread.Start(); } public void serverstart() { try { // Set the TcpListener on port 5000. int port = 5000; IPAddress localAddr = IPAddress .Parse( "130.225.1 ...Show All
Visual Studio 2008 (Pre-release) Xaml Error when using Frame in a Window "Source="Page1.xaml"
I am getting an xaml Error when i use a Frame to Display a Page with in a Window Class....When i run the program its fine,when i remove Source="Page1.xaml" the error goes away... But as soon as i put the Source="Page1.xaml" back in the Error Returns.. 'Class' sttribute does not exist in XML namespace ' http://schemas.microsoft.com/winfx/2006/xaml ' namespace Line '8' Position '2' Here is part of the Xaml:: <Window xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " xmlns:mc=" http://schemas.openxmlformats.org/markup-compatibility/2006 " xmlns:d=" http://schemas.microsoft.com/expression/interactivedesigner/2006 " mc:Ignorable= ...Show All
