• Member Avatar for cgeier
    cgeier

    Replied To a Post in Import Excel File to DB2

    See the following for more connection string options. http://www.connectionstrings.com/excel/ I think Jet 4.0 driver only exists in 32-bit. https://www.connectionstrings.com/using-jet-in-64-bit-environments/
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Help with API call?

    I made a mistake in the code that I posted above. Change from: Dim retVal As Integer = 0 To: Dim retVal As IntPtr = IntPtr.Zero Additionally, when looking up …
  • Member Avatar for cgeier
    cgeier

    Began Watching Help with API call?

    I have an old API from a bas file, and I'm trying to convert it. I think I'm on the right track however, I keep running into some problems with …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Help with API call?

    Here are a few things that you can try: First of all it is necessary to check the data type definitions for both VB6 and VB .NET: [VB6 Data Types](http://msdn.microsoft.com/en-us/library/aa263420(v=vs.60).aspx) …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Associate unique user to desktop application

    Store info in a text file or XML file. If you don't want the user to change the info, encrypt it. Add option to re-generate default file (system admin info) …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in What is ... in C ??

    [Here](http://bobobobo.wordpress.com/2008/01/28/how-to-use-variable-argument-lists-va_list/) is a post that may be useful.
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in how to do this? im stuck..

    I suggest you start by writing pseudo code. Then *...create a class named person.*
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Dell can't handle more than 1 TB hard drive ! ?

    As an alternative, laptop hard drives typically have lower power needs than desktop hard drives. You could probably get a laptop hdd and a 2.5" to 3.5" mounting adapter and …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Even odd number

    I also became curious. So I timed the execution. On my computer, the method that uses subtraction (as posted above) averaged 600 ms. Then one that uses multiplication averaged 0 …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Even odd number

    @Tarek_2: That might be ok for small numbers, but what about when you approach Integer.MaxValue (2,147,483,647)?
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in programe that creates,save, open file and writes user's input to a file

    '@' means the string following is literal. Either remove the '@' or remove one of the '\'.
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Scraping Text from a Screen

    You're being somewhat cryptic. The name of the program would be useful. Also a screen shot of the window may be useful. Additionally, how much time do you spend each …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Cannot RDP after a system restore

    Do you have sleep/hibernation disabled (or set to "Allow wake timers") on the workstation? Are you able to rdp to this workstation from any other computer (on the same side …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Scraping Text from a Screen

    The answer may depend on where you are trying to get the data from. Web browser? Java applet? Word? etc...
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Dell can't handle more than 1 TB hard drive ! ?

    Are you using all of the standard OEM components? Or did you upgrade other things such as the video card? Video cards can use lots of power. If you upgraded …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Data doesn't retrieve!!!

    Change lines 40-42 from: i += 1 TextBox1.Text = dt.Rows(i)(0) TextBox2.Text = dt.Rows(i)(1) to: 'last index is dt.Rows.Count - 1 'only increment if doing so 'would not exceed the index …
  • Member Avatar for cgeier
    cgeier

    Began Watching Even odd number

    Frnds, My questions is "how come to know whether the number is even or odd without using %,/,bitwise operator".
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Even odd number

    If you are going check the last character of a string, you could convert to binary and then just check for "0" or "1". public static String isOddOrEven(int num) { …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Data doesn't retrieve!!!

    In "frmBirthdayCake_Load", the connection is not open. Where is `con.Open`?
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Why are many things recognized as error according to syntax checker?

    In Visual Studio, you will save yourself some headaches if you build the program first before clicking "Start Debugging". * Click Build (in menu) * Select Rebuild <project name> (or …
  • Member Avatar for cgeier
    cgeier

    Began Watching Cannot RDP after a system restore

    Last week, Google AdWords editor setup wizard crashed in the middle of an install, and Windows Explorer started acting super funky ever since. The desktop icons for My Computer, Recycle …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Cannot RDP after a system restore

    **Use Nltest to test trust relationship** [nltest](http://technet.microsoft.com/en-us/library/cc731935.aspx) nltest /server:<server name> /sc_query:<domain name> nltest /server:<server name> /sc_verify:<domain name> /sc_query: <DomainName> *Reports on the state of the secure channel the last time …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Cannot RDP after a system restore

    Here are a few ideas: **Ensure that "Don't allow connections to this computer" is not selected (on workstation)** **Open "System Properties"** * Win-logo-key + R (or in Charms, select "Select …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Why are many things recognized as error according to syntax checker?

    What is your level of experience? Are you new to programming? If so, you need to start with the basics. [ C# Fundamentals for Absolute Beginners: (06) Declaring Variables and …
  • Member Avatar for cgeier
    cgeier

    Began Watching Why are many things recognized as error according to syntax checker?

    I'm sitting in C# for about 2 days and it's already like lifting 300KG block. I don't get it, if I Googled how to get SHA512 hash of string in …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Why are many things recognized as error according to syntax checker?

    Did you receive that error on compiling? Make sure you have the following using statement: * using System.Security.Cryptography; Note: You may have to add "System.Security" as a reference. [System.Security.Cryptography Namespace](http://msdn.microsoft.com/en-us/library/system.security.cryptography(v=vs.110).aspx#feedback)
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in scope of VB.Net

    C# seems to be more popular and you will find it easier to find posts on C#. Additionally, the structure of C# is similiar to Java, making it easier to …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in RadioButton cannot be resolved to a variable error

    jRadioButton1, jRadioButton2, jRadioButton3 don't exist in "groupButton". They are only in the constructor.
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Recursion

    Also `n % 2` is modulus division. Here, it only = 0 for mulitiples of 2. Ex: 2, 4, 6, 8, 10, etc... Modulus division is the remainder part of …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Dell can't handle more than 1 TB hard drive ! ?

    Is power connected to the hard drive? If so, you may consider using a power supply tester to ensure your power supply is functioning properly. [Here](http://www.discountelectronics.com/product?product_id=17808&product_model=24) is a page stating …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Dell can't handle more than 1 TB hard drive ! ?

    What hard drive brand/model? Which version of the Optiplex 760 do you have? Here are the power specs: [OptiPlex 760 Desktop Tech Specs](http://www.dell.com/us/dfb/p/optiplex-760/pd) **Mini-Tower** 305W Standard Power Supply; 255W 88% …
  • Member Avatar for cgeier
    cgeier

    Began Watching Join 2 Access Databases

    I need to join 2 access databases. I have tried using dataAdapters and then filling 2 different datatables. Then I used the merge method to join the datatables. The problem …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Join 2 Access Databases

    Please provide the table structure and some sample data from each table/database.
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in create Web browser in C# without using web browser control

    Please provide the budget for your project so someone may contact you regarding your project. If you want help with YOUR code, provide your code and where you are having …
  • Member Avatar for cgeier
    cgeier

    Began Watching Help Now Please!

    Can you tell me what's wrong with it because it's not running on visual studio and I need it right now??? #include <iostream> #include<vector> #include<algorithm> #include<limits> #include<fstream> #include<string> using namespace …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Help Now Please!

    If you want to see the message comment out line #27 `exit(1);` In VC++ you can do the following to see where your program is running: Add include statement: #include<direct.h> …
  • Member Avatar for cgeier
    cgeier

    Began Watching Dell can't handle more than 1 TB hard drive ! ?

    Hi Everyone, i asked about maximuim internal size can my computer handle in this Topic : https://www.daniweb.com/hardware-and-software/pc-hardware/threads/480225/the-maximuim-internal-size-can-my-computer-handle- the guys said it's 2tb/4tb . looks like when testing it in real …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Dell can't handle more than 1 TB hard drive ! ?

    What brand/model of computer? Did you check the manufacturer's website for technical specs?
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in My second Attempt

    I agree with tinstaafl, re-write your code to get rid of the "GoTo" statements and use TryParse instead. Also you may consider using "OrElse" instead of "Or". [(OrElse and Or) …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Encoding data in a UPS Maxicode barcode (VB.NET)

    Looks like UPS has a program for software developers. Did you contact them? [UPS Developer Kit](https://www.ups.com/upsdeveloperkit?loc=en_US&WT.svl=SubNav) [UPS Developer Kit Community](https://developerkitcommunity.ups.com/index.php/Main_Page) [UPS Developer Resource Center](http://www.ups.com/content/us/en/resources/techsupport/developercenter.html?WT.svl=SubNav) [UPS Ready Program](http://www.ups.com/content/us/en/bussol/browse/ready_program.html)
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Encoding data in a UPS Maxicode barcode (VB.NET)

    [This documentation](http://www.silverbaytech.com/files/maxicode/maxi_api.pdf) also provides some information on Maxicode (although it doesn't look like their product supports .NET).
  • Member Avatar for cgeier
    cgeier

    Began Watching Packet loss & Slow WAN

    Hi and thanks for looking. We have a main site in the South East of the UK and a satellite branch in Birmingham (we moved offices 4 months ago to …
  • Member Avatar for cgeier
    cgeier

    Began Watching VB.Net Form Theme.

    I am creating the program, But I am tired with the regular form look. I want some theme that can change the look of my program. Last I Used the …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in to merge 2 outlook templates including pictures.. c#

    I've modified version 1 (to eliminate redundant code). Here is the updated version. **Note:** Version 2 (OutlookTemplateHelper_v2) remains unchanged. **Add reference to Outlook Object Library:** * Project * Add Reference …
  • Member Avatar for cgeier
    cgeier

    Began Watching to merge 2 outlook templates including pictures.. c#

    Hi Guys, I have a big problem. I want to merge two oft/msg outlook templates. when I try to open my oft/msg outlook template with: Outlook.Application oApp = new Outlook.Application(); …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in to merge 2 outlook templates including pictures.. c#

    The following seems to work with Outlook 2010: **Add reference to Outlook Object Library:** * Project * Add Reference * COM * Microsoft Outlook xx.x Object Library **Add the following …
  • Member Avatar for cgeier
    cgeier

    Began Watching ORA 01410 Invalid ROWID error while checking EOF in recordset

    I am trying to add a coloumn from database into a listbox in VB6. The following code works. The selected item from this listbox is used to find and add …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in ORA 01410 Invalid ROWID error while checking EOF in recordset

    Try adding the following between line 9 and 10: record.MoveFirst Other versions you can try: record.Open SQL, con, adOpenDynamic, adLockOptimistic record.MoveFirst Do While record.EOF = False '... record.MoveNext Loop or …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in How would i write the Pseudocode for this program?

    Are you required to use InputBox? Not sure why you are using ListBox for those things. 1. Prompt user for French marks (handle invalid entries) 2. Prompt user for German …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Enable or disable the comport in device manager through vb.net win 7

    In addition to the above, in "HardwareHelperLib" change from: DeviceInfoData.cbSize = 28; To: //for 32-bit, IntPtr.Size = 4 //for 64-bit, IntPtr.Size = 8 if (IntPtr.Size == 4) { DeviceInfoData.cbSize = …

The End.