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 Wanet Telecoms Ltd 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. mjk9564

    Allow others to edit a profile property in SharePoint 2010

    I have been asked to allow users to edit a custom Property we created in SharePoint called Extension. Is this possible to do w/o giving them access to the "Manage User Profile" section in the Central Admin? Any help would be appreciated?
  2. mjk9564

    Citrix: Retrieving the client name

    I see that is a little tougher. To get that you will have to use a Citrix object. You have probably found that you get the server name when you try and grab the machine name with System.Environment.MachineName. Try the Metaframecom object from this you should be able to get the session and PC Name.
  3. mjk9564

    Citrix: Retrieving the client name

    We use Citrix also. One thing to keep in mind is when the user is logging into the Citrix server they are logging onto windows so you can grab it normally. Here are two options to choose from: Public Function GetUserName() As String 'Determine if Windows Authentication is being...
  4. mjk9564

    Combobox displays off screen

    Is there a dropdownposition property or something you can set so the combobox's dropdownlist will not display off screen when it is displayed on the right of the screen?
  5. mjk9564

    Case Statement in Where Clause

    gmmastros I like that better than what I have. Do you know if there is a way to return > 1 record from a case statement w/o getting an error. Your solution will for this but I'm sure I'll run into this again. Thanks! Matt
  6. mjk9564

    Case Statement in Where Clause

    Can anyone tell me the correct syntax to do this or even if it will work. I'm using SQL Server 2005. It compiles but when it runs I get this error: "Msg 512, Level 16, State 1, Line 2 Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or...
  7. mjk9564

    Checkbox inside a combobox

    Man I must be blind. I went to this site and googled it but only came up with old C++ ones. The first one is a great start I will just try to convert it to VB now. Thanks! Matt
  8. mjk9564

    Checkbox inside a combobox

    I'm looking for a checkcombobox for VB.NET 2005. Does anyone know of a control or how to add this functionality to a combobox?
  9. mjk9564

    Imagelist Brings In Image at Wrong Size

    The problem isn't displaying the images in 16x16 or any other size for that matter it is importing the images at the correct size. To see the problem open an imagelist and import an icon that has multiple sizes saved such as 16x16 and 32x32. When you import this image it ignores the size you...
  10. mjk9564

    Imagelist Brings In Image at Wrong Size

    I'm using VB.NET 2005 and am having troubles loading my images into my imagelist. Even though I set the size to 16x16 when I import the images they always come in as 32x32. The icons do have different sizes saved inside them and the only way I can get the 16x16 to show up is if I delete all...
  11. mjk9564

    Set Combobox Height

    If I'm not mistaken that property only makes the combobox not grow if you change the font size. What I'm looking for is a way to set the height.
  12. mjk9564

    Set Combobox Height

    Found this on another website. It works but I don't like the idea of a API call for each combobox. I will live with the default size. Private Declare Auto Function SendMessage Lib "user32.dll" ( _ ByVal hwnd As IntPtr, _ ByVal wMsg As Int32, _ ByVal wParam As Int32, _ ByVal lParam As Int32 _...
  13. mjk9564

    Set Combobox Height

    Is there a way to change the height of a combobox w/o adjusting the font? I'm looking to create a custom combobox and would like to adjust its height. Thanks! Matt
  14. mjk9564

    Can I store VB Code in a Database field and then run it in VB.NET

    I tried the third option on chiph's post and was not able to get that to work. But, one of the links given by jebenson does work. (http://www.west-wind.com/presentations/dynamicCode/DynamicCode.htm) It has a little more power than I need at this point, but it will come in handy I'm sure in the...
  15. mjk9564

    Can I store VB Code in a Database field and then run it in VB.NET

    Thanks I will try these methods out and see what works. I'll let you know what I find out.
  16. mjk9564

    Can I store VB Code in a Database field and then run it in VB.NET

    Right now all I need to be able to run is simple code. What I have is a print procedure at it allows the user to choose their header and footer. They can also choose from a couple built-in solutions like dates, page count, page number, etc. Basically, I would need to run code like...
  17. mjk9564

    Can I store VB Code in a Database field and then run it in VB.NET

    What I want to do is store vb code in a database field and depending on what the user selects from a combobox run the code. They call this Macro Substitution in Visual FoxPro. Example dim strCommand as String = database.fieldname.tostring() &strCommand 'This would be visual foxpro way...
  18. mjk9564

    Using SSIS to convert VFP table to SQL Server

    I’m trying to use SSIS to convert Foxpro to SQL Server. I have an ADO connection setup and a Data Reader reading the VFP data and a Data Conversion object to set all the data to the correct data types. The problem I’m having is with Memo fields they all are set to Null in SQL Server. When I use...
  19. mjk9564

    Get Process Username

    I'm writing code to shutdown a process in a Terminal Service Environment and I'm running into the problem that it shuts down that process for all users. I know the user that is trying to shutdown the process now I need to find out the username for each process. Here is the code I'm currently...
  20. mjk9564

    Help with Interoperability VB.NET 2005 DLL.

    Would the command look like this then? [code] regasm /tlb:shutdownprocess.tlb shutdownprocess.dll /codebase [\code] Do you know if there is a GAC utility in .NET 2.0?

Part and Inventory Search

Back
Top