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 Mike Lewis 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. mlager

    MSI Installer w/ Registry Entries...

    Hi, I've got a simple MSI installer for my VB.Net WinForms application and I have it set to insert a single registry key into the computer's HKEY_LOCAL_MACHINE node. This usually works, but if the user doesn't have access, the MSI spits out an error. Is there any way in the MSI installer to...
  2. mlager

    Possible? Access Dynamic Controls

    I figured it out. Seemed I needed to name the WebBrowser control (via the name property) and then define it in other parts of the code such as: Dim WebBrowser As WebBrowser WebBrowser = TabControl1.TabPages("Tab Name").Controls.Item("1") WebBrowser.Refresh()
  3. mlager

    Possible? Access Dynamic Controls

    I've got a tab control that I dynamically create tabs for each record in a dataset. In each tab, a web browser control is dynamically created as well. It looks like this: For Each Row As DataRow In DataSet.Tables("Pages").Rows TabControl1.TabPages.Add(Row.Item("tab_title")...
  4. mlager

    Cisco 2621 - Simple Routing Setup, Newbie Help

    Great thanks for the help, it does sound pretty simple. Appreciate your quick response!
  5. mlager

    Cisco 2621 - Simple Routing Setup, Newbie Help

    I'm moving into a new data center. I don't consider myself a network engineer or anything but I do understand the basics. The new data center I am moving into routes my network to me a bit differently than my old data center, so I thought I'd post here and ask for some help. The IOS on the...
  6. mlager

    Fill MSSQL Table from DataSet

    Thanks, I'll check this out!
  7. mlager

    Fill MSSQL Table from DataSet

    That's exactly what I ended up doing, and after I was finished, i thought to myself, this sucks! What a low tech solution. Like you said, there has to be a better way!
  8. mlager

    Fill MSSQL Table from DataSet

    I've got an app where I want to pull data from a MySQL database into a DataSet, then take the data in the DataSet and insert its records into a SQL Server database table. What is the best way to accomplish this?
  9. mlager

    Text Field Parsing Question

    I've got a type TEXT field where users are putting in values such as: Field 1: [VALUE1] Field 2: [VALUE2] Field 3: [VALUE3] Is there any way in SQL to take that single TEXT field and create a field for FIELD 1 with the value, FIELD 2 with the value, and FIELD 3 with the value? The value would...
  10. mlager

    probably dumb question

    Is there any way to have a sub routine do an "Exit Sub" on the sub it was called from? I.E. In the following, I would want the "Test" MsgBox not to show if the variable > 0. Effectivly, Sub Test() would terminate execution of Sub Main(). Sub Test() If variable > 0 Then *** EXIT SUB MAIN BELOW...
  11. mlager

    Automatic Empty to Null Conversion

    Is there any way to have empty values converted to NULL on an insert or an update? I've got an application that will inserted '' rather than NULL if a textbox is left blank. My desire is to have it insert a NULL. I was hoping to find a solution that would enable me to not have to do all this...
  12. mlager

    I think this may be a stupid question...

    Correction, it's a listbox, not a combobox. Thanks.
  13. mlager

    I think this may be a stupid question...

    ...But I have a combobox that is bound to a data source. I have fields on the same form that display data based on which item is selected in the combobox. Everything is working fine. My question is, when the form loads, the first item is selected with all of its data shown. Is there a way to...
  14. mlager

    SOOOO Frustrated...

    Agreed, you certainly could do that... But if the connection string is stored as a "connectionstring" type in app.config, then I can use that in my table adapters and in visual studio's tools. If it were stored in a text file, i still wouldn't be able to set the applications official connection...
  15. mlager

    ComboBox Question

    Your the best. Never thought about this approach. Appreciate your help!
  16. mlager

    ComboBox Question

    I have a simple combobox that I don't want to bind to a data table. I just want to add a few items to it. combobox_status.Items.Add("Active") combobox_status.Items.Add("Inactive") I want the user to see the descriptions above, but when selected, I want to be able to use a value instead of the...
  17. mlager

    SOOOO Frustrated...

    Here is what I ended up with. The application deploys with a blank connection string. The user will then need to define a connection string for the application to work. The connection string will be added to app.config and then encrypted. The user can then go in and modify the string which will...
  18. mlager

    SOOOO Frustrated...

    Here is something I did which I haven't seen on any documention on the web... I'm thinking about putting it into a doc page for other people since I'm sure it may be useful. Not sure if it is 100% yet but preliminary results seem to be good. This code will build a string, remove the old string...
  19. mlager

    SOOOO Frustrated...

    Thats what I had thought about doing... But one of my main goals is to be able to use .NET's protect functionality to encrypt the connection string once it is set, which I can only do on the app.config. I'm working something up that I think is working and I'll post it here if it does. Appreciate...
  20. mlager

    SOOOO Frustrated...

    I've also found that :) See the comment that I left on that page (by Rock-Pond Solutions)... That method works great, but only persists for that runtime. I could load a new connection string into a user setting and then set the runtimeconnectionstring() to the user setting when the app loads...

Part and Inventory Search

Back
Top