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 TouchToneTommy 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: jubble
  • Content: Threads
  • Order by date
  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

    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...
  5. 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?
  6. 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...
  7. jubble

    View more than 100 items in Immediate window

    Got one that's been nagging me for ages... In the Immediate window, if you print all the properties of an object and there's more than 100 it will only display the first hundred and then say < More... (The first 100 of 161 items were displayed.) > Is it possible to page through each hundred...
  8. jubble

    .Net version of Javascript 'escape'

    Is anyone aware of a function in .Net that does the same as the javascript 'Escape' function? In other words a function that takes special characters such as ":" and converts them to a hex value. There is a regex.escape function but this only does some characters and not ":
  9. jubble

    If ... End If shortcut key?

    Bit of a long shot but you never know if you don't ask... Does anyone know of a quick way to find the starting "IF something THEN" command from an "Else" or "End If" command? Bear with me... We've all been in the position where an If..Else..End If block can have hundreds of lines of code in...
  10. jubble

    To frame or not to...

    What is the general feeling about using frames in ASP.Net? I've heard most people say that it's not worth it but have seen some good articles offering workarounds for most frame issues. The reason I'm considering frames is to use a menu on the left (similar to web MSDN) and be able to easily...
  11. jubble

    Replacement for msscript.ocx

    I currently use the Microsoft msscript.ocx object to return string calculations...ie Value=ScriptControl.Eval("4 * 2") I'm looking for an alternative for a couple of reasons, one being that I'm not even sure that I'm permitted to distribute this object. Is anyone aware of any 3rd party tools...
  12. jubble

    Force reboot

    Due to the painful experience of trying to get an combined prerequisites + application + MSDE + script deployment working seamlessly (it works on NT,2000,XP but Win98 and ME force an uncontrollable reboot which screws everything up) I'm experimenting with a workaround. For this to work I need to...
  13. jubble

    BeginInvoke problem in Windows Service

    I'm trying to convert a Windows Forms application to a Windows Service and am having problems with BeginInvoke with the error... 'Reference to a non-shared member requires an object reference' Dim ar As IAsyncResult = BeginInvoke(New ClearDataDelegate(AddressOf ClearData), o) EndInvoke(ar)...
  14. jubble

    Installer Class

    How can I get the destination directory from the Installer Class (preferably in the AfterInstallation event)?
  15. jubble

    Random numbers

    What's the best seed for generating random numbers in the Random class? I heard making it time-based ensures absolute randomness but should this be from the 'Now' function or is the system.environment.tickcount value good enough?
  16. jubble

    Setup - MDAC installs when not needed

    I am creating a setup and deployment project that needs to include the .Net Framework in the installation. I have followed Microsoft's steps for installing the Bootstrapper plugin and everything installs fine... EXCEPT...I also want to install MDAC. Microsft give instructions for also...
  17. jubble

    Openrowset error 18452 invalid connection string

    Is it possible to use OpenRowSet to move data to/from Servers that use different authentication methods? If I use Query Analyzer to connect to a Server using WINDOWS AUTHENTICATION and run the following query that attempts to connect to a database that uses MIXED MODE AUTHENTICATION I get the...
  18. jubble

    regular expression match doesn't return parenthesis

    I'm trying to remove CREATE PROCEDURE commands from a script using system.text.regularexpressions Basically every instance of CREATE PROCEDURE through to GO needs to be removed The regular expression '(CREATE PROCEDURE [^(?:\bGO\b)]+)' finds that string but the string RETURNED stops at the...
  19. jubble

    Character limit to SQL Query

    What is the character limit for an sql query from VB.Net? .Net can support approx 2 billion unicode characters in a string but I'm assuming SQL Server cannot handle anything like this. Hugh
  20. jubble

    Invoke Postback from client (Javascript)

    Is there a proper way to do a postback from Javascript while keeping your viewstate values? I have all my Viewstates being compiled in the PreRender event in the server code but obviously this does not get called if I do a simple url call from Javascript. If this is not possible what is the...

Part and Inventory Search

Back
Top