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

    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...
  3. 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...
  4. 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...
  5. 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 =...
  6. 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...
  7. 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...
  8. 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
  9. Turpis

    MDI - create child from EXE?

    Is is possible to create a child from an existing EXE? Charles Quality Assurance/Developer
  10. 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...
  11. Turpis

    Database to Database

    I need to be able (in a simple way) to read the entire contents of a table from one database into a dataset.table then take that dataset.table and stick it into a completely different database. Without knowing the fieldnames and such, so using CREATE and ALTER are out. I have tried building a...
  12. Turpis

    Inputting data with tablestyles present.

    I need some help to get moving in the right direction. I have a form with a combobox and and datagrid on it. The user selects a vendor type out of the combo box and then the datagrid is filled with vendors of that type from a filter dataview. The datagrid has tablestyles in use to hide the...
  13. Turpis

    ASP.NET -- Unknown User Name or Bad Password

    The error I get is this -- Logon failure: unknown user name or bad password. What I am attempting to do is build a list of files from the server into a listbox on a webform. I can do this all day long if I point to my computer, however when I try it on a server path I get that error above. I...
  14. Turpis

    Dynamic Properties in App.Config

    I have done a lot of searching on this site and Microsoft...is there no way to use the app.config with dynamic properties and be able to set them in the application runtime rather than having to manually change the .config file outside of the application? I have seen many many examples of how to...
  15. Turpis

    Couple of Questions about Crystal Reports

    1) Is it possible to work with the report without using the viewer? I would like to use a CR with one of my applications but I don't want to have the user interface with the CRviewer, just press a button on a form and report prints. 2) I have been stumped as to what I need to include in the...
  16. Turpis

    VB.NET version of VB6 App.Path

    I am looking for the .NET version of the VB6 App.Path. Used the upgrade wizard on a VB6 project with this code in there and it returned VB6.GetPath as the new code. There has to be a .NET version of this code. Charles Quality Assurance/Developer
  17. Turpis

    RichTextBox searching (efficient coding)

    I am building a program that provides an interface for editing CNC program files here at the shop. I thought it might be nice to point out certain machine codes in different colors for ease of coding. I wrote some test code to do this and though it works, I find myself wondering if there is a...
  18. Turpis

    Question about DataSet Tables

    I was curious as to whether there is any difference between: Me.dsMaster.Tables(0) Me.dsMaster.Tables("myTable") Me.dsMaster.myTable In most examples I see the second two types. If there is truly 3 ways to refer to a single table in a dataset, what is 'good coding'? Charles Quality...
  19. Turpis

    ADO.NET return a single value

    I can find all types of awesome examples for databinding. But I just want to take a single distinct value from my dataset and put it into a textbox with no databinding. Something like this: me.textbox.text = myreturned_value_from_a_dataset I have 3 books on .NET and even one that is only for...
  20. Turpis

    Getting userid from ASP and Windows Apps

    First: Is there any fancy .NET version of Environ("username")? That works, but I was just wondering if there is a special .NET version. Second: Is there any way I can get the username in ASP.NET? I can put Environ("username") in code but all it returns ASPNET. For our Intranet logging...

Part and Inventory Search

Back
Top