RichardCUK's Q&A profile
Visual Studio Express Editions Running an application on a server 2003 Thin Client - errors
Hi folks, boy, do I hope one of you can help me out here.. I ran a test to find out if the application I am working on, also runs on a server with windows 2003. I access that server through a terminal (thin client). I developed the application on a windows XP machine, and it runs without a hitch on all kins of stand-alone systems. However, if I run it via the thin client I get the following error: Application attempted to perform an operation not allowed by the system security policy. To grant this application the required permission, contact your system administrator, or use the Microsoft .NET Framework configuration tool. If you click Continue, the application will ignore this error and atte ...Show All
SQL Server Define MySQL data source in a SQL Server Analysis Service Project
I want to use MySQL database as a data source fo an Analysis Service Project. But there is no Provider that support MySQL Databases. If anybody have any experiance about this, Please help me. Thanks Hi, I know there are some providers out there, but I don't have any experience using them, but I do know they exist. Here is one that I found doing a quick search. http://sourceforge.net/projects/myoledb/ David ...Show All
Visual C++ Vc proj item data
Hi, In a VS2005 vcproj project there is the <File> Item. Where can i find list of the various fields this has. ie i want to use Absolute path instead of 'RelativePath' can this be done Hi, The only allowed attributes for File are: RelativePath and FileConfiguration. Additional details you can find in the vcproj file schema that is available here: res://[Visual Studio 8 installation folder]\VC\vcpackages\VCProjectEngine.dll/SCHEMA/VCProjectFileSchema.xsd All files added to a project are referenced using their relative path and this is by design. Hence a project is not dependent on its current location. This saves a lot of headaches when moving it in a different location on the same m ...Show All
Commerce Server Discounts
How can i manpulate many discounts to show them on aspx page ( we are using commerce server 2007, SQL 2005, VS 2005) Johan, What properties are you setting on the DiscountCriteriaFilter This is probably the reason you're not getting any records. Here's the documentation on it: http://msdn2.microsoft.com/en-us/library/microsoft.commerceserver.runtime.marketing.discountcriteriafilter.aspx I don't know what the default setting is for the five member properties, but you'll probably need to set some of them to true to populate the collection. ...Show All
Visual C# unnecessary Class files in application.
Hi, Creating seperate Class file for each Enum in the application, will this effect the application perfomance To make the above question simple, Creating unnecessary Class files, effect the performace of an application Thanks in advance, Mayur M Hello All. mayur8u: It all depends on your situation. If you aren't bound by house rules, then it's completely up to you. If you have several short classes that are conceptually related (even if not logically related) then it might make sense for you to put them in the same text file. The whole concept of maintainability really depends on what makes the most sense to the most people involved. So, if you're in a development house, then it is decided (hopefully) up front wh ...Show All
Windows Forms Datagridview, bindingsource, thread problem
I have a datagridview with a bindingsource as a datasource. the datasource of the bindingsource is a datatable from a dataset. When a change occurs in the datatable .. i get notify ... when i get notify i applied the changes in my cache version of the datatable where the bindingsource is pointing. i get the following exception : System.IndexOutOfRangeExceptions: Index 0 does not have a value at System.Windows.Forms.CurrencyManager.get_Item(Int32 index) at System.Windows.Forms.DataGridView.DataGridViewDataConnection.GetError(Int32 rowIndex) I think it's due to a thread problem .. since the datatable is only thread safe on read-only and not write. Do you have a suggestion to overcome that issue I ...Show All
Internet Explorer Development IE 7 - scrolling jumps
Is there a default setting I can change in IE7 that will stop the jumping when I try to scroll using a mouse wheel It's almost as bad as what I see when I'm connected remotely to another machine. Thanks, R. Hill Hi, I've the same problem with IE6 in the other computer, and I need to restart often.. Thanks too. ...Show All
Windows Forms How can I do virtual mouse click?
Hi all, I have to do a virtual click on any position on window(I mean click by not use a mouse ). How can I do that in C# Thank a lot. My interest is to send a click event to a specific control, a Button for an example ^^ I'm pretty sure it's easy because it is in any other GUI API I used, but I have to admit Windows.Form assembly disappoint me sometime... Anyway I'll probably find the solution alone and thanks a lot for the tip to simulate a click anywhere in the screen !!! ...Show All
Visual Studio Team System Handling pre events to perfrom validation
hi all, We are successfully utilizing TFS event subscription via webservice and doing tasks like work item generation, email notification etc but the problem is we cant do any validation as they are post events, is there any legal way of handling pre events so that we can perform our validations or anyway of rollback, plz advise.. regards faraz Faraz, You are right, even we also felt this kind of functionality is very much required. I have also provided the feedback to product team and expanded this in blog also: http://sanjaynarang.wordpress.com/2006/06/13/suggested-features-and-improvements-for-vsts-version-2/ (look for " Programmable capability to hook on to work item changes before commit &q ...Show All
Windows Forms ClickOnce deployment problem
Hello, I am having a problem and would be much grateful for any information/tips anyone can give me. After updating a program at work, i rebuilt it, and then published it to a server where people in my company can download it. When you click the setup.exe from the publish page, it downloads setup.exe all right. The program is that once you run that it pops up a dialog that says 'Cannot download the application. The application is missing required files. Contact application venfor for assistance.' Then it closes. Here is the detail file that came with it: Please, if anyone has any clue as to what or where i can check next, id be really really grateful. I am fairly new to programming, and would welcome any theories. T ...Show All
SQL Server Multi Column Subreport
Hi, I am trying to use a multi column report as a subreport. I want to know how can I do it without loosing multi column. Thanks, -Rohit Hi, I am having exactly the same issue. Did you ever find a resolution to this problem Are you using SQL Server 2005 and VS 2005 Thanks, Amy Bolden ...Show All
.NET Development replacing Thread.Sleep and Thread.Resume
hrm... second post. dunno what happened to the first. how might I go about replacing the functionality of Thread.Sleep and Thread.Resume wow, wow, wow, wow, wow, wow and uhm, wow.... ok, well, <feeling a bit stupid>where you see the word "Sleep" mentally replace it with the word "Suspend" which makes a whole lot more sense... ***. ...Show All
Visual C++ Application closes when 'Enter' key is hit.
Hello!The issue that i am facing is, whenever 'Enter' key is pressed when application is running, the applications exits without any prompts or intimation. i have take care of OnCancel() and OnClose() events , but i couldn't find anything on 'Enter' key event. Please help me with this. For MFC and ATL Dialogs override virtual void OnOK() method to process additional action when Ok button or Enter pressed. ...Show All
.NET Development Control of system clock
Hi, Intro: I have a network sniffer connected to a UDP network. I use WinPcap with my data extraction API located on an interface PC. GUI is made in Visual Studio. I have full control of the time recorded on the sniffer (from extracting time in telegram header) but I run into the following problem: When I try to play back the UDP stream via 100MB onto a server running Win XP, the receiving application receives it's time from the system clock. I am not interested in showing the current time when the playback is not in real time. I am interested in showing the time from the extracted data. When I play back events and alarms all time stamping gets wrong since the UDP playback stream does not contain time stamp in use by my application. ...Show All
Visual Studio Team System History font is ugly
Hi Forum, does anybody know if its possible to change the font & size in the WorkItem->History tab, when showing the headings with the timestamp & initials, e.g use the same font size as the history details Cheers, The headings should use the same default font, as history details, but just bold variant of it, unless you have specified history font explicitly using formatting toolbar. The field changes table uses the same font, but one point less. It is hard to say, what it wrong without screenshot. ...Show All
