Asp.net - MSSmartTagsPreventParsing Still Valid Meta Tag?
Jun 8, 2011Is the Meta Tag - MSSmartTagsPreventParsing - still a valid and used tag in current browsers?
Any harm in leaving it on a website?
Is the Meta Tag - MSSmartTagsPreventParsing - still a valid and used tag in current browsers?
Any harm in leaving it on a website?
Ive come up with an issue in a program im making, hoping someone might have a clue. Basically I want to enable meta gaming into a ORPG I play. Obtaining all the meta gaming was easy enougth to do, now I have to add it into the game (Microsoft Freelancer) But ive run into a problem.I don't have a clue how. Basically, Microsoft Freelancer has a "chatbox" and I want to pass skype to and from the chatbox using VB.So if I want to type "Hi everyone" into skype, I would type "/s Hi everyone" and theoretically my VB app catches the message and passes it to skype.I can do that part using windows hooks. But when skype chats back, How to post into the game?Ive run a sniffer, But I get data that I have no Idea what it is.0000 80 06 01 00 CD DE 00 00 93 F5 06 00 I do know the ip im sending to and the port, If that helps, And the rest of the program functions, just sending and receiving the chat data is beyond me atm.
View 1 RepliesI'm implementing one web which requires the content of meta tag. How do I get the content?
View 1 RepliesDoes anyone know how to get the width and depth out of a swf file? Sounded easy when I started looking but I caould only find samples for VB6 and not .net
View 1 RepliesI have a website with product pages that are created dynamically depending on the itemws in my database. The site works fine with no errors. I now would like to add Meta Tags to the header.
When the pages are created I would like to dynamically/programmically set the meta tags for that page - Keywords, etc.
How can I add them using VB.Net in Visual Studio 2008. I am using a masterpage for the overall layout if that affects anything.
I want to decorate a VB.NET class with meta data to describe additional information associated with the properties of the class. Also I need this information to be visible through reflelction.Is this even possible for me to accomplish?
View 3 RepliesIs their anyway of getting the meta information of a file?[code]I've been searching Google for over an hour and found very little help.
View 2 RepliesI would like to add the following meta tag below but do it dynamically when the page loads so that in case we do not need to add it we will not. <meta property="example" content="example" />This is in VB.Net with Visual Studio 2008.
View 1 Repliesi have a windows form created using vb.net 2005 that allows users to attach files. When the user clicks the AttachFile button, they browse to select a file they want to attach and then the code places the file they selected into a predetermined location. The primary file type they will be attaching is a windows meta file (.wmf).
The attached file is saved and appears as a hyperlink for the user to open at a later time. When the user clicks to open the file, it is suppose to insert it into Autocad; however, it wasn't doing this.
The problem comes from attaching the file using the StreamWriter for some reason its not working correctly. I verified that this is the issue: When i hardcoded the file path to the original file's location, it opens up just fine when clicking the hyperlink. When I compare file size from the original to the one attached, I see that the original is 12Kb and the one I attached is 19Kb.
Here's my code to attach the file: I'm thinking perhaps it has something to do with this line? sReadFile = sr.ReadToEnd() but I'm just not sure. I tried changing this line to sr.Read but that doesn't work either.
[Code]...
I've been using the process shown here: [url]
For including images in my database, what i would like to do during the import process is capture some of the meta data to store against fields in my database as well.
In this case we will be using iPhone 4s which i believe capture data in EXIF format.
I did a bit of looking around on my own and apart from: [url]
I have a process that's going to initially generate 3-4 million PDF files, and continue at the rate of 80K/day. They'll be pretty small (50K) each, but what I'm worried about is how to manage the total mass of files I'm generating for easy lookup. Some details:
I'll have some other steps to run once a file have been generated, and there will be a few servers participating, so I'll need to watch for files as they're generated.Once generated, the files will be available though a lookup process I've written. Essentially, I'll need to pull them based on an order number, which is unique per file.At any time, an existing order number may be resubmitted, and the generated file will need to overwrite the original copy.
Originally, I had planned to write these files all to a single directory on a NAS, but I realize this might not be a good idea, since there are millions of them and Windows might not handle a million-file-lookup very gracefully. I'm looking for some advice:
Is a single folder okay? The files will never be listed - they'll only be retrieved using a System.IO.File with a filename I've already determined.If I do a folder, can I watch for new files with a System.IO.DirectoryWatcher, even with that many files, or will it start to become sluggish with that many files?Should they be stored as BLOBs in a SQL Server database instead? Since I'll need to retrieve them by a reference value, maybe this makes more sense.
How do I Edit and Save Image EXIF / Metadata / FileInfo without using an external DLL?
Project:I'm building an app for personal use to rename, retag, and organize the apocalyptic quantity of images I host on my personal website. As I have been collecting funny pictures and such for several years, there is no real rhyme or reason to the file naming conventions. Ergo, Image0001.jpg needs to be renamed to a descriptive filename, and the Metadata fields need to be filled in.
The desired process will take an existing jpg, gif, png, tiff or bmp and do the following:
load image into memory
convert bmp files to jpgs if needed (for a smaller file size, mostly)
load image tags into ImageData Structure (see below)
[code]....
Is there a way to use Meta Tales or Table names to Construct a dynamic query in LINQ?
foreach (var metaTable in db.Mapping.GetTables())
{
var queryType = metaTable.RowType.Type;
[code]....
Is there a way to do something like this? The attempt above yields the error:Could not find an implementation of the query pattern for source type 'System.Data.Linq.ITable'. 'Select' not found. Consider explicitly specifying the type of the range variable 'q'.
Project:I'm building an app for personal use to rename, retag, and organize the apocalyptic quantity of images I host on my personal website. As I have been collecting funny pictures and such for several years, there is no real rhyme or reason to the file
naming conventions. Ergo, Image0001.jpg needs to be renamed to a descriptive filename, and the Metadata fields need to be filled in.The desired process will take an existing jpg, gif, png, tiff or bmp and do the following:
[1] load image into memory
[2] convert bmp files to jpgs if needed (for a smaller file size, mostly)
[3] load image tags into ImageData Structure (see below)
[4] load file data into ImageData Structure (where needed)
[5] display image and tags for user to edit (In a Picture Box and several Text Boxes)
[6] allow editing of fields and renaming of the file
[7] write the changes to the image file
[8] go to next file.
Example:
[1] Load Image0001.jpg. Populate ImageData Structure fields.
[2] Type in Description: "lolcat ceiling cat sends son".
[3] ImageData.FileName changed to "lolcat-ceiling-cat-sends-son.jpg".
[4] ImageData.Name, .Keywords, .Title, .Subject, and .Comments changed to "lolcat ceiling cat sends son".
[5] Save file with new filename and save all new tag fields.
(Later, I will also be using SQL to build a referential database with links to the online copies of these files to allow for searching by keywords, subject, filename, etc, but that's another layer that's much easier than this one. At least to me.)
Problem:So far, several days of research have yielded almost no measurable progress. Information has apparently been inexplicably hidden behind a bunch of unexpected search keywords. Current Code as is:
Imports System.IO
Imports System.IO.Path
Imports System.Drawing.Imaging[code]........
I'm trying to analyze web pages for seo. I'm trying to create my own personal tool to extract all the keywords and tags from web pages (a little clearer).I already know how to extract or parse links and text from web pages. The issue is that I tried to implement title tags, body tags or keyword tags in general via using the following code:
Dim theElementCollection As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("a")
For Each curElement As HtmlElement In theElementCollection
If curElement.GetAttribute("href").Contains("http://twitter.com/") Then
[code]....
Try to extract all the keywords from the title, body etc. for this page:[URL] and send it to separate textboxes (title keywords in textbox1, meta tags in textbox2 etc.).
I'm trying to analyze web pages for seo. I'm trying to create my own personal tool to extract all the keywords and tags from web pages (a little clearer).I already know how to extract or parse links and text from web pages. The issue is that I tried to implement title tags, body tags or keyword tags in general via using the following code:[code]
View 1 Repliesi have a problen regarding getting all the available ports in vb.net...
The following ports are available in my PC
1.Inbuilt Serial port
2.Bluetooth COM Port...
The problem is that,when i use the following code to get all the portnames..it shows invalid portname...
Code:
For Each sp As String In My.Computer.Ports.SerialPortNames
ListBox1.Items.Add(sp)
Next
[Code]....
is it possible to check if the customer input his complete name is valid or not?
View 1 RepliesUsing VS2010 and VS2008
I have a DataGridView bound to a DataTable which has an Int16 DataColumn. The DGV has a DataGridViewComboBoxColumn tied to the DataColumn.
I enter integer values in the Items section of the DGVCBColumn properties. When I run the program I get "DataGridViewComboBoxCell value is not valid".
I assume this is because my Items are text and the data column is integer so I created a List of Integer, added my integer values/choices to the list and made the List my data source for the ComboBox column. Same error.
I then created another DT in the DS with one column type Int16, added my integer choices to the DT, created a BS for the ChoicesDT and set this BS as the DataSource, the column as the DisplayMember and the ValueMember. Same error.
There are no issues like this when the DataColumn is bound to a ComboBox outside of the DGV so I assume there is some issue with the DGV understanding the underlying binding.
I'm Loading data to DataGridView 'Unbound' I'm getting following error when i scrolling down in the datagridview
"Value of '264' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'. Parameter name: Value"
I have checked at the end of the load it say 130 recordcount (dgv.Rows.count) and RS code as below:
do while NOT rs.EOF
Dim n As Integer = grdSearchDetails.Rows.Add()
Me.grdSearchDetails.Rows.Item(n).Cells(Columns.Description).Value = rs.Description
[code]....
I am working on a periodic table of elements with buttons for each element-done
next step. textbox + chemistry formulas = grams to mole conversions/ moles to L/ moles to molecules.
The problem I'm having is dimming the chemicals Arsenic(As) and Indium(In). I need to dim these as integers = to their atomic mass G/Moles. But I am not able to Dim them because they are highlighted in blue and the help tip comes up as "keyword is not a valid identifier" is there anyway I can tell VB to not use "In" and "As" how it normally does and use it for integer values?
I instaled vb.net 2005 and when i want to see my old project that has been created by vb.net 2003 (when i click on one of the forms that i created) vb.net 2005 show me this error "
One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.
Identifier 'Of' is not valid. Hide
I was debating on placing this in the Office Automation section, but I think that the error is actually unrelated to concepts in Office Automation, and instead related to VB.Net.
Anyways, I have been programming a Metrics application for the past few months. For all intensive purposes, I have just completed the programming. However, I recently started to get the error "Specified cast is not valid". You can see the stack trace below:
Quote:
Message: Specified cast is not valid.
StackTrace: at Microsoft.Office.Interop.PowerPoint.OLEFormat.get_ Object() at Metrics_Application.Utilities.PrepareGraph(Present ation mainPres, String ObjectNum, Int32 slideDiff) in C:RSNF MetricsMetrics ApplicationMetrics
[Code]....
I am passing into the method the Powerpoint Presentation object, the string specifying the Object name of the graph Ole Shape, and an integer for the slideDiff (to help differentiate which slide the method is modifying). Also, for context, I am using this to automate a PPT presentation, using Powerpoint.Interop COM objects.
I have tried to research this on various forums. Typically, it seems like this problem is found when accessing databases, or when someone tries to put a string into an integer variable (or another type of incompatible variable type). Looking at the code, I always bring in the string for the Object Number...so the variable type is correct there.
frm = New ItemInventory("", Me.cbFabric1.Text, Me.cbColor1.Text)frm.ShowDialog(Me)after this in the openned form's Form Load event i'm doing the following
Dim dv As DataView
'here i've executed stored procedure
adapter = New SqlDataAdapter(cmd)
[code].....
I am having a problem with a datareader.
[Code]....
I have data that goes to another listview on the main form. Anyways, I have a user on a WinXP machine tell me about the following error[code]...
View 6 RepliesIm making a simple mp3 player and i have a timer to display the current position of the song in this format : seconds,miliseconds And i want it to show the current position in a progressbar
This is the code i have inside the timer:
[Code]...
I am trying to export the contents of a list view control to the clipboard in VB.NET and windows 7. With VS 2008 I had no problem but when I installed vs 2010 I am getting this error value of `6`is not valid for index.
View 11 RepliesIn visual studio 2008 when open the design for a VB.Net windows form, i am getting the error " '.ctor' is not a valid identifier". I can see the form designer if I press the "Ignore and Continue" link. All other forms are loading fine.
The callstack with the error message:
at Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomEventBindingService.ValidateMethodName(String methodName)
at
[Code].....
In visual studio 2008 when open the design for a VB.Net windows form, i am getting the error " '.ctor' is not a valid identifier". I can see the form designer if I press the "Ignore and Continue" link.All other forms are loading fine.The callstack with the error message:
at Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomEventBindingService.ValidateMethodName(String methodName)
[code].....