daggmano's Q&A profile
Visual C# Referencing Value Variables
I want to do something where I can take any variable, reference type (no problem) or value, and have a reference to the data, rather than just the data (in the case of value variables). Example: //create three objects for reference object obj1, obj2, obj3; //create two ...Show All
Visual C# Cannot add text to a print document
Hi, What I am trying to do is print off a document with some text. I have written the following code but it does not do anything. PrintDocument TestPrint = new PrintDocument (); protected void Page_Load( object sender, EventArgs e) { } protected void Button1_Click( object sender, EventArgs e) { //Calls the TestPrint.PriintPage Event TestPrint.PrintPage += new PrintPageEventHandler (TestPrint_Prin ...Show All
Visual Basic Code Snippets - Surround With
Using VS2005 Professional. Have an issue with inserting "surround with" type code snippets. I can right click and insert a regular code snippet without any problem. However, if I select several lines of code in the code editor then right click I don't get the "Surround With" snippet option. Have tried using keyboard shortcut CTRL+K CTRL+S but VS2005 beeps and in the status bar says "surround with command not available". Can an ...Show All
.NET Development Read non standard-conformant XML
Hi! I want to read an XML file, which is not completely standard conformant. To be more precise some of its nodes contain text with special characters (see the example below). <RootElement> <ConformantNode>Hello</ConformantNode> <NonConformantNode>You & me</NonConformantNode> </RootElement> As you can see "NonConformantNode" contains an & char in its text, which ...Show All
Visual Studio Express Editions Changing the desktop bakcground
Does anyone know how I could change the desktop background in C++ See this thread , or try asking in one of the newsgroups. ...Show All
Visual Basic What's wrong with this code?
I had this code that i am supposed to use for my current project...Using Crystal Report, I want to sort the record by entering the two dates (dtpFrom, dtpTo), the name of the company(FINAL2.COMPANY), the description(FINAL2.Description) Private Sub ConfigureCrystalReports() Dim mySelectFormula As String = "{FINAL2.Order_Date} >= #"" & dtpFrom & "#" & " and {FINAL2.Order_Date} <= # ...Show All
Microsoft ISV Community Center Forums Edit Data in Access
Hi, I currently have a MS Access 2002 database, and it has a table with the fields "Part", "Quantity", "Date", and "Comments". Thie "Part", "Quantity" and "Date" data are extracted on a weekly basis from another MRP database. However, I have to manually copy the "Comments" data over because it is not part of the MRP database. I wrote some simple queries to see ...Show All
Windows Forms Installation Error
I am getting a very interesting error when I attempt to install Terrarium on my system XP Pro, AMD XP 2000+, 512Mb RAM I installed the SDK Package, then the Redist Package (It told me I had to) then When I went to install Terrarium I ...Show All
.NET Development What Event Exactly?
I need to populate a dropdown listbox named "sub category" once the user the clicks his desired selection in the dropdown listbox named "category" e.g. clothing has subcategories like gent's clothes and ladies clothes. I need to know which event i have to use Im not sure in what event i have to put my code in exactly.Please help. use codebehind private void ComboName_SelectedIndexChanged( object sender, System.Eve ...Show All
Visual Basic date of birth
hello i am very new to visual basic but have tried to work this out myself the whole day and got no where. i am attempting to design a form where by the person fills in their date of birth and it has to be checked to make sure they are old enough, between 21 and 62 does anybody have any idea at all please, as i have totally given up Something like the following Dim d As String d = Textbox1 ...Show All
Visual Basic AND ONCE AGAIN, ANOTHER NEW QUESTION
How do I create a grid of pictureboxes (25 x 25) on Visual Basic 2005 and auto-name them pbx(row)_(column) for the picture boxes It is to slow and hard to manually rename all 625 of them. Ok question answered, thanks. New question: OK, I ran into another problem. I want it be so that if I click the picture box with the person in it, you can move him by clicking on another tile. How do I do this (I tried (got from Dustin_H 's sample code) : ...Show All
SQL Server Upsizing Access Action Queries
Can anyone advise me on upsizing Access 2003 action queries to SQL Server I have a large application to upsize which contains quite a few append and make-table queries which the otherwise excellent Access 2003 Upsizing Wizard cannot handle. Thanks Dave White I'm moving this thread to the database engine forum. You might also try an Access forum, as folks here may not know much about the Access Upsi ...Show All
Windows Forms printers
how can I get the list of all system printers I want to shoose one and to change ists properties or do a screen print thank you ! System.Windows.Forms.PrintDialog C# PrintDialog dlg = new PrintDialog(); dlg.ShowDialog(); VB Dim dlg As New PrintDialog() dlg.Sho ...Show All
Visual C# Windows program startup
Just want to know how can my application can start before anything is displayed i.e taskbar .........i want my application to run first before any service or another program runs........i know we can place program in start up folder (this is not solution for my problem).......just want to take control over windows by my application .......thax Hi! Why do you need such system-controlling application Hope you not going to try to write some ...Show All
Visual Studio Express Editions hello new to c++ !
hey new to c++ programming and would like to be able to create a window and button that when u click on it a msgbox appears just like in vb and says something or are there any tutorials to guide me thru steps ch1p wrote: i get this error when i try to compile what is this [snip] how do i fix this Do as the build log told you ;-) Add #include "stdafx.h" at the top of WINDOW.cpp file. Alternatively, you can go to project opti ...Show All
