Amorous's Q&A profile
Windows Forms GDI+ filling with transparent color
Hi. I have user control which has its background color set to Transparent. I do my own painting and I need to clear what I draw - but how If I fill the area for clearing with Transparent color, it does not work... thanks Well...the problem is, how to clear the lines...eg. to draw small rectangle where do you want to show the background. second question... how is the overriding user control you mentioned different than setting its DoubleBuffered to True ...Show All
.NET Development saving datatable to a table in ms access
hi im doin a search form where i search through a table and find the records i first search and save the searched records in a dataset's table with the help of dataadapter i run the sql statement and dan Private Sub btnsearch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnsearch.Click Dataset11.Clear() /// have to refresh it everytime for the new search If rbtncmpsel Then Me.OleDbSelectCommand1.CommandText = "SELECT * FROM Customers WHERE" & _ " (COMPANY like '" & txtsearch.Text & "%')" ElseIf rbtnfnamesel Then Me.OleDbSelectCommand1.CommandText = "SELECT * FROM Customers WHERE" & _ " ([first name] l ...Show All
SQL Server SP1 and remote distributor ?
Hi There If i apply Sql Server 2005 SP1 to a remote distributor can i keep all publication and subscriptions intact I am hoping i simply stop all repl jobs on the distributor, apply SP1 and then restart the jobs. Is this correct Thanx ...Show All
Windows Forms control Properties
hi i hace created a user control and i want to assogn a property to it ( i want that property like for exmple the size property Size property of thr form) i can expand it ( hace children) if u know plz tell me and thanks a lot this handled internally by ExpandableObjectConverter, attach it to type declaration of your struct as [TypeConverter(typeof(ExpandableObjectConverter))] public class MyType{} ...Show All
Visual Basic ERROR: Unrecoverable build error when building Setup project in VS.Net 2005
Hello, Somebody, please help me out, I got "Unrecoverable build error" when building setup project. I try the solution in http://support.microsoft.com/kb/329214/EN-US/ but did not work out. I am totally stuck. Please, your any information, solution will be very much appreciated. Thanks! Yi-an Thanks a lot buddy. I had wasted my evening and though i would have to reinstall windows before i wll get this thing workable.. but u saved a lot of time ... cheers sambhav ...Show All
Visual Studio 2008 (Pre-release) Proxy generation problems (methods with same name)
When I create two services which happen to have methods with the same name (not same signature) svcutil incorrectly generates the proxy types. For example if I have two services TestService1.Get(Guid id) returns Thing1 TestService2.Get(Guid id) returns Thing2 The proxy for both TestService1 and TestService2 will contain a get method with the return type of Thing1. What do I need to do so the proxy generation correctly identifies the types to return -k Svcutil command: svcutil.exe /noLogo /l:csharp /config:"TestProxy.config" /d:"C:\Temp" /out:"TestServiceProxy.cs" "http://localhost/ClaimServices/TestService1.svc" "http:// ...Show All
Smart Device Development Managed DLL
Hi, I'm developing smart device application by using CF1.0 on VS 2003. I need your help. My question is How to use managed dll class (which contains one control class) dynamically . The following will explain to you what my problem. The managed dll (MyControl.dll), written by using Class Library application in VS 2003 and it contains: Public Class MyControl Inherits System.Windows.Forms.Control ............................... End Class I have added the above dll as a content with my project. (Build Action = Content). My problem is how to add the above control in my application dynamically (when i click button). For importing Native dll functions ...Show All
Internet Explorer Development IE7 activeX Webbrowser control?
How can I use the IE7 webbrowser control in my visual basic (6) applications I had this exact same issue with a vb6 application i was updating. One difference I had was that the control worked just fine after the IE7 update from IE6, I was working with the control in my code. During a debug my application crashed, causing vb6 to shutdown. When I restarted the project, I got the "Class SHDocVwCtl.WebBrowser of control wboProfileOptions was not a loaded control class." error. I checked the class registration, it was still there, but the control was gone. I dont have an older version to install because the updates I was making to my app were to include the use of "SHDocVwCtl.WebBrowser" fo ...Show All
Visual Studio can not get latest version from vss2005 voer internet
I access vss 2005 via internate, but I found I can't get the latest version from vss, the error message is : --------------------------- One or more files could not be written to their destination folder. Possible reasons are lack of write access or disk space. --------------------------- I am login as administrator and the folder is set to writable for everyone. what is the problem, anybody can help me. Bring up the properties for the folder on disk. On the Security tab, make sure that you give all the users read and write permissions there also. ...Show All
Visual Studio Integration
Is there any documentation on how to integrate Visual Studio 2005 and Visual SourceSafe 6.0 I need to integrate a project and can't after 2 days of trying. I try to do it from inside the Visual Studio environment and either it doesn't work at all or it puts the projects in the wrong area of SourceSafe. If I first add it to SourceSafe from the SourceSafe environment, then it just gives me a message. At best I'm getting odd messages and at worst crashing of the Visual Studio environment. There are too many messages, but here's one... --------- The project you have chosen cannot be correctly opened from source control. You are attempting to open a solution or project that was not added to source control using Microsoft Visual Studi ...Show All
Visual Studio Team System SELECT permission denied on object 'syscomments', database 'mssqlsystemresource',
when I try to execute an schema comparision I am having this message, "Failed to retrieve schema information because of the the following error: SELECT permission denied on object 'syscomments', database 'mssqlsystemresource', schema 'sys'. why is this happening What kind of permmisions I am missing I already have permissions as dbo on master. I checked that database 'mssqlsystemresource' but it does not exists. If you are certain your are a sysadmin on that server, I am out of ideas. We never select against resource database. Sorry, -GertD ...Show All
SQL Server SSIS package execution error
While executing the SSIS package from visial studio it is running. If we execute from Integration services - - -> stored packages - - - -> msdb - - - -package name, the package gets executed. But when scheduled through jobs it gives the following error in history "Execution as user. <user name > The command line parameters are invalid. the step failed" command line looks like this " /DTS "\MSDB\Maintenance Plans\Package1-HYUNDAI" /SERVER tvmwindev02 /CONNECTION "10.10.1.52.upsframis";"Data Source=10.10.1.52;Initial Catalog=upsframis;Provider=SQLOLEDB.1;Integrated Security=SSPI;Auto Translate=False;" /CONNECTION DestinationConnectionOLEDB;"Data Source=mscoe.db.ust ...Show All
SQL Server After upgrade to SQL 2005 getting CONVERT error.
I have a query that was working prior to an upgrade to SQL 2005 from SQL 2000. Now, I am getting an "Error converting data type varchar to numeric." error message. It appears to be related to the order of operations of the "WHERE" clause. Here is the partial WHERE clause: AND ISNUMERIC(value) = 1 AND CONVERT(numeric(20,2), value) < 0 AND type IN (... The value field in the database table is defined as a varchar and will contain mixed datatypes. That is why the "ISNUMERIC" line is in the where clause. Interestingly, if I change the qualified values in the "IN" line to a single value, it works fine. As soon as I introduce a second value within the "IN" line, I get the error mes ...Show All
Software Development for Windows Vista Problem with Windows Workflow Foundation RC2
Hi, I installed WF RC2 and tried running the SQLDatabase Activity Example. But i am not able to view the workflow designer.I get the error which i have mentioned below. "Error Loading Workflow An error occured while loading the workflow.Please correct the following error and try reloading the document to view the workflow. Theme properties can only be changed in the theme configuration dialog." I was able to view the same sample using WF Beta 2.2 version.But after installing the RC2 version i get this error.Kindly help me solve this issue. Thanks in advance. Karthick. Karthick, sorry for the delayed response. If you open the SQLDatabaseDesigner.cs file you will s ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Does DX10 support Quad's (4 point polygons)?
I was wondering if DirectX 10 will support four point polys. I remember previous versions only supported tri's (three point polygons). I know OpenGL suppors this for a while now. I really hate splitting my objects in tri's after i create them in my 3d App just to get them in DX. Primitive types are much the same as they were in Direct3D9 - no quads. Having said that, you could make use of the GS to generate two triangles from a single quad. The only tricky part is being able to feed the data via the IA/VS so that the GS can work its magic... hth Jack ...Show All
