develop's Q&A profile
Visual C++ why does modifying a dll requires to rebuild the client application
suppose anybody links a DLL to its client application, and then builds the client application. then he modifies the dll source code a little bit. Then if he tries to run the client exe again, he gets a linker error..why is it so the dll is explicitly linked. This is not accurate at all! This only occurs if you are exporting virtual or pure classes from within a DLL and you change the signature of those classes (the vtbl layout), if you are just exporting functions, you can change the body of those exported functions freely and have no problems making calls because the ordinal values for those don't change. The probl ...Show All
Windows Forms Richtext box Background Image
Hi as a part of my development Project i need to show a watermark image on the richtextbox.(ie) the image should be transparent.in other words the user should be able to view the text with the background image. There is no background image property exposed. richTextBox1.CreateGraphics().DrawImage(objBitmap,-10,0, new Rectangle(0,0,richTextBox1.Width,richTextBox1.Height) ,GraphicsUnit.Pixel ); And Moreover the image should be drawn Diagonally from bottom left to top right. the above code draws the watermark image but the text is getting Hided(its draws a layer over the text) Pls post me the complete code on how to a ...Show All
SQL Server Dynamically using different schema names in Oracle
I want to access some Views in Oracle on machine <M01> with a user <user01>. The views belong to different schemas e.g. user01.view01 and user02.view02. When I transport my package to another machine <M02> I am facing a different situation: The viewnames remain the same but the schemas have changed, e.g. user05.view01 and user06.view02. I have tried to parametrize my Source SQL query but it is restricted to use parameters in the WHERE-clause and not in the FROM-clause where I would place something like SELECT * FROM .view01 The main problem here are the differences between machine M01 and M02! How would you handle this ...Show All
Visual Studio 2008 (Pre-release) Problem with installation
Hello! I know that this may not be the correct place for this, but I'm kind of new here and there are a TON of forums. Anyway, I installed the WinFX runtime Beta 2 for Windows XP, then I installed the Windows Vista SDK. Then I downloaded the Visual Studio 2005 extensions. The installation went fine for all of them. However, the extensions weren't working correctly for VB.NET 2005 Express. Intellisense never popped up, and Visual Studio wasn't recognizing control names from XAML documents. So I talked to someone about it, and they told me to try it with C#. So I downloaded Visual C# 2005 Express, but it didn't recognize the WinFX project temp ...Show All
Visual Studio Team System How to use own Work Item Type "Feature" in Query
Hallo, we created a custom Work Item Type called Feature. Everything works well. The WI-Type is imported in TFS (witimport) and we can use it. Now i wanted to create a query that returns all features asigned to me. In the querydefinition I would like to select the "Feature" als value for the field "Work Item Type" but i can't select it. I am just getting Bug, Risk and Task for selection. (So Quality of Service Requirement is also missing!) The server is refreshed. We are using TFS Beta 3 Refresh, MSF for Agile as Template. How can i use the custom WI-Type as value in the query Kind regards, Matt ...Show All
Visual Studio Express Editions How to get and/or set IP address?
Hey, I'm using VB Express 2005 and I'm trying to write a small program to configure remote network devices. In order to do the initial configuration, I need to get the IP address of the local hard-wired ethernet adapter, or set it. One way of doing this, I figured I could set the local hard-wired adapter to DHCP and connect it to the device. Windows would assign an automatic IP address, which I could simply obtain. I would much rather be able to assign a specific IP address, do what I need to, and the re-set the adapter to its previous settings. Finding the correct hard-wired adapter could be as simple and promting the user with a list of ...Show All
Visual Basic .Net certification
Do you know any web site for .net or SQL server certification practice. I m beginner and I have no idea how they look like. Also if any web site to prepare for them I appreciate your help. (sorry I didn t know where to put my question) There are tons of web sites out there. For eLearning and practice exams, try www.selftestsoftware.com . If you just want the paper and not the knowledge, try www.testking.com . ...Show All
SQL Server SSIS finishes it's execution to early
Hi! I created a package with a strange behaviour: whenever I run the package in debug mode, SSIS finishes the execution always to early, although there are a lot of tasks left. I tried several different connection styles for the constriants, putting the tasks into container, taking them out again, etc. The result is always the same. Is it a bug or did I overlook something I checked the only possibility, that came into my mind: FailPackageOnFailure is set to True for some component, but it is set to False. Are your precedence constraints are correct Check those first. If they are then check Package E ...Show All
Visual C# Refactoring namespaces in vs2005
Using the refactor option within vs2005 is great when renaming a type definition. However - I have the need to move several types from one namespace to another. Is there a way of doing this similar to the refactor, that will inspect my project - and update any references as well Specifically what I am doing is the following: I have several type defined in Namespace A... A.T1 A.T2 A.Tn Elsewhere in my code I refer to these Types either by: using A; ... T1 or explicitly: A.T1 I have the requirement to rename the namespace A, to B.C thus defining the following: B.C.T1 B.C.T2 B.C.Tn Is there a function within VS2005 that allows me to ref ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Method of plotting 2D grid
Hi. I have a question. How would I plot 2D grid It's got to be infinate but without any performance loss. Will this work To show you wnat I mean, download a trial version of 3D GameStudio and open GameStdudio in 3D GameStdudio, located in the Program group. And one more question. Since I'm going to be developing an authoring suite along with an engine, in an application (world editor) with 4 windows, would it be possible to have 4 D3D child windows with just one device Or do I have to create a device per window Each of the child windows will have Top Right Back 3D The four windows will have to be in sync. Here's the table ...Show All
Visual C# Visual C# Application Deployment
Hello, Is it possible to create an application with "Visual C# 2005 Express Edition" that can be deployed on another PC running the Windows operating system without the .NET Framework installed on that PC. Thank you, Robert Thanks; Do you mean that any application created with the Visual Studio Express Eddition (e.g., C#, or C++), can only be deployed on anther PC running Windows that has the .Net Framework already installed Thank you. Robert ...Show All
Visual Studio Team System VSSConverter: ArgumentException- An item with the same key has already been added.
I'm encountering an ArgumentException when I attempt to migrate a VSS project into TFS. It fails at the same point every time. It isn't clear to me which file is causing it to fail.. when I look around in the namespace that it is in when it exceptions, I don't see anything noteworthy about those files. Please advise! [VSS, Info, 1, 2006/02/02 12:17:22.555] Action Added configuration Name::$/source/ami/web/configuration [VSS, Info, 1, 2006/02/02 12:17:22.555] added to versions [VSS, Error, 1, 2006/02/02 12:17:22.791] Exception: System.ArgumentException Message: An item with the same key has already been added. S ...Show All
SQL Server TSQL equivalent of Fuzzy Lookup in SSI - Is There?
Is there a way to use the equivalent of the SSI Fuzzy Lookup in an update Trigger (result set based on min-similarity) I can't seem to find any documentation on this. I understand that there is CONTAINS but thought Fuzzy went beyond the CONTAINS capability. Thank you Hi I am using SqlServer CTP September version. I have created a packagee which retrive data from Excel file, perform lookup from a SqlServer database and store data back SqlServer database. I am using 'LookUp Data flow control' to retrive data from SqlServe, but the control fails to retrive value and insert Null in destination database. Can anyone he ...Show All
Visual Basic ?: conditional operator in vb
What would this look like in VB int x = (boolVar1 0 : 1) | (boolVar2 2 : 3) | (boolVar3 4 : 5); Thanks I think that Iif replaces the conditional operator, but it evaluates both sides of the expression, so be careful of that. The word 'or' replaces |, I believe, but I'm not sure if it's a bitwise or. ...Show All
Software Development for Windows Vista WinFX Architecture problem
I am having a problem whilst developing my first WinFX app, I was wondering if somebody could help me. i have developed a WinFX window application which contains 2 frames. In Frame 1 I load in a separate WinFX page, which contains a list of Hyperlinks. The idea is that when a user clicks on a Hyperlink, the appropriate content page gets loaded into Frame 2. When a hyperlink is clicked within my child page, I am unsure how to bubble this event up to the parent Window. because it is the parent Window that contains the frames, and not the WinFX page that contains the HyperLinks. I am also unsure about how to achieve this via a HyperLin ...Show All
