Leef's Q&A profile
Internet Explorer Development XP Style in C# IE Toolbar
Hi, I've made a toolbar using the BandObjects article on Code Project : http://www.codeproject.com/csharp/BandObjects20.asp select=1819328&df=100&forumid=306921&exp=0 Unfortunately, the only way I have found of having theme styles activated is to supply an iexplore.exe.manifest in IE installation folder, which is not ideal for deployment... The google toolbar and other toolbars do have the XP style, without any manifest in IE folder! I have found articles saying that I could just supply a manifest for my dll , but I didn't manage to make it work. Here's such an article: http://msdn2.microsoft.com/en-gb/library/ms761394.aspx . I didn't manage to fill the manifest correctly, I guess In particular, I didn't know what to put as th ...Show All
Visual Studio Express Editions Fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
When I try to compile a win32 sample program, I get the 'fatal error C1083: Cannot open include file: 'windows.h': No such file or directory' error. I have installed and configured (even the step not in video) the most recent Platform SDK, but I still get this error! What is happening Thanks! I get the same error, not with the Console Application but with the Windows Application. It appears that the Console Application part is working allright. Can anybody provide a solution to this Regards Modeller ...Show All
Community Chat Possible logo for the upcoming zunephone
you guys will most likely not like this at all, but its something that came to me when i was watching television. http://img.photobucket.com/albums/v121/dephy/zunephone.jpg Hi there, Made this for ya just for fun... http://www.alastairq.co.uk/zune.png Regards, Alastairq ...Show All
Visual Studio 2008 (Pre-release) SVCUTIL SSL Could not establish trust relationship
I am trying to generate a proxy for a service that is using SSL for transport security. The problem is that the certificate is not signed. Is there anyway to tell SVCUTIL to ignore any certificate errors This is the error I am receiving. I can view the Service Endpoint only after IE throws security warnings at me. Thanks Attempting to download metadata from 'https://localhost:4443/' using WS-Metadata Exchange or DISCO. Error: Cannot obtain Metadata from https://localhost:4443/ WS-MetadataExchange Error Uri: https://localhost:4443/ Metadata contains a reference that cannot be resolved: 'https://localhost:44 43/'. Could not establish trust relationship for the SSL/TLS secure channel with a uthority 'localhost:4443'. ...Show All
SQL Server Images are not showing...
Hi, I have two different reports and in these two reports one contains images which is working fine at development site as well as server site but when same report is called from another report using linking facility given in sql report images disappears on server site at development site it is working fine. Can any one help me out. Thanks in advance. Wasim. ...Show All
.NET Development CreateInstance throwing exception when creating "string" type.
I have the following code that throws an exception when run: Object o = Activator.CreateInstance(Type.GetType("System.String")); Here's the exception: Unhandled Exception: System.MissingMethodException: No parameterless constructor defined for this object. Sorry for bringing up this old thread, but actually I don't really understand why this exception is thrown, because String s = new String(); does work, so why do I receive this exception I'm asking, because I dynamicly create the object, so I just call: Activator.CreateInstance(aType). So do I really have to insert an if handling the String-Type because the Activator can't handle this ...Show All
Visual Basic crop image & save it to new file, howto?
I have 3200x2200 resolution image, now I want to crop Image from pixel 1600,1100 until 3200,2200(1600x1100 res). and save it to the new file do you have the sample code I'll appreciate that I just knew how to save : If SaveFileDialog1.ShowDialog( Me ) = Windows.Forms.DialogResult.OK Then t.Save(SaveFileDialog1.FileName, Imaging.ImageFormat.Jpeg) End If but the problem is how to save the file with another image format(JPG, GIF) according to the savefiledialog thanks THANKS A LOT for the code : Dim obmp As New Bitmap( "c:\MyOriginalImage.jpg" ) Dim nbmp As New Bitmap(1600, 1100) Dim gfx As System.Drawing.Graphics = System.D ...Show All
Visual C++ Problem using managed C++ DLL in unmanged C++ project : Looking for XmlSerializers???
I have an unmanaged win32 C++ project and recently tried to add a new managed C++ DLL to the project. When I do and run in DEBUG mode I catch managed exceptions. However if I select "Continue" the program runs fine. ALso if I run in release these exceptions never get thrown, or atleast never bother the application at all. Any one make any sense from these messages Messages that appear when I run my application: LOG: Appbase = file:///e:/Visual Studio 2005/Projects/VC_Inhouse/debug/ LOG: Initial PrivatePath = NULL Calling assembly : System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089. === LOG: This bind starts in default load context. LOG: No application configuration file found. LOG: Using machine conf ...Show All
SQL Server help needed to drop a table!!!
hi, can any one tell me how to drop a table...i tried to delete using the command : drop table sample; but it displays an error stating that, Cannot drop the table 'dbo.sample', because it does not exist or you do not have permission. pls post the reply asap -Sweety check whether the table exists in the db at all... if exists , see who owns it.... give fully qualified name. in SQL 2005 select Name from Sys.Objects where name='tablename' Drop table databasename.schema.Tablename SQL 2000 select Name from SysObjects where name='tablename' Drop Table databasename.owner.Tablename Madhu ...Show All
Windows Forms Changing BindingSource.Position has NO EFFECT on anything
I have a binding source that is correctly wired to a datatable in a dataset. I can get the list from the bindingsource and enumerate it so I know it is connected. However, I cannot get the bindingSource to change its position. It's like the g.d. thing is stuck on -1. It WILL NOT change to anything else by updating the position property. It continues to stay at -1. I have no idea what else to do to get this g.d. p.o.s. to work right. If there are 3 datarows in the bound list and I do something like this... MyDataTableBindingSource.Position = 1 and then I read the Position, it always returns -1 Any thoughts Yes, a Spread control is bound to the binding source. I have also noticed at a breakpoint that IsBindingSuspend ...Show All
Software Development for Windows Vista I need a way to determine whether a Windows Workflow is alive or not.
I wanted to know there is a way to create a method to call to "poll" a Windows Worklow Webservice that I've created to determine if it's alive or dead. This doesn't mean actively running a workflow, but simply making sure it's ready to run one. (like a heartbeat) I'm using a Sequential Workflow and it's tied to 1 method currently that's called. Is it easier than I'm making it out to be If anyone can point me in the right direction I would really appreciate it! Thanks! David, I'm not sure I understand 100% your question. The way I see it is this: If you don't want to check a specific workflow instance, then all you can do is ask the process/appdomain that is hosting the WF runtime for you (and which would be ...Show All
Windows Forms inheritance at runtime
hi , how do i make this form inherit another form at runtime Dim selectInvoice As New Form it should inherit from 'template' - my base form. base form is called template which has standard exit buttons. i have some forms to create on the fly, and they should all inherits the base form. therefore: it should have been at design time: class form1 inherits template but now if the same thing at run time pseudo : dim form1 as new form inherits template i want the same functionality as above that we all do at design time, . me want to know how to do it run time. ...Show All
Smart Device Development Capture Events in Windows Ce
Is there a way to capture events in Windows CE . EventLog class is n't suppported by the compact framework. does anyone know how to capture events with compact framework. or any Idea Thank in Advance Mahesh Kumara Error Messages shown to the user (Message Boxes /Notification Balloons) and similar stufff I suspect this is not possible on a Windows Mobile device. I'm not aware of any APIs that would allow this. Michael ...Show All
SQL Server Easiest and performance effective way to store blob into varchar column
Hi, My package dumps the errors into a table. The problem is, it couldnt dump Error Output column to a varchar field. I have added an script component in between to transform to string but no success. I tried ErrorOutput.GetBlobData(0, ErrorOutput.Length) but when I query the database, it says "System.Byte[]' I will appreciate the responses to this post. Thankyou, Fahad Thats what it says here And it is my belief that this field contains whole raw row i.e. whole line from the text file that caused error. and it's type is Microsoft.SqlServer.Dts.Pipeline.BlobColumn ...Show All
Visual J# Is it possible to make a form snap to the edge of the screen?
Is it possible to make a form snap to the edge of the screen and the most imporant question is how do i make it impossible for other windows to become under it, like ICQ is snapping to the edge.. So far I just have my windows placed to the rightmost of the screen and it is "always on top". If this can't be done, how can I make it similar. Ahh, I didn't read your original post well, thought you didn't want other windows to come over it What you need to make is a desktop band control, if I remember the name well. You'll find lots of docs on how to do it on the Internet, but not sure of any such doc for how to do it with just managed code from .NET. You can do it from .NET too though, since you ...Show All
