Forum Array

VS 2010 Conversion From Type 'Range' To Type 'String' Not Valid

I have the following code to use Words spellcheck feature on a RTB. Once you pick the correct word in the spellcheck box and press change I get the error on th efollwoing line strResult = Left(objDoc.Content, Len(objDoc.Content) - 1) I tried to use CType() but still complains. If (Len(t.Text) = 0) Then 'nahhhhhhhhhhh Else [Code]....

View Answers

Very Similar Questions

Why No Type Hints For Built-in Types?
bytes.com
I'm new here, and sorry if this has been discussed before; I didn't find it searching the PHP groups. (I've also read recommendations to cross-post to the other PHP groups, but if that is discouraged, please let me know. At the same time, please then let me know which of the many PHP groups to post to. In PHP5, you can provide "type hints" for functions, like this:

Input Type Text And OnKeyDown Not Working Under IE
stackoverflow.com
I am writing a WWW application, it has to run under IE. I have the problem with the code that runs under FF, but i can't get it running under IE.I've tried some similar ways around window.location and location.href, also document.location. I've read that IE has problems with that, so i ask for a solution.The goal is, that page reloads after typing in some text into <input type='text' name='item_code' onKeyDown='test()'> and click enter. So the result is similar to pressing submit type button below the text input.

Total Price To Be In DIV And Not Input Type Text
www.dreamincode.net
Firstly, I got this script which gets values and automatically calculates it and shows result. Script: <script type="text/javascript"> function calculate(f){ var prod=Number(f['users'].value); var quan=Number(f['months'].value); var tot=prod*quan; f['total'].value=tot==0?'':tot.toFixed(2); } </script> <ul><li class="bold">Users</li> <li> <select name="users" onchange="calculate(this.form)" id="users"> <option value='1'>1</option> <option value='2'>2</option> </select> </li></ul> <ul><li class="bold">Period</li><li> <select name="months" onchange="calculate(this.form)" id="months"> <option value=''>Select Months</option> <option value='1'>1 Month</option> <option value='2'>2 Months</option> </select></li></ul> Total: <input type="text" name="total" readonly="readonly"> What I'm trying to make is, the total, to be in a div and not input type text Something like <div id="total"></div> I don't like because it shows in form, I want it directly. One more thing, is possible to make the default price 0.00 ? and when selecting automatically changes to price..

SQL Server :: Query Solution One Column Convert Into Two?
forums.asp.net
i have a salary table that have data like this ID EmpNo mYear Net Salary 29 3 January 2010 29217 1210 3 February 2010 29217 2052 3 March 2010 29217 3102 3 April 2010 29447 4153 3 May 2010 29447 6376 3 July 2010 28803 7231 3 August 2010 28281 7893 3 September 2010 29303 5207 3 June 2010 29197 8874 3 October 2010 29303 10076 3 November 2010 31276 11318 3 December 2010 31216 12503 3 January 2011 31266 13880 3 February 2011 31266 13414 1613 January 2011 19445 12043 1613 December 2010 19445 10563 1613 November 2010 19445 9364 1613 October 2010 18150 6163 1613 June 2010 10075 8433 1613 September 2010 18150 5154 1613 May 2010 18806 But i want to create a view like this ID EmpNo ThisMonth Previous Month mYear ThisNetSalary PreviousNetSalary Net Salary 29 3 January 2010 December 2009 January 2010 29217 0 29217 1210 3 February 2010 January 2010 February 2010 29217 29217 29217 2052 3 March 2010 February 2010 March 2010 29217 29217 29217 3102 3 April 2010 March 2010 April 2010 29447 29217 29447 4153 3 May 2010 April 2010 May 2010 29447 29447 29447 5207 3 June 2010 May 2010 June 2010 29197 29447 29197 6376 3 July 2010 June 2010 July 2010 28803 29197 28803 7231 3 August 2010 July 2010 August 2010 28281 28803 28281 7893 3 September 2010 August 2010 September 2010 29303 28281 29303 8874 3 October 2010 September 2010 October 2010 29303 29303 29303 10076 3 November 2010 October 2010 November 2010 31276 29303 31276 11318 3 December 2010 November 2010 December 2010 31216 31276 31216 12503 3 January 2011 December 2010 January 2011 31266 31216 31266 13880 3 February 2011 January 2011 February 2011 31266 31266 31266 13881 3 March 2011 February 2011 March 2011 0 31266 0 5154 1613 May 2010 April 2010 May 2010 18806 0 18806 6163 1613 June 2010 May 2010 June 2010 10075 18806 10075 8433 1613 September 2010 August 2010 September 2010 18150 10075 18150 9364 1613 October 2010 September 2010 October 2010 18150 18150 18150 10563 1613 November 2010 October 2010 November 2010 19445 18150 19445 12043 1613 December 2010 November 2010 December 2010 19445 19445 19445 13414 1613 January 2011 December 2010 January 2011 19445 19445 19445 13415 1613 February 2011 January 2011 February 2011 0 19445 0.

Launching A Website Or Another Type Of File From A Command Button
www.xtremevbtalk.com
How can you launch a website... say "http://www.yahoo.com" in the default browser from a command button...I tried this... Code:Private Sub cmdGYID_Click()Dim XX = Shell("http://www.yahoo.com", vbNormalFocus)End Subbut it just spits out an error... so I guess this only works with EXE files

Launching My Application With A File Type...
www.vbforums.com
Okay, I have a specific format for my program (.shw).I know how to make my app launch when somebody clicks the file, but not how to make my app realize what to do with that file.Any info is appreciated!

Problem Launching OUTLOOK From VBA - Type Mismatch
www.vbforums.com
I have code that I wrote in VBA for Access 2000 that files emails from Outlook. I know, I know.. I should use VB, not VBA... well I don't have a choice.I have tested the code on many workstations around the office, and it works fine... almostWhen I tested it on our new laptop I get a Type Mismatch error at the beginning of the code at Set olApp line:VB Code:Dim olApp As Outlook.ApplicationDim olNs As Outlook.NameSpaceSet olApp = CreateObject("Outlook.Application") The references are the same everywhere I tested it (Outlook 9.0 Object Library is checked)...Can anyone think of reasons it works elsewhere, but not on this PC...?

HTC Desire :: Get Birthdays In Contacts Onto Calendar Without Actually Typing Them
androidforums.com
Does anyone know how you can get the birthdays in the contacts onto the calendar without actually typing them all in again? Is this even possible? Seems like a logical thing to be able to do.

VS 2010 De-serialize A JSON String?
www.vbforums.com
I have to de-serialize a JSON string, I am no expert so I give you one example: JSON String: { "myStuff": [ { [Code]....

VS 2010 Deserialize XML String?
www.vbforums.com
My XML String: <?xml version="1.0" encoding="utf-16"?> <Category> <Item> <ItemID>0</ItemID> <ItemName> Item Name : 0</ItemName> [Code]...

VS 2005 How To Prevent Window.onbeforeunload Not To Trigger On Clicking Image
www.vbforums.com
the image i was taking about is associated with a collapsible div. so everytime i click that image a div will be expanded(and vice-versa) and will show some contents. now what happens is whenever i click the image it triggers window.onbeforeunload whereas i have a code there that will ask the user if he/she wants to exit the page. well naturally its not right. how can i prevent that to happen?

Content Type Setup
www.webhostingtalk.com
I have the following problem with character encoding. We use utf8 in our database and generate html pages where content type is also set to utf8. If I check the source code it really shows utf8 in the head section. However if I check header of the server answer (Note, this is not in the html) it reports an iso-8859-2 content type and it seems the browser takes this value and not the value from the html head. How can I set the content type of the server header to utf8?

HTML Codes In Strongly Typed HTML Helpers
stackoverflow.com
So, I am having a hard time getting this to work. I am trying to add some typographic HTML codes to some labels I have strongly typed to my model. <%: Html.LabelFor(m => m.Name) %> I am using data annotations to customize the DisplayName of the property: [DisplayName("Your friend’s name")] public string Name { get; set; } However the actual code is being displayed for the label: Your friend’s name I have also tried just using the old write method: <%= Html.LabelFor(m => m.Name) %>

MVC :: 2 Strongly Typed Html Helpers Css?
forums.asp.net
How can I use css and other attributes such max length with the strongly typed views  ?

MVC :: Do 2 Strongly Typed Html Helpers Ignore The DisplayFormat Attribute
forums.asp.net
I am using the MetaDataType DataAnnotation to validate my models in an MVC2 application. I also apply the DisplayFormat annotation so that currencies and dates are formatted the way I want. This method works for the original Html Helpers such as : [Code].... When I used the new strongly typed helpers: [Code].... the formatting never gets applied. Is there a way around this?

WebMatrix :: How To Use Strongly Typed Html Helpers In Webmatrix
forums.asp.net
I know we can use the HTML helpers, but how about the strongly typed one's? Html.LabelFor()

ADO.NET :: Display Property Type In EDM?
forums.asp.net
Is it possible to display the data type of an entities properties in the Designer?  For instance I have a dateofbirth property for my Person Entity. In the designer I want it to show "dateofbith    datetime" 

Gridview Not Populating Using VS 2005
www.vbforums.com
I am using VS2005 I am using this code to populate gridview, there is no error but gridview is not populating. Dim strConn1 As String = "Data Source=localhost;MultipleActiveResultSets=True;Initial Catalog=abc;User ID=sa;Password=sandy" Dim conn1 As SqlConnection = New SqlConnection(strConn1) conn1.Open() Dim ds As New Data.DataSet() Dim da As SqlDataAdapter = New SqlDataAdapter("SELECT * FROM xyz WHERE ItemId ='1.4.1'", conn1) da.Fill(ds) GridView1.DataSource = ds GridView1.DataBind()

Web Forms :: Date - Validate 2 Types Of Date Formats On One Textbox
forums.asp.net
i have date validation, how can i validate 2 types of date formats on one textbox. when user enters a date into the textbox, it must accept date such as 01/01/2009 AND 1/1/2009 [Code]....

Is Possible To Set Generic Type By Another Class
stackoverflow.com
I use ASP.NET MVC for serving web application and I want to create something like the following code. <% using(HTML.Form(Model)) { %> <% HTML.CreateTextBox('txt1', x => x.Property1); <% } From the above code, Form extension method will receive object that represent type of current Model object in current View page. Next, CreateTextBox method will receive type from Form method and I can bind textbox to some property of this model. Update 1 The following code is code of CreateTextBox method that will create instance of TextBox class. [code].... Is it possible to creating some code that doing something like the above code?

Type Cast Query Which Can Be Used In Generic
www.sitepoint.com
Code: private void Test<T>(ref T stVal, T endVal) { do { stVal++; } w hile (stVal < endVal); }But if I want to send different datatypes like int,long etc, then I have to use Generic. And I have noticed that the type conversion in this way

C# - How To Return A Value Based On The Type Of The Generic T
stackoverflow.com
I have a method like: public T Get<T>(string key) { } Now say I want to return "hello" if the type is a string, and 110011 if it is type int. how can I do that? typeof(T) doesn't seem to work. I ideally want to do a switch statement, and return something based on the Type of the generic (string/int/long/etc).

C# - SOAP Generic Type Serialization?
stackoverflow.com
We have created a class to wrap the payload of web service response with common information as follows. public class ItemResponse<T> : Response { /// <summary> [code]...

C# - Cannot Implicitly Convert Type System.Collection.Generic.IEnumberable
stackoverflow.com
I'm receiving this error in my Linq statement --- Cannot implicitly convert type 'System.Collections.Generic.IEnumerable' to 'hcgames.ObjectClasses.ShoppingCart.ShoppingCartCartAddon'. An explicit conversion exists (are you missing a cast?) From this query ShoppingCartItems items = Cart.GetAllItems(); ShoppingCartCartAddons addons = Cart.GetAllAddons(); var stuff = from x in items select new ShoppingCartItem() { ProductID = x.ProductID, Quantity = x.Quantity, Name = x.Name, Price = x.Price, Weight = x.Weight, Addons = (from y in addons where y.ShoppingCartItemID == x.ID select y) };

Generic Parameter - Pass Another Control Type And Execute Exact Same Logic
forums.asp.net
I have a class constructor which accepts a Listbox. [Code].... I need to be able to pass another control type and execute the exact same logic in one of the methods... Seems like a use for Generics... I'm not so sure about the syntax... The type of control that I will pass is a rad combo box which has many of the same properties of the listBox control. However, RadComboBox does not inherit from listBox or dropDown so I am unable to cast. When changing the signature of the constructor to As RadComboBox as well as the property and field the method works as expected. I am trying to avoid duplicating code here. 

The Model Item Passed Into The Dictionary Is Of Type 'System.Collections.Generic.Lis
stackoverflow.com
Calling Index view is giving me this very very annoying error . Can anybody tell me what to do about it Error:The model item passed into the dictionary is of type 'System.Collections.Generic.List1[MvcApplication13.Models.Groups]', but this dictionary requires a model item of type 'MvcApplication13.Helpers.PaginatedList1[MvcApplication13.Models.Groups]'. public ActionResult Index(int? page) { const int pageSize = 10; [code].....

C# - ELMAH - Only Sending Specific Exception Type Via Mail
stackoverflow.com
I have ELMAH set up for a webapp, logging exceptions to a SQL server. I wish to have ELMAH send me an email too, but only when a specific exception is thrown (ie. MySpecialException). ELMAH must still log all exceptions to SQL server. I know you can do it programmatically in global.asax, but I'd prefer to use web.config. So, how do I restrict ELMAH error mails to filter out everything but a specific exception type, using web.config? UPDATE The filter ended up looking like this: <test> <and> <not> <is-type binding="Exception" type="MyApp.MySpecialException" /> </not> <regex binding="FilterSourceType.Name" pattern="mail" caseSensitive="false"/> </and> </test>

Web Forms :: Way To Highlight Error In 2nd TextBox Like Typing Tutor Application In C Sharp
forums.asp.net
When I am building my typing tutor application the errors user made I want to show it in RED into his textbox. I created a LIST to have the index values stored but cannot figure it out how to retieve it and make them display as RED COLOR in UserTexbox. [Code]....

Security :: Prevent Users Browsing Files When Typing Directory?
forums.asp.net
I have directories in my website which require authentication. But when i type the url with the directory name it lets me see the files but doesnt allow access as users need to login. How can i stop users viewing files if they manually type directory name in?

AJAX :: Return Complex Type In Json Format?
forums.asp.net
I was using Extjs to send a json object to my asp.net webservice/Update method , but I find the following error in firebug reseponse. [Code]....

JQuery :: Calling PageMethod With Complex Type Parameter?
forums.asp.net
I have a page method which take in a complex parameter how can i call this page method using jquery. This is my page method  [Code].... and these are my types  [Code]....

Forms Data Controls :: Cannot Implicitly Convert Type On Datalist
forums.asp.net
I have a datalist which querys the database and pulls the data ApplicantID, date, and testimonial into the datalist. I now want to get the username from the ApplicantID. Im using TLists to do this but on the line ApplicantDetails = JustClick.DAL.DataRepository.ApplicantProvider.GetByApplicantID(ApplicantID); im getting the error cannot implicitly convert type on datalist can anyone help as to why and how I can fix this cheers. The code im using is below  protected void testimonialsList_OnItemDataBound(object sender, EventArgs e)         {             TList<BLL.ApplicantTestimonials> Testimonials; [code].....

DataSource Controls :: A Binary Aggregate Overwrite Type Function?
forums.asp.net
Is there a way to do this in either scalar function form or in an aggregate function form?  The problem I'm dealing with is building a security system with multiple tiers of inheritable permissions.  Like you'll inherit certain permissions form the department level and then certain permissions from the supervisor level.  I'd like to find a way to produce these resultsFor user permissions I pull these binary values and get these results, (they are sorted by their tree node depth level in the hierarchy.

DataSource Controls :: Finding For A Binary Aggregate Overwrite Type Function
stackoverflow.com
Is there a way to do this in either scalar function form or in an aggregate function form?  The problem I'm dealing with is building a security system with multiple tiers of inheritable permissions.  Like you'll inherit certain permissions form the department level and then certain permissions from the supervisor level.  I'd like to find a way to produce these results For user permissions I pull these binary values and get these results, (they are sorted by their tree node depth level in the hierarchy.) [code].... Does it look like I will be stuck with manually compiling the tables of departmentpermissions and supervisorpermissions base on every possible outcome of inherited permissions or is there a way to do this on the fly in an efficient manner? 

Audio Type
bytes.com
I had a problem with uploading images in that some files did not have a type of "image/something" from the $_FILES['the_field_name']['type'] which I used for my verification. Someone (THANK YOU) suggested using getimagesize() which has the third element in the returned array being a number representing the image type. That worked perfectly for me, enabling me to check that it was, indeed, an image file that I had uploaded. Now I ask if there is a similar function call for audio types. I want to be able to verify that the file I upload is, indeed, an audio file. I would like this function because I am reasoning that if the "type" obtained from $_FILES['the_field_name']['type'] is not reliable for images, then it probably isn't reliable for audio either.

Obtaining O.S Type
www.phpfreaks.com
Is there a way to obtain what operating system a user is using when they register to my site without them giving the info which would mean they could lie. Similar to how you get their ip but with operating systems? The reason why is cos multiple accounts i want to allow as long as the two accounts are not on the same OS which adds extra proof they they may be "brothers and sisters" etc with two computers. If they cheat for example and say "hes my brother he is on a different pc in a different room.." i want to find a way to get enough info to prove it.. cos my fear is banning people who ain't lying.. cos there are bound to be instances... i just want to keep it as fair as possible.

What File Type Restrictions Should Use
www.phpfreaks.com
I have a question regarding file type restrictions when uploading to a database . I am currently using the MAMP program rather than an actual online server and the MySQL version is: MySQL 5.1.44. I want to have one column in a table for virtually any type of file a user would wish to load, .mov, .jpg, .doc, .pdf, etc. you should add restrictions on what the user is allowed to upload. The idea is that they can actually upload anything they want. Is security really a threat by doing this? And what would the threat be? As I don't really know much about security. If so, should there be any types of files that I would be wise to restrict?, would it be wise for example to restrict uploads that are .php scripts as that is what I have written the website code in. It would change the whole concept of this aspect of my website if I were to only allow certain files so I would prefer to limit the users as little as possible. Sorry if this is a silly question, like I say I don't really know much about security. I've only gone as far as encrypting passwords as there won't be any sensitive data being stored.

Query Database While Typing, Ala Google Suggest Beta
phpbuilder.com
Is it possible to supply database results in realtime while a user types into a form field, ala Google Search? Has anyone done anything like this in PHP? You can see what I am talking about here: http://www.google.com/webhp?complete=1&hl=en

Passing User-defined Types In SOAP
stackoverflow.com
I'm having trouble understanding how to pass user-defined types in PHP SOAP calls. Example: In my WSDL file, I define the type: <types> <schema targetNamespace="http://example.com/CustData" xmlns="http://www.w3.org/2000/10/XMLSchema"> <element name="personalInformation"> <complexType> [Code].... I expected to get an error because the array I initialized doesn't match the response message I have defined. So I guess the type I have defined in the wsdl isn't used at all - so it must be an error either in the wsdl or in the client or server code.

Passing Complex Data Types From A SOAP Server
www.phpfreaks.com
I am having problems passing complex data types from a SOAP server constructed using the built-in PHP5 SOAP extension to a SOAP client using nusoap.php or PEAR::SOAP. Code:

Disable Enter Key On The Input Type Text?
www.dreamincode.net
I have a form with texts inputs and a submit button... The page has post parameters from the previous page. Now when I press enter key on one of the text inputs, the posted parameters were gone... Do you know how to disable enter key for this purpose

Initialize An Input (type="text") With The Value Of Another Input (type="hidden")?
stackoverflow.com
Initialize an input (type="text") with the value of another input (type="hidden")?

Set Selection On Input Type=text In Ie?
www.webdeveloper.com
I want to set selection on HTML input type=text. Here's the code for FF and Chrome: <input type=text value="01234567890" id=1> <input type=submit onClick="selectIt()" > <script> selectIt=function (){ [Code].....

Pass The Value Of Input Type / Text?
www.webdeveloper.com
I have input type/text, and when i write something like 5 ot 14, this numbers to go to another input.

Length Of Textfields (input Type='text')
bytes.com
Any way to define the length of a textfield? I have just set all the field with a width so that they look like clear and easy to read, However, When I see the page of mac os, They are totally not the result in IE of FF, Does there any way to define it absolutely? I have already change the size attribute and set the width of the input.

Change Input Type From Text To Password?
forums.devshed.com
I want to create a input box the says Password inside the box and gets erased when someone clicks inside of it. Then when they type their password it is in asterisk characters.Can anyone tell me what extra scripting I need?

Ajax :: Populate An Input Type Text
stackoverflow.com
I have an <input> of type text that I want to populate with a value from a database using AJAX.I want to get only the value in the input type text populated from database, because after that I will be able to change it.

Check When Input Type Text Is Filled
stackoverflow.com
Normally the text is gray in the text fields. But when you have completed a field. The color must be black. How can i check this with javascript?

Onkeyup And Selecting Input Type Text Value
www.daniweb.com
I'm trying to access a value from an input form. I know this works without the onkeyup event but with it it says the that document.formname.elementid.value is undefined! Its extremely frustrating. As the user types into the input, I am using AJAX to generate some more options which works but I need to be able to access the input type=text value.

How To Set Text In File (html Input Type)
stackoverflow.com
how can we set text in html file uploader. is it possible using javascript?

Checking HTML5 Drag And Drop File Type
stackoverflow.com
I'd like to change drop zone background color to green or red depending on whether the contained drag over payload contains supported file types (JPEG). Do Gecko and Webkit support determining the file type of drag and drop files? How one can extract the file type in these two browsers? I have found event.dataTransfer.types API, but for Firefox it seems to be populated with application/x-moz-file and thus I think I am doing something wrong.

How To Detect If Value Not Valid
www.xtremevbtalk.com
Hi.I am looping through the properties of an object (Outlook COntactObject) and I get an error - "Cant complete operation. One of the object parameters is not valid"this object parameter is here :myContact.ItemProperties.Item(ContactPropCounter).Valuefor some properties there are no .Value.Question:is there a way to detect in myContact.ItemProperties.Item(ContactPropCounter).Value is valid so that I can skip it and continue looping through other properties?Thanks.-_-_-_-_-_-_AM

Help Index Not Valid
www.xtremevbtalk.com
Yeah this may sound wierd but when I tell it to set the index to 1000000 (that's 1 million) it says Index Invalid...how do I get around this? using VS6.0's VB 6.0

Not A Valid File Name
www.xtremevbtalk.com
Can someone explain to me why a program can work one time and then not and then work and then not (on the same compter too).My form load uses:Private Sub Form_Load() Set conn = New ADODB.Connection Set recImage = New ADODB.Recordset If Len(Dir(App.Path & "Morg.mdb")) > 0 Then conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= " & App.Path & "c:PropertMorg.mdb" conn.Open recImage.Open "SELECT * FROM Morg", conn, adOpenDynamic, adLockOptimistic, adCmdText If Not recImage.EOF Or Not recImage.BOF Then recImage.MoveFirst Call LoadImage End If Else Call CreateDataBase conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= " & App.Path & "c:PropertMorg.mdb" conn.Open recImage.Open "SELECT * FROM Morg", conn, adOpenDynamic, adLockOptimistic, adCmdText End If End SubThe line conn.Open is the culprit so VB6 keeps telling me, it says Error Message "Not a valid file name"Any ideas anyone?Thanks in advance

Not Valid Help File??
www.vbforums.com
Code:Private Sub mnuhlpfile_Click()On Error Resume Next Dim nRet As Integer nRet = OSWinHelp(Me.hwnd, App.HelpFile, 3, 0) If Err Then MsgBox Err.Description End IfEnd SubI use this to open my help file... which is a html helpfile, but when I test it, it says this:PS. I used HTML Help Workshop from microsoft...

Not A Valid File Name
www.vbforums.com
Can someone explain to me why a program can work one time and then not and then work and then not (on the same compter too).My form load uses:Private Sub Form_Load()Set conn = New ADODB.ConnectionSet recImage = New ADODB.RecordsetIf Len(Dir(App.Path & "Morg.mdb")) > 0 Thenconn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= " & App.Path & "c:PropertMorg.mdb"conn.OpenrecImage.Open "SELECT * FROM Morg", conn, adOpenDynamic, adLockOptimistic, adCmdTextIf Not recImage.EOF Or Not recImage.BOF ThenrecImage.MoveFirstCall LoadImageEnd IfElseCall CreateDataBaseconn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= " & App.Path & "c:PropertMorg.mdb"conn.OpenrecImage.Open "SELECT * FROM Morg", conn, adOpenDynamic, adLockOptimistic, adCmdTextEnd IfEnd SubThe line conn.Open is the culprit so VB6 keeps telling me, it says Error Message "Not a valid file name"Any ideas anyone?Thanks in advance

Not A Valid Bookmark
www.vbforums.com
sometime i m getting a error in Access databaseas Not a valid bookmark how to solve itpls help me

String Search - Parse The String Of Characters One At A Time
www.vbforums.com
I have written a program that uses an array of the english alphabet and Morse code. I also built a form with a input box for the alphabetic information and an output box with the Morse Code. What i am trying to do is basically type a word like "Hi" in the input box and produce the Morse Code equivalent in the Morse Code output box. [Code] This works but only one letter at a time. Do i need to Parse the string of characters one at a time, and then run it through a loop like i have created?

Double.Parse % Percent - Input String Was Not In A Correct Format
forums.codeguru.com
I have a DGV with a column bound to a Double. When I enter "1%" I get: System.FormatException: Input string was not in a correct format. I then try: MsgBox(System.Double.Parse("1%")) and get essentially the same error. (same for "$") Is there a setting that will allow "$" & "%" as not only valid Double input but also do the correct adjustment for "%"?

Flex :: Adobe - RSL Error: The Loaded File Did Not Have A Valid Signature
stackoverflow.com
I'm using Flex SDK 4.5 to create swf files, recently I got the following error when try to open my swf file: [Code]... I totally have no idea whats going on with rsl loading step. how to solve this without have to statically linking rsl into swf file?

ActionScript 3.0 :: String Passed To URLVariables.decode Must Be A URL-encoded Query String
www.kirupa.com
I really don't understand why this won't work? I've made a test which sends some POST data to a script on my page which works fine.[code]

Flash :: Error #2101: The String Passed To URLVariables.decode() Must Be A URL-encoded Query String
stackoverflow.com
I get following Error when trying to pass variables via URLRequestMethod.POST; Error: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs. Is there a method for string URL Encoding?

Web Forms :: Change String To A Different String?
forums.asp.net
I'm trying to build a web page where the user can send the contents of the web page to someone of their choosing.  The email body is html scraped from the website.  I have it working, but the the problem is that the image src is relative  <img src="/images/filename.jpg"> and I need to make it absolute.  What function is the best for me to use on the string that contains my html to make file path absolute in the method I'm trying to create?  I tried the following, but am getting error "too many characters in character literal" reformattedContent.Replace('src="/images/', 'src="http://' + domain + '/images/');

Forms Data Controls :: Listview Not Updating Products And Not Turning Back To Itemtemplate
forums.asp.net
I have a listview showing the data, and that i will use to Show, Edit, Delete, and Insert data. I added a ASP.NET Ajax HTML Editor to the EditItem Template. I click on EDIT button and it turns into the EditItem Template, i modify the data and when i click UPDATE it does nothing. Neither updating data or turning back to ItemTemplate. Here is its code: [Code].... And the Code behind: [Code]....

SQL Server :: Copy Data From Multiple Columns Into One Column?
forums.asp.net
My View has four columns with years, none of the rows have complete yearly data. Current View Columns 1-10, FY, Expr1, Expr2, Expr3 Some data, 2010 NULL,NULL, NULL Some data, NULL, 2010, NULL, NULL Some data, NULL, NULL, 2010, NULL Some data, NULL, 2010, 2010, 2010 Some data, 2010, NULL, 2010, 2010, Some data, NULL, NULL, 2010, NULL Some data, 2010, 2010, NULL, 2010 Some data, NULL, NULL, NULL, 2010 A new column needs to relfect 2010 for each row in the View. Goal New View Columns 1-10, FY_NEW Some data, 2010 Some data, 2010 Some data, 2010, etc. for each row in the view I can not hard code the data as time moves forward next year rows will have 2012, etc. How can I get lthe year, in this case 2010, into a new column regardless of the year?

MVC :: Value Of Type ' (line Xx)' Cannot Be Converted To 'String'?
forums.asp.net
I'm attempting to just create a custom path for file uploads in the form tag.  I think there is an issue with the VB syntax vs the C#.  If anyone knows why I keep getting this error with the following code please key me in. <form action= "<% Url.Action(new with {key &nbsp;.Controller = "insured", key .Action="Upload",key .ID=Model.Insured_ID }) %>" method="post" enctype="multipart/form-data" >

VS 2005 Checking If Email Id Is Valid Or Not?
www.vbforums.com
I have a sign up page in my website where the user needs to enter his email id.Now i want to check whether the email id entered by the user actually exists or not...

JQuery :: Validation - Not Requiered, But If (not Blank || Not Default Value ) {check Condition}?
forum.jquery.com
$('#enquiry').validate({ rules: { Email: { [code]....

Read JSON In VB 2010?
social.msdn.microsoft.com
How to read JSON in Visual basic 2010?

How To Format DateTime.ToString
forums.asp.net
How to format DateTime.ToString(????)Result should look like: 2010-02-05T10:36:26+10:00

MySQL Vs MSSQL
forums.asp.net
Hi, I've been coding in C#/ASP.NET for a little while now, but I've only ever used MS SQL. I'm starting a new project at work soon, and our host provides free MySQL databases but charges for MS SQL databases. What are the pros/cons for each of these databases, and how much conversion would be required in an existing C#/ASP.NET application if I wanted to change from MS SQL to MySQL? I assume the syntax/commands to operate a C# app with MS SQL are different to the ones required to communicate with a MySQL database? I'll probably stick with MS SQL because it's what I know, but I'd like to get familiar with MySQL as it might come in handy one day. Thanks, any information is greatly appreciated.

MSSQL Vs MySQL
forums.devshed.com
I have this query in mysql Code: SELECT * FROM `bugs` LIMIT 60 , 30 Is there a similar command in MSSQL like LIMIT, where i can specify start record and number of records?

Urgent MySQL Vs MSSQL
www.dbforums.com
Hi I'm developing website for online test/assessments and I want to know what database is best for my project between Mysql and MSsql. There will be a lot of users writing concurently/ similtaneously to database. Thank you in advance

What Is Wrong (MySQL Vs MsSQL)
www.sqlteam.com
I have been using MySQL for a long time but because of company policy changes I have started to switch from MySQL to MsSQL OMG MsSQL is very slow with every thing it does compared to MySQL. I.e updating 300.000+) data in a table with 15 million+ records using 'update' syntax. In MySQL it was done in 4 minutes. In MsSQL it was not done in 20 minutes (and then I stoped it in anger) I have a script that I have created to give our daily revenue. In MySQL that takes 30 sec to finish. In MsSQL it takes atleast 1.30 minutes. I have 1,5G of memory and MsSQL uses it all. MySQL uses 200mb at most. What am I doing wrong. Is it the memory or what can it be? I have indexed the tables in the same way. I really don't know what to do anymore. Perhaps You can give me some hints Tx in advance ;-)

Read/write To Excel Or Same Type Of Files.
forums.devshed.com
We need to be able to process invoices through the internet and have the customers be able to download these invoices. We are currently using Excel to do all the information. I was hoping to be able to use a third party program to generate these files, I have looked into .pdf, and xls files. From what I have read, it is pretty much impossible for me to get a script that will read an xls file, write data from a mysql database to it, then send the file to the customer for them to download/view with the new information. Is there a different program that works the same that I might be able to use.. or am I stuck trying to make alot of invoicing data look pretty through html tables?

Project Properties, Make/Command Line Args Vs Command
www.xtremevbtalk.com
When setting the Project's Properties, on the Make tab, in the Command Line Args area, if I put a file's PathName and run it, there are no quotes Chr(34) around it. When I run the app from the IDE it works and copies/moves my file. When I pass a file's PathName via drag/drop, command line or Send To menu, I get quotes and the copy/move fails. I've parsed the Chr(34)'s out of the strings, but am curious if this will affect other OS's in different ways? I'm developing it on XP, and will be running it on an ME and a 98SE machine as well.Any thoughts?TYIA'Rekd

HTC Aria :: Phone Contacts Vs People Contacts
androidforums.com
I have been trying to figure this out and can't. I have all my contacts set up under people. But, when I tap "phone" I get all those people PLUS everyone on my dang facebook. I didn't set it up like that so I'm assuming it has to do with either friendstream or facebook syncing. I don't necessarily want ALL those people in my contacts. Is there a way to change that?

Sprint HTC Hero :: Menu - Settings - Social Network - Facebook - Vs Facebook App
androidforums.com
On my phone I have the Facebook app downloaded from the market. I also noticed that the phone comes bookmarked with Facebook. So here is my question, under Menu>Settings>Social Network> Facebook appears there. I have that set to update every 12 hours. HOWEVER, my actual Facebook App is set to update every 2 hours. So... does the settings under Menu>Settings>Social Network>Facebook control my facebook app or just the bookmark that comes pre-installed on the phone? I am trying to save battery life, and I noticed that the settings under Menu>Settings>Social Network>Facebook were set to update every hour, but I had the settings under the downloaded app to update every two hours. My goal is to have only one facebook medium updating so I don't drain battery life!

HTC Desire :: Contacts Icon / Photo Conflict / Phone Vs FaceBook
androidforums.com
i've just upgraded to the Desire & am liking many things in it, but this issue bugs me:i've synced & linked the contacts in my 'people' app. in some cases, this involved linking the FaceBook profile of a person with a pre-exisitng phone number in my phone/sim card.The problem is that the phone seems to default to the Facebook 'profile picture' as the icon/photo that shows up in my People app (for that contact), even if tell it not to.I've tried downloading new pics, or taking a photo with the camera, and then manually setting this as the 'icon' for a certain person. This works for a while (a few hours?) and then within one day, the phone automatically re-sets this icon & replaces it with the Facebook profile pic. again.

HTC Droid Eris :: Syncing Facebook For HTC Vs Plain Facebook And Memory
androidforums.com
Has anyone figured out the difference between syncing Facebook for HTC Sense in the account syncing section vs. plain Facebook? I am trying to figure out if the one I'm using (Facebok for HTC Sense) is using up too much memory. My phone memory is around 33% whereas my husband's memory is 64%! He has very few contacts and I'm wondering if the syncing with Facebook is taking up all my phone memory (vs SD Card memory which is fine).

Motorola Droid X :: Phone Icon Contacts Vs Contacts Program
androidforums.com
I see I can access contacts by clicking on phone icon on the main screen and also clicking on contacts in the programs list. The latter has more contacts than the one in the phone dialer program.

Jquery - Serializing A .net String To A Json String?
stackoverflow.com
i have the following code, please let me know where m goin' wrong.. VB For Each dr As DataRow In dvItems.Table.Rows strItems &= "'" & dr("ItemTitle") & "'," Next [code].... while debugging in firefox with firebug data is showing null...What i'm doin' here ? Edit :Autocomplete.js needs data in this format 'mouse','keyboard','led'Before i was doin' this without JSON, it was working fine.

Asp.net - Decimal.parse Fails For Currency String Created With String.Format?
stackoverflow.com
I have a field that I display via: String.Format({0:c},amount) This produces the string "$28.28" However, when I try to convert back to a decimal amount, I get an incorrect format exception: amount = Decimal.Parse(amount.Text, NumberStyles.Currency) I also tried it with NumberStyles.AllowCurrencySymbol with the same results. I verified that the value in amount.Text is "$28.28". Am I missing something? Shouldn't these two operations use the same currency symbol and formats?

Javascript - JSON Array Type Resolution In ASP.Net Webservices?
stackoverflow.com
I have worked out how to pass my custom objects into ASP.Net json webservices. Works a charm. Problem I am having is passing in straight arrays of my custom objects or alternatively passing in arrays that are parameters of my custom objects. So for example... Public Class WebService1 Inherits System.Web.Services.WebService <WebMethod()> _ [code].... Fails with error: The value "System.Collections.Generic.Dictionary`2[System.String,System.Object]" is not of type "WebApplication1.WebService1+Person" and cannot be used in this generic collection. Parameter name: value So how do I explain to ASP.net that it is infact an array of Person? note: That changing the function to as List(of Person) or ArrayList does work but given that I implement my own custom collections this is not optimal for me. UPDATE: Ok so what I have worked out so far is that this problem is definitely associated with how the JavascriptSerializer uses the SimpleTypeResolver to resolve types. Basically if I do something like this Public Function AddPersonList(ByVal PersonList As String) As PersonList I can recreate the error using the following code. Dim PersonList As PersonList = jsonSerializer.Deserialize(Of PersonList)(PList) However when I provide my own custom type resolver along the lines of Dim jsonSerializer As New JavaScriptSerializer(New MyCustomTypeResolver) I can successfully create an instance of my custom list.Now I have worked out how to provide my own custom convertor in the web.config file. Along the lines of this.... <system.web.extensions> <scripting> <webServices> [code].... PSS: I have tried to use the assembly fully qualified name as specified in the docs for the SimpleTypeResolver (SimpleTypeResolver MSDN) but this throws a "Operation is not valid due to the current state of the object." exception - which is an error caused when the TypeResolver cannot resolve the name? My problem was never passing in a List(of Object) into my webservice (I simply posed the question as such to simplify it for stackoverflow). In such a case I would be willing to completely accept using a Generic List(of) but my problem was actually that one of my custom objects implemented a property with a strong typed List(of) so for example: Customer {CustomerID AS Guid, FirstName AS String, LastName AS String, EmailAddresses AS EmailAddressList} which now needs to be changed to Customer {CustomerID AS Guid, FirstName AS String, LastName AS String, EmailAddresses AS List(Of EmailAddress)} This is admittedly not the end of the world and is probably better in the webservice context (as you have suggested) but definitely a detriment when it comes to internal application usage of my Collection properties. What this means is that once I have this property I either need to cast it to my CustomCollectionList every time I want to use some advanced feature or I need to implement another property which exposes the CustomCollectionList.

ActionScript 1/2 :: Error #2101: The String Passed To URLVariables.decode() Must Be A URL- Encoded Query...
forums.adobe.com
Error: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs. at Error$/throwError() at flash.net::URLVariables/decode() at flash.net::URLVariables() at flash.net::URLLoader/onComplete() [Code]...

ActionScript 3.0 :: Error #2101 The String Passed To URLVariables.decode() Must Be A URL-encoded Query...
www.actionscript.org
I am trying to make a contact form. When I test the form, I get the following error message in the Output: [Code]....

ActionScript 3.0 :: Php - Error #2101: The String Passed To URLVariables.decode() Must Be A URL-encoded...
www.kirupa.com
Error: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs. [Code]... I'm not where error exactly the error happen so I post the whole thing. As far I know bottom code that relate to send_loc.php works fine, get_loc.php is having a problem. The output from get_loc.php is [Code]...

VS 2008 Hardcoded Values With Variables In A String?
www.vbforums.com
I have a Sql string something like this.string sqlstring = "Select field1, field2 from table1 where field1 = 1 and field2 = 'xxx' group by field1, field2 order by field1 asc" Question: During runtime, based on the user selection, I have to replace 1 and xxx in the sql string.What is the best way to do this?

Getting The Full Path Of The File Uploaded Using HTML Inputfile Type To Read The Content Of The File?
stackoverflow.com
I would like to use HTML input file type in my aspx page to allow user to browse for a excel file and then read the content of the excel sheet programmatically.If I want to read the excel sheet I need the full path of the file to connect to the excel sheet using asp.net.I do not understand how can I get the full path of the file.I know I can get the filename using postedFile.FileName property.But I need the full path of the file.

.net - MVC 2, Spark Engine And Strongly Typed Html Helpers?
stackoverflow.com
Will I get the advantage of the new Strongly Typed Html Helpers with asp.net MVC 2 if were to use the spark engine for rendering?

Spark View Engine And MVC 2 Strongly Typed Html Helpers?
stackoverflow.com
I try to use HtmlHelper.TextBoxFor with spark view engine but view crashed with exception "Dynamic view compilation failed. 'System.Web.Mvc.HtmlHelper' does not contain a definition for 'TextBoxFor' and no extension method 'TextBoxFor' accepting a first argument of type 'System.Web.Mvc.HtmlHelper' could be found(are you missing a using directive or an assembly reference?)". It is my _global.spark: <use namespace="System"/> <use namespace="System.Linq"/> <use namespace="System.Text" /> <use namespace="System.Web.Mvc"/> <use namespace="System.Web.Mvc.Html"/> <use namespace="System.Web.Routing"/> <use namespace="System.Linq.Expressions" /> <use namespace="MyModels" /> In spark-view using: ${Html.TextBoxFor(m => m.UserName)}

Custom ViewModel With MVC 2 Strongly Typed HTML Helpers Return Null Object On Create?
stackoverflow.com
I am having a trouble while trying to create an entity with a custom view modeled create form. Below is my custom view model for Category Creation form. [code].... When i click on save button, it doesnt bind the category for me because of i am using custom view model and strongly typed html helpers like that <%=Html.TextBoxFor(model => Model.Category.OrderNo) %> My html source looks like this [code].... How can i fix this?

C# - Binding A Generic List Of Type Struct To A Repeater?
stackoverflow.com
I've had a bit of a problem trying to bind a generic list to a repeater. The type used in the generic list is actually a struct. I've built a basic example below: [code].... I then create two fruits using the struct (apple and orange). These fruits are then added to the list. Finally, I bind the generic list to the DataSource property of the repeater... The markup looks like this: [code].... I expect to see the fruit name and price printed on the screen, separated by a horizontal rule. At the moment I am getting an error relating to actual binding... **Exception Details: System.Web.HttpException: DataBinding: '_Default+Fruit' does not contain a property with the name 'FruitName'.**

Visual Studio :: To Set Up Ajax Toolkit Component?
forums.asp.net
just start to use vs.net 2010,try to set up ajax toolkit compenent,couldnt do it.Is there any article or video?

C# - Trim String At The End Of The String?
stackoverflow.com
I want to remove the last word from my sentence in C#. Here is my query: "SELECT * FROM People WHERE City = @City AND County = @County AND" I want to remove the last AND programatically, how can I do that?

Generate Urlencoded String In Python That Is Valid For Parser?
stackoverflow.com
I need to generate same output in Python as I have in PHP, possible? Php code: <?php $items = array( array( 'item_key_a' => 'item_value_a') ); [Code]..... So in Python I don't get valid urlencoding that I need for PHP app.

Changing Input Value While Still Allowing The User To Type?
stackoverflow.com
Is it possible, using JavaScript or jQuery, to change the content of a text input field while the user types?E.g. typing a + up would change the a to å, while keeping the input cursor at the same position.

MYSQL Create An Array Or String From A Column And Not A Row?
www.phpfreaks.com
** I have no idea of how to do this so thank you to any one who can give me an hint to how!I want to retrieve all numbers in the column chapter of my database and create an array or a string with it. ///////////////////////////////// //CHAPTER | DATE | ... | // // 28 | XX | ... | // [code]...