Doug 123's Q&A profile
Visual Basic How to clear browser history
Hello I am trying to figure out a way to clear browser history from my dektop application, ideally for both FF and IE. Anone know of a resource or some code to help me out Thanks! Well this actually only clears the typed urls and not the items in the history panel. How do I get the items out of the history panel I know that the index.dat file is the only place that stores this info but I have no clue how to go about clearing the information out since it is already in use. How do these "clear your browser history" applications work THere are tons of them but there doesnt seem to be too muh documentation on how to go about doing it as a programmer. Thanks! ...Show All
Visual Studio Invalid Cast Exception (InfoObject to Report)
I am trying to run a Crystal Report that is located in Crystal Enterprise 10. I am running a sample application provided by Business Objects. I am trying to run the ViewReportParameter sample project for VB.NET for CE10. I notice that the code posted by Microsoft is very similar and requires casting the InfoObject into a Report. I am getting a 'Specified Cast is not valid' error when I execute the following line of code. ceReport = CType(ceReportObject, Report) I have posted additional code for context ceSession = Session.Item("ceSession") 'Create the infostore object ceEnterpriseService = ceSession.GetService("", "InfoStore") ceInfoStore = New InfoStore(ceEnterpriseService) 'Grab the sample report fro ...Show All
Visual Studio Team System Build completed email - include changeset/work items in the MAIL?
Hi! If a user subscribes to the "Build completed" project alert he/she will receive a mail that looks like this: BUILD OurProduct.Main.Daily_20061229.7 SUCCESSFULLY COMPLETED Team project: Company.OurProduct Build started by: DOMAIN\username Build machine: BUILDDOOZER2 Build started on: 29.12.2006 15:18:33 Build completed on: 29.12.2006 15:22:43 Notes: - All dates and times are shown in GMT +02:00:00 FLE Standard Time - You are receiving this notification because of a subscription created by DOMAIN\username Provided by Microsoft Visual StudioR 2005 Team System What I really would like is an email containing the changes. So the user does NOT have t ...Show All
Software Development for Windows Vista New to WWF and can't see CallExternalMethod in Toolbox
Hi I just started working with WWF and installed the lates code. I am using what I believe is the newest Hands On Labs. I was working with the expense report sample and there was a step to a CallExternalMethod form the toolbox. Lo and behold, it's not there. Has anyone seen this Regards, Paul Hi Paul, read this post Serge ...Show All
.NET Development Unmanaged memory leak in HttpResponse
I am developing a http handler running under IIS for streaming data from a server down to its clients. This works just fine. Until I open an oracle database connection before I stream the data. After I have opened the connection (and closed it again properly) all the data I am streaming will leak on the server, causing it to consume huge amounts of memory. The .NET Memory profiler reports the following stack trace for the leaking memory allocations: HeapAlloc( ) [Managed to unmanaged transition] UnsafeNativeMethods.BufferPoolGetBuffer(IntPtr) HttpResponseUnmanagedBufferElement..ctor() HttpWriter.CreateNewMemoryBufferElement() HttpWriter.BufferData(byte[], int, int, bool) HttpWriter.WriteFromStream(b ...Show All
SQL Server about subscribers
i have millions of subscribers, any good idea to manage those subscribers efficently thanks For SSNS in 2000, you have to use the API. In SSNS 2005, you can insert into subscriber views. Here's an example. http://sqlns.blogspot.com/2005/10/creating-subscribers-in-2005.html HTH... Joe ...Show All
Windows Forms Setup project & Shortcut to startup folder
Hello, I create Winform application, and I want to launch it when Windows Startup. I create a Setup Project witch install my application into Program File folder, and create shortcut into User's Program Menu. But how can I create shortcut into Startup foler Thanks Damien, Hi, I have tried the steps mentioned in the post. In my application, there is code to test if the user is trying to run the application twice. When i boot the pc, it gives the error message that the user is trying to run the application twice. However, I do not get this error message when I run the application from the shortcut in the Programs menu. What can be causing this behaviour Ruby. ...Show All
SQL Server SQL Server Management Studio Express and VS2005 Server Explorer - cannot find SQLEditors.DLL
I have this same problem and anyone can solve it. Also from Visual Studio 2005 Server Explorer, i can’t create a new connection in "Add connection" dialog. It returns a msgbox " The system cannot find the file specified ". This means i'm stuck with VS2005, since i cant create a simple dataset from any database, Oracle included, always the same error. Anyone from Microsoft knows how to solve this I've already made a repair in VS2005 instalations, reinstalled the SSMS and the problem stills. In SSMS Express, after right-clicking on a table and then clicking on "Open Table" or "Modify", this error was displayed: " The system cannot find the file specified Microsoft.SqlServer.Express.S ...Show All
SQL Server Sql reporting sevices
GoodDay Can I only use reporting services if I have Windows XP profesional with IIS Regards Rob There are several versions of Reporting services, and some can operate on XP (with SP2). See: SQL Server 2005 Reporting Services –FAQ http://www.microsoft.com/sql/technologies/reporting/faq.mspx SQL Server 2005 Reporting Services –Feature Matrix http://www.microsoft.com/sql/technologies/reporting/rsfeatures.mspx ...Show All
Visual Studio vs2005 sp1 install fails
On my computer (win2003) I get next message: The installation source for this product is not available. Verify that the source exists and that you can access it. On other computers it works... What can I do bye Damijan > Update to last post - uninstall the SP1 beta (from Add Remove Programs - with 'Show Updates' checked). I don't have the beta installed, but am starting to think I should install it and uninstall it just to see :) ...Show All
SQL Server Failed to start monitoring changes to .\wwwroot\web.config because access is denied
The message continues... Source Error: [No relavant source lines] I'm using .Net framework Version:2.0.50727.26; ASP.NET Version:2.0.50727.26. So, what is up with this When I checked, there was no web.config file in the wwwroot directory. Now there is. But, there must be stuff missing in there Also, the SQL installation went off without a hitch. Any ideas anyone Thanks, -Eric Check this KB article. It helped me. http://support.microsoft.com/kb/317955 ...Show All
Visual Basic Running a function in another form
Hello Everyone, I'm having a problem in Visual Basic .NET 2003. I'm creating a basic XML Database (an Address Book) with two Forms. Form1 lists the contacts from an XML file and opens Form2 Form2 adds a contact to the XML file At the moment, Form1 opens Form2 and Form2 can write data to the XML file. I want to run the function "refreshData()" in Form1 when Form2 modifies the XML file (ie: when the "Save" button in Form2 is clicked). Thanks for your time, Hayden hi Hayd3n, try using event handlers to solve your problem. here's a short example: in form 2, define a friend event to be called by Form2 when saving to activate the refreshData() in Form 1: Friend Event MyRefreshEvent(ByV ...Show All
Visual Basic ToolBar Control Replaced by ToolStrip with No ImageList - Rendering it useless.
The ToolBar has been replaced by the ToolStrip control. The ToolStrip Control does NOT have an ImageList property in the properties dialog at design time. MS had to actually make the decision to remove this feature. Why Who cares. Assigning an image to an embeded command button now WILL NOT allow me to use my favorite .ico icon library. Now I have to find a way to convert my .icon library to something the ToolStrip can understand. Another time wasting useless feature. Now I have to code each and every image for the ToolStrip control. Why would I do this. Everytime I want to change the order of the command button controls I have to chase it up in code. Multiply it by 3 to get the Hot, Cold, and Disabled icons. Come on! I can't be the only ...Show All
Visual Studio 2008 (Pre-release) How to generates app.config for Self Host with NetTCP transport?
Hi Eveyone, I am leaning how to self hosting a service with NetTcp transport. I just want to know how to use SvcUtil.exe to generates the App.config file for client ( see server's app.config file at the end) Regards, Jdang <!-- App.config of Server application --> <system.serviceModel> <services> <service name="Company.Services.TestServices" behaviorConfiguration="DqServiceBehavior"> <host> <baseAddresses> <add baseAddress="net.tcp://localHost:8002/TestServices"/> </baseAddresses> </host> <endpoint address="" binding="netTcpBinding" contract="Company ...Show All
Visual Basic Tips on Window Attributes (size, location, etc.)
So I have a program for my job that allows the user to open any number of individual windows that each display a customizable amount of data, type of data, etc. But that part's unimportant, the important thing is, unlimited windows are openable. The window attributes themselves are stored in a list of open windows. What I'd like to implement is the ability to choose some preset layouts. I know how I can programmatically create new windows, but my issue is arranging them. What do y'all suggest as the best way to do this, handling different screen resolutions and stuff like that A percentage of the user's screen width perhaps And do y'all have any methods to suggest using besides the normal setCoord, setWidth and setHeight ...Show All
