Whoisit's Q&A profile
Windows Live Developer Forums Pushpin Onclick Event?
Hi has anyone managed to handle the on click event of a push pin yet because i cant find any events for such a thing You can tell something happens because (in IE at least) you can hear the normal "tick" noise just like when you click a link, when you click on a pushpin, I need to be able to handle this even so I can action the users click on the pushpin teh best way to handel that is to place an invisible div over the pushpin that has been clicked on, this div can have its own onmouseout event which will work jsut the same. ...Show All
Visual C# Read binary, convert to hex
Ok, i have an executable that i want to be able to edit the hex values of, but i can't find anything that will read the hex from the file... I was wondering if it might work if i did a regular BinaryRead and just converted whatever it read from binary to hex, then edited that and converted it back to binary and do a BinaryWrite. Would that work the same as if i had directly edited the hex I'm pretty new to this, but im just trying to basically end up with 1. Read the hex of the file. 2. Change it according to what the user enters. 3. Write it back to the file. thanks a lot! Ok, thanks alot so far, you've answered my main question, and i've gotten alot further. I've gotten to the point where i've read the ...Show All
Visual Studio Express Editions Backup Database from within a programme
Does anyone have any good links to articles on how to backup and restore a program's sql 2005 database from a link within a program I have put a request in for a powerpack to make this easy . If anyone else thinks this is a good idea please vote for it at https://connect.microsoft.com/vbasic/feedback/ViewFeedback.aspx FeedbackID=237366 ...Show All
Smart Device Development CreateFile on PDA filesystem?
How can I find the string to call to get a device handle on a PDA either from a PC or from inside the PDA itself In general use in .Net on a PC you can call CreateFile to get a device handle on a HardDisk by feeding it something like " \\.\PHYSICALDRIVE2 ". However, this does not seem to be the case on a PDA. I am trying to either A. gain access to the PDA as a USB device when the PDA is in the cradle, or B. get access to the device with a .Net compact application. Either way will do, but I am stumped as to how to find or lookup the string to access a create a handle. Thanks in advance Jeff Well the what i tried was "DSK#" 0-9 and "DSK#:" 0-9, ive tried grabbing a handle on ...Show All
SQL Server LDAP vs ADSI parameter problem
Dear friens, I'm having a problem with ADSI and SQL... Could you tell me, where is the error The problem surge when I try to use parameter… " CREATE PROCEDURE TEST AS DECLARE @charVariable nvarchar(11); DECLARE @SQLString NVARCHAR(500); DECLARE @ParmDefinition NVARCHAR(500); /* Build the SQL string one time. */ SET @SQLString = N'SELECT * FROM OPENQUERY(ADSI,''SELECT * FROM ''''LDAP://DC=GrupoCGD,DC=com'''' WHERE objectClass = ''''user'''' AND sAMAccountName=@UserID'')' /* Specify the parameter format one time. */ SET @ParmDefinition = N'@UserID varchar(11)'; /* Execute the string with the first parameter value. */ SET @charVariable = 'rhs0002'; ...Show All
Windows Search Technologies Uninstalling WDS - Urgent help needed - I am getting flooded with error boxes!!!!!!!
How can I uninstall the Windows Desktop Search I went to the Add Remove Programs and tried to uninstall it from there and it errored indicating that "The Update could not be removed because newer updates are installed. Please remove the newer update first." What newer update How can I uninstall the newer update I am getting flooded with "Windows Desktop Search Filter has encountered a problem and needs to close..." dialog boxes, all wanting to send Microsoft the error report every 2 minutes!!! When I open WDS and look in Desktop Search options in the General tab, I see the following in the Version Information: Windows Desktop Search - 02.06.6000.5414 entered twice!! ...Show All
Visual Studio Tools for Office HELP:Installing VSTO on Windows Vista with MS Office 2007 installed?
The subject says it all, I am trying to install my VSTO Original Edition, I have Visual Studio 2005 Std. Edition installed, and that is not where the problem lies. I received the following error message: Office 2003 SP1 is not present; and the only thing I can do is exit the install. Then I had the bright idea to try VSTO 2nd Edition, but of course if you do not have VSTO installed, the minimum Visual Studio version is Professional, and as I stated above I only have the standard edition. Is there any work around, without say installing MS Office 2003, installing VSTO, and removing or upgrading Office or buying VS 2005 Pro. If anyone has an idea I would love to hear about it. Thanks, David Baker Harry, Thank ...Show All
.NET Development .net 3.0 install
I've seen this error in other spots, but I can't seem to find a way to fix it. I'm trying to install the .net 3.0 framework on my computer and it's failing with the following: error msg (sent to microsoft): EventType : wap10setup P1 : 13165 P2 : 3.0.04506.30_waprtm_x86_sfx P3 : mc P4 : inst P5 : f P6 : writeregistryvalues P7 : 1402 P8 : 1603 P9 : - P10 : windows communic Log: [11/11/06,19:11:38] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603 [11/11/06,19:11:51] WapUI: [2] DepCheck indicates Windows Communication Foundation is not installed. [11/11/06,19:11:51] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3. ...Show All
.NET Development Consuming .NET Remoting Objects From COM Client
Hi All! I have a peculiar situation where I must consume a set of remote managed objects (written in Fx 1.1) from a COM client (written in VB 6). In order to accomplish this, this is what I thought of: A managed interface library ( Interfaces.dll ) to be used by both the remotable objects as well as the COM client. This library is also used to create a .tlb which is registered on the client for use by the VB/COM client. (I had to customize the tlb created by TLBEXP, since it was not correctly converting multiple levels of interface inheritance.) A managed concrete class library ( CoClasses.dll ) that contains the implementation of the interfaces. This class is also registered as a COM class and contains all the classes that ...Show All
Visual Studio VS2005 hangs Downloading symbols
i do quite a bit of BHO debugging with IE and what i encounter occasionally is this: vs2005 hangs (and of course the debugee IE) and the statusbar says "Downloading symbols for ...." some .dll. eventually i either have stop the debug (which is not too bad) or kill vs2005. any idea why this happens Gchippie, It loos like we are running into similar but unrelated issues. You can file a bug on the hang here and a suggestion here: http://connect.microsoft.com/site/sitehome.aspx SiteID=210 or call support and see if this is an issue they know about. In the mean time if it keeps happening and you want a workaround, you can turn off the symbol server but make use of your local cache by deselec ...Show All
Visual Studio Express Editions Drilldown comboboxes
Hi, Please can someone point me to a C#2005e solution for access-style cascading comboboxes where users drilldown their selection to find what they want. eg: Combo1 : Country -> Combo2: State -> Combo3: City An example is found here : http://www.candace-tripp.com/download/2table_cascadecombo2k.zip or http://www.codeproject.com/cs/miscctrl/DrillDown.asp Thanks ! OK, I did not understand the difference between display member and value member. So I set the display member as Country and value member as CountryID. So cmbCountry.SelectedValue.ToString() will contain the countryID. Now I get it. I will keep trying and post back. Thanks for your patience. I am still having strange ...Show All
Visual Studio Tools for Office Vista?
I have been spectacularly unsuccessful in getting an add-in to work in Vista. I tried a managed shared add-in created in VS 2003 or VS 2005, with the ominous "failed to load at startup" message in the COM add-in dialog. Then I tried a VSTO (VS 2005) add-in with the message that the manifest failed to load at startup... All three add-ins just worked fine in XP. How do I get any managed add-in to work in Vista Or is Vista not supported for add-ins Thanks, Patrick .NET add-ins for Office 2007 B2TR will only run under Vista RC1. Later Vista builds will only give you crashes. Patrick ...Show All
Windows Live Developer Forums Creating first Windows Live Gadget
I am trying to create a simple Windows Live Gadget and am using this site as a guide. I want to create a gadget that contains a background image and a hyperlink to another site. The guide says that to get a hyperlink to display I have to enter the following lines of code into my .js file. p_elSource.innerHTML = "<a href=\"http://www.live.com\">Go to the best home page!</a>" + "<br />" + "<a href=\"http://ideas.live.com\">Check out the new windows live services!</a>"; However, when I log onto live.com and add the XML file of my gadget, it loads the title and icon but no content within the gadget. This is the whole code of my .js file ...Show All
SQL Server This SQL Server has been optimized for 8 concurrent queries. This limit has been exceeded by 8 queries and performance may be ad
One of the reports in my ASP.NET application needs large amount of data to pull with the help of 16 store procedures at a time. To pull 1 million rows SQL server takes more that 5 minute for one user. At the same time error log shows following error for the SQL server: “This SQL Server has been optimized for 8 concurrent queries. This limit has been exceeded by 8 queries and performance may be adversely affected.” any suggestion about that. Thanks in advance You are using MSDE or Personal Edition of SQL Server. These SKUs have workload governor that limits the number of concurrent queries that can be executed on the server. See below topic for more details: http://msdn.microsoft.com/librar ...Show All
Visual C++ HELP WITH CIN.GET
my program builds and runs when i try to use cin.get while the program is running it doesn't input using cin.get here is my code(note it is not entirely done but it still builds/works): #include <iostream> #include <fstream> using namespace std; int main() { ofstream out; char task[50]; char due_date[50]; char classnumber[50]; out.open("todo.txt"); if (!out) cout<<"error"<<endl; else { cout<<"What is your task name :"<<endl; cin.get(task,50,'/n'); cin.get(); cout<<"What is the due date :"<<endl; cin.get(due_date,50,'/n'); cin.get(); cout<<"What is the class # :"<<endl; cin.get(classnumber,50,'/n'); cin.get(); out<<task; out.put(':'); out. ...Show All
