Alex Norko's Q&A profile
SQL Server Option "Include first-level subfolders"
I do not have the option to "Include first-level subfolders". There is some discussion in another thread (Re: How to Delete Files on Maintenance Plan) that indicates this has been fixed on SP1. I am running SQL Server 2005 x86 64-bit Standard Edition with SP1. Is anyone else experiencing this problem Satya SKJ wrote: Oh I guess the x64 bit could be the reason about why this might not be fixed with SP1. Is there a more definitive answer out there ...Show All
Windows Forms Panel/Form lost focus
I'm currently using a panel in my form to host a DirectX display. I'm using the Form's MouseWheel event for zooming and the panel's MouseMove for the panning. I've recently added a toolstrip slider to adjust a property in the display. All is working well except for once the slider is used I can no longer zoom using the form's MouseWheel event. I still register the MouseMove events on the panel, but the form's MouseWheel and KeyPress are no longer triggered. What am I missing GrkEngineer Your form has lost the focus and can't get it back. Check this thread for a work-around... ...Show All
.NET Development How to create a Web.Config
Hi, I'm a newbie to ASP.NET, I try to create a new propject in MS Web Development 2005 Express. All I did was just put in a "Hello World" in the Default.aspx.cs file at the Load_Page. I try to load it up to my web page and type in my home page name and this is the error I got: Please help if you can. Thanks Jason Server Error in '/' Application. Hi Computer Guy, Thanks for the reply, I changed the <customErrors> see below: < xml version="1.0" > - <!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use the Website->Asp.Net Configuration option in Visual Studio. A full list ...Show All
Software Development for Windows Vista A required CD/DVD drive device is missing
Hi there, I tried to install Vista RC1 on a second HD partition but, with no luck. It comes up with: "A required CD/DVD drive device is missing" error and it wont go any further. I updated all the drivers but still no luck. With the same DVD I installed it on my VPC without any errors at all, but it's very slow when run from the VCP. Can someone give some ideas or suggestions on how to solve this issue. sorry but these forums are for software development and your question does not relate to this. You would need to post your question over at the appropriate communities: www.microsoft.com/communities Thanks! ...Show All
SQL Server Export SSRS 2005 Report to Excel
Hi, I have created a report in SQL Server 2005 Reporting Services. After I export it to Excel format, if I try to print it (Hardcopy), my Excel crashes. It shows an error and shut down. I'm using Excel 2000. It even shows me same error when I click on "Print Preview", in Excel. Everytime I try to print the excel worksheet, a window pops up with the heading "Visual Studio Just-in-Time Debugger". The error is: "An unhandled win32 exception occurred in EXCEL.EXE [3460]". Any help is greatly appreciated. Perm Was this question ever answered If so, I'd be curious to know the answer, as I am encountering a similar situation at my client -- user is using Excel 2000 and each time she exports ...Show All
Windows Forms Transforming data values?
I would like to use the data binding mechanism to bind a NumericUpDown control to an int-valued property on an object. However, for various reasons, I want the control to show a value that is one greater than the value of the property(*). Is there some easy way to do this In general, I guess I'm asking if there is some way to transform values in the data source to control properties and vice versa. Cheers, Simon (*) Why do I want to do this The property I want to bind in the object is a zero-based index value, however, it would be more appropriate to present this to the user as a one-based index. I'd like the mapping to be automated. Hi, Handle the Format event of the Binding object used to databind t ...Show All
SharePoint Products and Technologies RichHtmlField and RichImageField
I need to create page layout with several "PublishingWebControls: RichHtmlField" and "PublishingWebControls: RichImageField".Does anybody have information about this Thanks Somebody answers me at the community of Microsoft: http://office.microsoft.com/en-us/sharepointdesigner/HA101741281033.aspx And You'll need to add new columns to the particular page layout content type and then add the new fields on to the page layout. Thanks to alspeirs and LM ...Show All
Visual Studio Express Editions database don't update in Form_load C# and ADO.NET
How I make to in Form_load event appear my database with new INSERTs Below the code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Data; using System.Data.OleDb; namespace waTr325 { public partial class frm325:Form { public frm325() { InitializeComponent(); } OleDbConnection _connection = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\bdDocTed3.mdb"); OleDbCommand OLE_select = new OleDbCommand("SELECT Valor, HoraInicio, Contato FROM tbl325"); private void f ...Show All
Windows Forms how to add a new row to datagridview + bound text boxes et
I have a datagridview(too small to put all the column values) so I used some text boxes in a form below to display the entire detail for any selected row. The textboxes are bound to the same databindingsource as the datagridview..The selected row in datagrid populates values in the textboxes. I want some mechanism so that when a user wants to add a row, they can put their values in the textboxes and hit add button which puts the new row in the datagridview. Is this possible Thanks.. This is how I 've solve it. Note that this solution is for multiple DataGridViews on form. For one it can be IMHO done easily. The principle is that I 'm monitoring changes of current item in B ...Show All
Visual Studio Express Editions Can anyone help me count letters?
In VB 2005 express: I am writing a 'word calculator' program that: -Uses the textfile in "textfilecontents" (textbox) -Scans each character, from each line of 'textfilecontents' Here is what I've got so far: -If the character is a letter, then: -convert the unicode value of each char to it's base value. (A=1 B=2 C=3 D=4, ect.) -adds the base value of each letter to 'TALLY' (integer) -display character read to "txttallied" (textbox) -If the character is NOT a letter, then: - display the character to "txttallied" (textbox) - don't add to tally (only letters are counted) -If the character is a carriage return: then: -display TA ...Show All
Visual J# java.awt.Shape as defined in J#
Hi; Unless I'm missing something, it looks like J# defines java.awt.Shape, but defines the interface as having only getBounds(). Is this true and if so why This is a giant problem for us. We would be ok if it was not defined or if it was fully defined. The partial definition is a significant problem. Is there any way around this thanks - dave Hi; The problem is that there are other methods in the java API that are passed a Shape so we must pass that interface. But inside those methods we need the other Sahpe methods. Why did you only define part of the interface It seems to me it would have been just as easy to define all of it. thanks - dave ...Show All
Architecture Sharing a transaction and a connection between multiple objects
I have two objects which do some operations on the database. these operations should be done in one transaction (all or nothing), so they should share the same transaction object and the same connection object too. I was wondering what is the best design pattern to use in this situation. any thoughts fAssuming you are not going to use COM+ or Enterprise services.. You can use the singletone pattern..Each class gets the connection by calling a factory function that returns the connection which can have a transaction started.. The connection can be stored as a static member in case the application is not multithreaded by nature.. for example..If your components are called from an ASP.NET webservice, storing the connection as a static m ...Show All
Commerce Server Getting SoldToName in Pipeline Component
I'm building a C# pipeline component to handle credit card processing. I'm able to get the order form values without a problem. However, I'm not sure how to get the value for "soldtoname" which is stored at the PurchaseOrder level. Does anyone have any code examples where they've done this, or have suggestions As you've probably noted, the rest of the OrderGroup values are inaccessible in the pipeline. You can either use the email address in the address dictionary, or you can attach the value in the ordergroup field to the context dictionary prior to running the pipeline. IE: PipelineInfo p = new PipelineInfo(); p["sold_to_name"] = bas["sold_to_name"]; That only take ...Show All
Windows Forms MultiThread Visual Application
I have TreeView on my Form. This application has 2 threads and I want to make changes with my treeView in 2nd thread, but here is such exception: name: InvalidOperationException and Message: "Action being performed on this control is being called from the wrong thread." what can I do with it thanks for your help you need to invoke the control. Remember, it is illegal to call a UI component from a thread which the UI Component was not created from. so....here is an example on how to say, set the text of a label from another thread, you call the delegate method: //Main form: public Delegate void DoChangeUILabel(string theText); .. .. public void DoChangeUILabelMethod(str ...Show All
Visual C++ overloading the standard operator New
Hi, Most standard C++ compiler do not like overloading the operator new in a class declared in a namespace. Does any one know why e.g. namespace ABC{ class cls1 { .... public: friend void* operator new(unsigned long l) { .... } ... }; } There's nothing wrong with declaring it in a class within a namespace. However, when you declare it as a friend within a class, it won't actually be in the class, it'll end up at namespace scope. To create a new operator new for cls1, you should declare it static, not friend. ...Show All
