Search:

Type: Posts; User: Jerry Grant

Page 1 of 13 1 2 3 4

Search: Search took 0.52 seconds.

  1. Replies
    8
    Views
    1,257

    Have you remembered to put server executable code...

    Have you remembered to put server executable code between '<%' and '%>' ?
  2. Thread: Api

    by Jerry Grant
    Replies
    2
    Views
    461

    No you cannot directly use API calls though ASP....

    No you cannot directly use API calls though ASP.

    But, if you create a VB DLL (ActiveX DLL) then you can use API calls in this. Then use Server.CreateObject("myDLLName.myClassName") to access the...
  3. See the example attached: It contains a form...

    See the example attached: It contains a form frmGetFolder which calls the clsFolder class I imported into Access from VB.
  4. Replies
    1
    Views
    596

    Redesign your page to sit in a table and put the...

    Redesign your page to sit in a table and put the iframe in a fixed cell at the bottom. Ensure the top cell is always 100%:


    <table style='height:100%; Width:100%'>
    <tr style='height:100%;...
  5. Replies
    1
    Views
    586

    you mean something like:

    you mean something like:


    <div class='<%=myClassName%>'>Hello World</div>

    Yeah, that will work............

    Or explain a bit more!
  6. Replies
    2
    Views
    777

    Have you tried removing the spaces after the...

    Have you tried removing the spaces after the onclick & '=':


    <TD align=center><a href="Roles.asp" onclick="newwindow();return false"> Roles</a></TD>
  7. Replies
    4
    Views
    1,026

    See an example to download here...

    See an example to download here
  8. Replies
    1
    Views
    754

    Try something like this: '== Find the...

    Try something like this:


    '== Find the last row in the sheet
    Set LastRow = Sheet1.Range("a65536").End(xlUp)
  9. Replies
    7
    Views
    958

    The main reason for a splash screen is to display...

    The main reason for a splash screen is to display something to avoid the long wait while the main form loads into memory, dlls are created, database connections are made etc.

    If you don't do this...
  10. Replies
    4
    Views
    576

    OR, Use command lines with VB! Write a...

    OR,

    Use command lines with VB!

    Write a batchfile as follows:

    REM=== compile an EXE
    C:\Program Files\Microsoft Visual Studio\VB\VB6.exe /make C:\MyProject1\myProject1.vbp

    REM=== compile a...
  11. Replies
    7
    Views
    958

    Try the DoEvents function, to allow the screen to...

    Try the DoEvents function, to allow the screen to refresh!

    Dim x as Double
    Dim y as Double
    frmSpash.Show
    DoEvents
    For x = 1 to 100000 'this is just used to simulate a process
    y = x +123
    Next...
  12. Replies
    2
    Views
    935

    If you want to send text to a picture box use ...

    If you want to send text to a picture box use

    Picture1.Print "Hello World"

    If you use a command button, with a graphical style, then by ommiting the image will allow the text to be centralised....
  13. Thread: Check this

    by Jerry Grant
    Replies
    12
    Views
    1,947

    When you compiled the original report, I assume...

    When you compiled the original report, I assume that you used an ODBC DSN?

    If so, does this ODBC DSN exist on the client computer?

    Secondly, if the two machines used different databases, then...
  14. Use something like this: Public Function...

    Use something like this:

    Public Function IsBounded(vArray As Variant) As Boolean
    On Error Resume Next
    IsBounded = IsNumeric(UBound(vArray))
    End Function
  15. Replies
    9
    Views
    1,463

    No a Palm or Pocket PC runs a very lite version...

    No a Palm or Pocket PC runs a very lite version of Windows (Windows CE) This does not support PC applications, but....

    You can but EVB (eMbedded Visual Basic) to create applications in VB which...
  16. Replies
    2
    Views
    642

    You need to write a 'Proxy' application to run on...

    You need to write a 'Proxy' application to run on the client, which compares versions installed on the Client and on the Server, and downloads new versions, registering DLLs and OCXs automatically,...
  17. Replies
    2
    Views
    607

    Why don't you write the toolbar to reserve an...

    Why don't you write the toolbar to reserve an area of screen (like the MSOffice shortcut bar).
    By doing this, you are assured that other applications cannot use this area of the desktop. Use the...
  18. Replies
    6
    Views
    918

    I changed the font for the picturebox to courier...

    I changed the font for the picturebox to courier new:

    Dim Pincr(2) As Long
    Dim Tincr(2) As Long
    Dim Vaincr(2) As Long
    Dim IRTab, PRTab, TRTab, VRTab As Integer
    Dim strI, strP, strT,...
  19. Thread: Cdonts

    by Jerry Grant
    Replies
    5
    Views
    916

    If you want to send from someone elses mail...

    If you want to send from someone elses mail server, then you will have to connect and send SMTP mail, not CDONT mail.

    You will also have to have a known account on the SMTP server and pass your...
  20. Replies
    5
    Views
    930

    You have to set the allow transparenct attribute:...

    You have to set the allow transparenct attribute:


    <iframe name="Display" allowTransparency>

    When the property is set to false, the backgroundColor property of the object can only be that of...
  21. Thread: Popup

    by Jerry Grant
    Replies
    3
    Views
    387

    Or use the following to keep it on top..... ...

    Or use the following to keep it on top.....


    function showmodelesspopup(){
    var vReturn;
    vReturn = showModelessDialog("mypopup.htm",
    "",...
  22. Replies
    3
    Views
    365

    I's a bit nasty, but read up on DCOM, this should...

    I's a bit nasty, but read up on DCOM, this should allow you to access ActiveX behind a firewall, but you will need to specify new ports to be assigned through the firewall for it to work.

    I'd...
  23. Replies
    4
    Views
    449

    Why not set the cols or rows of your frames as...

    Why not set the cols or rows of your frames as percentages, this would allow the frames to be dynamically resized with no Javascript!


    <HTML>
    <HEAD>
    <title>Resize frames</title>
    </HEAD>...
  24. Ok, Read your post again! You mean like three...

    Ok,

    Read your post again! You mean like three <td> tags in a <tr>!

    Well, you could use the <span> tag in place of the inner <div>s
  25. What browser are you using? Looks fine in IE6.0

    What browser are you using?

    Looks fine in IE6.0
  26. Replies
    1
    Views
    437

    Go to the Tools/Options menu item, then select...

    Go to the Tools/Options menu item, then select Text 'Editor/Font And Colors' from the tree in the left pane.
  27. Replies
    8
    Views
    464

    I would suggest you dont send the password as a...

    I would suggest you dont send the password as a URL parameter, as this is exposed to anyone who is looking over the users shoulder.

    Send this as a form control, and fetch with...
  28. Replies
    1
    Views
    406

    Norbert Here is some code from an Outlook...

    Norbert

    Here is some code from an Outlook Form (TB Products) in VBA, this is a form page, which displays data for customers opened in a Public Contact folder. You will have to create the registry...
  29. You need to set the...

    <table cellspacing="0">

    You need to set the cellspacing of your table to 0


    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <title>Test Page</title>
    ...
  30. Replies
    1
    Views
    1,934

    This is just a quick example.... But includes...

    This is just a quick example....

    But includes all the basic objects, elements, attributes, comment, and Processing Instruction. This example could be adapted to include a loop to create multiple...
  31. Replies
    1
    Views
    369

    OK, this is not as simple as it seems! You...

    OK, this is not as simple as it seems!

    You have to use Inspectors, to get the objects, and then assign them as such:

    Dim oForm, oCtl
    ' Sets the name of page on the form (P.2)
    Set oForm...
  32. Replies
    3
    Views
    279

    Do you work for BT punkpie_uk? I assume you...

    Do you work for BT punkpie_uk?

    I assume you have a £10 a month connection with BT
  33. Replies
    2
    Views
    364

    Anyting between the '' will be run on...

    Anyting between the '<%' and '%>' will be run on the IIS server or PWS, so you need to do something in the code that you want delivered to the browser:

    <%@ LANGUAGE="VBSCRIPT" %>
    <HTML>
    <BODY>...
  34. Replies
    6
    Views
    597

    Well, You could try hacking the setup, to get...

    Well,

    You could try hacking the setup, to get a registered version!

    You will have to trawl the net for Cracks,

    WARNING: The VBWorld forums don't really allow this sort of topic to be...
  35. Replies
    5
    Views
    761

    your welcome!

    your welcome!
  36. Replies
    11
    Views
    667

    Why not return as a Recordset from the function!...

    Why not return as a Recordset from the function!

    Public Function F_GetData(ByVal strSQL As String) As ADODB.Recordset
    Dim Temprs As New ADODB.Recordset

    On Error GoTo ErrorHandler
    ...
  37. Replies
    9
    Views
    895

    Re: How can i find file type?

    Can you explain in a bit more detail?
  38. Replies
    5
    Views
    761

    Try Chr(34)!

    Try Chr(34)!
  39. Replies
    6
    Views
    597

    Re: ActiveReports !

    Well if you commit yourself to the purchase, then it's gone!
  40. Error 429 indicates that a COM component cannot...

    Error 429 indicates that a COM component cannot be created. This is usually due to components not correctly registered during install. Check the OCXs and DLLs (ActiveX DLLs) used by your app, and use...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width