• Member Avatar for cgeier
    cgeier

    Replied To a Post in Displaying data from database onto label

    There doesn't seem to be a mechanism for changing the question (such as a button). As is, it always loads the first question from the table in the database `dt.Rows(0)...`. …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Index was outside the bounds of the Array exception

    How do you have "myPics" defined?
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Index was outside the bounds of the Array exception

    After line 126, add the following (for troubleshooting purposes): string msg = string.Empty; msg += "x: " + x.ToString() + System.Environment.NewLine; msg += "y: " + y.ToString() + System.Environment.NewLine; msg …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Array printing out squares instead of numbers

    Have you considered using an int array of size 10 and initializing each element to 0? Index 0 would keep track of the number of times the number 0 occurs. …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in tree output c++

    In "Main.cpp", line 63 should be `cout << "Number inserted:" << num << endl;` In "Main.cpp", there are multiple problems with "ProcessMenu". * No "do" for the while statement * …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Print attributes from two tags together

    It's been a while since I've written anything in Perl, but one way of doing it would be to use two arrays--storing all of the "rsId" values in one array …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in SQL server 2008 features

    There is an interface for creating databases. If using the Express version: * Click "View" (in menu) * Select "Object Explorer" * Click the "+" sign next to your database …
  • Member Avatar for cgeier
    cgeier

    Stopped Watching Fuzzy screen. Laptop display goes biserk on battery power.

    Ok folks, I rarely log in to ask questions so forgive me if I'm in the wrong category. Ok, the pc is a laptop (HP Elitebook 8460p, i5-2520m CPU 2.50GHz, …
  • Member Avatar for cgeier
    cgeier

    Began Watching Fuzzy screen. Laptop display goes biserk on battery power.

    Ok folks, I rarely log in to ask questions so forgive me if I'm in the wrong category. Ok, the pc is a laptop (HP Elitebook 8460p, i5-2520m CPU 2.50GHz, …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Fuzzy screen. Laptop display goes biserk on battery power.

    If this only happens when using under battery power, it could be a bug in the video driver, the video chip, or a bug in the OS. You may consider …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in how to loop through an XML and create toolstrip buttons at runtime

    What code did you use to create the XML file?
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in close or dispose after loading an XML file?

    [Do I need to dispose/close XDocument.Load(string)?](http://stackoverflow.com/questions/3680288/do-i-need-to-dispose-close-xdocument-loadstring) *"No, you don't - it doesn't even implement IDisposable. The XDocument and XElement classes use XmlReader under the covers and handle the disposing of …
  • Member Avatar for cgeier
    cgeier

    Created Community Center Chat window

    The Community Center Chat window keeps appearing (opening) after I close it which is rather annoying.
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Use a Stop button in C# to stop the Build Process

    There is a tutorial on how to use BackgroundWorker here: [How to use BackGroundWorker to Create Threads](https://www.daniweb.com/software-development/vbnet/tutorials/477520/how-to-use-backgroundworker-to-create-threads) It is for VB .NET, but can easily be converted.
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in can somebody tell me what is wrong here

    Also, your program should do some sort of input validation. For example, if your grade point scale is from 0.0 - 4.0, if a user enters "5.0", the program should …
  • Member Avatar for cgeier
    cgeier

    Stopped Watching can somebody tell me what is wrong here

    this assignment here was my take home assignment. I am kinda doing it over just to see and know where i went wrong with. it is either my codes wrong …
  • Member Avatar for cgeier
    cgeier

    Began Watching can somebody tell me what is wrong here

    this assignment here was my take home assignment. I am kinda doing it over just to see and know where i went wrong with. it is either my codes wrong …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in can somebody tell me what is wrong here

    Start off by writing some pseudo code. See attached file. Then, convert pseudo code to Java code. The following examples use the pseudo code from the attached file. **Example 1:** …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in can somebody tell me what is wrong here

    You prompt the user for the number of courses taken (numcourses), but don't use that information. Instead you hardcoded a value of "3". Look at every place you've placed a …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in TCP Data Handling, problem with .Text

    Have you tried adding `txtStatus.Refresh();` after `txtStatus.Text += ...`?
  • Member Avatar for cgeier
    cgeier

    Began Watching If/Else statment doesn't work...

    I need your help once more. My if/else statment isn't working at all. I tried to do everything and look up at the code for the errors and didn't find …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in If/Else statment doesn't work...

    Please post your code for "Form1.cs". It looks like it should contain an instance of "VEntradas" and something that sets the value of "entradas" for the instance. example code in …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in confused by c# context - cannot use return value

    An instance constructor is used to create an instance of a class. In C# it isn't necessary to create a default constructor that is empty. What do I mean by …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Encryption

    Have you considered using a database? Are you trying to store all of the objects into a single file? How many records (entries) do you anticipate having for each object?
  • Member Avatar for cgeier
    cgeier

    Began Watching Encryption

    public void Start() { List<Object> list = new List<Object>(); List<Object> toRemove = new List<Object>(); if (File.Exists("c.bin")) { using (Stream osR = File.OpenRead("c.bin")) { DESCryptoServiceProvider cryptic = new DESCryptoServiceProvider(); cryptic.Key = …
  • Member Avatar for cgeier
    cgeier

    Began Watching Encrypting an object

    i have an assignment and i need to encrypt the objects before serializing them into the file. i've looked for information and all i found was encrypting strings. is this …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Disable TAB Key in an EXE File

    Do something like this is only appropriate in a business setting on computers the business owns and only when this has been specified as a requirement. Whereas, only allowing a …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in how do i get this code to work

    It is probably the "." you have between "EqualsIgnoreCase" and "("
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in multiple listviews

    See the tutorial [How to pass data between two forms in VB .NET](https://www.daniweb.com/software-development/vbnet/tutorials/475628/how-to-pass-data-between-two-forms-in-vb-net)
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Triple boot, Ubuntu 14, Win 7, and Win 10 Tech preview

    Maybe next week's lesson from your professor is how to fix it? You might try researching the following: -WinPE -bcdedit -bootrec
  • Member Avatar for cgeier
    cgeier

    Began Watching java micro controller bluetooth programming

    i need to connect my PC to Micro controller through Bluetooth,to make it simple my PC will continuously send string to Micro controller depending upon string micro controller performs task …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Embedded Http server jump seconds on videos where located local

    Duplicate post: [embedded http server : An existing connection was forcibly closed by the re](https://www.daniweb.com/software-development/csharp/threads/493603/embedded-http-server-an-existing-connection-was-forcibly-closed-by-the-re)
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Access with .net 2008

    To clarify my previous post, convert the DateTimePicker value using format as in my previous post.
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Access with .net 2008

    http://stackoverflow.com/questions/12270816/datetime-format-issue-in-vb-net-with-ms-access-database-when-using-sql-statement You should use: CurrentDate=Format(TrDate, "yyyy/MM/dd hh:mm:ss tt") Access needs an unambiguous date.
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Computer boots up, HDD spins but power isnt given out to the others

    This article may be of use: [No post, no beeps, no video](http://www.techspot.com/community/topics/no-post-no-beeps-no-video.161654/) What is the brand/model of your mb? Does your case have a speaker? Do you have all of …
  • Member Avatar for cgeier
    cgeier

    Began Watching Hi Resolution Chart in C#

    I wrote an app for a customer which (among other things) takes a chart generated by an Excel workbook, and places it on the C# GUI. But the customer is …
  • Member Avatar for cgeier
    cgeier

    Began Watching changing listbox bcolor everytime there is an expiration of time of the day

    i am new in VB.net (about 3 weeks now) and i am using visual studio 2008 to make a reservation and billing program project. i want to change the background …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in changing listbox bcolor everytime there is an expiration of time of the day

    Replace the '/' between yyyy and hh and it may work. It looks like your database design could use some work. Is this a theoretical resort (ie: homework assgmt) or …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in changing listbox bcolor everytime there is an expiration of time of the day

    The value in currentItem.SubItems(checkinIndex).Text is not something that can be converted to DateTime, because it either isn't a Date/Time or isn't in a format that is recognizable to DateTime.Parse
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in system volume information folder

    Have you checked the volume shadow copy settings? -Click Start -Select Control Panel (view by: small icons) -Click System -Click System Protection (left menu) -Click System Protection tab -Click Configure …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Computer boots up, HDD spins but power isnt given out to the others

    Are there any beep codes? Since you've replaced parts it may or may not be the same issue, but rather giving similar symptoms. Double check that you properly connected the …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in changing listbox bcolor everytime there is an expiration of time of the day

    Also, you should [Use Parameterized Queries to Avoid SQL Injection Attacks](https://www.daniweb.com/software-development/vbnet/code/445801/use-parameterized-queries-to-avoid-sql-injection-attacks) For example, in "frmAdmin" (btnSave_Click) you have the following code: Dim cmdsave As New OleDbCommand("INSERT INTO Room(id,Room_Name,Available,Quantity,Price)" & _ …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in changing listbox bcolor everytime there is an expiration of time of the day

    ModuleCustomer contains all the code posted above, and some additional code for initializing a ListView that is new (hasn't been changed using the designer). I included it to show how …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in changing listbox bcolor everytime there is an expiration of time of the day

    This assumes that you already created a form and added a ListView named "ListView1" to it. First you'll want to add a System.Windows.Forms.Timer to your form. **Open Solution Explorer:** In …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Error when change the width of a line chart

    The answer to my question is: Dim chart1 As New System.Windows.Forms.DataVisualization.Charting.Chart In order to use it one needs to first be using .NET >= 4. Then a reference needs to …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Get Hex Data From File?

    The following has been tested with a text file. public enum OutputGrouping : int { Group1AsciiCodeNewLineSeparated, //12 - 1 ASCII code per line Group1AsciiCodeSpaceSeparated, //12 - 1 ASCII code, then …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Error when change the width of a line chart

    How is "Chart1" defined? What is it's data type?
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Using a Wildcard to connect to the Correct File

    Here are 3 methods that each accomplish this: **getFolderNameGD** ([System.IO.Directory.GetDirectories](https://msdn.microsoft.com/en-us/library/ms143314(v=vs.100).aspx)) - version 1: Public Function getFolderNameGD(ByVal fullyQualifiedFolderName As String, ByVal searchPattern As String) 'return directory that matches searchPattern For Each …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Making a list of Folder Names from a Network Drive

    Public Function getFolderNameGDI(ByVal fullyQualifiedFolderName As String, ByVal propertyNumber As String) 'property number followed by a space and a "-" Dim searchPattern = propertyNumber & " - " & "*" 'Debug.WriteLine("searchPattern: …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Win 8 update hung, now won't power on

    Found the following, which may be of use: [Toshiba black screen won't start](http://en.kioskea.net/forum/affich-535794-toshiba-black-screen-won-t-start) *..."This is WORKED FOR ME!--->I turned off my computer than unplugged cable and took out battery, held …

The End.