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 wOOdy-Soft 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: vilrbn
  • Content: Threads
  • Order by date
  1. vilrbn

    How to raise a javascript function from another Form ?

    Hello, I use two forms, having each the same two frames. When I go from Form2 to Form1, I check a radio button in Form1 (page_load). This runs a javascript function that makes visible buttons on another frame (EnableBottom). Code behind is working fine, but I don't manage to raise the onclick...
  2. vilrbn

    HTML Radio button doesn't Postback anymore

    Hello, I have two radio buttons defined as follows: <td><INPUT id="rdbGU" runat="server" type="radio" size="20" value="G" name="Type" onclick="EnableBottom()" onserverchange="rdbGU_ServerChange">Global Update</td> <td ><INPUT id="rdbQ" runat="server" type="radio" size="20" value="Q"...
  3. vilrbn

    How to overload Class_initialize() in VB

    Hi, I need to overload the function class_initialize() that means that I need to have a parameter DatabaseName in class_initialize(): class_initialize(DatabaseName as String) so be able to call the instanciation of my object as: set Object = New MyObject(DatabaseName) But I don't succeed to...
  4. vilrbn

    Excuting code-behind, Javascript and going back to code-behind

    Hello, I'm using code-behind (VB code) to search dupe records. In case there are some, I inform the user with a confirm box. If the user clicks on &quot;OK&quot;, I save the record using code-behind. I know how to send a confirm box, get back the confirm result on code-behind side and save...
  5. vilrbn

    Not same events on HTML side and code-behind

    Hello, I want to use an HTML radio button instead of an ASP one. This choice because there are an onclick() and onserverclick() events,I want to call a Javascript function and execute VB code. input id=&quot;rblChoice1&quot; onclick=&quot;showHideTable('Table1','Table2');&quot...
  6. vilrbn

    How to size cells within an HTML table ?

    Hello, I want my application to be resized depending on the screen resolution. I put all my controls in HTML tables with a percentage as width. I tried to put the percentage on the table + cells / fields / row and it never adapt the cells to the values I set. Here is my code: <table...
  7. vilrbn

    Show / Hide two HTML tables

    Hello, I'm using a radio button. Depending on the value, I need to show Tables1 /hide Table2 or vice-versa. The problem is that I only see empty cells. Do I have to also show / hide each row of the tables ? Here is an extract of my code: <script type=&quot;text/javascript&quot;> function...
  8. vilrbn

    Superpose two fields in an HTML table

    I want to superpose two fields in the same cell. One is a textbox, the other one a listbox. <td align=&quot;left&quot; valign=&quot;top&quot;> <asp:textbox id=&quot;txt&quot; runat=&quot;server&quot; Visible=&quot;False&quot;></asp:textbox> <asp:listbox id=&quot;lst&quot...
  9. vilrbn

    Unable to access a remote server

    Hello, I'm opening/saving a file on a remote server (output mode) and got an access denied error. Users have read/write access to this server and can map the drive this file is created. I was wondering if there was something special to set on IIS for this kind of action. Any idea ?
  10. vilrbn

    Passing % char in the URL

    Hello, I send a DB2 query from a main Form to another one within the URL. In the second form the query is associated to a textbox. Here is an example of one part of the query: (Main form) MyString = &quot;WHERE (CDDSGETK NOT LIKE '%AF%' )&quot; Response.Redirect(&quot;Query.aspx?Q=&quot; &...
  11. vilrbn

    How to fire an error with CommandTimeout ?

    Hello, I dynamically build a DB2 query. I want to stop the request to the Database if it takes more than 5 minutes to get back a result. I tried to add a Timeout on the connection and on the command, with no success. It's never poping up an error and I don't know how to do this. Here is my...
  12. vilrbn

    Using a ControlCollection

    Hello, I have a lot of textboxes on a Form and want to create a ControlCollection. Here is my code: Protected WithEvents textBox1 As System.Web.UI.WebControls.TextBox Protected WithEvents textBox2 As System.Web.UI.WebControls.TextBox Protected WithEvents txtCol As System.Web.UI.Control...
  13. vilrbn

    Problem on return Confirm

    Hello, I'm using ASP.NET with VB. I'm filling a datagrid with image files. In case one file is already located on the server, I want to send a confirm message. This message warns the user that the file will be replaced if OK is selected. Otherwise I'm doing nothing. I have an hidden text...
  14. vilrbn

    Can we change the default alert warning graphic ?

    Hello, I just want to change the Exclamation graphic by an Information or Question one (like in msgboxes). Is it possible ? After each update, I send an alert, this Exclamation graphic is received by my users like an error message. I don't want to use a confirm as the msg I send is like...
  15. vilrbn

    Can not find how to decrypt passwords

    Hello, I'm encrypting passwords using the FormsAuthentication Class: Encrypt = FormsAuthentication.HashPasswordForStoringInConfigFile(Password, &quot;SHA1&quot;) I didn't find how to decrypt this password. The Decrypt method seems to be available only if there is a cookie but my users don't...
  16. vilrbn

    File upload unsuccessful for text files

    Hello, I'm using this code to copy binary files to my IIS Server: Dim imgStream As Stream = ImageFile.PostedFile.InputStream Dim imgData(ImageFile.PostedFile.ContentLength) As Byte Dim intFileNameLength As Integer Dim strFileName As String Dim Filename As File...
  17. vilrbn

    Get Confirm result using Code-behind

    Hello, I'm using this code to pop up a confirm msg: lblMsg.Text = &quot;<SCRIPT language = 'javascript'>doSubmit = confirm('Warning: This file already exists !');</script>&quot; I want to get back the result (ok or cancel) on code-behind side. I tried to replace doSubmit with...
  18. vilrbn

    Filecopy problem

    Hello, I got this unusual message on each remote workstation after a FileCopy: Could not find file &quot;D:\Test.txt&quot; System.IO.FileNotFoundException: Could not find file &quot;D:\Test.txt&quot; The problem is occuring on the source file (and not the destination !)... I'm getting it...
  19. vilrbn

    Deployment question

    Hello, To deploy my site, I first have copied all off the files from my localhost to the Production server. Now, I only want to copy the ones I have updated (*.aspx, *.vb, web.config). If I do so, my site is not working properly. I tried to copy the Dlls located under my localhost\bin...
  20. vilrbn

    Using ShowmessageBox with ValidationSummary field

    Hello, I tried to pop up a message box using a ValidationSummary field but didn't manage to. Microsoft doc: ------------- This property can be used in addition to the ShowSummary property to control where the validation summary is displayed. If this property and EnableClientScript are both...

Part and Inventory Search

Back
Top