Bennie9425's Q&A profile
Internet Explorer Development iframe doesn't work in IE7
Hello, I am new to IE7 and am a bit boggled by the fact that this simple page doesn't work: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Novell GroupWise</title> <meta http-equiv="Refresh" content="900"> <base href="http://mail.parametrix.com/" target="_self"> </head> <body style="margin: 0; padding: 0"> <div style="text-align: center; font-family: Arial,Verdana,sans-serif; color: white; background-color: red"> ...Show All
.NET Development Problem with TableAdapter when DB has Polish diacritics in table's or field's name
Microsoft Visual Studio 2005 Proffesional, Version 8.0.50727.762 (SP.050727-7600) Microsoft .NET Framework Version 2.0.50727 I have table in DB, that has Polish diacritics/characters in table and/or field name, example below CREATE TABLE [dbo].[Tanble_ascolzzn]( [ID] [int] IDENTITY(1,1) NOT NULL, [Field_ascolnezz] [varchar](50) NULL, [Field2] [varchar](50) NULL, CONSTRAINT [PK_Tanble_ascolzzn] PRIMARY KEY CLUSTERED ( [ID] ASC ) ON [PRIMARY] ) ON [PRIMARY] In VS2005 Add New Item, choose DataSet, then add TableAdapter. In TableAdapter Configuration Wizard set select statement SELECT ID, Field_ascolnezz, Field2 FROM Tan ...Show All
SQL Server Maintenance Plan Problem
I cannot seem to get maintenance plans to work. Everytime I try to create a new plan, it tells me that managment tools are not loaded on the remote machine. Tools are loaded, server is registered as local. Any hints TITLE: Microsoft SQL Server Management Studio ------------------------------ The action you attempted to perform on a remote instance of SQL Server has failed because the action requires a SQL Server component that is not installed on the remote computer. To proceed, install SQL Server 2005 Management Tools on the remote computer, and then try again. For more information, see "How to: Install SQL Server 2005 (Setup)" in SQL Server 2005 Books Online, or find the article on MSDN at http://go.microsoft.com/fwl ...Show All
Software Development for Windows Vista How does window media player pass the file to a push source filter?
Hi,I'm new to DirectShow. Now I need to write a push source filter to open and parse a customized file. I'm wondering how did window media player pass the file to my filter I'm not totally understand the flow chart from window media player to source filter.Any input will be really appreciated.-Cecilia Thanks LGS for the info.Actually, I have my own file parser for my own file type. I need to get the file path from window media player and pass to my own file parser to open and parse the file. I don't know if window's media player will pass the file path to it's pin Any input will be appreciated.-Cecilia ...Show All
Visual Studio Express Editions Convert string to HTMLDocument
I'm trying to parse html from a string containing the html. I would like to do it using the DOM via the HTMLDocument class. Basically I need to load a string into a HTMLDocument class. I know I could do this using WebBrowser but it seems inefficient. I've tried the following code but doc is not an instance and HTMLDocument has no constructors. Maybe I can't Dim html As String Dim doc As HtmlDocument doc.Write(html) MsgBox(doc.Title) Thanks. Lots of relevant hits on this Google query ... ...Show All
Windows Live Developer Forums please can someone explain how to upload a picture on my website
I am just trying to upload a picture on my new website tutorial and having no joy! Any tips at all would be great...please be warned I am complete Novice to this....but eager to learn1 Was it not enough --> http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=504992&SiteID=1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Content Pipeline
Hi, I haven't really used the Content Pipeline seriously yet but I've seen the official tutorials on it and understand them. Now, I'm thinking - what if I want to load a certain model/effect or anything else that the Content Pipeline supports - BUT I want to load it dynamically/at run-time, e.g. I have a certain filename that my code wants to use to load content, but I don't know it until runtime. Is there some sort of dynamic way of using what otherwise seems to be a static Content Pipeline Thanks... All of your content will need to be pre-processed. You can load any of the processed content at runtime, for example if you had 10 models you could add them to a combo box and let the user pick the one the ...Show All
SQL Server for deleting duplicate rows subquery or cueser is Better in performance????????????
For deleting duplicate rows, i can use cursor and subquery. cursor code Declare dup_cursor cursor for select acctnumber from LinkUrnABSADMBAR group by acctnumber having count(*) > 1 Open dup_cursor Fetch Next from dup_cursor INTO @acctnumber While (@@Fetch_Status = 0) Begin Delete from LinkUrnABSADMBAR where acctnumber = @acctnumber Fetch Next from dup_cursor INTO @acctnumber End Close dup_cursor Deallocate dup_cursor Subquery code delete from galupload2000..test where id in (select id from galupload2000..test group by id having count(*) >1) My question is which one is Better in performance Thanks Sandipan ...Show All
Windows Forms Datagrid results not emptying
I have a datadridview that is being used to return the results of searches. However, I am having trouble with the datagridview not clearing the previous search results. For e.g. if I was looking for the name SMITH previously, al the SMITH will get displayed again even when the current search is for JOHNSON. I tried using combination of dataGridView.DataSource = Nothing dataGridview.Refresh dataGridview.Rows.Clear() etc. but it only clears the datagrid temporarily. The next time I do a search the previous results still get displayed. Should I clear the adapter How would accomplish this Thank you. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where is my dshow.h?
I can't find 'dshow.h' in DirectX 9.0 SDK (October 2005),why DirectShow hasn't been part of DirectX for some time now. You need to download the Platform SDK from here . If you have further DirectShow questions, please post them to the DirectShow Development forums . ...Show All
Visual C++ About Templates
Hello to all, My question is about templates. As I know (and correct me if I am wrong) when I declare a template class with a class T type parameter, then the compiler generates prototypes of the specif class for each different type parameter. For example: template<class T> class CppProperty { T m_Val; ... }; if in my program make the folowing declarations: CppProperty<BOOL> m_bVisible; CppProperty<float> m_fScale; The compiler will first create the folowing class prototypes: class CppProperty01//a name, whatever { BOOL m_Val; ... }; and class CppProperty02//a name, whatever { float m_Val; ... }; Am I correct so far My question is: if the t ...Show All
Windows Forms Loading Image (Visual C# 2005)
Hey, I after these lines of code what should I put to make it load the image into a PictureBox openFileDialog1.DefaultExt = "*.gif" ; openFileDialog1.Filter = "Gif Images (*.gif)|*.gif|JPG Images (*.jpg)|*.jpg|TIF Images (*.tif), (*.tiff)|*.tif|PNG Images (*.png)|*.png|BMP Images (*.bmp)|*.bmp" ; openFileDialog1.InitialDirectory = "MyDocuments" ; openFileDialog1.CheckFileExists = true ; openFileDialog1.CheckPathExists = true ; Thanks :) Try this instead; pictureBox1.Image = System.Drawing.Image.FromFile(openFileDialog1.Filename) ...Show All
SQL Server Message: Missing end comment mark '*/'.
Hi, I created a web syncronization merge replication ,both servers and clients are sql server 2005 and everything is fine with the settings , but while synchronization and after i received some sch files i got the following message at the subscribers on the initial snapshot operation: 2006-06-27 07:50:14.471 The schema script 'myfile_311.sch' could not be propagated to the subscriber. 2006-06-27 07:50:14.471 Category:NULL Source: Merge Replication Provider Number: -2147201001 Message: The schema script 'myfile_311.sch' could not be propagated to the subscriber. 2006-06-27 07:50:14.471 Category:NULL Source: Microsoft SQL Native Client Number: 113 Message: Missing end comment mark '*/'. Any idea Tarek Ghazali SQL Server MVP ...Show All
Windows Forms Boostrapper for Net1.1. application and trust
Hi I'm build a ClickOnce deployed app which only serves as a "bootstrapper" for a Framework 1.1. application (as ClickOnce requires 2.0). The Net 1.1. exes and dlls are referenced by the bootstrapper and therefore installed by clickonce (works). My question: If my bootstrapper requests Fulltrust and the user grants this Fulltrust to the Application when installing it, do the Net 1.1 exes and dlls also get FullTrust I would believe so, but I'm not actually sure if the permissions will cross the Fx boundary from 2.0 to 1.1, that's the possible thing that might not work... but I don't know offhand that there's anything that wouldn't work here. ...Show All
.NET Development Getting the calling assembly name in the client library
A client library ( ClientLib.dll) class has a method to derive the calling assembly name as string applicationName = Assembly.GetEntryAssembly().GetName().Name; If the above library is referred in Win app or other library, the applicationName is set to calling (entry) assembly name. But when above client library is referred in the webservice assembly (WsAssembly.dll), the entry assembly name is null but the executing assembly name is client library name(ClientLib), ideally I want the applicationName set to WsAssembly. Any ideas on deriving the calling or entry assembly name both for web applications and windows application is appreciated. Thanks Srik Appreciate your response Rodrigo, GetCallingAssembly() ...Show All
