ajpharrington's Q&A profile
Visual Basic ActiveX component can't create object
I have an ActiveX dll written in VB6. When using the dll in a VB.Net Windows application, it works fine. When using it in an Web application I get the above error; e.g.: Dim myObject As Ns.Object = New Ns.Object() Dim result as String = myObject.Test() '--ActiveX component can't create object I have tried (based on Google and other searches): Giving anyone and everyone Full Control in the directory with the ActiveX dll Updating the IIS configuration to all operations in the virtual directory Creating a .Net dll to wrap the ActiveX dll and installing the dll and interops into the GAC. I have seen this question posted elsewhere but I haven't seen a solution posted. Any thots pjp ...Show All
Visual Studio Express Editions Creating a custom CACHE URL log file using VB to make up for IE's flawed cache file
hi the location of my index.dat for cache files is here: C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files\Temporary Internet Files\Content.IE5\index.dat but it turns out that is still not good enough. even after viewing its contents IE still does not record the complete cache link, something i have been trying to get, so far, w/o success. here is the issue: comparing the *exact* same page navigated to, between the dat file from IE and the dat file from FF (by comparison), re: the salient cache link i have been trying to get at with IE for the last three days, IE records this: Quote: 46/njk/en-us/RCC/Getinfo.htm ...Show All
Visual C++ How do I activate the console and the GUI at the same time?
Hello comunity. How can I show the console and the GUI (Forms) at the same time .. it's for debug propouses.. Thanks. Thanks about the interest Peter, and thanks to the last sir to answer. That's SubSystem option works fine for debug. Best Regards ...Show All
SQL Server error when connect to sqlserver from another machine
hi .. i install sqlserver and make app with vb6 using ADO to connect to the database and successfully i put that application on another pc on the network when i open it it says "can't login computername\guest" !! any help thanks in advance. By "pcs under domain", I mean whether your PC is under a domain which is usually used in median/large company. In this case, domain controller will help you do a lot of things. ...Show All
Visual C# failing to initialize an applicaion
Hello I wrote a program with C#.NET ,i copied the.exe, .vshost .pdb in another computer,but when i wanted to execute it ,an error eccured and a massagebox appeared,that had this statement,"The application failed to initialize property (0xc0000135).Click on Ok to terminate the applicaion". please help. hello mr.lowendahl what do you mean do u mean that if the system.dll and system.windows.forms.dll exists in the c:\windows\ foldor as far as i know .net framwork is not installable! i ran it in a windows xp os. ...Show All
Visual Studio HTTP Checkout - Possible Timeout Anomaly
My team is encountering a strange problem when trying to checkin or add larger files to VSS 2005 via HTTP or HTTPS. The resulting error is always the dreaded: There was a failure uploading the URL.... although I don't believe that error indicates what the actual issue is. I've read what I think to be every post on the subject here and elsewhere on the web, and no situation matches exactly (others are simply an easy timeout misconfig or a permissions issue and nothing can be checked in.) It's not a permissions issue as all team members can checkin smaller files and large projects that contain small files-- as long as the file being checked in doesn't take more than 30-60 seconds (see below.) It's not a typical HTTP "tim ...Show All
Visual Studio 2008 (Pre-release) Listbox - Center item
Hi I'm trying to create an album-viewer of all my music albums. To this I'm using a ListBox with Orientation ="Horizontal" - this is all fine, and I can see my albums. But my issue is, that I want to center the item I just pressed. How can I do that Is there an alternative to ListBox which is better to use for this purpose Ahh... Yes, off course. I don't know why I missed that part. Thanks. I'll have a look at it and returns later. ...Show All
SQL Server fishing for a clue. to loop or not to loop
I have a table called Tbltimes in an access database that consists of the following fields: empnum, empname, Tin, Tout, Thrs what I would like to do is populate a grid view the a select statement that does the following. display each empname and empnum in a gridview returning only unique values. this part is easy enough. in addition to these values i would also like to count up all the Thrs for each empname and display that sum in the gridview as well. Below is a little better picture of what I’m trying to accomplish. Tbltimes |empnum | empname | Tin | Tout | Thrs | | 1 | john | 2:00PM | 3:00PM |1hr | | 1 | john | 2:00PM | 3:00PM | 1hr | | 2 | joe | 1:00PM | 6:00PM | 5 ...Show All
Windows Live Developer Forums Reducing Browser Memory Leaks
I spotted this in the google API documentation and wonder if it has been address in VE Reducing Browser Memory Leaks The Google Maps API encourages the use of function closures , and the API event handling system GEvent attaches events to DOM nodes in such a way that almost inevitably causes some browsers to leak memory, particularly Internet Explorer . Version 2 of the Maps API introduces a new method, GUnload() , that will remove most of the circular references that cause these leaks. You should call GUnload() in the unload event of your page to reduce the potential that your application leaks memory: ^ Wow. That was helpful. Thanks Jeff. SoulSolutions - I've been wondering the same thing. I haven't been able to successful ...Show All
Internet Explorer Development Internet Explorer Toolbar (Menu Bar) disappeared after installing IE 7
I use yahoo as my homepage, when the "Get IE7 now!" appeared in the toolbar, I clicked on it and installed it. Big Mistake so far...Here's the problem, after installing my IE menu bar (toolbar) containing "File, Edit, View, tools, help" vanished and I can't figure out how to retrieve it or get it back. I have checked and it is not hidden behind another toolbar. Along with that, The IE blue bar at the top & small bars at the bottom contain no information of the URL (webpage) when pages are loaded. In the Yahoo toolbar, under the pencil icon- there is no standard toolbar listed anymore. Also my tabs disappeared from yahoo and under the toolbar options there no longer is a check box to "Enable Tabbed Browsin ...Show All
Visual C# best way to read pipe delimited text file?
I am trying to read in a pipe delimited file and do certain processing for each field. I was just wondering what the best way to strip out each field is - is there anything built in .Net that will easily allow me to do this Or do I just loop through and remove each field myself Also, would it be best to strip each field out into a dataset first, and then do the processing Or, do the processing while I am separating each field Or does it not matter Thanks! Saeed When trying to insert into a datatable, I am getting the following error: Input array is longer than the number of columns in this table. Is there something else I need to do before hand Also, besides the processing, I want to ...Show All
.NET Development Gen 2 Memory
Hi, I have a recursive loop which gets file info for folders. THe data is obviously huge and when I run the perfmon, I see that the Gen 2 Heap size is around a constant 250 MB. I assume that this will be a problem and if so how can I reduce this.. The code is pretty simple .. I have 3 main datatables that are class level variables I have a recursive loop which fills in these three tables with all the files and directory information.(I use the BeginLoadData, LoadDataRow,EndLoadData for this) and I finally update the DB. I get the OutofMemoryException at times. Now how do I fine tune this for performance Thanks in advance Soni Chris, Thanks for the update. In ...Show All
Visual Studio Team System customer rule
how can i create a customer rule to check if both side of '+' has space thanks a lot As FxCop reads from binaries and not source code, things that do have not representation in IL can not be analyzed. This includes whitespace, braces and language specific keywords and concepts. This kind of analysis can not be done. Regards David ...Show All
Game Technologies: DirectX, XNA, XACT, etc. cannot deploy to 360
hi no matter what i try i cannot deploy to my 360,have rebooted my computer,generated a new key,re-installed xna game studio,made sure the correct ports are open and still all i get is cannot connect timed out and operation not supported does any one have any ideas Are you on the same router I had a problem when I had the XBox plugged into a different router than the PC. Currently I'm running the Xbox on a wired connection and the PC on a wireless connection to the same router, and it works fine. ...Show All
Windows Forms CheckedBoxList
HI, I am using this checkedBoxList control and I really got stuck with adding values to each check box. Also when I add Items to the listbox, the check box is checked or unchecked only at a double click. First click it select the row and then checks the checkbox Is there way to change this that check the box at a click I am able to retrieve the text of the checked box but how do I assing a value to it and retrieve the value Or is it better generate check boxes dynamically Please help me with this control! Thank you. Right click on your CheckListBox and set "CheckedOnClick" = true. Too add or read values, here is an example from my code: private void cmbJobNumber_SelectedValueChanged ( object sender, EventAr ...Show All
