comp.lang.basic.visual.misc http://groups-beta.google.com/group/comp.lang.basic.visual.misc
Today's most active topics: * just stariting to learn newbie poster please be gentle - 8 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/359c0e5a3f9fbb2b * Move files to folders - 8 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/91a5c38d05c32e81 * Programmatically enable/disable screensaver password - 8 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/85d0fb4f61a62f6f * Stand-alone executable? - 6 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/57947a3f97c8b43b * Procedures zero out - 5 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/80dbe995d9c6dbc0 Active Topics ============= Using MS Word's spell checking facility from an app - all new ---------------------------------- ... I'm not sure about the range error. I did see one Excel app where the text length of a range specifier could not exceed 255 chars, but it doesn't seem like the same thing here. You can use the Word application to directly check the spelling of a word, without putting it in a document or range: if AppWord.CheckSpelling("necesary") then ... It seems like using it that way might work better for your large list of words. ... - Sun, Oct 10 2004 10:43 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/dc54c726e7300ba8 Graphic manipulation - 2 new ---------------------------------- ... If you have ever wondered why the Windows API is so elaborate about getting pixels of an image, now you know. API code and VB code written around the standard 24 bit color scheme continues to work regardless of the actual display settings. Windows does all of the translating back and forth for you. To you the programmer, it is still a 24 bit color bitmap. ... - Sun, Oct 10 2004 10:50 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/93a32a36e01772aa just stariting to learn newbie poster please be gentle - 8 new ---------------------------------- On Sun, 10 Oct 2004 13:38:22 -0400, "Ray Villeneuve" ... Actually, it should be fairly simple in Powerpoint; just set up your layout as blank images (I think you can do that...) then populate the images at runtime (such as it is; "runtime" in PPT isn't the same as "runtime" in your own app). Ask in one of these groups: news:microsoft.public.office.developer.vba news: microsoft.public.powerpoint ... - Sun, Oct 10 2004 12:49 pm 8 messages, 7 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/359c0e5a3f9fbb2b Move files to folders - 8 new ---------------------------------- Hi, I need to move a bunch of files to a folder with the same name as the files. So file is 574.pdf, if the folder doesn't exist, create folder 574 then move the pdf to the folder. If the folder exists, just move the file. I don't really how to do this. I've tried taking code that is similar and changing it but I've not had any luck. Do I need to put the file names and folder names in an array and the compare names? I've tried something like this: ... Any help would be appreciated. Thanks ... - Sun, Oct 10 2004 1:09 pm 8 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/91a5c38d05c32e81 open a jpg/gif crop and rotate and save in VB - 2 new ---------------------------------- Looking to knock up a little bit of VB to open a Jpg or Gif allow me to crop it by clicking twice, once for top left, once for bottom right, two buttons to rotate left or right by 90 degrees and a done button that saves over the original file. Anyone care to assist??? Thanks! ... - Sun, Oct 10 2004 3:49 pm 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/3c8bd1f3c4b867a4 Need to read what programs are in the System Tray? - all new ---------------------------------- Ref VB6, needing some way to read what programs are in the system tray. Any code samples how to do this, would help me very much. Thanks! jt ... - Sun, Oct 10 2004 5:29 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/549d00fe450c8311 R6025 - pure virtual function call - all new ---------------------------------- Dear all , ... capatured by error handling . This error just sometimes happens , but it only happens in one procedure . I am using a third party control called SharpGrid 2.0 , it is called in the procedure. I don't know why? Could anyone help me? Thanks in advance Stanley ... - Sun, Oct 10 2004 9:04 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/3da0f4c14c639859 Image processing in VB - all new ---------------------------------- Hi, I am new to graphic programming in VB. I want to know how to handle image processing tasks in imageStudio and VB. Specifically, I want to change the color of a bitmap by changing the pixel values one by one. For example, I want to apply Fourier transforms to an image and save it, but I'm unsure of all the steps involved in doing this. Any help or code sample would be grately appreciated! Thanks, Kaushalya ... - Sun, Oct 10 2004 10:09 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/71226b2498442a72 A program without a form? - 2 new ---------------------------------- Thanks Steve, It is indeed wise to keep the form and the buttons for errorchecking. I'm going to experiment a bit with the timerfunction and search the history for your posts. Ta, Jacqueline ... ... - Mon, Oct 11 2004 2:58 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/3e5604c3d09a4ec9 How to make a working Scrollbar in a Label? - all new ---------------------------------- ... EXACTLY How I wanted it!!! Thank you very much :) ... - Mon, Oct 11 2004 3:33 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/c7c1ba9f63f0acd0 Using MSHTML - 3 new ---------------------------------- I suppose this has been asked a fair bit, but after much searching I am now thoroughly confused:) What I want to do is progmatically fill in text fields ( and the odd dropdown) on a web page. I can open an instance of IE and have it navigate to the required page but then I am stuck. ... Public WithEvents myExplorer As SHDocVw.InternetExplorer Public myDoc As HTMLDocument Const myURL = "www.where_ever.com" Private Sub explorer_DocumentComplete(ByVal pDisp As Object, URL As Variant) Set myDoc = myExplorer.document... - Mon, Oct 11 2004 6:54 am 3 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/89786d048a7b7cca DataGrid Button disappears at runtime - all new ---------------------------------- Hi Group, Please help. I have a DataGrid with a button in colum 0 (DataGrid Property Page | Layout Section | Button Checkbox ticked). This button apperars in design mode but doesn't show in run mode. It re-appears, however, once a field in colum 0 is clicked. Any ideas? Thanks in advance Klaus Please reply to the group. e-mail address not valid (spam-shy) ... - Mon, Oct 11 2004 10:04 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/b48e2a6382ff8f39 height of RTF-text - 2 new ---------------------------------- Hello, To find out the height of an RTF-text I used the following code: Public Const WM_USER = &H400 Public Const EM_POSFROMCHAR = (WM_USER + 38) Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal _ hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long dim result as long dim x as long dim y as long result = SendMessage(rtb 1.hwnd, EM_POSFROMCHAR, rtb1.SelStart, 0) 'position of last character result = result - SendMessage(rtb1.hwnd, EM_POSFROMCHAR, 0, 0) 'position of ... - Mon, Oct 11 2004 10:14 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/e3e05f1584f6ea49 LogonUser with executing a batch script via cmd.exe - all new ---------------------------------- ... Virtual drives (made by Net use) are stored in Registry under HKEY_ CURRENT_USER. When your code runs there is no such hive loaded as SYSTEM doesn't have one and the API's you specify doesn't load one. Anyway.. to give permission to network drives to a specific user you a) need the users account credentials and b) need to store the account etc in his/her Registry hive. Thus i can't see the point in your excersise - why not just use a logon script, a shortcut in All Users\... Startup or a command line under Run in HKLM ?... - Mon, Oct 11 2004 10:01 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/db91be7100aa1412 Programmatically enable/disable screensaver password - 8 new ---------------------------------- I have a computer system that, during work hours, I don't want it to password- protect when it goes into screensaver mode. However, I would like to schedule a VB utility to run that will enable the screensaver password at certain times and disable it at other times. Using Windows 2000 Server. Any advice would be helpful. PS - I always want the screensaver enabled, just the password protection to be switched. -Atreju- ... - Mon, Oct 11 2004 8:04 am 8 messages, 5 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/85d0fb4f61a62f6f RaiseEvent Question - 2 new ---------------------------------- ... uh... ... - Mon, Oct 11 2004 1:56 pm 2 messages, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/eeef995b09217bdd GetIfTable - all new ---------------------------------- thanks! "Randy Birch" escribió en el mensaje news:lfKdndbTBd0LkvXcRVn-uQ@ rogers.com... ... ... - Mon, Oct 11 2004 1:03 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/abe594c353e09395 picture size - 2 new ---------------------------------- ... ... Try this: Picture1.AutoSize = True Picture1.Picture = LoadPicture("c: \mypic.jpg") Mike ... - Tues, Oct 12 2004 1:55 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/ce980feabdcf6b0a Connection Failed? - 4 new ---------------------------------- Hi All, I have build a recordset in ADODB selecting multiple fields from multiple tables. This is working fine. But now I tried to add a field to this recordset and I get an error message saying Connection Failed. Does anyone know what is causing this problem? Regards Marco The Netherlands ... - Tues, Oct 12 2004 12:56 am 4 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/d69361fe29932086 Cannot get to my PWS from the Internet - all new ---------------------------------- ... PortMapper provides a simple solution... Simply run it on the computer with the internet connection and configure it to forward port 80 (or whatever you're using) to the other machine. HTH ... - Tues, Oct 12 2004 4:35 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/616c765e9c2fd33e Listview with Combo - 3 new ---------------------------------- Hi Guys, I've posted this here before and I'm sorry for being such a dufe! but I've lost it. There is an ocx that incorporates combo boxes onto a listview. Anyone got any ideas where I can find it again!!. Cheers, Gavin. . .. - Tues, Oct 12 2004 6:10 am 3 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/41e02f1b03607461 Procedures zero out - 5 new ---------------------------------- Well, I mis a close-statement after Open "c:\type\320_file_input.txt" For Input As #1 HE "jay" schreef in bericht news:[EMAIL PROTECTED] northropgrumman.com... ... ... - Tues, Oct 12 2004 10:48 am 5 messages, 4 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/80dbe995d9c6dbc0 Couple of VC++ questions regarding dlls and VB6 - newbie questions - 3 new ---------------------------------- 1) Am I able to do this long __stdcall TestResult(long SelectNum,char* sTime) inside c++ dll as one of my dll functions without a memory leak I pass a VB string variable for sTime. Will this work? 2)Do I need to delete or free existing memory from a dll function if I do how do I do this? 3) I use char buffer[256] to retrieve info from an ini file Do I have to free or delete this? I tried delete [] buffer; but this doesn't seem right 4)DO I need to delete or free a CString after I am done with it? If so how?... - Tues, Oct 12 2004 1:02 pm 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/5e40b6dbc0287569 Arrrrgh! Please help me sort this out - all new ---------------------------------- In article , ... Well, I went with value ranges in my version. And I was lazy, as I figured modifying this to a form and cleaning up the output could be left as an exercise for the reader(s): - BEGIN ATTEMPT - Option Explicit: DefObj A- Z ' Using globals is evil, but this is for quick and dirty purposes. ' The binary string must have a value of at least giMinimum. Public giMinimum As Integer ' The binary string must have a value of at most giMaximum. Public giMaximum As Integer... - Tues, Oct 12 2004 12:40 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/d76f0ec141fc8614 Stand-alone executable? - 6 new ---------------------------------- I need to be able to deliver a configuration utility for our product that is written in VB, but that does not have to be installed. I don't require that it be a single file; I can put all the necessary DLLs, etc., on the CD. Is this possible to do? Is the process an established one (surely it must be)? Thanks in advance. ... - Tues, Oct 12 2004 5:33 pm 6 messages, 5 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/57947a3f97c8b43b Visual Basic Shell Programming by J. P. Hamilton - still relevant?? - 2 new ---------------------------------- I just picked up this book and I think it looks extremely interesting, but it is a little dated. It is pre .net and also mentions IE 5 as not supporting some functionality from IE4. Does anyone know if the topics covered in the book are still supported in IE6? Also, if anyone is using software created from the examples in the book, are some of the new Security Updates to windows going to present problems in deploying software that uses Shell Extensions? To me, this seems like a real possibility, so if someone knows the issues I'd.. . - Tues, Oct 12 2004 10:24 pm 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/623419c7dcc920a2 Opening folder - 2 new ---------------------------------- Hello, I want to open a folder in my program. I'm using VB 6.0. Is anyone knows how to do that? Thanks for help regards, arek ... - Wed, Oct 13 2004 7:29 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/897654f62ae39cb6 VB script - 2 new ---------------------------------- This is a VB group. You might want to try the groups: microsoft.public. scripting.vbscript microsoft.public.scripting.wsh VBS is very forgiving to sloppy syntax. It will accept either + or & as a concatenation operator, even though & is standard. Although all variables are variants, a return from an InputBox function is a string subtype. So you're asking VBS to do "2" + "2", which is "22" You can change the variable (subtype) with conversion functions. You should be able to use: If IsNumeric(In1) and IsNumeric(In2) then... - Wed, Oct 13 2004 5:54 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/3e3781bedccd2e19 VBA programmer wanting to move to VB - which one? - 2 new ---------------------------------- Hi, I'm after some general advice please. I'm an experienced VBA programmer, which due to VBA limitations, needs reach below the VBA programming level to Windows API. I've used VB6 in the past and found it fairly straight forward. Is VB6 still available to buy (where)? or should I be looking at VB.Net? I'm confident I could use VB6 but am unsure about VB.Net - how different is it? can I use existing VBA and VB6 code in VB.Net ? Thank you Jules ... - Wed, Oct 13 2004 2:26 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/42b6c716280f2a56 ip adresses - all new ---------------------------------- Yes there are many ways of doing this. Have a look at www.vbip.com. It gives you lots of good code samples about internet and network programming in VB. Gavin. ... ... - Wed, Oct 13 2004 6:53 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/6863eddbe7b5eb6c Subject: TCP Socket VB.NET - 2 new ---------------------------------- Hi, im using VB.NET 2003 and I keep Getting a "bad Filename or number" error when trying to write data to disk which is returned from a remote server. The data returned is a byte array and im opening the file for write in binary mode. I can write to disk when using the mswinsock ocx from vb6. any help you can give would be recieved with thanks. I can post the code if you need more information. Thanks in advance. Sry if this is in the wrong place... ... - Wed, Oct 13 2004 4:20 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/c208e02ac4ae679b ADODB - all new ---------------------------------- Hi Guys, I need my app to send via winsock the record number of the record selected. The ID (autonumber) isn't correct because of delete records. Is there a property in ADODB Recordset that returns the record number? Gavin .. . - Wed, Oct 13 2004 6:51 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/7e52be53c076449 Generic handler for different forms events - 3 new ---------------------------------- Hi, I wanted to pass values to, and, raise events from, a form. To handle the events raised by my form, I declared a variable of the object's class using the WithEvents keyword (see below). ' In parent form declarations Private WithEvents frm As frmChild Private Command1_Click() ' create instance of child form and set a property Set frm = New frmChild frm.SomeProperty = intSomeValue frm.Show End Sub Private Sub frm_SomeEvent(intValue As Integer) ' do something in response to event End Sub ' In child form declarations... - Wed, Oct 13 2004 8:09 am 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/75bbc6ad484f5fce ======================================================================= 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
