ADub's Q&A profile
Internet Explorer Development How to make XMLHTTPRequests in a BHO?
How do i "listen" to components getting downloaded in a webpage Is there any event which is triggered during the download of each component(js,image,css) If that's not possible,will it be a good idea to get each component's "src" and make XMLHTTPRequests to fetch these components How do i recieve the size,time taken for download of each component using this method This BHO is meant to be a page analysis tool Regards and Thanks Avinash ...Show All
SQL Server Between + '%'
helloo I have this table Id Code -- -------- 1 10101001 2 10101002 3 10102001 4 10102002 5 60101001 6 60101002 7 60102001 8 60102002 9 60201001 10 60201002 11 70101001 12 70101002 I need to query this table by the following (select id, code from table1 where code between '1' + '%' and '7' +'%') to get all values of codes between (code starting with 1) and (code starting with 7) or for example: (select id, code from table1 where code between '602' + '%' and '7' +'%') ------------------------------------------------------------------------- Im not getting correct answers or let be specific in the second query im not getting codes starting with 7, im only getting codes >= 602 but less that 7, so 7 is not incl ...Show All
Visual Studio 2008 (Pre-release) Using WCF for database operations
Hi I am working on a distributed architecture based on SOA model. I have my front end calling a WCF proxy and I need the WCF to handle data base related operations. I also have in mind to make use of typed datasets and perform all operations through it like select, insert, update,delete. I also have a Data Access Layer which specifically does the work of handling database operations and my plan is to make the WCF communicate with the DAL. Can anyone verify if my approach is correct or suggest and other approach to handle database related operations using WCF and a combination of Typed data sets. Any working samples would also be of help. Hi, Yes, you can certainly use custom o ...Show All
Visual Studio Express Editions Hex Calculations help Please
I think I have presented myself with a rather difficult challenge. I need to convert a hex value to Radix 24. I'm not sure if this these are the right terms but I think it's converting a Base16 to a Base24. If any one could maybe help me out I would be extremely grateful. I have searched the internet for a long time and was only able to find calculators. I do need this for VBEE that's why I'm asking here <br> Integers are easy Private Function ConvertTo24(ByVal HexNumber As String) As String Dim Array24() As String = {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D&qu ...Show All
Windows Forms Distributing MDAC 2.8 in my VS2005 deployment project
I have used VS2005 to develop a deployment project. I have included MDAC 2.8 and Windows Installer 2.0 as prerequisites to be installed. When a user runs this setup on his PC, running WinXP Pro, SETUP determines that it needs to install MDAC 2.8. The install log file shows that it is finding MDAC version 2.71.9030.0 on her system. The installation log shows that setup runs the following command line to install MDAC 2.8: ' "\Temp\mdac28\mdac_typ.exe" /q:a /c:\"dasetup.exe /q /n\" ' The next lines in the log say: Process exited with code -2147467259 Status of package 'Microsoft Data Access Components 2.8 after install is 'InstallFailed' This computer is a stand-alone machine with no network connections, ...Show All
Smart Device Development [Smartphone-c#] Word files
hi! i have created an application that open a specific *.doc file in a directory. but when i try to run it the smartphone gives an error on the "Microsoft.Office.Interop.Word.dll"... i have tryed to import the dll and copy it on the phone, but it doesn't work... why //-------------------------------------------------// this is the error message: TypeLoadException was unhandled" Corpo: "File or assembly name ' Microsoft . Office .Interop. Word , Version=10.0.4504.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35', or one of its dependencies, was not found. AndrewBadera wrote: interop assemblies are pretty picky. I don't think Office interops exist for mobile platf ...Show All
.NET Development About windows message
Can someone tell me what's the different between IMessageFilter and WndProc Is it the only method to send windows message by import api dll THANK YOU They serve different purposes. If you are implementing a control or form and you want to handle a custom message then you would override WndProc. WndProc is called for each message in the message queue for the control/form. It dispatches each message to an appropriate message handler for processing (for example eventually to OnPaint for WM_PAINT messages). IMessageFilter is used to filter messages that are sent to a control/form. Rarely would you do this if you own the control/form yourself (since you have WndProc ). Instead this interface is useful ...Show All
SQL Server About Connections and component mappings
1.After creating pacakages what i am concerned about is that when i move then to different locations do they work just the same as the had been. 2.About the mapping with in the components like lookups,and the variable with in conditional split or etc....do they get disturbed with any change in the location of the textfiles or anything of this kind of location change. 3.Is is adviceable transforming 5 to 6 text file with in one package in parallel Please let me know Thanks 1. They should work the same way. Just make sure the account executing the package has required permissions on all enviroments; but that is nothing to do with the package itself. 2. Same as above 3. That may be a matter ...Show All
Commerce Server getting more info from purchase orders
I have used the example and retrieved the purchases and they contain things like OrderGroupId, SoldToId, SoldToAddressId, total, etc. I would like to get the actual address of who it was sold to, the contents of each line item, and the credit card information (type, number etc). It seems that with the ordergroupid, and the addressid I should be able to grab other types of information, and I can see it in the DB, but how do I grab the data through the API thanks! Thank you, that does help a grea deal...but it leads into another question. I see the Payments.CreditCardPayment table has a field called CreditCardNumber, but it leaves it blank, where can I grab the credit card number from thanks ...Show All
Software Development for Windows Vista Way to get property from an persisted workflow instance
Dear all, How can I retrieve Workflow Properties from an workflow instance (either loaded and persisted) Please help. Thanks. Andy Ho Steve, Many thanks. Any hints on how to do that All the SqlTrackingService sample seems only focus on getting the status and datetime stamp of the tracked Instances and activities. Please advise. Andy ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can Visual Studio 2005 create a Windows Game project(XNA) like Visual C# 2005 express
Can Visual Studio 2005 create a "Windows Game" project(XNA) like Visual C# 2005 express How do I implement or modify some setting And See XNA MSDN in Visual Stduio 2005's MSDN. Sorry! The website is not available. https://connect.microsoft.com/feedback/ViewFeedback.aspx FeedbackID=190037&SiteID=226 ...Show All
Visual C# type Casting in C#
I want to transfer data from one webpage to another webpage using Context.handler.. I got code from MSDN site like, in the calling form i wrote public WebForm1 webform1_instance; WebFrom1 webform1_instance = (WebForm1)Context.Handler label2.text = webform1_instance.username_textbox.text.Tostring(); Then this coding gives error for : INVALID TYPE CASTING IN C# FOR WebFrom1 webform1_instance = (WebForm1) Context.Handler nhow what should i do ,, please help me out....... AFAIK you can't use Handler for that. The handler will be the handler for the current request and not necessarily a web page. You should instead rely ...Show All
Windows Forms Opening Internet Explorer
I upgraded my Dell laptop to Windows EP (home). Now when I log online and try to open Internet Explorer My computer starts working and nothing happens for a very long time. Then when I start to close the connection all of a sudden it shows Internet explorer is trying to open 10 to 15 times. Why want it just open one browser window instead of mulit pages Good1ed@yahoo.com(donotspam) im afraid i have to ask you to repost your question to the appropriate communities as these forums are for software development only www.microsoft.com/communities Thanks ...Show All
Visual Basic Text is removed from second form
using vb.net 2005 express edition I currently have 2 forms... frmMain and frmRawData.. frmRawData has a text box on it which has text written to it while the program runs. If i close frmRawData (but leave the program running)it clears out all text that has been written to it.. VB6 did not have this problem..is there some property or something that i need to set in order to keep the text that is written to it If you close a form and reopen it it will initialize all controls and variables on the form...this is normal behavior...if you want to persist information you either need to 1. hide the form instead of closing it 2. Use static variables 3. Use a global variable and save on exit and load ...Show All
SQL Server Left outer join query?
Hello all, I am stuck in a bit of a mess, and i really don't know how to get out of it. I am a dot.net developer, working with MS SQL server 2000. I am trying to write a query which essentially gives the amount of stock available for a particular stock_code. select Stock_code, description from stock Now what i want to do is, for each one of the stock_code that apears in the table above i want to look into another table called pop_item, and get the closest delivery_date for that particular stock_code. So i have top 1 and order it by delivery_date desc. Individually for a particular stock_code, i can do this no problem. And here is my code for stock_code='E0016/6' select top 1 stock_code, delivery_date, order_number,qt ...Show All
