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 Chriss Miller 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: *

  • Users: LPlates
  • Content: Threads
  • Order by date
  1. LPlates

    WindProc

    Im SubClassing the App to intercept windows messages... lngOriginal_Window_Procedure = SetWindowLong(Handle, GWL_WNDPROC, AddressOf WindowProc) The SendMessage API 'lParam' is declared as Any, however when using the WindProc Procedure it is declared as Long.. Public Function...
  2. LPlates

    WebBrowser Question

    If I place my mouse over a link in the WebBrowser Control and right click on the page I can select 'Open in new window' I can prevent this occuring with... Private Sub WB1_NewWindow2(ppDisp As Object, Cancel As Boolean) Cancel = True End Sub What I am trying to do is obtain the URL that the...
  3. LPlates

    Update FlexGrid Without TextBox Or Similar

    I found this on the www.web and tweaked it a little. After seeing many discussions on this I thought I'd share it with you. Open a new project, add a MSHFlexgrid Control and the following code... Option Explicit Private Declare Function LockWindowUpdate Lib "user32" (ByVal...
  4. LPlates

    VB Demo

    Anyone know where I can download a demo sql server app in visual basic? Thanks.
  5. LPlates

    Installation help

    I read the reame and it says.. 3.4 Install MSDE 2000 Release A Run Desktop Engine Setup.exe to install MSDE 2000 Release A. I click the setup.exe and i get a msgbox saying... >A strong SA password is required for security reasons. >Please use SAPWD switch to supply the same. Refer to the...
  6. LPlates

    Installation help

    I read the reame and it says.. 3.4 Install MSDE 2000 Release A Run Desktop Engine Setup.exe to install MSDE 2000 Release A. I click the setup.exe and i get a msgbox saying... >A strong SA password is required for security reasons. >Please use SAPWD switch to supply the same. Refer to the...
  7. LPlates

    Draw PictureBox

    Ive searched everywhere, Im trying to draw a picturebox using API, something like this listbox... list1 = CreateWindow("ListBox",NULL,WS_CHILD | WS_VISIBLE | WS_VSCROLL | LBS_NOTIFY,5,130,140,100,hwnd,(HMENU)ID_LIST1,g_hInst,0); I would define something similar to ID_LIST1, say...
  8. LPlates

    Create PictureBox using win32API

    How do I create a PictureBox using win32API like the ListBox below? list1 = CreateWindow("ListBox",NULL,WS_CHILD | WS_VISIBLE | WS_VSCROLL | LBS_NOTIFY,5,130,140,100,hwnd,(HMENU)ID_LIST1,g_hInst,0); HWND pHwnd; pHwnd = createwindow?
  9. LPlates

    Display Icon in Favourites list

    Can anyone tell me how to make a 'Custom Icon' appear with your link when a user add's your url to their Favourites list instead of the standard html icon?
  10. LPlates

    Get HWND of previously running app.

    How can i get the HWND from the previously running app? I can call a function to find out if there is a prevoius instance of my app. running but Im trying to find the HWND of that previous instance, any ideas? From the hPreviousInstance ? int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE...
  11. LPlates

    SaveText: error C2440: '=' : cannot convert from 'void *' to 'char *'

    Im using this function to save text but I get an error when allocating the size of the char... LPSTR pszText (It worked fine in a different project??) I know this is basic, Im new to c++ Thanks in advance for the help, I will respond to your reply(s). BOOL SaveTextFileFromEdit(HWND edit...
  12. LPlates

    Whats wrong with this beginner code?

    #include <iostream.h> void multiply(int &number, int &numberTwo); //Prototype int main() { int a,b; long int answer; cout<<&quot;Enter two numbers separated by spaces: &quot;; cin>>a>>b; answer=multiply(a,b); //&quot;answer&quot; gets the return from the second variable as its value...
  13. LPlates

    Changing SSTab Selected tab

    I want to be able to view a certain tab using the SSTab control, for example after I load text into a textbox I want to be able to tab to the corresponding tab to view the text. Thankyou in advance.
  14. LPlates

    Changing Tab Control Selected Tab

    I add a tab to the Tabcontrol... Tab1.Tabs.Add Index, Key, Caption How do I select the new tab to show the contents of the tab(without clicking on it)? Thanks in advance!

Part and Inventory Search

Back
Top