Forum Array

DOS Mode Printing From VB

Those who are interested in code that enables a VB application to print in DOS mode, here is a link.

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 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.)

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

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

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"

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?

Open A Website On Clicking A Command Button In VB 6.0 Windows Application
Hi I have developed a windows application using VB 6.0.When the application is run for the first time a License activation Form pops up with a Command button Activate.All i want is to open a web site for registration when clicking the Activate button.Can some one tell me how to achieve this.Thanks

VB Code For Command Button In Access 2000
Hey there. I have a contact database that I'm making an Emloyee Skills section for. I'm a little lost as I'm not a very technical person. I have a document (I can upload somewhere or email to anyone willing to help) detailing what I'm trying to do, with screenshots of my form in question and another screen shot of the related tables/fields I'm working with.In a nutshell, I have a listbox on my mainform populated by a table called SlillsInventory - and next to that a subform titled EmployeeSkillsSubform which is populated by a table named EmployeeSkills. I'd like to be able to select a skills from the Skills Inventory listbox, click the arrow button and have that highlighted skill popluate the employee's record in the EmployeeSkill table.Can anyone provide any insight? Thanks in advance. - Kip

VB Code To Archive Data Via Command Button From One Table To Another
I am reasonably new to writing VB Code managing uptil now to get by on wizards and queries. Please help: I am trying to programme an on click event from a command button to recognise when a record held within a table is ready for archiving. Unfortunately I cannot get it to do anything, any advice would be welcome before I take the long walk out of the window? Private Sub cmdArchive_Recs_Click()On Error GoTo trappingRoutine Dim db As Database Dim rs As Recordset Dim x As Variant Set db = OpenDatabase("I:WORDLWMBriefcaseDatabaseWIP.mdb") Set rs = db.OpenRecordset("select * from tblAction where [lblArchiveFlag]=-1") x = rs.RecordCount MsgBox (x) Exit Sub trappingRoutine: Call modLorisMods.inLineTrapper(err.Number, err.Description)eam. Lori:<

Converting A Custom Command Button To A Standard VB Command Button
Hey there,The task at hand is as follows: I have a large VB project with many forms that use a custom command button (it is the Gurhan Button, a freeware control available from PSC and other places). What I want to do is replace the Gurhan button en masse to the standard VB button.What I have done is written a simple VB program that reads in the .frm files of the project as text, and made the appropriate replacements. This works fine except for the Picture property. In other words, a line like this:Picture = "Form1.frx":11B4causes problems in the converted project. When I open the new form, I get the "There were errors, check log file for details" message. The log file message, not very useful, contains lines like this:Line 12: Property Picture in GurhanButton1 could not be set.Now, I am not an expert on frx files, but I would think that the reference to "Form1.frx":11B4 in the Picture property refers to its location in the file? And if so, the frx file is not being changed, so I am at a loss as to why VB cannot set the property. Any ideas?

VB To Edit Another Workbook
My purpose is to give my endusers a workbook with a macro in it which applies changes to existing workbooks on their computers. I want the enduser to select each workbook to apply the changes and have the macro capture the names of the workbooks so they can verify that all of the appropriate workbooks have been changed. I’m trying to change two types of data: (1) text, (2) formulas. Here's what little I have, but not much is working. Sub ChangeBACKLOG() MsgBox "Open the FILE to which the Backlog fix is to be applied." Dim targetWorkbook dlgSource = Application.Dialogs(xlDialogOpen).Show Set sourceWorkbook = ThisWorkbook Set targetWorkbook = Workbooks.Item(Workbooks.Count) On Error Resume Next

Link Code In VB Application
any one know how to write a link in VB ??i mean the same as html link < a href=""> VB Forums </a>i think it's easy but i am still learning VB thanks

How To Link .chm File To VB Application
Hi All I have a .Chm help file which i need to open through VB application. Anybody can give me hint or any help hw to do that?thanks in advancecheersyogesh email@removed India.

Adding Event Macro To A Command Button At Run-time Causes VB Editor To Pop-up
I'm using Excel 2003 SP2.The premise is I add worksheets at run-time based off of user actions. The sheets then add command buttons and then assign some vb code to be fired when clicked. Everything works great except the VB editor pops up (even when its closed). This is annoying, any way to stop it from doing so?VB Code:Public Sub Test(myWS As Excel.Worksheet)    Dim OLEObj As OLEObject    Dim Rng As Range    Dim WS As Worksheet    Dim CodeMod As Object    Dim LineNum As Long        Set WS = myWS    Set Rng = Range("I13")            Set OLEObj = _    WS.OLEObjects.Add(ClassType:="Forms.CommandButton.1", _        Top:=Rng.Top, Left:=Rng.Left, Height:=Rng.Height * 2, _        Width:=Rng.Width * 2) = "test"    OLEObj.Object.Caption = "test"    Set CodeMod = _    ThisWorkbook.VBProject.VBComponents(WS.CodeName).CodeModule    LineNum = CodeMod.CreateEventProc("Click",    CodeMod.insertLines LineNum + 1, _        "msgbox(""test"")"        End Sub

HOW TO MAKE A VB COMMAND BUTTON WORK IN EXCEL,Hi guy,my question is as follows, am new to programming and i wish to know how i can do that. in fact i got an excel sheet (a form) where i have place a visual basic command button on it. all that i want is when user has finish filling the form (excel sheet), they need to double click on the command button and the whole sheet is sent as an attachment by mail(ms outlook).the command button should do the same action as if someone click on file then sent as attachement.well if someone have the coding for that, please sent it to me.thanks & regard,gilles

How To Delete A Record In Access Table Using Command Button In VB
hi,i have a supplier table in vb form i have command button,text1.when user press the command button it should delete the specified record (i.e. text1.text).Please suggest me code for ADODB or ADODCnote: i am using ADODCthank youregardsmadhu

VB Command Button To Open A .doc File
Im having some trouble to open a .doc file with a VB command button, can anyone help?

Link Form.vb To Item On MENU.ITEM1
Hi allI am creating a Program that needs Multiple Windows/FORMS.vb, not at the same time, but to go back and forth on the screens.Code: Private Sub MenuItem15_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem15.Click         INSERT CODE HERE ( to OPEN.Frontobs.VB)    END SUBIts for my robot so there diffeent pages with different functions..(IE: one page for ARMS/WALKIN) and others for MACRO Functions to Avoid Obstacles and Suchmy Main window is mainform.vbmy 2nd window is frontobs.vbmy 3nd window is leftobs.vbmy 4nd window is rightobs.vband i have created a Menu.Item1with a FILE ==>     EXIT Code: Private Sub MenuItem10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem10.Click        Application.Exit()    LOAD (Still need to find out how to create my OWN SAVE FILE, but will do that LATER)Obstacle ==>          Front (this should load frontobs.vb)???????HELP/EXAMPLE?????         Left.. (this should load leftobs.vb)???????? ??????        Right (this should load rightobs.vb)??????? ??????About ==> Product Code:Private Sub MenuItem18_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem18.Click        MessageBox.Show("This was Created using Visual Basic .NET Compact Framework. Designed for Pocket PC 20022003 Created by Chance Brown ")    End SubI know that the code has to be put in right after this part here for FRONT:Code: Private Sub MenuItem15_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem15.Click         INSERT CODE HERE (OPEN.Frontobs.VB)???????????END SUBthanks alot Edited by - knitsu on 2/9/2005 6:54:07 AM

Need VB Command Button Help
If I have a report named "InventoryReport" in a Microsoft Access db named "Trains" on the "D" drive, what code would be entered in the Command1_Click() to view the report?Thanks

Assigning VB Code To A Dynamically Created Button In Excel
I have a question. I have a procedure in Visual Basic (Excel) that created several additional sheets with a button on each newly created sheet. I'm using the following code to create sheets and add buttons: ================================= sname = "product" + Str(index1) NewSheet.Name = sname Sheets(sname).OLEObjects.Add(ClassType:="Forms.CommandButton.1", Filename:="Sheet1", Link:=False _ , DisplayAsIcon:=False, Left:=233.25, Top:=125.25, Width:=61.5, Height _ :=16.5).Select ================================= Now, how do I assign a procedure(procedures) to the newly created buttons? You see, I want a particual procedure to execute when a user clicks on this button, but I have no idea how to "tie" a procedure to a dynamically created button. Thanks for your help!

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

Source Codeto Assign To A Button(new Created)from Excel A Procedure From A VB Project
I created a button in Excel. The question is which is the source code for assigning to this button a procedure from VB?c - is my buttonc.OnAction="Love"Love is a procedure from a Vb projectsub love()end sub.So..helppppI am waiting your help

Source Codeto Assign To A Button(new Created)from Excel A Procedure From A VB Project
I created a button in Excel. The question is which is the source code for assigning to this button a procedure from VB?c - is my buttonc.OnAction="Love"Love is a procedure from a Vb projectsub love()end sub.So..helppppI wait your help 

Find A Button HWND And Click It By VB Code
Hi, I want to find the last generated form created by another application and find a command button handle on it, the click that button in my VB6 application.Many thanks for your help.Manafi

Rotating A Label Of Command Button On My VB Form
Is it possible to rotate a control on my VBform from left to right to vertical? For instance I want my command button or label to be rotated vertical rather than the standard horizontal.Thanks.

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


VB Created Toolbar Thingymobob
I was wondering if there are events for vba programmed toolbarsie if the users closes the toolbar with the lil x on the toolbar, can you have code run, to either reopen it, or to remove it when its closed?

Vb And Command Button Help!!!
hi, i kinda dont know how to word this but i have a problem with my command button and vb coding. The thing is i have an order system i created, which consist of an 'order' sheet and 'process orders' sheet. When an order is placed, i click on the command button named process which the first row in the 'order' sheet is automatically copied into the 'process orders' sheet and then deleted from the 'order' sheet (its suppose to do that lol). The thing is i need to construct the code so that the orders are processed one at a time by the click of the command button than all at once. Here is the code: Code:Worksheets("New Orders").Range("A2:G2").Copy Sheets("Processed orders").Range("A2") Worksheets("New Orders").Range("A2:G2").ClearContentsWorksheets("New Orders").Range("A3:G3").Copy Sheets("Processed orders").Range("A3") Worksheets("New Orders").Range("A3:G3").ClearContentsSo my question is how can i construct a code that will allow me to process orders one by one than actually all at once? please help and sorry for the essay lolp.s. i have attached the file in case anyone wants to test it or is confused lolEdit by Moderator: Please post Excel questions, in the Excel forum.Please use the [vb][/vb] tags when you post your code. Edit or reply to this post to see how.Thank you.

VB Command Syntax Website
Here is a good link for VB Command Syntax for our newer members

Need Help Building A Query In VB
I am going crazy trying to figure this out and I know you will probably find this very easy but I have 10 days to get this database up and running before I go on my Honeymoon and Im working day and night at the moment and I have only started.I have a database called 'Roster' on a Server called 'Cherry'.I have it connected to VB6 the Data Enviroment but now Im trying to run a query which I think I need to do in the VB application so I can change the value of a variable.I know this might look like a mess but I was reading through books and web sites and I came up with this Set rs = db.OpenRecordset(Roster)Do While Not rs.EOFSELECT Employee.FDR_ID, Employee.First_Name, Employee.Last_Name, Employee.Schedule, _Employee.Hire_Date, Employee.Extension, Employee.Cubicle, Employee.Hours, _Employee.APS_Signon, Employee.[Mosaix Signon], _Teams.Team_Name FROM Employee INNER JOIN _Teams ON Employee.[Team Number] = Teams.[Team Number] _WHERE (Employee.[Team Number] = 42)Where the 42 is. Thats should be where my variable goes.Please helpThanks

Building A Graph In VB
Ok, I was wondering if it's possible with VB to Draw a Graph, like a Line Graph not sure if thats the proper name for it but it looks like dis //// / kinda like that ^_^Any help would be greatly appreciated

Command Button Fails To Operate In VB Access
I have a strange problem with a command button on an Access form. The button is called cmdRunSearch. In the form's code there is a corresponding subroutine called Private Sub cmdRunSearch_Click(), and in the routine there's a bunch of code.When I click the button the routine does not get called. This is bizarre, since the routine used to be called and all the other buttons on the form work fine.I cannot figure this out and it's holding up my work. Does anyone have any ideas?Thanks

More On The Weird VB Code/Access 2000
OK, it works for my brother. But he said that the table he is updating from has almost 20,000 records and the code has been running for 15 minutes and is still going.My question now (for all you SQL geniuses) is can all these queries and recordsets be combined into a single update query using sub-queries?VB Code:sSQL_NEW = "SELECT * FROM New_Table"Set RST_NEW = CurrentDb.OpenRecordset(sSQL_NEW, dbOpenDynaset) ' works fine for me sSQL_LG = "SELECT * FROM Big_Table ORDER BY ID ASC"Set RST_LG = CurrentDb.OpenRecordset(sSQL_LG, dbOpenDynaset) With RST_LG  .MoveFirst  Do Until .EOF    sSQL_SM = "SELECT TOP 1 * FROM Small_Table WHERE ID < " & !ID & " ORDER BY ID DESC"    Set RST_SM = CurrentDb.OpenRecordset(sSQL_SM, dbopensnapshot)    RST_NEW.AddNew       RST_NEW!ID = !ID       RST_NEW!Loan = !Loan       RST_NEW!Pmt = !Pmt       RST_NEW!Inv = RST_SM!Inv    RST_NEW.Update    .MoveNext  LoopEnd With

Can You Make A Website Using VB 6
can i make a wesite using visual basic 6? i

VB PROGRAM To View A Cgi Website
I have a private network which included a cctv video server (CGI base) and 2 computersthe video server can be acces by webbrowserthe video server have 4 camera the video server does not support multi logoni developed a simple vb program that cantain a webbrowser object that browse one of the 4 camerabut a program rise when the operator try to view 2 camera at the same timewhen the operator open 2 camera, one of the camera would logout or terminated abnormally i cannot figure out the error and could anyone help?Edited by - zincal on 10/14/2004 8:21:05 AM

Checking For Broken Links In HTML In Website Testing VB Program
Im creating a tool to test the usability of websites for my final project. Everything else works and I can get the HTML to come up in a test box. Now need a subroutine to look for and check links to other pages. Any help please?

Please Help) A VB Program That Can Enter Login And Passwords To WebSite, Kinda Like GATOR
Does anyone know of any vb code files I can download that can do this.I have read and tried many of the examples ive seen thus far but just cant get them to work.Any Help would be appreciated! Yah, Ive been usin VB four five years,But I still know nothing.Edited by - philio63 on 3/2/2002 2:23:33 PM

Interface Matlab (link Between VB And Another Program)
I have an array (2D matrix) in VB and I would like to "copy" it into Matlab and analize this this matrix with a function from there. The result should come back into my program in VB (a new array). How is this possible to realize? Is there a possibility making it with ddl files? How?Please post your ideasThank you for your helptomaa


Open A Website In Your Vb
Probally a noob question but hw could you open a website in your program, I dont want a web browser or anything. I just want it to display one page. For feedback

Open Website From Vb
HiHow do you open a web page in the default browser from VbThanks

Launching VB App From Html With Command Line Argument
I cannot for the life of me come up with the syntax to launch my VB6 app via html and pass a command line argument. In this case I want to pass "M" on the command line to the app. But this certainly is not the correct syntax. Any ideas? Thanks.Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body><a href="file:///m:/Engid 1.2/VB Application/IDCODE.exe M">Run Myapp</a> </body></html>

Help With VB Command Button In Excel
Hello All,Can anyone help me with an Excel spreadsheet that is like a work roster.I want to be able to add a command button to the spreadsheet and when I press it it will populate cell A2 (or whatever cell is clicked on) with 9:00am and then put 5:00pm into the cell next to that cell, so in this case it is B2.Therefore cell A2 will = 9:00am and B2 will = 5:00pm in this example.Any help will be appreciated.Thanks in advance.

Website In Vb
Hey guys, I want to have a vb program with 1 textbox and 1 command button. The Textbox I want pointed The search box on and when I hit the command button on the program I want it to search. Without seeing google or anything how would I connect VB to Website textboxes and buttons?

Execute A Command Button In Excel Via VB
I'm sure this is simple, but I just can't find anything on it.Another designer produced an excel sheet for data and put some code behind a button on that sheet to generate queries.Rather than port all the code into vb I'd rather leave the file and simply execute it through the vb app.So, can anyone tell me how I might execute a command button ("cmdCreate_Click") on an excel sheet in visual basic.Many Thanks

Vb Form To Website
hey,i had created a form in v.b. and now want to put this form tomy website..will any body plz hlp for this ...thanks in advancemadhu

I Need Help Posting To A Website Form With VB
hi all, i am building a program that sends the contents of a text file to to validate the html. my question is, how do i get the contents of the text file to be submitted to the w3 page within a POST function. i have tried to add the string in the URL( HERE), but an error is raised, and it does not check the page. I have looked at the source code of the page, and it sends all data through post. any and all help will be appreciated very much. thanks!

Post XML To A Website Using Form In VB
I am having a problem posting XML data to a website. This is the code that I am using: xmldata = "C:data.xml" Dim xml As New MSXML2.XMLHTTP Dim doc As New MSXML2.DOMDocument xml.Open "POST", "http://removed url for this post", False doc.Load myXMLdata xml.send (doc.xml) Text2.Text = xml.responseText Set xml = Nothing Set doc = NothingProblem is that the place I am posting to says that they are not receiving my data. Any ideas?

Add Text To A Website Form From A Vb App
hey, i would like to make a login app for this website called zone, it uses passport to log in, i made two textboxes 1 for user and 1 for pass and i made a web browser where the login form its going to be on, i want that when the user clicks on the button login it it puts the user and pass into the login form, this is the url to the log in form:,Jose Rodriguez

To Show In A VB Form Just A Particular Section Of A Website
Dear all,By using "Me.WebBrowser3.Navigate Me.Text4" i will be able to load the entire website content on a form.However, it is beyond my need. i only want a particular section of the website only to be shown. Because, in my work i need to see just the table of the exchange rate. Therefore, my form is designed to be small, with in it 4 small windows (or frames)to show 4 tables of realtime currencies exchange rate (currencies values changing realtime) from 4 different websites. I do that, to check the actual price of EUR-USD. Therefore i need a VB code to automatically show only that table. Could somebody please give tips in this particular aspect, please?Thank you,

Link DB In VB Form
I m updating table of one instance in Oracle with the data of another table in another instance using link I m able to to do it in Oracle i need to the same using VB form how do i do that. link is not workin in VB 6.0 its giving Run time error 91 Object Variable or with blockvariable no set...

VB Interface To Website...
A friend wanted me to find information on making a visual interface to his website (like, access the site from an exe). Since he made the website himself(, I assume it wouldnt be that hard to structure the app for grabbing information from the site, and sending it to the site.(although from vb6)Does anyone have any information on doing something like this?Thanks in advance, rkinasz

Just A Newbie, Trying To Link A Vb Interface To Ms Access
Can anyone point me in the right direction for some code that I can read to figure this out. I have my interface created in vb and I just want to be able to input a record in my textbox and have it add itself into a table i created in access. Here are my object names in vbtxtUserNamecmdAddI have toyed around with a bunch of code under the cmdAdd command button but to no avail.My table in access is calledtblUserand the field is calledU_nameI have named the database username.mdbany help is appreciated guys, thanks.

Adding Link To SWF Files In VB
As you can tell, I am somewhat of a noobie to Visual Basic. I have completed some very basic programs, and would like to enhance my understanding of VB.I currently have a swf file in my Visual Basic 6.0 Project. It's called xWin, and loads like this:Private Sub Form_Load() xWin.Movie = App.Path & "ad.swf" xWin.PlayEnd SubHow can I make this file load an html page when it is clicked? I've tried this:Private Sub xWin_Click() ShellExecute Me.hwnd, "Open", "", vbNullString, vbNullString, 1End Subbut that doesn't work. I've also tried decompiling it with several programs, and adding links through the swf that way, but it still doesn't work.Also, is there anyway to make this exe all-in-one, and embed the swf Flash files in the exe? That would make my program a lot easier for user's, since it would only contain one file.Thanks - and you have a great site!

Adding Link To SWF Files In VB
As you can tell, I am somewhat of a noobie to Visual Basic. I have completed some very basic programs, and would like to enhance my understanding of VB.I currently have a swf file in my Visual Basic 6.0 Project. It's called xWin, and loads like this:Private Sub Form_Load() xWin.Movie = App.Path & "ad.swf" xWin.PlayEnd SubHow can I make this file load an html page when it is clicked? I've tried this:Private Sub xWin_Click() ShellExecute Me.hwnd, "Open", "", vbNullString, vbNullString, 1End Subbut that doesn't work. I've also tried decompiling it with several programs, and adding links through the swf that way, but it still doesn't work.Also, is there anyway to make this exe all-in-one, and embed the swf Flash files in the exe? That would make my program a lot easier for user's, since it would only contain one file.Thanks - and you have a great site!

JSON.Net VB Deserialize Not Working?
I'm new to VB and trying to write a webservice that exports and imports JSON.I'm using JSON.NET 3.5 and can serialize fine: My Token class is: <DataContract()> _ Public Class Token [code].....

Update Queries In VB?
i have a form which once the user has entered their correct Account No they will access the jobs relating to their number. I now need to use and update query so that once I select yes in the Query handled box, after clicking the update button, this row will then be deleted from the table. Here is the code that I have so far: Public Class Form1 Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click End Sub [code]....

Read JSON In VB 2010?
How to read JSON in Visual basic 2010?

Moving HTML Into VB?
I am creating a website using dreamweaver (html page), but I want to add dynamicity to the page by using ASP.NET. I want to add the shopping cart and a database. For now it's a static website. Is there a way to import or modify the html (from dreamweaver) into the Visual Studio 2008 to make it dynamic?

Forms Data Controls :: Searching For Code In VB That Mimics
I have a database which is being used to fill in fields in a paged formview.  I'm only intersted in looking at the data.  So far, using only I've been able to add data to a label using the <%# Eval("") %> command. I would like to be able to use the same type of command in my .vb code.

How To Pass ID To A Function Or Sub
I have on my aspx page a lots of controls that have runat = "server" on<div id="mydiv1" runat="server"/>In the code behind I want to pass this ID to a function or sub ?like Private sub mycode(mydiv as ???) end subSo i would do this : mycode(Me.mydiv1)HOws this done ? NOTE: I have posted three times, and the other two never got into the forum !

Intellisense For SQL Queries In VB.NET?
I've added a database to one of my projects and I'm wondering how I can get intellisense for them. Basically I have no how I can query the database that I've added to the project. I know SQL fairly well, but I don't know how I can write queries within and have them display. I can get, so intellisense will probably be invaluable.

Running SQL Queries In VB.NET?
I've created a database and I would like to write a query that uses variables from my application and perform calculations on the resulting data. I'm able to display the results of a simple query within a single table in a listbox, but I'm having trouble figuring out how to attach a sql command to a button press that queries multiple tables. Once I've been pointed in the right direction for how I can do this, I should be able to figure the sql bit out myself.

How To Update Particular Column Values Of Gridview On Specific Dates Using
I have column in database ID From To s1from s2to s2price fare 1 Delhi Manali 17-Dec-2010 19-Dec-2010 $900 $600 2 USA Canada 18-Dec-2010 20-Dec-2010 $500 $800 3 Newyork salinas 19-Dec-2010 22-Dec-2010 $760 $1000 I want when any user search For: Delhi to Manali on between 17-Dec-2010 to 19-Dec-2010 then the price would be automatically changes to $900 in gridview else the default price wold be displayed in fare is $600 if he search for DelHi to Manali after 19-Dec-2010. I m confused how to implement this logic ... using ...

Difference Between And
What is the  difference between and ? I faced this question in an interview. Any technical difference is there ? I heard that there are two methods additional in which are not there in

MVC ::difference Between C# And VB.NET?
I am in the process of learning MVC, and thought I would parallel the work in both C# and VB.NET.  I ran into a snag when right-clicking in an action method inside of a controller to add a view - in C# if I choose to strongly type the view it includes all the objects in the models folder in the drop-down list for selection; however, in VB.NET none of the models are available in the list.  Is there some step I need to take in order to make the models objects available in the drop down for selection?

Finding Difference With
Difference between and Is it not the same... I feel that in we can do our coding using this language VB,C#,etc. Am I right or not..... or Both are different. Explain me with some sample code for and,

How To Design Layout Of Website In Vb 2008
how is it when vb 2005 we are able to create layout by inserting how do i create a layout template for my website?

Localization :: Multilingual In VB.NET?
I need a sample project for Globalization (multilingual) developed in VB.NET (2008).

VB.Net Versus C Sharp
which is the better language in terms of coding, proficieny if we compare between VB.Net and C Sharp.

Web Forms :: Passing Multiple Parameters To Function
Im wonding what the correct syntax is to pass 2 parameters from a Ascx control into a function? Heres what I currently have: <asp:Literal ID="CommentFooterLiteral1" Visible='<%# Eval("Approved") Or IsModerator() %>' Text='<%# FormatFooter(Eval("Anonymous"), Eval("DisplayName"), Eval("CreatedDate")) &#43; " " &#43; GetModeratorStatus(Eval("UserId")) %>' runat="server" /> The Function "FormatFooter", needs to pass in Anonymous and DisplayName parameters. Anyone know the correct syntax for doing this?

C# - Comparing Nullable DateTime's In
I am a c#/ developer and I am having to work on a VB/ I started out with VB.NET but after years away from it I'm getting confused with the syntax. I have two variables Dim originalDate as DateTime? Dim newDate as DateTime? Both nullable datetimes, originalDate is a nullable date I am getting from the database and newDate time is set in code, I need to compare them, they can either both have dates, neither have dates or one have and one not. I have a bit of code as follows: if origEndDate = origEndDate then When both origEndDate and origEndDate are "nothing" this statement is false (well when I run it in the watch window it comes back as nothing)! I don't understand why this is the case because I was under the impression doing an "=" compares the two values and as they are the same surely it should be true? What syntax should I be using as in C# I can do the above as so: if (origEndDate == origEndDate) { } and it will come back as true.

Create A Arraylist In Vba Which Is Somehow Like Vb/c#/java Arraylist
I need to create a arraylist in vba which is somehow like vb/c#/java arraylist... it mus be able to store... have dynamic size... do anyone know how to create it? i tried doing it... but it just don't work.

.net - Create An Multidimensional Array In VB.NET?
I have a data set that is setup for comments. I have levels and a sort column but now I would like to either get this in an array or display it somehow in a meaningful way: id comment ParentidLevelsortcol 2 Test NULL 00x00000002 4 This is the Second NULL 00x00000004 5 First Reply 4 10x000000040005 7 Reply to first reply5 20x0000000400050007 6 Second Reply 4 10x000000040006 8 Reply to second comment4 10x000000040008 How do I get this into an array in PHP or (I don't have a preference and use both regularly). I want an array that looks like this (I am just specifying the ids: array([0] [id]=>2 [1] [id]=>4 [Code].... The data is a SQL result.

Consume Login Soap Webservice To
here is my client code for soap-client <?php   $uname = $_REQUEST['user']; $passw = $_REQUEST['pass'];            $client = new SoapClient("");  echo $client->Login($uname,$passw);     ?> [code]........

Simulating PrintScreen I VB
If you want to copy a screen window to the Clipboard, you can press the PrintScreen-key. But how to do it by automation by a VB command. There is no scancode, but perhaps another method. I want to transfer a screen image to for instance a document in Word.

How To Abort Parsing In SAX Using VB ?
Hello All, Can anyone of you send me the codesnippet of aborting parsing using SAX in Visual Basic 6.0.Thanks in advance,Gopi

Can VB Ignore Chr$(13) TAB
i have a program i wrote that saves a html file as html then reads it into a textbox. problem is there are so many tabs its almost imposible to read can i make vb now listen for and totally ignore the tab key so this wont happeni triedhtmlcode = Replace(htmlcode, Chr$(13),"")htmlcode = Replace(htmlcode, Chr$(13),Chr$(8))htmlcode = Replace(htmlcode, Chr$(13),Chr$(8) & Chr$(8))but all of these functions still leave tab boxes in the text field sortof like a "|"but widerALL take up way too much processing power and are hugely inefficientany ideas

Calendar Control Dates Not Visible In VB
I am not able to find out the actual reason as I have installed a setup built in VB on Windows98 Machine and after sometime I have replaced the exe file with a upgraded file but after sometime the Calendar control Used in VB suddenly stopped showing the dates. It is showing the buttons but now showing the dates I have tried on 5 locations but the error is same, Can Somebody help me out I am in a soup

Running VB As A Service?
Hello Again,I am looking for input on running Visual Basic as a service. I have done some research on this and I found a microsoft page that gives a control (NTSRV.OCX) to use for this. But it basically says microsoft does not reccomend running Visual Basic as a service even with Ntsrv.ocx.The Article is Below:;Q175948& There so many advantages to running an operations type application as a service. I am still tempted to try it anyway.Does anyone have experience with running Visual Basic as a service? Did you use nstrv? What is your experience with running Visual Basic as a service?Thanks,Beth Barja

VB EXE Running As A Service
Help,I have a vb application which will run on an NT 2000 server, the app runs 24/7 and polls several directories for csv file coming in and then processes then (upload to a database). I need to run the app as a service and not just kick it off on the desktop but I have read on the microsoft site that you can not run a vb exe as a service. Does anyone know how I can run my vb app as a service.Thanks for your help,Chris

Running VB As A Service
Can VB be run as a service ( possibly with a tray icon )if so would I just set it up as a module and no formany help would be greatThanks