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. Turpis

    MVC HttpContext

    Is there a way to get the same result as the WebForms HttpContext.User.Identity.Name.ToString() to get the username in MVC? I tried this in my controller and it just comes back blank. The purpose is common across our intranet, when a record is created or update the user name and date is...
  2. Turpis

    Disabled controls not turning grey

    Bluejay07, You could build custom "disabled" images and replace the enabled images with the disabled ones when you run your routine to disable your buttons. That would get around this annoying issue and add flair to your application since you would get to use the image resolutions of your...
  3. Turpis

    Play/Pause like a media button on Keyboard

    ErnstJan, Didn't work, this is a console application. What I tried is this Imports System.Windows Windows.Forms.SendKeys.SendWait(Windows.Forms.Keys.MediaPlayPause) No luck. However, since the program is specifically for me (and maybe some of the other IT department), I exclusively use iTunes...
  4. Turpis

    Play/Pause like a media button on Keyboard

    How can I Play/Pause the same way my Logitech keyboard media button "play/pause" does? I need this for an application. And not the my.computer.audio or the mci junk, that is for .wav. I need to pause whatever device might be actively playing music or movies just like the keyboard button does...
  5. Turpis

    No Module Files in 2008?

    I dreaded writing that question because I figured that if I did the answer would be simple or I would find the answer myself within a few minutes of submitting it. I did...one can simply insert a class file and then delete all the code and declare it a module. Wonder why they didn't just leave...
  6. Turpis

    No Module Files in 2008?

    I am finally moving from VS2003 to VS2008. One of the things that I have noticed in this version is that there are no module files. Modules were my primary way of declaring global variables and shared functions that pages within my applications would be using. Is there another way to do this? I...
  7. Turpis

    Buttons on Page Move on Print

    I am being plagued by some old Excel Applications here recently. The Active X buttons that I have placed on various sheets are moving when users print. My favorite is when all the buttons decide to stack up on top of each other and then the application is unusable until I go back and manually...
  8. Turpis

    Get Output of Stored Procedure

    Thank you Jim, I spent hours looking for an example in VB of how to get that output and never found anything concrete. That worked perfectly. Thank you again!! Charles Quality Assurance/Developer
  9. Turpis

    Get Output of Stored Procedure

    I am trying to get output of my Stored Procedure. When I check the stored procedure in SQL it returns 8, but I get 0 in my VB.NET function. Confused... my stored procedure CREATE PROCEDURE spCofC_GetRecordCount ( @JobNum int, @TotalCount int OUTPUT ) AS DECLARE @Count1 int SELECT @Count1 =...
  10. Turpis

    Change Win Authenticated Users

    How would you impersonate a user, not just for a page, but across our entire intranet which contains many many applications...I can't go back and manipulate web.config files in all those applications. Charles Quality Assurance/Developer
  11. Turpis

    Change Win Authenticated Users

    Our intranet uses Windows Authentication so there is no logging in because they are already authenticated...however there are instances where users (or IT) are on other users computers to show or do something on the intranet temporarly. So my question...is there a way to force a new...
  12. Turpis

    Code to open file outside browser.

    1) As if they browsed to it on the server (or mapped drive) and double clicked it. Should open with whatever application is associated with that extension. Charles Quality Assurance/Developer
  13. Turpis

    Code to open file outside browser.

    oh well. Charles Quality Assurance/Developer
  14. Turpis

    Code to open file outside browser.

    Is it possible to open any file (as long as application is installed of course) outside of the browser with ASP code? This code opens files inside the browser. Me.Response.Redirect("file:///" & "TestFile.doc") I am not looking for Word only code, but windows file association file opening...
  15. Turpis

    Return vs. Exit Sub/Function - Clarification

    I understand that...I should have clarified that I have seen "Return" used as an "Exit Sub", specifically by Wei-Meng Lee in some articles on www.ondotnet.com Charles Quality Assurance/Developer
  16. Turpis

    Return vs. Exit Sub/Function - Clarification

    I was wondering if there was any difference at all in the following statements: If <something> = True Then Return or If <something> = True Then Exit Sub Charles Quality Assurance/Developer
  17. Turpis

    report wierdness

    Hi Amber, I had this happen to me last week with an application I developed back in January but hadn't distributed. I opened it up after months of just sitting there and suddenly had what you described happen. I simply renamed (in the solution explorer) my report from crOneSheet.rpt to...
  18. Turpis

    MDI - create child from EXE?

    Is is possible to create a child from an existing EXE? Charles Quality Assurance/Developer
  19. Turpis

    Delete all data from a database.

    TRUNCATE doesn't work in Access. So the only way to delete all records from a table other than one by one is the SQL command "DELETE FROM [TableName] WHERE 1=1". Thanks to ThatRickGuy for pointing me in the right direction on this one a month or so back. Charles Quality Assurance/Developer
  20. Turpis

    Crystal Reports - passing coded DS to Details Section

    How would I go about passing a dataset that is coded (so not available in the designer to the details section of my crystal report? I have already set up some of the Report and Page Header information with the following code. (using parameter fields) Dim cr1 As New crOneJob...

Part and Inventory Search

Back
Top