Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. waytech2003

    Combining RewriteRules

    Let me start by saying I know next to nothing about servers and htaccess. I am trying to combine two major site changes by using htaccess. This is so all old bookmarks and Search engine links don't break. First off all the htm and html files have been changed to php. Secondly the website was...
  2. waytech2003

    Detect if scrollbar is visible on multicolumn listbox

    I have a listbox on a form and have the multicolumn set to true. I would like to know if and when the horizontal scrollbar becomes visible when I am adding items to it in code. I can not seem to find an answer to this. Seems to me that there would be property, ScrollbarVisible, to test. Dim...
  3. waytech2003

    BringToFront equivalent when using DrawPath

    Just learning VB2010 after many years in VB6. I was wondering if there is a way to move a System.Drawing.Graphic on top of another after they have been drawn. All I can conclude at this time is that they stay in the order that they are created. I have an array of graphics. My drawing is done...
  4. waytech2003

    BringToFront equivalent when using DrawPath

    Just learning VB2010 after many years in VB6. I was wondering if there is a way to move a System.Drawing.Graphic on top of another after they have been drawn. All I can conclude at this time is that they stay in the order that they are created. I have an array of graphics. My drawing is done...
  5. waytech2003

    AJAX xmlhttp.responseText from php echo

    First off let me say I am new to php and AJAX. I am fairly good in javascript and HTML. I am working on a new project. I have an AJAX XMLHttpRequest sent to a php page, which returns a string via echo. Example of my return responce would be this as the last 2 lines in my php page. echo "TEST"...
  6. waytech2003

    open picture with registored windows editor

    I need to open a picture for Editing (jpg). I have tried this, but it opens a viewer and I want an editor. Any ideas? Public Function OpenDocument(DocumentWithPath As String) As Long OpenDocument = Shell("RUNDLL32.EXE URL.DLL,FileProtocolHandler " & DocumentWithPath, vbNormalFocus) End...
  7. waytech2003

    Load Iframe then print

    I have a problem with printing an Iframe after I load it from code. I want to have the user click on a link or button, to load a page into an Iframe. After it has loaded, I want it to print. The experimental code below will envoke the print feature, but the page has not loaded yet. After you...
  8. waytech2003

    Shell32 XP vs Win7

    In many of my programs, created on an XP SP3 computer using VB6 SP6, I have used "Windows Shell Controls and Automation" to get certain information as seen below. Private Sub Form_Load() With New Shell32.Shell MsgBox .NameSpace(ssfCOMMONAPPDATA).Self.Path End With End Sub When compiled on...
  9. waytech2003

    VS 6 installer Freeze up

    XP SP3 and MS VS Installer 6. I am having trouble trying to create an MSI installer package for one of my applications. 8 months ago I used it on this app with no troubles. I even went back to that older version of my VB6 project and it too has troubles now. I use installer on many programs I...
  10. waytech2003

    Picturebox and PaintPicture

    I have a Picturebox that has a picture (jpg), and a Shape control loaded at design time. My program moves the Shape control around on the picture at runtime. The Picturebox has Autoredraw set to True. (tried False also) I want to print the picture as seen on the screen, and use the following...
  11. waytech2003

    SHFileOperation Archive Bit Flag

    I have been tring to use SHFileOperation to copy files. All is working but I can not seem to find a flag to tell it to only copy files that have their archive bit set. Is there such a thing?
  12. waytech2003

    Tabstrip Tab-Font

    Is there a way, at runtime, to change the FontSize or FontBold, of each individual tab, on a the tabstrip control? I have 5 tabs, and would like to make the font bold if there is valid data pertaining to that tab. I can not see any exposed properties that allow this, but was wondering if there...
  13. waytech2003

    1st, 2nd, 3rd, 4th, 5th ect Day

    I have beeen looking for a function to return the Date as "7th day of November 2009" The Month and Year I can get from Format(Date,"MMMM YYYY") but how can I format the Day as 1st, 2nd, 3rd, 4th, 5th etc. using Format(DATE,"D MMMM YYYY") returns "1 November 2009". How can I add "st", "nd"...
  14. waytech2003

    Find all Label controls in a Frame

    I have 14 Frames on a Form that each contain about 20 Labels. All labels are of a single array Label1(xxx). This can not change because the Lables captions are filled from a database when Form is loaded. I would like to change the background color of the Labels when I mouseover given Frame...
  15. waytech2003

    Upgrade my program using Visual Studio Installer

    Up to now I have been using P&D to make setup.exe and cab files to install programs I have made. Recently I have tried using MS Visual Studio Installer. I create the MSI file and it seems to install correctly on the machines I have tested it on. For test purposes, I compiled my app, and...
  16. waytech2003

    Change a folder Hidden attribute

    Have searched for this but have not found a way for it to be done. I know I can change a File Hidden attribute using SetAttr, but was wondering how to change a Folder Hidden attribute. I need to change the Hidden attribute of an existing folder. Would I use FSO or can it be done using Shell32...
  17. waytech2003

    Missing printer media size choices

    I have 4 XP computers networked to an Oki 6100n color laser printer. Two days ago, one of them developed problems printing. The problem is with the printer setup, which I did not change. In the control panel, "Printer Preference, Media Size" there is only one size in the list. That size is A4...
  18. waytech2003

    use Shell to download file from web

    I know this has been discussed before, but I can not seem to get this to work. I want to download a text file from a sub-directory on a website. I have sample code below. Private Sub Command1_Click() Dim Reply As Variant Dim ftpFolder As Folder: Dim ftpShell As Shell: Set ftpShell = New...
  19. waytech2003

    Writing to frame document errors

    I have a webpage that contain frames. Left sided (Frame1) has menu buttons, right side (Frame2) is where the action occurs. I use Javascript functions that are stored in Frame1, to manipulate Frame2's content. Several of my functions involve writing messages to the right frame document...
  20. waytech2003

    XP pro as VPN server

    I am trying to setup an XP-pro computer as a VPN server so I can connect to it from my home XP-home computer. I have set the Pro computer to allow incoming VPN connections. It is behind a Speedstream 4200 DSL Modum/Router. I have set port forwarding to that computer as follows. TCP PPTP/1723...

Part and Inventory Search

Back
Top