Forum Array

Show Print Dialog Box For Printing An Excel Sheet

I have never been more frustrated in my life.all I want to do is print an excel sheet, only the first sheet of the doc and workbook, and have the dialogue box appear so the user can select their own details.that's it.running from my prog. i can't seem to make it happenany comments would be helpful...thanks,-munch

View Answers

Very Similar Questions

When Print A Page Only The Head And Foot Are Printed
I have an pages displaying an asp:imageMap and a asp:datalist. The page looks fine in the browser but when I print it, only the head and the foot are printed.

Print Webpage Using Command Button On Excel
HiIs it possible to be able to create a command button on an excel sheet that when clicked will print a webpage document to the default printer without displaying the web browser?Thanks in advance.Hitori

Printing Text In A Text Box Using Command Button
I don't know how to insert a command button to print the text in a text box. Could someone please help me out? Thx heaps

"Print Titles" Is Greyed
I have set an area to print which covers a few pages and I want them printed with the same row as a title. However, entering Print Preview - Page Setup - Sheet shows the section "Print Titles" greyed and I cannot select any row (nor columns). What can be wrong with my set-up?

Can You Print A List Of Links
Is there a way to paste a list of the Links in a sheet somewhere, so that it can be easily seen, reviewed and printed out for an audit trail? (i.e. an analogue to the F3-PasteList that gets you a list of the Names in a sheet.)

VB Code To Save Excel Spread Sheet To Acrobat File
Hello,I have multiple excel files which included many tabs in there. I want to save each tab to each Acrobat file. I had a hard time to save the file in .pdf with the name I provided. Is anyone can help me to write the code that will convert the excel format to pdf format. Thank you so much in advance.Here my code that does not work for me.Excel.ActivePrinter = "Adobe PDF on NE02:" ActiveWorkbook.PrintOut , , , , "Adobe PDF", True, True, "\Test" & stTab & ".pdf"Is there any other way to do this better.Thank you a lot with your help here

Passing Text Box Values To Excel Spreadsheet On Cmd Button Press
I have a text box who's value is increased (or decreased depending on which of 2 cmd buttons is pressed, button 1 is the increase button button 2 is the decrease button). My problem is I don't know how to pass the value in the text box to an Excel spead sheet. I'm sure that this is a newbie question but I haven't found an answer to it anywhere yet. If the question requires any additional info I would be glad to provide it, but I have a feeling that it is too simple of a question to need much info. Thank You  

Caption Button + Link To Excel Sheets In Other Folder
Please help me with my previous question on the same topic. It seems that no more code guru around to answer this.I appreciate your help.Thanks

Spread Sheets/Excel
Hello.I have been researching Excel automation inside of VB for a while now, but haven’t really gotten the hang of it at all! ahahhaah. I messed around with Excel Play as well, and found it cool but not quite what I was after.I was wondering if you geniuses out there could help me out. I wanna be able to constantly write a series of data to a spread sheet. It will actually be four separate temperatures that the program will be reading, and I need it to record to the sheet every X seconds (I currently have it every .25 of a second - 5mins).After it has done this, it needs to be able to refresh the graph, which I would like to be a line-graph displaying all four of the temperatures over time.I'd like it to be quite customisable, colours and what not. But I can always mess with that later.Does anybody out there know what I'm taking about, and how you all think I might want to attack this problem?Thanks a lot again guys.~ Dave ~

Excel Spread Sheets
email me If I have a cell of Excel data that is being updated live from 9:30 till 4:15, and wanted to have from that data, several outputs during the day at 1 minute intervals, that would consist of several values such as the high, the low, the last value before the second minute started and finally the first value of the minute ouputed in my Excel spreadsheet what is available. I have an idea but would really like some help. Very new to VB and appreciate all help. Thank you

Printing With A Click Of A Command Button
Hi all, how do i do a print with a click of the command button?

Print A Text File With Command Button
I have my program complete except one thing!!! I want a command button to PRINT a file on my A: when I click it.PLEASE HELP so I can finally be finished with this program....I have tried tons of things, nothing works!Here is my code at present and it does NOTHING!!!!Code:Private Sub cmdPrintReceipt_Click() Open App.path & "Sales.txt" For Output As #1     Print #1,     Close #1    End SubThank you so much.NMP

Visual Studio :: How To Get The Full Path Printed
When I print something if the path of the file is too long I get a brief version of the path at the top of every page. Is there any way I can get the whole path?

Forms Data Controls :: Printing Html Code Instead Of Printing Html View In PDF?
I am using formview control to generate invoice. But instead of printing html view it is printing html code in PDF. I am doing like this: [Code]....                 

Printing Several Files Of Different Formats Within Application?
We have a business application where users can upload documents and where admins later review them. These admins want to print these documents, preferably by just ticking checkboxes in the file list form and clicking a "print button". My problem is how to append the different documents, which of course can be of different formats, and send them to a printer in one go. I am currently thinking of converting them into a common format (like xps of pdf, or even good old PostScript) and send that file out. I have not yet found any conversion tools though. Has anyone had any experience in these matters, and if so, what were your conclusions? Are there any good conversion tools out there, or am I going in the wrong direction?

IE Not Printing Disabled Radio Button's Selection?
I have a set of radio buttons that are all disabled, and one of them is selected. In IE8, when I print the web page, the selected radio button is not showing as selected. However, this works fine in FireFox.

How To Print A Pdf From Winform Without Opening
I have pdf file saved on my hard disk. I want to print it without opening it in a single click.

Forms Data Controls :: How To Print All Data In DataList
I want to give print option to print all data in datalist.

Performing The Htmlentities() Within The Print Statement.
Usually when printing a string I would use: print ("this is a test $test"); But from what I understand if $test contains some special characters I should use: $test=htmlentities($test); print ("this is a test $test"); But is there any way of performing the htmlentities() within the print statement. I.e. I do not wish to change the variable, only ensure it is ok for displaying?

Adjusting PDF Restrictions To Not Allow Printing, Copying?
I have a user uploading a PDF to my server, is it possible to adjust the PDF restrictions via PHP to not allow printing, copying, etc?

Print Out A 2 Dimentional Array?
How do you print out a 2 dimentional array? One value or all values? while ($row = mysql_fetch_array($result)) { $abb = $row['abb']; $full = $row['full']; $vote = $row['vote']; $date = $row['accessdate']; $temparray[$accept] = array($abb, $full, $vote, $date);} echo $temparray?

$title Comes As Array And Print The Value?
$title comes as Array, but I need to print the value. <?php $array = array( 'php'=>array('cms','frameworks'), [code]...

Print Table With Background Colors
I've a table in wich I've this CSS: ..oddrow{background-color:#FFFFFF} ..evenrow{background-color:#CCCCCC} The oddrows are white and the even are grey. BUT ! when I do print the table, there is nothing !!!

Disable Print Screen In Mozilla Firefox?
how to disable print-screen option in mozilla firefox to save my web page.

How Do You Print A Double Quote ' " ' To A File
Folks if you could help, I am trying to print double quotes around a name in a file. (set server host "dthps" port 8000)i am using the following syntax and get and error on that line that is trying to print the quotes. Am i doing it right and if not could you please show me the way? thanks in advance mlp strOutFileName = sFileName_command_intrp_txtFileID = FreeFile Open strOutFileName For Output As #FileID Print #FileID, "set server host "" & "; dthps3 "" & "port 8000"Print #FileID, "login as root identified by password"

Jquery :: Show Select Box Value Based Anchor Clicked
Jquery change the select box value based on anchor clicked I can change the value of the actually select box $("#id-for-select").val(2) but not the result of selecting that value (what happens when the value is selected) as if it was clicked by hand In my case I'm trying to change the dates on a calendar from [URL] I'm only able to change the value of the month select box from a anchor but not able to get the corresponding dates for that month since it wasn't actually clicked from the drop down. Any way I can keep the dates corresponding with the month value in the select box?

Drag And Drop - How To Achieve Proper Page Printing
I'm using Walter Zorn's Drag & Drop script on my page: [URL]. The script works just fine. But there is a problem when the visitors are trying to print out their design. All "draggble" elements are getting shifted in relation to the rest of the page (try to move "draggble" elements, and then go to Print Preview to see what happens). The page layout is centered on the screen: #maincontainer{margin: 0 auto; /*Center container on page*/} Drag & Drop script recalculates positions of elements from the Top Left corner. If I change margin to left, than everything prints out just fine, without shifting. I'd like to keep my page layout centered on the screen and I know nothing about Java programming. How to make necessary changes to the Drag & Drop script to achieve proper page printing? Drag & Drop script path: [URL] CCS path: [URL]

Print From Multidimentional Arrays?
i have a multi array that looks like this. $_SESSION['cartItems']['quantity'] how do i print out its values? print_r wont work. unless i sessions dont work with multi arrays?

Web Forms :: How To Show The Time Needed For A Page To Show
I wnat to evaluate the performance of my web page. How can I show the time comsued of a page?

Changing Second Drop Down Box Value According To Selection In First Drop Down Box
i have two drop down boxes where i would like to link first with second. i am new to website development. how to do it. i tried to pass first drop down box value in to parameter but i am unable to do it. i dont know where i am doing the mistake.

Web Forms :: Showing Excel On Web Page?
I want to show Excel objects and its functionality on my web page. Is there any way to do so? I want to show it the way google spreadsheet is.

VB Code To Connect With Excel
How Can I Connect To excel Sheet By ODBC in VB Urgent

Items Greyed Out On Sheet Right Click Menu
I cannot figure out why this setting has changed. When I right click my tab worksheet in Excel to copy or rename, it does not allow me. I will need your advice to re-activate that options so it is visible and not gray. I tried in the VBA workbook properties settings with no luck and also Tools, Options.

Defined Name Edit Box
The edit box used to make or edit ranges for Defined Names is VERY difficult to use for long char strings. The arrow keys do not move the cursor within the edit box & the end key does not work. How to edit range names that are 100-200 characters long? Are there settings to alter behavior of arrow keys withing these "range definition boxes"?

Edit The Hyperlinks In Sheet
I need to edit the hyperlinks in my excel sheet. I know how to do this manually and edit one at a time, but I need to change 3000 of them! Is there a way I can do this without going through each one?

Caption Button + Link To Other Sheets In Another Folder
Hello,I am using VBA with MsExcel.Can anyone tell me how to link an excel sheet,which is in another folder through a caption button on a sheet which is in different folder.I know that when the excel sheet is in the same folder we need to add the following code in the caption button to get the desired sheet open.sheets("sheetname").activateBut I don't know how to open the excel sheet if it is in another folder.Details ========Suppose you create all the menu sheets in one folder and on each sheet you have caption button with the name of the other excel sheets which are in another folder, then what code is to be written in the caption button so that when you click on the caption button, the desired excel sheet will open.Thanks for your help.

Prevent Window For Scrolling After Div Box Scrolling?
I have a small div box that has a vertical scroll bar and sits within an html page that also has a vertical scroll bar. My problem is when the user reaches the end of the small DIV box scrolling, the ENTIRE html page that contains the div box then begins to scroll (assuming the user is scrolling via the mouse scroll and NOT by actually clicking the DIV box scroll buttons themselves) is there a way to prevent the entire html page from scrolling once a user reaches in end of my small DIV box scroll? I have tried this (but it cancels scrolling for even the div box): if (window.addEventListener) /** DOMMouseScroll is for mozilla. */ window.addEventListener('DOMMouseScroll', handleWheelEvent, false); /** IE/Opera. */ window.onmousewheel = document.onmousewheel = handleWheelEvent; function handleWheelEvent(e){ e.preventDefault(); }

Combo Box, Textbox And Command Button In A Dictionary
hello!!! it seems the adodb im working w/ is now working... i had my combo box object, a textbox and a command button. The adodb that i'm asking you a while ago, is now working with the codes below. it was already linked w/ the database. My table name is dictionary, the filename is terms.mdb, the fields inside the dictionary table are as follows: word, meaning, usage, origin, pronunciation. The output that i would like to be is: in the combo box, the user could found there the fieldnames of my database such as, word,meaning, usage, origin, pronunciation. With the keyword he/she input in the textbox (e.g. "act"), then all the words that has the word "act" will come out regardless of where it is placed, middle, beginning, or end of that word. I hope this could help u understand better what i meant to say....Tnx for ur effort and for showing interest about this probz... u'r such a nice person !!!! Private Sub Combo1_DropDown()Dim cn As ADODB.ConnectionDim rs As ADODB.RecordsetSet cn = New ADODB.Connection Set rs = New ADODB.Recordset cn.Provider = "Microsoft.Jet.Oledb.4.0"cn.Open App.Path & " erms.mdb" If cn.State = adStateOpen Then Set rs = New ADODB.Recordset rs.Open "Select dictionary.word from dictionary order by word", cn, adlockoptimistc End IfCombo1.Clear rs.Requery Do While Not rs.EOF Combo1.AddItem rs![word] rs.MoveNext LoopEnd Sub

How To Create A Command Button To Print A Query?
i have queries X, Y and Z in my access databasehow do i create 3 command buttons to print them from the vb program on click ?

How To Create A Command Button To Print A Query?
i have queries X, Y and Z in my access databasehow do i create 3 command buttons to print them from the vb program on click ?

Link Two Text Boxes Like In Quark?
link two text boxes in photoshop like you do in quark?

Read And Print The Contents A Text File Which Resides In A Remote Location Via PHP?
Is it possible to read and print the contents a text file which resides in a remote location via PHP? For instance, this is how I am currently reading a text file that is my local server (and it works great, but unfortunately the text file my client will need to have read is outputted to a remote location): <?php $currentSong = "/home/medusa/sun/accounts/username/public_html/ticker/current-song.txt"; $fh = fopen($currentSong, 'r'); $theData = fread($fh, filesize($currentSong)); fclose($fh); echo "<p>".$theData."</p>"; ?>

Read (and ONLY Read) A Multi-sheets Excel File With PHP.
I want to read (and ONLY read) a multi-sheets Excel file with PHP. I found so many scripts on the net that I finally don't know what to choose so... could experimented users help me to directly find the one that I need ? Here are the two obvious things the script must match : - free - can read multi-sheets Excel files

Command Button Not Enabling On List Box Click
Hello again everyone,Can someone help me out here. Excel 2002/vba 6. I have a form with a list box and a few command buttons. On initialization of the form I disable the "Make Table" button because I don't want the users clicking it until they have selected items from the list box. They are supposed to select items in the list box then press the button.In the listbox click event, I have this code Code:Private Sub lstbTestMeth_Click()cmdMakeTable.Enabled = TrueEnd Sub however, when you click in the listbox, the button is not enabled for some reason. Any clues why this is not working? All info I have looked up indicate that setting enabled to true should bring the button back. The button is not locked either. Maybe I've got the code in the wrong event? Thanks, Hilfy

Clicking On A Command Button To Display Something In A Text Box
Back to VB basics here, but as usual I'm stuck on something simple!If Index = 0 Then txtWhatever.Text = "Newcastle" And txtWhatever.BackColor = &HFFC0C0The Bac Color absolutely refuses to change, I can take out the code from And onwards which does display 'Whatever' in the box but I can't get it to change the colour as well. Any ideas anyone? Thanks

Get Info Form Another Sheet Using Command Button???
I have a command button on sheet 1, that when it is pushed I need it to pull up a "pop up" - "message" box with the info form sheet 20 . Can this be done and how??

Picture Box / Command Button
I'm using a form that was generated by the Data Form wizard. At the bottom, there is a row of buttons (Update, Cancel, Delete, etc). I need to add a button. But dragging and dropping a command button doesn't seem to put the button inside the object in which the rest of the buttons are housed. This object is given as a picture box. I looked up picture boxes in my book and it's all about pictures and animation. How can I add a function button to my generated form?Robert

Saving A Picture Box Using A Command Button
I was just wondering how I would go about implementing a sub program which at the click of a button would save a picture box displaying data and then at the click of another button, would display that saved informationany help is appreciated

Text Box And Command Button
I have a text box which permits user to enter number upto 9 digits. The first 2 digits are always 25. So I am looking for a way to show the first 2 digits as 25 proteceted the rest are user enterable. I do not want to split the text box into 2 text box. Is there a way?How to make a Fancy Command Button in VB Form?

Command Button/Text Box
ok.once i figured out that the last code i got wouldnt work because im trying to make a html creator and the files always arent going to be the same.can you help me put text anywhere without this.VB Code:Private Sub Command1_Click()      Dim How_Many_Spaces As Long          How_Many_Spaces = 10      Text1.Text = Space(How_Many_Spaces) & "Hey" End Sub

Command Button/Text Box
how do i make a command button pick from mutliple points in a textbox to insert a word.

Command Button That Can Pop Up A Text Box
Hi,Can anyone tell me what I should add in VB coding to make sure a command button that can pop up a text box for user to fill in their comment?Thanks..

Put Cursor In Text Box From Command Button
Good Morning Forum.I have a form with two text boxes and one command button. The user enter text in both of the text boxes and then clicks on the command button to save the text to a disk file. What I need to do is move the cursor to the first text box after the button is clicked. How is the best way to do this?Thanks-Sweidman

Creating Rows Of Labes And Texboxes In A Form By Using Input Box OR Command Button
hello there... i'm in a deep deep trouble here and i need help very much... my problem is... i want to create a form (in VB 6) the allows user to add as many name and contact details in a from based on input box.the procedure is;first, an input box will appear prompting user to keyin the amout of name that he want to add (e.g 20). then, the form will appear showing 20 Textbox complete with numbered label (somewhat like this)NO NAME CONTACT NO EMAIL ID NO01 |Textbox | |Textbox | |Textbox | |Textbox |02 |Textbox | |Textbox | |Textbox | |Textbox |03 |Textbox | |Textbox | |Textbox | |Textbox |:::20 |Textbox | |Textbox | |Textbox | |Textbox |and if the user key in 70, 70 rows of textboxes and labels will appear and so on. And also, how to ensure that every information that is entered here is saved in a database (MS Access database)?OR:I've pre-create 5 rows of textboxes with labels like above. And now, everytime the user wants to add more name and details, all they had to do is to click a command button (sounds more practical isn't it?), a new row will appear together with the numbered label. (izzit possible to do something like this???)can someone help me with this? i hope i've described the problem clear enough. BILLIONS of thanks for anyone who can help me and you cant imagine how grateful i am for your help.

Adding An HTML Link To An About Box, Or Other Form
I would like to add an HTML link to an about box, so the user can click on it, launchwhatever their default browser is, and go to the urlprovided by me.The examples I've seen in this forum don't show how to make a Clickable Link on a form, only how to call IE via Shell, or send mail. I'm sure I didn't look for the correct terms, but I'm not sure what else to use for search criterai.Would someone point me to or post an example on how to make a clickable link launch the default webrowesr ?thanks

Adding Picture "Link" To Text Box
I have a question for those who have been really working with pictures or photos.I have a form with a large textbox in the middle of the form. I am trying (maybe impossible) to add a picture "Link" to the text.What I am trying to do is put a marker that describes the picture in the text and then if the user click on the "Link" to have a pop-up form that displays the picture.I have the program set to print the text and would also like to be able (at the user's option) to print the picture in place of the "Link" in the textbox.Am I dreaming of something that is not possible or does anyone have any suggestions about how this can be done.Thank you,Jenn

Sony Ericsson Xperia X10 : A Tick Appears In Dialog Box / When Send Text Messages
I've upgraded my software and have no problems with my phone, but now when I send a text message a tick appears in the dialog box. When I first got my phone I was being charged for text notification from orange so I'm just wondering if this tick has something to do with that? If so, how do I turn them off?

ActionScript 2.0 :: Twitter Box For Flash Websites?
Is it possible to put a Twitter box on a Flash site? I'm using Action script 2.

Web Forms :: Add Hardcoded Listitems To Dropdownlist Box?
I have the following ddl control within datagrid: <FooterTemplate> <asp:DropDownList id="milestone_add" CssClass="TextBoxes" runat="server"> </asp:DropDownList> </FooterTemplate> How to add list items "yes" , "no"

Poor Up/down Speeds (KeyWeb - Dedicated Box)
I have been lurker for long time already but now decided to ask this question I have been wondering about past few months. I rent an dedicated server from KeyWeb, with dedicated 100mbps link. The server itself isn't that good & fast, but it's just perfect for my gaming server (E4500, 2GB DDR-2 ram and 2 x 320GB sata 2 drives) Now to the problem. Always when I download some big files with this server from ftp or html server, and if I only open one connection, speed is very poor... Like 1MB/s or so, but if I use some download manager or torrent client which opens more than just one connection, +10 or so... Then the speed is very good, sometimes it goes up to 15MB/s. The server is actually connected to 1gbps switch but I think the port is limited to 100mbps. At speedtest (dot) net, I get results like 17mbps down and 8mbps down. So... Is that normal or is there something wrong? I've not contacted them yet, but if this isn't normal. I will Ofcourse I'll try to solve this on my own. and before someone asks if this ftp I'm downloading from is not fast enough... I can tell you, it's. I downloaded one big file from it at school and at max speed was about 9MB/s

Print A Specific Area Of A Web Page In C Sharp?
m building a web-page in that theres a tag which holds some documentary data, so i want to print that specific data and not the whole page i.e banner, textfeilds etc... since i know window.print() function prints the whole page, but how to print a sepicific area in a page.

Web Forms :: Set Define Region Boxes In Mainpage?
I am trying to create a main page for my website. However I would like to incorporate different boxed regions on the front page like the main page of ( . Where they have boxed regions for Welcome, News, Feature Ads, Latest Blogs, Articles of the Day, etc. 

AutoSum Text Box Values In A Separate Text Box?
I'm developing an ASP.NET web page, which includes three text boxes for users to enter customer revenues. I want to code a formula such that the value in the Total Revenue text box (txtRev_Expr_Tot) equals the sum of values entered in the Current Revenue (txtRev_Expr_Curr) and Incremental Revenue (txtRev_Expr_Incr) text boxes. I also want the Total box to update in OnLostFocus events from the other two boxes.

Web Forms :: How To Change Language When Got Focus To Text Box
i have 2 Text-box in my web form. when i got focus to textbox1 - i want that the language will be hebrew  and when i got focus to textbox2 - i want that the language will be english how to do it ?

How To Get Dropdownlist Box Value To The Controller Using Mvc
I have this code in my view.. <%=Html.DropDownList("ProductTemplate",new SelectList(Model.ProductTemplate,"Value","Text"))%> I know if this dropdownlist box is in between BeginForm submit I can able to access the value in Controller using collection["ProductTemplate"]; if it is not in my beginForm still I can able to access this selected value in controller?

MVC :: Checkbox To Dynamically Disable Text Box?
I'm trying to have a checkbox disable and enable a textbox, within a strongly typed viewmodel. [Code].... I couldn't find any way to make a checking the nine2five checkbox to disable the startTime and endTime textboxes (and set values to 9 and 5 appropriately).

Web Forms :: Set Text Box Height According To (table Column) Text
I have a multiline text box on page which has style "overflow: hidden" to hide the scroll bar. I want to set the vertical hight of that text box at runtime according to the string coming from table column. Is there any way of doing it? I have tried to put the text in array but its not working.... Dim myParas As Object myParas = Split(TextBox2.Text, vbNewLine) ln = UBound(myParas) + 1 TextBox2.Height = 22 * ln

Web Forms :: How To Add The Last Item On The List Box
i'm dealing with a problem where i manage to get all the related data and put it into an arraylist, after that i also manage to display it in a list box.. but, now i was ask to add 30 minutes to all the data in the list box.. how can i do that?? the code i'm using only allow me to add the last item on the list box, other data it will ignore.

Web Forms :: Dropdown List Box - Selecting 5th Item It Going To First
i have used one drop down list that ....whn i m running web applicaiton i need to stick the value which i m selected for the movement upto i select the next choice. it is always going to the first value always. i have 40 items in my drop down. whn i select the 5TH item after selecting 5th item it going to first item.

Web Forms :: Same Control Under Each Item Of Check Box List
my form requirement is i have a checkboxlist control aching,cramping, pain are the checkboxlist items under checkboxlist i need another checkboxlist whose items(arms, legs, thighs,buttocks) are same for all the items in first check box when i select an item in 1st checkboxlist the i should get the 2nd checkboxlist ,and the values have to be specific for each item in 1st checkboxlist

Change In The Excel Sheet Should Be Reflected In Database?
how to download the data from the database into a excel sheet.Make the changes in the excel sheet and the changes should be reflected in the database. Actually I am working on a shopping cart project and the client need the functionality that he will be able to download the pricelist and can make the changes in the excel sheet and the changes should be reflected in the database.

Web Forms :: List Box Value Is Not Populated And Reflected In Code Behind With JavaScript
I have a listbox that I am populating at runtime with javascript. After the listbox is populated I am using a button to get that value. on button click when I am trying to get the value it is the listbox item count is 0, Can anyone tell what's wrong after t he javascript populates the code,I have written the code in button click : for (int i = 0; listbox1.Items.Count - 1; i++) { string s = listbox1.Items[i].ToString(); } the value of count is showing as 0, though it has the values populated. What I am missing ?

How To Get Text Value Of Dropdown List Box By Passing Index Value
how to get text value of dropdown list box by its index. i want to read the ddlproject.selectedindex = 0's text and assign it to a variable strProject.

Passing List Returned From The Query To Client And Then Print Out The Result Onto The Console?
I want to pass this list returned from the query to my client and then print out the result onto the console.As far as I can tell my service side is ok but its how to extract the results on the client i can figure out.Here is the code for the service: namespace CarsalesService { [ServiceContract][code]... How do I break GetAllListings down and extract the results from the query? Im gussing using a foreach but how do u do a foreach on that?

Security :: Populate A Text Box In CreateUserWizard?
I have the following CreateUserWizard control that has 3 steps in it. Step 1: WizardStepLoginName Step 2: WizardStep2 Step 3: CreateUserWizardStep1 In step 1, the user will check to see if the username is available.  If so, when the control gets to Step3, I want to have the text that is in the WizardStepLoginName txtLogin textbox to automatically populate the "UserName" textbox in the CreateUserWizardStep1 step. <asp:CreateUserWizard ID="CreateUserWizard1" runat="server" BackColor="#FFFBD6" BorderColor="#FFDFAD" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="10pt" Width="500px" ActiveStepIndex="3"> [code]...

Forms Data Controls :: Populating Dropdown Box With XML Data Filtered From Another Dropdown Box?
I've currently got a form with two dropdown boxes on, and an XML file sitting on the site. My two drop down boxes are Location and Date and what i'm trying to do it get the Location box to filter the XML and put the dates in the Date dropdown box. I'm using C#. Unfortunatly, its not working. My code is: [Code].... and my XML is like this: [Code].... why my dropdown boxes are not being populated?

Web Forms :: Print The Finished Output Of A Wizard Control?
Anyone ever try to print the finished output of a wizard control? That is, after the user fills out all 5 steps of the wizard, the user clicks "print" to print all the data from steps 1-5. Normally, a bit of javascript will do the trick, but each time you go to a new "step" the page is refreshed and controls are added/removed from the page. So if nametxtbox is in step one, when you click step two the control is removed from the page. If I could just pull the values from steps 1-4 from whereever they are stored (session state?) that would probably be good enough. I could load all the values on one page & run some javascript from there.. Not sure where to go from here..hoping for someone will be able to guide me in the right direction...

Forms Data Controls :: How To Find Out The Focused Text Box Id In Gridview
I am using gridview controll in I  dynamically kept text box in all cells and I set text box readonly property as true.  I want to find out the focused text box id. I have to populate  some dynamic valuese into selected text box.

AJAX :: AutoCompleteExtender Key Value In Text Box?
I am using ASP.NET 3.5...I have a text box where I am using the AutoCompleteExtender for search. When user enter the key the serach shows the "ProjectNumber-ProjectName" in the search result....after selecting any of this...only ProjectNumber is entered in the textbox (I am using hidden control to store key values)...everything works fine till here.Now I have a problem with values stored in the hidden control...for example in the text box there are three ProjectNumbers ..A,B, I go ahead and delete all these three and enter the key word again...the search work fine but when I select any value the Text box is populated with old value (coming from hidden control) like A,B,C and then new value D Please suggest me how I can assign the hidden text box value with the new text box values after the selection is done... function KeySelected(source, eventArgs) {             var labelVal = document.getElementById('<%=this.Hidden1.ClientID%>').value;           var userValues = ""; [code]...

Web Forms :: Freezing A Page And Showing A Box?
I have seen pages, when we click on something... a transparent layer covers the whole page and a small box shows telling wait or you well be referring to some page... then a target page is displayed.. How can this be implemented? Are there any kind of controls to be used?

Compare Two Arrays And Print The Results On A Page?
I would like to compare two arrays and print the results on a page and be able to make a selection with radio boxes. Here is my code...specifically focusing on the for loops to create the arrays of the user names... filename='users.txt'; $fp=fopen($filename, 'r'); $file_contents=fread($fp, filesize($filename)); fclose($fp); [code].... then i was trying to print like this... <form action="add_student.php" method="get"> <?php for($i=1; $i<sizeof($stu_to_add);$i++) [code]....

Profit Calculator - Make A Form That Subtracts And Adds Numbers From 3 Different Box's Into A New Box?
how to make a php form that subtracts and adds numbers from 3 different box's into a new box.. abit like this... box 1: 10 box 2 adds: 1 box 3 minus: 5 Result: 6

Move Items From One List Box To Another
I have a form populated by PHP and MySql and I am trying to get the values returned. I have amanged to be able to move the items from one list box to another and get the values of the second list box. What I need now is the values of the items added to the second list box and the values of the items removed from the second list box. The website is currently under development on my local server but if you need to see it running LIVE, let me know and I will upload what I have currently. [Code]...

Move Items Between 2 List Boxes?
I have created a form with 2 list boxes and coded to allow a user to move items from one list box across to another. What I need to do now is 1. to send the completed right list to a php page for database updating. 2. be able to have up to 3 list box sets on one page and reference each individually. i.e one for parent categories, one for child categories and one for products belonging to this category. the page is located at [URL] the code is as follows Code: <HEAD> <SCRIPT LANGUAGE="JavaScript"> function move(frombox, tobox) { var arrFrombox = new Array(); [Code]....

Jquery :: Animate Width Of A Box Towards Left?
I have a div box <div style="width: 400px; height: 400px; position: absolute; left: 350px; top: 350px; background-color: #cdcdcd;"></div> i can easily animate its width towards right side (left edge will be on fixed position). How to fix the right edge of the box and animate its width towards left??? i.e. box will expand towards left side.

How To Automatically Display From A List Box?
I am working on a PHP/HTML form which supports End User queries. I need the user to select a combination of Airline and corresponding place of Origin. i,e Delta - Madison, Dallas, Atlanta KLM - Amsterdam, Houston, Detroit Brit - New York, London, Seattle I have a list of Airlines in a list box. The moment the user selects an Airline(Delta) from the List box, the list box below it needs to have (Dallas, Atlanta, Madison) as its options. How is this done? How do I use a listbox selection as a trigger an automatically start the next activity?

Ticking A Check Box Based On A Value From A Record
I am retreiving records into a table (part of the code below) <td width="20%" class="BodyText"><span class="style38"><?php echo $commindex; ?></span></td> <td width="10%" class="BodyText"><span class="style38"><?php echo $username; ?></span></td> <td width="45%" class="BodyText"><span class="style38"><?php echo $comment; ?></span></td> <td width="10%" class="BodyText"><span class="greenbody"> <input name="checkbox2" type="checkbox" value="<?php echo <td width="20%" class="BodyText"><span class="style38"><?php echo $commindex; ?></span></td> <td width="10%" class="BodyText"><span class="style38"><?php echo $username; ?></span></td> <td width="45%" class="BodyText"><span class="style38"><?php echo $comment; ?></span></td> <td width="10%" class="BodyText"><span class="greenbody"> <input name="checkbox2" type="checkbox" value="<?php echo $available; ?>" MYFUNCTIONHERE> </span></td>; ?>"> </span></td> The last cell contains a check box, its value is set to $available. which is a value of 1 or 0. Trouble is I want the check box to be ticked if the value is 1 and unticked if the value is 0 I thought of using a function such as function checked($avail) { if ($avail = $available) { return 'checked' } } after the value part of the code (where I have written MYFUNCTIONHERE) which would put the work 'checked' in the appropriate place but my inexperience means I cant get the syntax correct

Drop Down Option Box Not Displaying Items?
I am having trouble displaying the item listed in my drop box. It is not showing up anything. The list is blank. I don't know what the problem is. At first I thought it was because of an undefine varialbe, I learned that was not the reason my list is not displaying. <?php // manage colors // pull associated color/products and display them // give ability to delete associations and add [Code].....

Simulating Mouse Clicks/rtf Box Supporting Doc
hi all,2 short questions.1) how can i simulate mouse clicks in VB2) i need some component say like the rtf box which also supports word documents(*.doc). the user will only select/view the document, also word may not necessarily be installed on the client machine. any freeware doc to rtf convertors????Thanks in advanceSatyajeet

Jquery :: Select Box With 50+ Word Select
I have a number of subtopics I would like to select using a select / dropdown box. The problem I have is that each subtopic is 30-50 words long. Does anyone know of any way that I can have multi-line selects within a select box? Right now I can show the select but because of my page size I have some data trucated.

Pressing The Enter Key Submit Page More Than Once - Both Alert Popup Boxes Appear
Pressing the enter key of the following page (created by JSP) submit page more than once. Both alert popup boxes appear as expected: However, then this alert appear again, which is unexpected: But alert('alarmgroup ' + alarmgroup + ' rowsPerPage ' + rowsPerPage); do not appear.

Jquery :: Form Got Submitted When Hit Enter On Select Value In Autocomplete Box
In my application,there are several autocomplte field is available.When I type "pank" and then it list out the several matching in the autocomplete field and select one and then hit the enter then it submitted the entire form, which will cause the error message. Because there are several more mandatory field are there, which i need to fill up.I was trying to restrict in this way, but i believe this is the wrong way.

JQuery :: Default Text On Empty Text Box
I have a email form text box that while it is empty I would like it to have the value "E-Mail" And when you click on it the text goes away. If someone clicks on it and doesn't enter text. on Blur I would like for it to return to having the default text.I have been trying a few things but nothing is working.

The Check Box As Default Is Unchecked And When Checked Validates A Text Area For Text
Im trying to nut out a check box validation The goal- the check box as default is unchecked and when checked validates a text area for text CODE:

Making Names In List Boxes In The Format Lastname, Firstname
I have a lstbox that has a list of names in it that look like this...Marcie GarciaDanny ChapaJuliana DavilaWhat I need is to pick an entry and have it put in a text box with the name reading ...Garcia, MarcieCan anyone help me with this??

Seing Visible Boxes
Hi,Imagine a map with x and y coordinatesA character standing on X:8/Y:12 coordinates shoots an arrowat another character say X:22/Y:19How will it be possible to get all coordinates (as x/y) this arrowpasses before it reaches its target(Example for purposes to seeif this arrow is obstacled by an object standing in between)PSOr another example, whether a character sees certain spot on this map if there are obstacles in between)

To Check The Visible Text Boxes
Hi,i want to check the visible textboxes are filled or not.for the below code checking all the text boxes which are also not visible Dim frm As Form Dim ctlAll As Control For Each frm In Forms For Each ctlAll In frm If TypeOf ctlAll Is TextBox Then If ctlAll.Text = "" Then MsgBox "Enter in all text boxes" Exit Sub End If End If Next ctlAll Next frmany suggestions pleasethanks

Need Help With Making A Sheet Of Images
I'm trying to build an app in which the user can select images from a list and then add them to a sheet. I'm a bit new to VB and from what I researched I figured I would use a msflexgrid. I can set this up but what I need to be able to do is add and delete new sheets from their project. Would a tabbed pane be applicable - If so could someone direct me on how to make it dynamic in the sense that the user could click new sheet and a new tab would appear with a new msflexgrid. Thanks for anything!!!

[ SOLVED - Finally! ] Returning The Number Of Items To Print
Hi guys, I know it's weekend but....Say for example i've got a table which consist mostly out of checkboxes (boolean values like Yes and No), now what I want to do is to count how many "Yes" are there in one field, then print it, but then say "so many people selected Yes) - I want to do this for every this possible