Software Development Network Logo
  • SharePoint Products
  • VS Team System
  • Audio and Video
  • Windows Vista
  • Visual C++
  • Visual FoxPro
  • Visual Basic
  • Smart Devicet
  • Visual C#
  • Game Technologies
  • Microsoft ISV
  • SQL Server
  • Windows Forms
  • .NET Development
  • Visual Studio

Software Development Network >> rmccullough's Q&A profile

rmccullough

Member List

barkingdog
Shaan007
Surezsu
Vijay Thirugnanam
Norb
Kharkov Alexander
Sathyashankar
Trev72
Tony Hild
JohnBGood
Wicket
CalinMac
brian_tsim
MLov
Eagle 101
David_Lindley
Aaron Oneal
Sniper167
coconut113651
unknown311
Only Title

rmccullough's Q&A profile

  • Visual Studio Express Editions Delete History

    I am writing a program at the moment which deletes the IE history from your system but am having problems. I looked at previous posts on this topic in this forum and have got this code: Dim path As String = System.Environment.GetFolderPath(Environment.SpecialFolder.History) ' get files in history folder Dim files() As String = System.IO.Directory.GetFileSystemEntries(path) ' delete files For Each str As String In files System.IO.File.Delete(str) Next It looks as if it would work fine, however it denies access to the folder in runtime. Can anyone tell me how i can get around this problem or better still if there is an easier way of deleting IEs history Please Help, Simon North This site may b ...Show All

  • Visual C# Help with C# Screencapture --> avi

    Hello, I was exploring the possibility of creating a multi threaded screencapture program, that exports the onscreen content to an avi file in real time. I have looked around the MSDN help areas and cannot seem to find the information I need, such as how to capture the screen's image and put that into video format or capture the audio from either the stereo output, or mic. From the information I did find I am guessing that I will need to employ the threading and AVIfile classes. Any help would be great, thanks. you need to some how capture it to a video format - how is this done no idea, probably using the DirectX approach. To capture screen shots to an image file, take a look at this: http://forums.microsoft.com/MSDN/ShowPost.asp ...Show All

  • SQL Server Unable to cast COM object of type 'ADODB.CommandClass' to interface type 'ADODB._Command'

    I have an application which runs successfully on a couple of my customer's machines but fails on a third. It seems to fail when opening the database: Unable to cast COM object of type 'ADODB.CommandClass' to interface type 'ADODB._Command'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{B08400BD-F9D1-4D02-B856-71D5DBA123E9}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=false; Initial Catalog=lensdb;Data Source = SQL Before I got this error I was getting another problem (sorry didn't make a copy of that error's text) that made me think that adod ...Show All

  • Visual C# Interop Help required

    Hi all, I have a requirement like this. Need to develop a wrapper for Unmanaged C++ API.( using C functions - winapi) The wrapper will be used in C#.NET winforms client. Options to create wrapper It can be 1. Managed C++ 2. Managed C# Guys, which one is best option and give me links to justify this. I have got links to create wrapper using both options...but i need comparison bet them so that i can go forward. i thought of going for Managed C# wrapper which can be used in C#.net winform apps.but more issues will come while mapping structures bet unmanaged and managed code..then callback mechanism...then passing pointers...if i use C#. Wouldn't all the issues be solved to some ex ...Show All

  • Visual Studio #tmp tables in stored procedures

    In order to gather data for a report I use #tmp tables in a stored procedure. The TableAdapter Configuration Wizard gives me an "Invalid object name #tmp" message and the fields are not available for the report. But when I hit "Preview Data" in the dataset, the data is there Thanks. I used table variables and it works fine. Here is a sample: CREATE PROCEDURE ShipTempTest ( @portfoliodate datetime ) as declare @tmp table( ShipperID int, companyname nvarchar(40), phone nvarchar(20) ) insert into @tmp select shipperID,companyname,phone from shippers select * from @tmp ...Show All

  • SQL Server AS2K5. Conversion Bool -> int makes true -> (-1).

    AS2K5 does convertion from bool to int another way as AS2K did it. I this a bug or by design No, it is in MDX. I have ported some AS calculated member expressions from Shilon to the Yukon and have accounted this uncompartibility issue. ...Show All

  • Smart Device Development Help with GAC problem

    I am porting an application from VB6 to VB .NET CE and have run into a roadblock. Here is the code I am trying to run.... If Not ValidateManYear() Then Exit Function ElseIf Not ValidateVehicleYear() Then Exit Function ElseIf Not ValidateMake(pbFullCheck) Then Exit Function As soon as the 5th line is reached I get this error... File or assembly name "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089', or one of its dependencies, was not found. This assembly is installed in the Windows/assembly folder on my machine. The funny thing is, I can remove the arguement and the parameter from the ValidateMake method and I still get the error. ...Show All

  • Smart Device Development Thread Help

    Hello, i am newbie i never use thread in c++ before i m developing mobile application using c++ and i have create the function like this DWORD WINAPI threaded(LPVOID param) { FILE* file=fopen( "\\My Documents\\thread.txt","w"); num++; char a=num+47; fputc(a,file); fclose(file); return 0; } and when i call this function from initinstance() DWORD dwThreadId; HANDLE hThread; LPVOID lp; hThread = ::CreateThread(NULL,0,threaded, lp,0,&dwThreadId); // returns the thread identifier } i want that threaded function will run in parallel with my application till end how i manage it is there any mistake in the code or i need more enhanc ...Show All

  • .NET Development .net framework versions 1.14322 & 1.0.3705

    So you’ve spent some time creating the next stupendous.NET Framework application. Now what Applications that were built against a . NET Framework need the corresponding/compatible .NET Framework runtime installed on the machine that will run the application. To do this effectively, please reference the following guides for deploying the .NET Framework with your application: .NET Framework Version 3.5 Deployment Guide http://msdn2.microsoft.com/en-us/library/cc160716.aspx .NET Framework Version 3.5 Admin Deployment Guide http://msdn2.microsoft.com/en-us/library/cc160717.aspx .NET Framework Version 3.0 Deployment Guide http://msdn2.microsoft.com/en-us/library/aa480173.aspx .NET Framewor ...Show All

  • Smart Device Development Visual C++ Express for WIn CE?

    I started to learn VC++ Express, and assumed that since it generats managed code for FORM applications, I could just copy the working app. to my CE mobile, but it is not working. What do I have to do in order to have the portabilty (same manged code runs on mobile or desktop), or, if this is impossible , what do I need to do in order to have a working app. on my mobile Thanks. C++ generates native code, C++/CLI generates managed code. Whatever it is, you can not develop for devices with Express. C++/CLI is not supported by NETCF at all, native C++ is supported on devices by VS 2005 SE or above. To sum up, you can develop for devices with native C++, C# of VB.Net using VS 2005 SE or above, E ...Show All

  • Visual Basic How to charting in the VB 2005?

    My Project in VB 6.0 is using the Chart Viewer (.COM Component) to do the charting, but after i migrate to the VB 2005, the Chart viewer is not compatible anymore. So in the VB2005, it is posibble to do the charting based on the List view Table create on the program running Because my program is generate the chart on the spot when user select the differ data. Thanks. VS200x doesn't have a chart control, rather a gaping hole I'd say. You can use one of the many commericial charting controls. Or you can still use the old VB6 MSChart control. Right click the toolbar, Choose Items, COM components tab, select "Microsoft Chart Control 6.0". Stay away from the EditCopy() method, it causes an AccessViolation exception. ...Show All

  • Commerce Server How to get product base properties in Order Dictionary

    I have two query regarding the Commerce Server: While writing the custom component how can I get the all the product base properties in the Order dictionary. We are using "OrderDiscount" component to get only the eligible discounts. We are not using it for calculating the price after discounts. Would it be a good idea to use "OrderDiscount" component or write our own component to find eligible discounts and appply them How can get the site name in pipeline. I am writing code like Product oProduct; CatalogSiteAgent oCatalogSiteAgent = new CatalogSiteAgent (); oCatalogSiteAgent.SiteName = "SiteName" ; CatalogContext oCatalogContext = CatalogContext .Create(oCatalogSiteAgent); ...Show All

  • Visual Basic graphic and paint methods

    I am new to vb.net and trying to draw lines that can go un, down, left, right, and Diagonal 4 ways. I got the lines to go up, down, right left, but can't seem to get them to go diagonal in any directions. Any help please. thanks Sorry, that's too much to look through every line... At a glance however, it appears that you're not actually drawing lines but rather manipulating individual pixels; so again it would be a matter of changing both the x and y of the next pixel to move diagonally. Where are you getting stuck at ...Show All

  • Windows Search Technologies Outlook search, cache mode only???

    I just upgraded to V3 RTF, but I cannot get it to index my outlook XP. The message is it only indexes in cache mode. outlook XP doesn't have cache mode. We are running Exchange 2003 SP2 V2.5 could index outlook XP. Please help. thank you jb Outlook XP doesn't have cache mode (XP has offline folders). Only Outlook 2003 has cached mode. I guess my question is why the change. thanks,jb ...Show All

  • Visual C++ BUG: Potential Memory Leak generated by STL deque

    BUG: Potential Memory Leak generated by STL deque. FIX: Add a little code and it will work pretty well. I submitted the problem about 4 years ago, but VC++ SP5 still has the bug. ISSUE: STL map and STL set are not ready to be exported from DLL. FIX: Modification must be made. Please report the  issue at http://lab.msdn.microsoft.com/productfeedback/default.aspx  so that the owners would take a look. Thanks,   Ayman Shoukry   VC++ Team ...Show All

©2008 Software Development Network