• Member Avatar for cgeier
    cgeier

    Replied To a Post in Get and Set Screen Saver Timeout

    In line 43, remove "ByVal". Changing from: lRet = SystemParametersInfo _ (SPI_SETSCREENSAVETIMEOUT, lSeconds, ByVal 0&, _ SPIF_UPDATEINIFILE + SPIF_SENDWININICHANGE) To: lRet = SystemParametersInfo _ (SPI_SETSCREENSAVETIMEOUT, lSeconds, 0&, _ SPIF_UPDATEINIFILE + …
  • Member Avatar for cgeier
    cgeier

    Began Watching how to install 32 bit application on 64 bit window 8

    i have a simple programme/application of 32 bit which runs fine on window XP 32 bit but when i try to run it on window 8 it gives error that …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in how to install 32 bit application on 64 bit window 8

    It is difficult to say why your program doesn't run, without knowing anything about your program. It is best to contact the developer. If you are the developer, provide more …
  • Member Avatar for cgeier
    cgeier

    Began Watching Using VBA to group rows in EXCEL

    I need to dynamically group rows together in an EXCEL worksheet. The obvious choice to do this will be VBA. I hope you can help. My spreadsheet has 18 columns …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Using VBA to group rows in EXCEL

    You might have better luck in the "Visual Basic 4/5/6" forum. You may want to include the version of Excel that you are using. Some sample data is also beneficial. …
  • Member Avatar for cgeier
    cgeier

    Began Watching How to save datarows in datagridview to new table in database

    hello everyone, i have a datagridview filled with a dataset and i want to store all the records it has to new table in database. i added a new column,("pos") …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in How to save datarows in datagridview to new table in database

    It is most likely "ToString". Delete ".ToString()" and ".ToString" from each line. example: Change from: grade = Me.DataGridView1.Rows(i).Cells("grade").Value.ToString() To: grade = Me.DataGridView1.Rows(i).Cells("grade").Value I'm not sure what your columns represent, but …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Using VBA to group rows in EXCEL

    VBA is not VB .NET. [Visual Basic for Applications](http://en.wikipedia.org/wiki/Visual_Basic_for_Applications)
  • Member Avatar for cgeier
    cgeier

    Began Watching DependencyInjection seem ugly and too much work, Am I doing something wrong

    I love the idea of dependency injection. I started doing psuedo dependency injection on my own before I knew about DI because I was frustrated programming without it. I then …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Dt picker

    What database? Post more of your code.
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in C# Method Calling Question On A Form

    **movementClass.cs:** Add the following "using" statements: `using System.Drawing;` and `using System.Windows.Forms;` public static class movementClass { public static void moveLeft(PictureBox moveBox) { Point p = moveBox.Location; p.X -= 20; moveBox.Location …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Casting

    [Explicit Numeric Conversions Table (C# Reference)](http://msdn.microsoft.com/en-us/library/yht2cx7b.aspx) [Casting and Type Conversions (C# Programming Guide)](http://msdn.microsoft.com/en-us/library/ms173105.aspx)
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in C# - Managing Multiple Forms

    My opinion is that you should only maintain a resource as long as you need it. I recommend seeing the tutorial on form to form communication if you have data …
  • Member Avatar for cgeier
    cgeier

    Began Watching Save and Retrieve word document in Sql Database

    Good day, gurus of this well-known site. I am using vb.net 2013 Ultimate and SQL 2012 and can someone show/link me how to save and retrieve a word document from …
  • Member Avatar for cgeier
    cgeier

    Began Watching Blue Screen Error Code: 0x0000007E

    My computer can't work normally now. A few days ago, I logged in my PC and enterred the desktop, the blue screen suddenly happened. I tried to restart the PC …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Blue Screen Error Code: 0x0000007E

    Try the following: Boot into Safe Mode, then * Click "Start" * Select "Control Panel" * For View by, select "Small Icons" (or Large Icons) * * Click "System" * …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in about creating objects with parameters and constructors

    It's in "javax.swing.JList". See the documentation for more info: [JList](http://docs.oracle.com/javase/8/docs/api/javax/swing/JList.html)
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in declaration of connection string using ado

    To find your port number: [How to identify DB2 port number](http://stackoverflow.com/questions/8242891/how-to-identify-db2-port-number) Using DB2 Control Center: [How to find the DB2 Connection Port Number on Windows](http://www.dbtalks.com/uploadfile/Legolas/how-to-find-the-db2-connection-port-number-on-windows/) [Locating the DB2 connection port …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in declaration of connection string using ado

    I think that you may need to use Command Line Processor Plus (CLPP) from IBM Data Server Driver Package. To download and install: [IBM Support Fix Central](http://www-933.ibm.com/support/fixcentral/) **Method 1:** * …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in declaration of connection string using ado

    That syntax is for DB2 Command Line Processor Plus. You are trying to use it in DB Command Line Processor. They are two different tools. When using DB2 Command Line …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in declaration of connection string using ado

    After installation, DB2 Command Line Processor Plus can be found in: (for Win 7): * Start * All Programs * IBM DB2... * DB2 Command Line Processor Plus
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in declaration of connection string using ado

    Use command line processor (CLP) from IBM Data Server Runtime Client or Command line process plus (CLPP) from IBM Data Server Driver Package See also: [IBM Knowledge Center](http://www-01.ibm.com/support/knowledgecenter/SSEPGG_10.1.0/) * Click …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in declaration of connection string using ado

    Here are multiple ways of retrieving data from DB2. They were tested using the express version of DB2. See previous post on installing appropriate packages and adding reference to "IBM.Data.DB2" …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in declaration of connection string using ado

    Go to IBM Fix Central website: [Fix Central](http://www-933.ibm.com/support/fixcentral/) Click "Find Product" tab In "Product Selector", enter `IBM Data Server Client Packages` For "Installed Version", select `10.5.*` For "Platform", select `Windows` …
  • Member Avatar for cgeier
    cgeier

    Marked Solved Status for down-vote

    Please add a feature that requires a short explanation for a down-vote. It is not beneficial to see that a post was down-voted without knowing why.
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in down-vote

    Thanks for the explanations.
  • Member Avatar for cgeier
    cgeier

    Revoked Solved Status for down-vote

    Please add a feature that requires a short explanation for a down-vote. It is not beneficial to see that a post was down-voted without knowing why.
  • Member Avatar for cgeier
    cgeier

    Marked Solved Status for down-vote

    Please add a feature that requires a short explanation for a down-vote. It is not beneficial to see that a post was down-voted without knowing why.
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in down-vote

    The username could remain anonymous when showing the comment. However it may be difficult to ensure a useful comment has been left.
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in reading all store in outlook

    The following seems to work to view e-mail subjects (from Inbox): **Add Reference to Microsoft Outlook xx.x Object Library** (where xx.x is a number: 12.0, 14.0, etc) * Click "Project" …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in declaration of connection string using ado

    [Installing IBM Data Server drivers and clients](http://www-01.ibm.com/support/knowledgecenter/SSEPGG_10.1.0/com.ibm.swg.im.dbclient.install.doc/doc/c0023452.html?lang=en) The following is for C#, but can be easily translated to VB .NET: [Connection to DB2 from .NET](http://www.codeproject.com/Articles/26344/Connection-to-DB2-from-NET)
  • Member Avatar for cgeier
    cgeier

    Began Watching case select

    how can i write this in case select syntax? please help If cboSearchType.Text = "Accredited Month" Then With grdSearchResults .Rows = .Rows - .Rows + 1 End With If rs.State …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in case select

    Use a "Sub". [Functions and subroutines](http://www.vb6.us/tutorials/functions-and-subroutines-vb6) *"...Subroutines are useful because they eliminate redundancy..."*
  • Member Avatar for cgeier
    cgeier

    Began Watching down-vote

    Please add a feature that requires a short explanation for a down-vote. It is not beneficial to see that a post was down-voted without knowing why.
  • Member Avatar for cgeier
    cgeier

    Created down-vote

    Please add a feature that requires a short explanation for a down-vote. It is not beneficial to see that a post was down-voted without knowing why.
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Regex alternatives?

    Why was my post down-voted? It is a tested/working solution. If you disagree with my solution, please provide explanation.
  • Member Avatar for cgeier
    cgeier

    Began Watching declaration of connection string using ado

    Hi! My database is in AS/400 DB2 hence, I am using SQL. Here's my line of code for opening a connection. Dim str As String = "User ID=EDITH;Password=EDITH;Data Source=10.0.1.11;Initial Catalog=ictms;Integrated …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in declaration of connection string using ado

    The poster stated she is using DB2, not SQL Server. [SqlConnection Class](http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.aspx) *Represents an open connection to a SQL Server database* Use ODBC or OleDB. [Connection Strings](http://www.connectionstrings.com/)
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Page_Load error on simple form

    Page_Load is an event handler. It shouldn't be defined more than once.
  • Member Avatar for cgeier
    cgeier

    Began Watching microsoft outlook 14.0 object library

    There is no **"Microsoft Outlook 14.0 Object Library"** in my **visual studio 2008 reference COM** List how can i update it. Thanks
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in microsoft outlook 14.0 object library

    Did you try the following? * Click "Project" (in menu bar) * Select "Add Reference" * Click ".NET" tab * Select "Microsoft.Office.Interop.Outlook" (version 14.0.0.0) * Click "OK"
  • Member Avatar for cgeier
    cgeier

    Began Watching Page_Load error on simple form

    Hello I am using the following in one Web page form in ASP.NET (VS 2013) in order to 'set focus' on the username field: Protected Sub Page_Load(ByVal sender As Object, …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Page_Load error on simple form

    I am able to replicate this error if I enter: Protected Sub Page_Load(ByVal sender As Object, _ ByVal e As System.EventArgs) End Sub Protected Sub Page_Load(ByVal sender As Object, _ …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Removing Time in DateTime Picker

    What's the data type of the column in your database?
  • Member Avatar for cgeier
    cgeier

    Began Watching Cannot start debugging

    I dwonlaod https://github.com/SubtitleEdit/subtitleedit OS program, I use VS express 2012, when open it a strange message appear (Cannot start debugging.The assembly to be begged was build with a platform in …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Cannot start debugging

    [Subtitle Editor 3.3.15 Changelog](https://github.com/SubtitleEdit/subtitleedit/releases) *Installer version, .NET 2-3.5, 32-bit (will run on win 64-bit too, but needs 32-bit codecs/VLC)*
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Problems with VB Console Program If, then Statement

    Btw, that's the answer I gave you in my second post.
  • Member Avatar for cgeier
    cgeier

    Began Watching Duplicating a form inside another form

    Am developing a two screen application where first screen resides in the user system and other screen in extended mode is directed towards a projector or another monitor. They all …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Duplicating a form inside another form

    It appears that you are creating a new instance of Form2 which is why your data is not updated. What do you consider a "Preview". A copy of the form …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Problems with VB Console Program If, then Statement

    I think that you don't understand the difference between sub, function, module, and class. Here's a basic description: A "Function" is basically a "Sub" that returns a value. Functions and …

The End.