Answer Questions
bmaupin Visual Basic for Applications (ExCel)
I'm a novice at macros and need some help. I need a marco that deletes a sheet in an active excel workbook. I recorded a macro, but it requires user intervention (I must click on "delete" in the dialog box that pops up). Recording the macro does not record my clicking in the dialog box. How can I delete the sheet without user intervention Application.DisplayAlerts = False Worksheets("Sheet3" ...Show All
Kijju Populating per like statement
I have a large Access table with words, definitions,... what I have been trying to do for too long is to type a word pattern (p r or t n* ) in a textbox and after a button is depressed to have a datagrid populated with words similiar to what is requested. I have utilized the data source wizard to add the source, added the adapter, binding source and dataset. I have dragged the datagrid into the form. when started it populates. Then i added ...Show All
skinned_knuckles log in with voice
Anyone knows anything about if visual basic can design log in with................ Voice i want it very important please i need this code necessary Microsoft Speech API (SAPI) can do voice recognition. You might do a web searching for that in Google. Its COM based so you can definately use it in VB.Net I havent personally used it but thats the only thing I can recommend and this question had been asked ...Show All
Aequitas Locally link to .aspx page by using vb.net
Hi, May i know how to link to .aspx page locally(without via on-line) by using vb.net. this is my code: Private Sub btnReport_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnReport.Click Process.Start("http://<ip address>/<shared folder>/OfferLetter.aspx") End Sub this is the error message display when i run it: Network Error (tcp_error) ...Show All
Jorge Guerrero [vb 2005 expr] Killing a copy-dir process
Hi. In my VB 2005 express application I make a copy of one remote directory (connected as a net unit) to my local hard disk with this line: My .Computer.FileSystem.CopyDirectory("F:\namedir1", "C:\namedir1", True ) This works inside a backgroundworker thread. When I cancel the thread, the copy still goes on, especially if the source-directory is big (some Gb). I want to stop immediately the copy, how can I do this Is there a way to know ...Show All
Mark Haystead Zipping Files or Compressing them
Does anyone know how I could zip some files through a program, or compress them somehow I am trying to make a program to back things up, and I don't even know where to begin. I use those routines for knowledgeNavigator records. The routines do something that none of the MS examples did. Store a bytecount the first four bytes in the stream this means that you don't have to keep an external count. ...Show All
Igor Grozman Open USB port
I'm developing an application in VB 6.0, where I have to communicate with a device site in a USB port, but I don't know how open, write, read, and close this port in VB. If someone know how do it, or has sample code, I was very gratefull. Thank you very much! Best Regards Here is the info I managed to find on this topic: ---------------------------------------------------------------------- How an application a ...Show All
russian Cannot concanate output from two richtext boxes
Hi pals, I know this may sound stupid but i'm unable to concantenate richtext output from two rich text boxes. For example: Consider two Richtext boxes: R1 and R2 when I type in code: R1.rtf & = R2.rtf R1 appears blank after running the code. I need help please! Thanx DMan1 . Your tip helped me alot although for these past days i was taking a gruelling course in understanding the rtf format very well. Neverthe ...Show All
JelloMiket Error 2004 Out of Memory when compiling VB 4.0 on new computer
I have a new Dell Laptop with Windows XP Professional 40 gig hard drive and 1 Gig of Ram. After loading VB 4.0 Professional on it, when I tried to compile a project, I got the "Error 2004 Out of Memory" message. Works OK on my "Win 98" and "Win XP Home" computers with 256 Meg Memory. What is the Problem I have got the same problem and I think that the problem is because of too muc ...Show All
scotland I Need ASAP: Keyboard input
if i want to make a picture box move left, right, up or down what code do i use thank you both very much so!!! :) ==EDIT== The "move faster" thing dosent work, what i mean is it dosent move when i hold the keys down. well, that solves the case of the holding keys. this calls for a beer. but now i need to know how to get one picture box to now be able to go on another. kind of like collision detection A simple example based ...Show All
sebastian&#42; Readable Variables
where do i declare an integer so that it can be read by all subs and forms ... the best way i have found to do this so far is to have the value flash up on the screen and then go away after being read by another sub You can also add a new module to your project, and make public variables. Module Module1 Public some_global_var As String End Module Public Class Form 1 Protected Number as Int ...Show All
Chris Trobridge explanation of delegates
I'm reading Wrox: Professional VB 2005, and also Microsoft's visual basic 2005 step by step. In March I'll get Microsoft's visual basic 2005 core reference. In the meantime I'd like some detailed explanation of delegates. I can use them but don't really understand why I should. Can somebody give me a reference to some in-depth discussion of delegates dennist685 dynamic behavior asynchronous programming ...Show All
billdeitel Launch URL from Windows Service
Hi all, Anyone knows how I can launch the browser from a Windows service I tried with S ystem.Diagnostics.Process.Start(URL), but it is not working. The code first. Please see my comments below. Public Structure psec Dim sFileSpec As String Dim sCommandModifier As String Dim sRunDirectory As String End Structure Protected Sub CreateProcess( ByRef packet As clsIO.psec ...Show All
rvenu Working with "File Selection" in VB Express
I'm having trouble finding and understanding the proper way to work with selecting files/directories in VB Express. How would I create a string that represents the filenames and/or directory names that are selected from a "WebBrowser" control. (For instance - Viewing a web page (or in this case a local directory), selecting one or more particular files/directories, and having those filenames/directory names display in a Textbox Any ...Show All
shade29450 Print directly to the printer
Dear all...^^. I have a program needs to print directly to a Zebra TLP 2844-Z barcode printer. I tried the codes in http://support.microsoft.com/ scid=kb;EN-US;322090, but an error occurred when i run it, as follows: A call to PInvoke function 'test!test.RawPrinterHelper::OpenPrinter' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling conve ...Show All
