Rajwebdev's Q&A profile
Internet Explorer Development Dont Fire NewWindow3 when new TAB is opened by CTRL+T.
Our team have made a synchronous tools for IE( http://www.syncplus.net/en/ ). Recently, I am doing an upgrade for IE7 in Vista RC1, but have a problem about the NewWindows3 event. The NewWindows3 event is fired by the following case. 1)Choose the "Open in New Tab" command from a link's shortcut menu. 2)Click the link with the middle mouse button. 3)Click the link while holding the CTRL key. But can't be fired by the following 1) CTRL+T 2) Directly click the empty tab. Would you like give me some advise thank you. I sink the DWebBrowserEvents2 in my Toolbar. AtlAdvise(m_pIWebBrowser2, m_pUnk, DIID_DWebBrowserEvents2, &m_dwCookie); I can receive the NewWindow3+NewWindow2 ...Show All
Internet Explorer Development ? How to disable IE default browser check
My team is implementing a single sign-on solution. Public use workstations auto-login to a generic id and the user authenticates to the workstation through a GINA that is part of the package. Any application launched via the single-sign on toolbar runs as the authenticated user and not as the user logged into the workstation. The history compiled by the internet tracking software installed is based on the userid of the instances of iexplore.exe running so we had to force all browser traffic through a 'RunAs' application that is part of the single sign-on package. So we created a 'browser' application that is just a call to the 'RunAs' application which launches iexplore.exe as the authenticated user. The 'browser' app also sends along a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can Xbox360 controller use on PC for XNA Game?
Can Xbox360 controller use on PC for XNA Game I want to write the code about Input.So I need the xbox360's controller. Can I just plug the xbox360's controller into PC and run the XNA Game Or Should I connect to Xbox360 to run XNA Game for input Right. I was just pointing out that 2.4GHz is a pretty standard frequency, but agreeing that nothing else about the receiver was "standard". ...Show All
Visual Studio Changing elements from properties
Hi all.~ Slowly but surely coming around on DSL tools. =) Assume I have a Bar and a Baz element, both of inherit from Foo element. Ideally, I'd like to be able to change a property on a Bar element to switch it to a Baz element. I'd have to imagine that it's not too easy with connections and property information transfer. What are the possibilities for addressing this situation Thanks in advance. -B Tucker Neumont University Patrick's right, and with the new path-based mapping we support, it's relatively simple to have the immutable part of your class (call it FooHolder) hang on to whichever kind of sub-Foo is currently instanced and point decorator maps and other elements to it as well. I believe Coplien called this pattern "l ...Show All
Windows Forms Supporting 2003 & 2005 InitializeComponent
Hi, I had to upgrade our project to 2005 but we still need to support 2003. The issue we're having is the InitializeComponent function forced me to use scope resolution on our event objects for 2005. But in 2003 the Windows Form designer reports these to be errors now. Change Forced in 2005 this->exactColorBox->Paint += new System::Windows::Forms::PaintEventHandler(this, &PSEditor::ColorPicker::exactColorBox_Paint); Error in 2003 Invalid identifier: 'PSEditor.ColorPicker.alphaRangeBox_MouseDown' Does anyone know how to get both configs to work or have suggestions for work arounds. Thanks, Keith ...Show All
.NET Development Serial Communications question using System.IO.Ports
I have rewritten some old legacy vb6 code using Vs2005 and .net 2.0 framework. The application needs to send two types of commands to a quality measurement device let us call it the bcs. I developed an object of type Array List so that I could foreach through the list and send each command to the device. My trouble comes when I attempt to parse the data. If I just let the foreach loop do its thing the output ends up looking something like this; E1F1G531E5000 If each command was <cr> terminated this would be a no brainer and I wouldn't care about the stacking of multiple commands in the buffer but reply responses from the device are not control character terminated and are of varying length. The only identifier is that each param ...Show All
Visual C++ How to trim all space character in a string?
I want to trim all space character in a string, for example there is a string " 1000 + [101001] + [101002] ", how to get another string like this: "1000+[101001]+[101002]". Are there better method to do that thks An efficient version in C only: #include <string.h> #include <stdio.h> int main() { char src[] = " 1000 + [101001] + [101002] " ; char * dst = new char [strlen(src)+1]; // worst-case size allocation char *srcpos = src, *dstpos = dst; do { if ...Show All
Windows Forms plz help me im new in vb.net programming.. Data access problem
hey guys im new to al this.. i making a point of sale application front end is vb.net and back end is MS Access now im having problem in updating my datagrrid view its adding rows but im nt able to DELETE or UPDATE bcz as im Bound to use OLEDB Adapter.. telll me how to update it please,, n as soon as posbbile thanks amita Me .Validate() Me .CustomerBindingSource.EndEdit() Dim con As New OleDbConnection( "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\Administrator\Desktop\db1.mdb" ) Dim ds As New db1DataSet Dim da As New OleDbDataAdapter( "select * from Customer" , con) da.UpdateCommand = New OleDbCommand() ...Show All
SQL Server Uploading Multiple Files to sqlserver
Hi Every One, I want to upload 100 pdf files to database with a single button click. i dont want to use file input control at design mode.I want to create a instance of fle input control at run time and with a loping concerpt 100 more files should be uploaded to database. Is there any way to upload without using file input control at design mode and upload all files with a single button click....... thanks In Advance Saroj Nanda Software Engineer Eilisys Technologies Pvt. ltd Are you talking about not wanting to do "Upload" in Report Manager 100x If so, it's pretty easy to write an rs.exe script that calls CreateResource() for each of your .PDF files. I'm not sure what you mean by "design mode ...Show All
Microsoft ISV Community Center Forums Excel: Pivot Tables: GETPIVOTDATA does not seem to work on custom fields.
I am encountering this issue on Excel2003 on XP. Create a simple pivot table (my example has 2 row fields). Activate a cell outside the pivot table and click on the totals cell (Note: I am selecting the total for each value within the left most row field - i am not selecting the grand total). You get the GETPIVOTDATA formula generated for the reference within the pivot table. This works fine for automatic fields. In this case, the formula generated is of the form: =GETPIVOTDATA("Sum of CurrentPrice",$A$27,"ProductName","CR20") Now, select the same total field & change this to a custom calculation - pick any type (1 selection will do). Now repeat the same operation as above. The GETPIVOTDATA for ...Show All
Visual Basic How to retrive from a databbase using vb.net
i want to make a search box and when the user for something i want it to search it the databse and show the resultat. can someone help me how we do this with the code. tanks The examples are of both web sites and applications and yes they use SQL, so you can breeze over those parts.. There are examples of programs that surely mimic what you need to do. Otherwise use MSDN and look at their examples as found in the controls on how to populate controls...etc. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Assign to Vector2?
This is probably an easy question, how do I assign to a Vector2 This was my first bad guess: Game1.Players .Position = (0f,0f); but it didn't work, I know I can assign to the .X and .Y of the Vector2 but I want to do it in one simple step. Also can you do it without creating a new Vector 2 Cheers Alfons Initially you have to create it, otherwise you'll get an error. If you're talking about updating it after that you could use a method to the Player object that takes two floats. If the position is something that's going to be updated constantly you could keep a Vector2 member of the Player that is used to update the position and just change that: Vector2 _position; Vector2 _move; //say this has X=5/Y=2 ...Show All
Windows Search Technologies Outlook 2007 Beta 2 and EntryID Futures?
there is also a problem when you try to install the WDS with the office 2007 during the installation at the end you get a error saying Access Denied and the installation fails. is microsoft aware of this problem James Well, I have done all of the above, and found the registry key affecting mine (after enabling verbose logging). Once I changed permissions on the registry key (HKCR\.wll) I am STILL unable to install this, and still get the exact same failure message. I am the Admin (and only user) of this computer. Anyone have any suggestions Also, when I check the failure log, I am still getting access denied at the same key I changed permissions for originally, and when I check the registry, ...Show All
Visual Studio Team System VSSConverter Error TF60041
I received this error when just starting to convert my SourceSafe database to TFS Source Control: TF60041: $/MyTeamProject/ThirdParty/Company3 is a descendent of $/MyTeamProject/ThirdParty I have a ThirdParty area of SourceSafe that has most of the the third party code, etc, but some code from another thirdparty is else where, and I simply want to migrate the other third party's code in under the umbella of the ThirdParty area. Why does the VSSConverter care if the destination (TFS SC side) folder is a descendent of the ThirdParty folder I believe the reason for the limitation is part of a guard against duplicate file names. What you can do about it is rather than migrating ThirdParty at the root ...Show All
Windows Forms Toolstrip location with Toolstripmanager
I have a form with a toolstrippanel docked at the top, and 3 toolstrips in that panel. I use the loadsettings and savesettings method of toolstripmanager to remember the location of these 3 toolstrips. The horizontal location seems to be working fine, but when i put the 3 toolbars on 1 row (they fit easily on 1 row), then they are spread over 3 different rows when i close and reopen the application. (the form is my main application form, it's an MDI form). Does anybody have any ideas on how to solve this Thanks in advance, Rudy De Maeyer Software Development Softconstruct Belgium ...Show All
