ADG's Q&A profile
Visual C++ need a help regarding dwmapi.dll and DwmExtendFrameIntoClientArea function
Dear All, My compiled code asking dwmapi.dll, which is nowhere to find on my windows XP box. using dependency walker, it reports that the "c:\windows\system32\urlmon.dll" is looking for this dll, and the function name is DwmExtendFrameIntoClientArea. I searched internet, and some people say that the IE7 is making this problem. and I am kind of agree, and I have it on my machine. So I need this dll badly, or somebody can give me a way to un-install IE7 quickly Thanks a lot. rcen Upon further research, scratch my previous message. The real culprit is IE7. It appears my install of IE7 includes a version of IEFRAME.DLL that has this missing dependency. This is throwing an exception in a 2002 dl ...Show All
Windows Live Developer Forums Ero
i am just forced to change the appearance of my pushpin-hover info window, OMG, why is it so lousy designed, ive just read John's (Soulsolutions) article on it, first, why is it called 'ero', second, why is it such a pile of bad html instead just a simple div Hope, microsoft will change it in a future release of the api... The biggest issue i have with the default popup is the large "padding" effect you get due to the diamond graphic they use for the arrow. In the end I have had to create my own div and work on the bounds logic. Its not my graphics so i can't post it but you can check out the site I made it for: http://www.lookupandsmile.com.au/what_map.aspx John. ...Show All
Visual Studio Visual Studio freezes
I have Visual Studio.NET 2003 Professional. It was working just fine a couple of days back and all of a sudden the IDE has become so slow to start up. The logo comes and freezes for a about 6-7 minutes before it allows me to chose the project to open. After that everything else works just fine. I did a repair and a reinstall but the problem still exists. Please help. Thanks. The article you wrote is for Visual Studio 2005 and I have problems with Visual Studio .NET 2003. devenv.exe doesn't have a log switch according to the help attached with devenv.exe in Visual Studio 2003. Thanks for looking. ...Show All
.NET Development Web services / Hosted Controls catch 22
We have created a Hosted .Net Control that uses web services to talk to an IIS server. Works great; except behind an Microsoft ISA proxy server that expects authentication. The user gets a 407 Proxy Authentication failed. Through exhaustive searches of the internet we have concluded that the answer should be something like: WebProxy proxy = ( WebProxy ) WebRequest .DefaultWebProxy; proxy.Credentials = CredentialCache.DefaultCredentials; webserviceProxy.Proxy = proxy; However, this approach fails because of a CAS security exception System.Net.WebPermission. This seems to be caused by violation of the Intranet_Same_Site_Access or Internet_Same_Site_Access in the internet and “local intranet” sandbox that we are t ...Show All
Visual Basic How to read/write to an .ini file using VB 2005?
I am currently using this class http://www.mentalis.org/soft/class.qpx id=6 Is there an easy way to access .ini file may be using My namespace I have pdf print driver and that print driver has .ini file that I want to manipulate programmatically. This involves writing to .ini file values of filename etc. so question is how to update values in the .ini file programmatically ...Show All
Visual Basic TextBox Woes
Is there a way to determine which line in a textbox has the most characters in it I cannot seem to find anything within the Lines property that has worked. Also, Is there a way to do this and not count Chr(13) and Chr (10) Thank you, Troy L. I don't think there is a property that does this. one way would be to go through each line of the textbox and check if the current line length is > the last one stored in a temp variable. Maybe ineffecient but this is one way I can think of. Example (untested) Dim theGreatestChars as Integer = 0 Dim lineNumber as Integer = -1 for counter as Integer = 0 to Me.theTextBox.Lines.Length - 1 if Me.theTextBox.Lines(counter).Length > theGreatestChars then theGreatestChars = ...Show All
Visual C# Certificate
Hi All, I would like to hear some views from you guys on which vendor should I purchase a Software Installer Publisher Certificate from. Any inputs would definitely be appreciated. Cheers! ...Show All
SQL Server XML configuration file deployed location
I have developed an SSIS package which uses an XML configuration file for connection information. It runs fine both from Visual Studio and from an Agent job after I specify the location of the XML configuration file in the Agent job definition. My question is regarding the target location of the XML configuration file after deployment. I do my SSIS development on a local workstation with SQL Server 2005 DE and Visual Studio 2005 installed on it. I deploy my SSIS packages to a remote SQL Server 2005 SE server. Both machines are running SP1. I double-click the package manifest from my local workstation and specifiy the remote server in the deployment utility. The package gets deployed to the remote server just fine but the XML configurati ...Show All
.NET Development Is it possible to hide select enumeration values from intellisense?
If I have an enumeration in it that has values that I use internally as well as values I want users (clients) to use, is there a way that I can hide mine from intellisense Is there an attribute to do this Actually, it does work on a per enum value basis... Tried it and it worked. < Flags (), Description ( "Use OR to set a flag. Use AND to test for a flag." )> _ Public Enum asrTraceLevel < EditorBrowsable ( EditorBrowsableState . Never )> [ STRUCTURE ] = 1 < EditorBrowsable ( EditorBrowsableState . Never )> CONDITION = 2 INFORMATION = 4 WARNING = 8 [ ERROR ] = 16 CRITICAL = 32 End Enum ...Show All
Internet Explorer Development IE7 auto shutdown problem
I downloaded the IE7 from Yahoo! a couple of days ago, and installed it. My PC was bought from Dell two years ago with XP Pro (Pack 2). The installation process was normal. I was able to access the internet as before (AT&T DSL). However, after a couple of clicks, the program just shuts itself down automatically without any warning. I was able to download another copy from microsoft.com, and reinstalled it. The problem is still the same. Now after launching IE7, it will likely shut down before my 5th click. Please help solve this problem or tell me how to go back to the previous version of IE. Thanks a lot. - Steve Well I still have problems with the IE7 and not really sure what to think about it besides the fact that MS doe ...Show All
Visual Studio Stale Dataset in the RDLC XML
I modify SQL, eg add a row, and then in the dataset.XSD I re-run "Configure..." on the DataTable (TableAdapter) and see the new fields. For .ASPX pages I have a visible ObjectDataSet that I can execute "Refresh Schema" on. but in the .RDLC There is no visible component. I've had to manually open the .RDLC in XML and add/modify the new fields. How can I trigger a refresh of this Segment of the RLDC XML follows. Thanks, Kim <rd:ReportID>xxxxxxxxxxxxxxx-da931dd75bc1</rd:ReportID> <LeftMargin>0.5in</LeftMargin> <DataSets> <DataSet Name="dsReports_ReportsView"> <rd:DataSetInfo> <rd:TableAdapterGetDataMethod>GetData</rd:TableAdapterG ...Show All
Software Development for Windows Vista Enumerating Audio Pins
hi, what CLSID to be used to get the reference of IBaseFilter to enumerate the audio pins(e.g. CD Audio, Phone, Line In, microphone etc) ...Show All
Windows Forms HTML DOM Question
Hi All I'm creating a WYSIWYG HTML Editor in Visual C#, using MSHTML and the Document Object Model. I've got a WebBrowser component which has DesignMode enabled, and I want to create some buttons which add various tags etc for making Bold and Italic Text and creating Hyperlinks etc. I tried the following code to create Bold text: private void buttonbold_Click( object sender, EventArgs e) { MSHTML. IHTMLDocument2 iDoc = (MSHTML. IHTMLDocument2 )windoc.Document.DomDocument; MSHTML. IHTMLSelectionObject iSelect = iDoc.selection; if (iSelect != null ) { MSHTML. IHTMLTxtRange txtRange = (MSHTML. IHTMLTxtRange )iSelect.createRange(); txtRange.text.Replace(txtRange.text, "<b>" +txtRang ...Show All
Windows Forms Image display form....some questions
I've written a very simple form that loads an x number of images from a local directory and displays each bitmap in picture boxes. The result is that each image is displayed one row at a time. I don't like the way the images are currently being displayed. Is there some kind of formula I can use to display them in rows of 5 at a time There could be anywhere from 50 images to 500 images being loaded at a time. I don't want the images to be displayed one row at a time like it is right now, but i can't quite figure out how to come up with the correct row and column offset numbers when setting the location for each picture box. thanks in advance! Thanks for all the helpful replies. I went ahead and impl ...Show All
SQL Server MS SQL server 2005 - cant connect to server
Hi everybody, please help me!!! I just installed MS SQL 2005, but somehow I cant connect to the server wich is on my local computer, or BD engine to be exact, because other services work fine(like Analysis service). I get the following error message, can anyone please help me resolve this problem: An Error occured while performing this operation (Surface Area Configuration for Services and Connections - localhost) ============================================= An Error occured while performing this operation (SQLSAC) ---------------------------------------- Program Location: at Microsoft.SqlSac.MainPanel.UserControlService.ActOnService(ServiceAction action) Simon, No, I have not changed ...Show All
