Hadi Riazi's Q&A profile
Visual C# Warning MSB3042 : How To suppress?
Our company writes a lot of tests (test driven environment) In 2.0 we are now receiving the following warnings for existing code Warning 8 A namespace or class definition was found within a conditional compilation directive in the file "TestForm.cs". This may lead to an incorrect choice for the manifest resource name for resource "GUI\Grid\Internal\Testing\TestForm.resx". ZArchitecture C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.CSharp.targets : warning MSB3042: A namespace or class definition was found within a conditional compilation directive in the file "TestForm.cs&quo ...Show All
SQL Server What is a Transfer Task?
It shows up when using the wizard, but otherwise doesn't appear to be available or documented What is it Thanks, David Hi David, this is an internal task used for copying many tables by Import Export Wizard and Copy Database Wizard. It is not practical for manual configuration (requires XML file with all the tables and related metadata listed), so it is not available in the task list. It can easily be utilized using the wizard, though. Thanks, ...Show All
Visual C++ Chinese resources
Hi I have to create chinese resources for my application. To check a bit how all is working I created a chinese mfc application. If I run the application, all is shown correct in chinese. If I check the resources for example the menu in visualstudio I dont see chinese signes. Do I have to change any settings in visualstudio to see the correct chinese signes in the resource editor Thanks Peter Hi, your problem can easily be solved, at least the matter with BearShare. I hope you have your Windows XP CD available. In Control Panel click Settings, then Regional and Language Options. There go onto the Ad ...Show All
Visual Studio How to debug a dll with an executable file?
I have made a DLL with Vision Studio 2005 and tried to debug it with an executable file called CANoe32.exe which I have specified in the property settings. Whenever I start the debug a window with the error information will popup " CANoe32.exe doesn't contain any debug information (no symbols loaded), do you want to debug anyway " If I choose "cancel", a window in Vision Studio will show me much failed information like " load CANoe32.exe no symbol loaded" " load ntdll.dll failed no symbo loaded" and so on. I have tried many times but failed. I don't know why. Any help will be appr ...Show All
Visual Studio 2008 (Pre-release) Will Vista Ship with native WPF applications ?
A Native WPF application has a choice to either use the legacy print route (GDI print path) or to use the new XPS Print path using XPSDrv to print to a printer. In case a GDI print path is being used by WPF application, there is no problem since the earlier Printer drivers would be supported in Vista and a printer manufaturer would test the drivers on Vista and make them available for applications to use. However, if a printer manufaturer needs to support XPS printing, it has to provide an XPSDrv driver for it's existing printers. (Implementation of an XPSDrv driver can be either a native XPS-RIP or a XPStoPDL conversion) For a Printer manuf ...Show All
SQL Server URGENT: Specific Models in Report Builder
Is there any way to display specific models in Report Builder, depending on the permissions granted to users on different folders. For e.g. If the user has been granted permission on folder A, not B, then he/she should not see the models from B, when launching Report Builder from web application. Any help or suggestions or pointers is highly appreciated. Thanks in advance. Model visibility is controlled just like any other items on the report server (e.g. reports, data sources, folders). If a user does not have read permission on a model, it will not appear in the list of models displayed in Report Build ...Show All
SQL Server How i could connecting to Analysis Services from BI Intelligence Studio with server authentication?
Hi: I have been working at client work station with BI Intelligence Studio but i want deploy the project in server machine, but my windows credential don't have sufficient privilege for do it. However i know the server credential for do it but i can't find the project settings for do that. The account you connect to the AS server as will need permisions to deploy the database. In the Windows Start menu, you can right-click on the BI Studio item and select Run As... and this will give you the option to run the UI under a different windows use account. This account does not necessarily need permiss ...Show All
SQL Server Output of sql commands
Hi, Suppose there are two tables employee and salary and a,b are two instances of tables employee and salary.There are 20 records in each table.Then what will be the result of the following query select a.*, b.* from employee a, salary b. regards arun create table a ( a1 char ( 3 ), a2 char ( 3 )) create table b ( b1 char ( 3 ), b2 char ( 3 )) insert into a values ( 'a11' , 'a12' ) insert into a values ( 'a21' , 'a22' ) insert into b values ( 'b11' , 'b12' ) insert into b values ( 'b21' , 'b22' ) select a .*, b .* from a , b ...Show All
.NET Development .ToString on Custom Classes
From Wrox: Professional VB 2005 Dim objMyClass as New MyClass(“Hello World”) Console.WriteLine(objMyClass.ToString) Which brings up the question of how does the Object class know how to convert custom classes to String objects The answer to this question is that it doesn’t. For this method to actually return the data in an instance of a String , a class must override this method. Otherwise, when this code is run, the default version of this method defined at the Object level will return the name of the current class ( MyClass ) as its string representation. This is confusing to me. Why does the ToString method ...Show All
Windows Forms ovveride OnPaint not called on Custom Tab Control
Hello I am trying to create a custom tab control which inherits from a tab control but my ovveride paint does not get called Does anyone know why i just want to draw the tab control my own way namespace CustomControls { public class TabControl : System.Windows.Forms.TabControl { public TabControl() { this.Name = "ScrollingText"; this.Size = new System.Drawing.Size(300, 300); } protected override void OnPaint(PaintEventArgs pe) { base.OnPaint(pe); } } } Take a look at the code examples on my site: http://www.dotnetrix.co.uk/tabcontrols.html ...Show All
SQL Server SQLSERVER 2005- JDBC, IntegratedAuthentication mode is not enabled
Hi When I try to connect to my SQL 2005 database I keep getting the message: IntegratedAuthentication mode is not enabled. Here is my URL: JDBCDriver=com.microsoft.sqlserver.jdbc.SQLServerDriver JDBCConnectionURL=jdbc:sqlserver://mobal01c:1433;databaseName=mdb;integratedSecurity=true My SQLServer 2005 GA is set to Windows Only Authentication Mode, also I am using the Beta 2 JDBC driver. Thanks Ali We're still testing and improving integrated auth for this driver. We won't be shipping this feature in v1.0, but it is at the top of the feature list for v1.0 (late spring '06). - ...Show All
Software Development for Windows Vista Passing parameters into the workflow.
Hi, I'm very new to workflow, and need help... I created a workflow library that has a custom workflow action developed. Then I used a winapp to test the workflow, in preparation to deploy the custom action into office 12. Basically the workflow action will try to escalate anything to a person's manager using information stored in active directory, so that users in office 12 do not need to specify the manager. The problem is, I don't know how to pass parameters into the workflow. I have the workflow book, but I can't really make sense to what is written the codes are in snippets. First of all you h ...Show All
Visual Studio Express Editions Determining When The User Has Closed A Form By Clicking The 'X' or From The Control Menu
Hello All, I have a bit of a problem here and I can't seem to find a solution. I need to know if there is a way to determine if a user has closed one of my application forms by clicking the 'X' or from the form's control menu. My App has code that needs to execute if this condition occurs and only if the condition occurs. Similar code is executed if the user closes the form by regular means, but I need to cover myself by having it execute in both cases. In VB 6 you could check for the condition by checking the UnloadMode of the form to see if it was equal to vbFormControlMenu. This does not seem to be an option in .Net. The closest option ...Show All
.NET Development Create HTTP Service Message
Hi all, I am not sure if this is the correct forum to post this and if not could one of you please direct me me to the correct one. Anyway, I have to create a HTTP Post message (not sure if this is what its called), that basically takes some xml and creates a SOAP Envelope (am I correct in thinking the easiest way of doing this is using xslt to transform the input xml) and then a message (in xml, so it has the same content type). All of this needs to be wrapped in MIME and I was wondering if there is a class that will allow me to create this. I have seen that there is a System.Net.MIME namespace and am wondering if this is ...Show All
Visual Basic automated login..pls help???
i have a form...on it a webbrowser control...and two text boxes(in which i write the orkut username and password)...now i also have a button... i want..when i press the button...the webbrowser should navigate to http://www.orkut.com... and automatically fill-up the username and pw field..and click the login button... but i cant write the codes...when i try to see the source code..i find that login portion not there in the source code...why is that so can anyone help me with the code required for this thanking in advance...!!! Hi, really i'm not sure that i have really understood yo ...Show All
