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 strongm 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. jubble

    Change title bar font

    Can the title bar font for a form be changed at run-time? If the form font is changed then it changes the font of child controls but doesn't change the title bar. Have done quite a bit of trawling on the net for this one and seems it can't be done through .Net managed code but surely there...
  2. jubble

    Cancelling or Rolling Back Installation with Custom Action

    Is anyone aware of how to cancel an installation using a custom action? The only way I can do it at the moment is to throw an exception in the custom action module which causes a pretty ungraceful roll back saying that there is a problem with the Windows Installer package. We need to...
  3. jubble

    Change Directory Permissions

    Is it possible to change directory permissions from VB.Net? (eg Add a user to directory security and give them read access only)
  4. jubble

    Deployment with Win App

    Sorry, didn't make it that clear... All I need is some info on how to deploy the whole project including the Windows application...the communication between the web app and win app is fine. The only idea I can think of at the moment is to install the Web app as a seperate installation and then...
  5. jubble

    Deployment with Win App

    I've got a Web application that at one stage makes a call to a Windows application (using System.Diagnostics.Process class) that does some processing and exports a file. The Web app then picks up the file and processes it. This Windows app needs to be packaged and deployed along with the Web...
  6. jubble

    Change default.aspx

    Thanks Just out of curiosity, 1) is that the only way it can be done...web.config can't be used? 2) how can this change be made during deployment of a Web App?
  7. jubble

    Change default.aspx

    When using Forms Authentication, ASP.Net by default directs the user to 'default.aspx' if there was no original page before the login page. Can we change 'default.aspx' to something else?
  8. jubble

    Cache or Session? (or other)

    Where is the best place to store a user's id and connection string for use between pages, the Cache or the Session object? I'm led to believe that the Cache can be wiped at any time if the memory on the Server is fading...is this correct? I don't want to use query string for the user id as the...
  9. jubble

    VB.Net - how to draw a circle on form and keep it centered

    From a 'good coding practice' OOP point-of-view I suppose it's better to have the math outside the event as you well know but I just knocked it together quickly just for the chance to do some graphics instead of financial number crunching. (...it's getting pretty bad when you jump at the...
  10. jubble

    Runtime error

    put the line... Option Strict On at the top of the page...this will higlight any obvious problems The line... New Bitmap("sunset.jpg") could be the problem for 2 reasons 1) enter the full path of the file eg c:\temp\sunset.jpg as the default location is determined by the environment, not...
  11. jubble

    VB.Net - how to draw a circle on form and keep it centered

    Dim mPreviousCircle As Rectangle Dim mNewCircle As Rectangle Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint Dim g As Graphics = Me.CreateGraphics Dim p As New Pen(Me.BackColor)...
  12. jubble

    issue loading a tble

    That's an interesting undocumented feature of SQL...allowing you to create a column using a keyword when it doesn't allow you to access it. Another Microsoft moment.
  13. jubble

    issue loading a tble

    Is the 'TableName' variable OK? Apart from that it looks fine. Either a problem with SQL or Windows.
  14. jubble

    ComException when adding an Workbook in Excel

    Firstly,the interop will be in the 'obj' directory not the 'bin' directory as I previously stated. I've just checked an Office 2000 machine and your code works... EXCEPT... As a long shot try removing the brackets or enter a file name in the following line... Dim wbNew As Excel.Workbook =...
  15. jubble

    ComException when adding an Workbook in Excel

    this works for me on 2003, give me about an hour and I'll have access to an Office 2000 machine. In the meantime, remove the reference that you have to the Excel object library (dll) and add it in again - it might just need refreshing due to uninstall/project movement etc... Also, delete the...
  16. jubble

    ComException when adding an Workbook in Excel

    is the object library in your project the correct version - Version 9(Office 2000) as you've stated in the CreateObject command... xlsApp = CType(CreateObject("Excel.Application.9"), Excel.Application) you actually don't even need the createobject command if you've got excel in your...
  17. jubble

    Events on dynamic controls.

    whoops cross post or squeek's solution...
  18. jubble

    Events on dynamic controls.

    addhandler newdynamictextbox.click, addressof commontextbox.click where commontextbox.click is the generic event handling all textbox click events inside this generic event you can use the 'sender' object to define the textbox raising the event
  19. jubble

    Displaying Label's Text Vertically

    Found a result on Google you might like...it's a custom control that I think has the source code with it though it might be c#. http://www.codeproject.com/cs/miscctrl/customtext.asp
  20. jubble

    Handling multiple objects

    how is the user passing focus? (tab,mouse click)...try each method and see if it's the same behaviour. this may be related to issues with other controls getting the focus and not passing it on due to the order of events (thread796-1073921). Also check all the events for controls and for the...

Part and Inventory Search

Back
Top