SintratF's Q&A profile
Visual Studio Express Editions Print text from inside textbox
i want to be able to print what ever text is in my textbox1. how do l do this can i fill in the X and the Y coordinats e.MarginBounds.Top, e.MarginBounds.Left, what do i have to change i try'd several things ...Show All
Visual C++ CListCtrl
i make a program MFC SDI and lot of option one of them is a dialog drived from CDialog with control CListCtrl . The CListCtrl have 20 columns and i used the drag and drop columns in setextendedstyle() , but i would like to memorize the new order of columns after drag and drop how acan i do it thanks ...Show All
SQL Server Right-Click Table -> Import data GONE??
Hi all Apologies if this should be a tools question! In the 'good old days' you could right-click a table, select Import data and have the target pre-selected....not only does that no longer exist for SQL 2005 you now always have to explicitly select the source and target.... Is there a work-around or is this a security cleanup gone mad and is thus a 'live with it :( Hi Jamie You are of course correct, however this does mean that you have to explicitly select the source and target. My point is that beforehand you could implicitly select the target by right-clicking the table and select import data thereafte ...Show All
.NET Development Column Expression
I have database with two tables what i would like to do is in the sales table when i put data in the datagrid is to have a column expression that calculates the quantity * price that gives the total.I am using C# express edition2005 and SQL server express edition 2005 hope someone can help with code and where to place it. Thankyou http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemdatadatacolumnclassexpressiontopic.asp ...Show All
Windows Forms Creating XML documents in C#
Hello, I want to know if it is possible to automatically create a .xml file using an existing schema. If so, how is this done. thankyou. fss It's early, and I'm still missing some brain cycles here, but you can load some XML files directly into a DataSet object using the schema you supply, and can edit the data within that DataSet, and&nb ...Show All
SQL Server SQL-DMO Install on SQL Server 2005 Express Client
I am installing a Client side SQL 2005 Express that needs SQL-DMO. The Client computer does not have SQL Server 2005 Express installed. I have installed all the MDAC and .Net 2.0. The command line I'm using to try and install the SQL-DMO and XML modules is: SQLEXPR_ADV ADDLOCAL=Tools_Legacy,SQLXML I get a message something like 'SQL Server 2005 Version does not support this install option.' How do I get SQL-DMO installed on a SQL Server 2005 Express Client computer DMO does not ship with Express. But you can obtain at http://www.microsoft.com/downloads/details.aspx familyid=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&displaylang= ...Show All
Software Development for Windows Vista Resize the activity in designer
It's the same question we asked in BizTalk. Can we re-size the activity when the name for the activity is long Maybe not possible in this version, just curious. In this version we cannot re-size the activty in the sequential workflow designer and the activity designer. However, in the state machine designer the state activity can be resized. Also depending upon the length of the name of event driven, state initialization and state finalization activities the size of glyph and the parent State increases in size (in state machine designer). Thanks, -Chethan ...Show All
Visual Studio Express Editions Need help with for and pictureboxes
I'm making a map editor to make maps Every tile is a picurebox. In the menu there is a command "New" wich will load all the default pics into the picturebozes, so you can make a new map i created this for statement dim i as integer For i = 0 To 391 PictureBox(i).image = My.Resources.Image_default Next i But this doesn't work. There is something wrong with the PictureBox(i).image Please help me. I'm using vb2005 Thanks in advance, Radexxion "There is something wrong with the PictureBox(i).image" doesn't really give much idea of the problem you are having. Have you created an Array called ...Show All
.NET Development Dataset serialization
I have an issue with the Dataset serialization. I have a class, say BaseDataSet which inherits from the Dataset. More classes inherit from BaseDataSet. I would like to pass on the object inherited from the BaseDataSet back to the client via a web service. Before passing on I cast the derived object to BaseDataSet type. On the client, I am not able to down cast the dataset back to the specific class which is the type of dataset passed across. Are you applying the serializable attribute to all your descendents [ Serializable ] public class BaseDataSet : System.Data. DataSet { } [ ...Show All
.NET Development Abstract classes and interfaces
I'm a newbie to C# but ran into the following issue and was wondering why I had to do what I did to get the code to compile. Let's say I have an interface defined like this: interface Foo { void doFoo(); String getBar(); } Then I make an abstract base class: public abstract class Bar : Foo { public String getBar() { return "Bar"; } } With a concrete implementation: public class ConcreteBar : Bar { public void doFoo() { Console.WriteLine("Doing Foo..."); } } When I try to compile the code, it tells me I can't as class Bar doesn't implement method ...Show All
Visual Basic Creating Short cut keys in windows forms
Hi, We are trying to migrate a project from VB to VB.NET. Lot of short cut keys have been used for buttons in Visual Basic. how do we implement the short cut keys in VB.NET windows forms Thanks, Kris I just forgot to add that we need hot key functionality for tab controls in windows forms. How do we implement this Thanks, Kris ...Show All
Visual C# blocked zip files using zipsharp library
I had a program created in C#.net that zips a folder up for me automatically. We used the zipsharp library and it seems to work great execpt when you try to open it using windows to extract the files from the zip. If you try to extract the files you get a message saying "windows has blocked access to these files to protect your computer" and it tells you you can fix this by right clicking the zip file and go to properties and check the "unblock" box and all will be fixed. However there is no "unblock" option anywhere. I can use winzip or winrar to open and extract the file just fine but windows will not work. It seems to be somet ...Show All
Visual Studio how to inject files into a target?
Is there a way to inject source files into a target before the build starts in VS2005 I want to do some external processing and perhaps add source files to a target when the project is built. I tried this doing it in BeforeBuild/PreBuild but changes to the target were not read until the next build. Is it accurate to say BeforeBuild/PreBuild are executed earliest in the build NOT before the build. I'm looking for a pre pre-build hook. How exactly are you "injecting" these files I'd have to know more about your situation, to really go into it but I'll give it a shot. It seems like there are some conditions that must be met before you ad ...Show All
Software Development for Windows Vista WorkflowQueuingService
i'd like to know where can i find some information about this class -different from the sdk help- i'm looking for some info regarding the moment and responsible class to add this Service to the ActivityExecutionContext. thanks in advance Gustavo, The WorkflowQueueingSerivce is a default runtime service...what were you looking to use it for The HandleExternalEvent uses it, for example, to allow you to raise events for a workflow instance. Arjun ...Show All
Visual Studio Deploy application
In visual studio 2005, exists the merge modules for crystal reports And, how-to add a report make in crystal reports 11 on C# project ( VS2005 ) Hello Rafael, Please take a look at the welcome post: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=8949 Beta 2 uses the .msi file for installing, merge modules are used only for 64-bit deployment. You can also check out this post for Crystal Reports XI: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=16340 Keith - Business Objects ...Show All
