Search results for query: *

  • Users: Jynx
  • Order by date
  1. J

    ORA-00936: missing expression

    I fixed it. For anyone interested. Dim fs As New System.IO.FileStream(OpenFileDialog1.FileName, IO.FileMode.Open, IO.FileAccess.Read) Dim b(fs.Length() - 1) As Byte fs.Read(b, 0, b.Length) fs.Close() Dim query As String = "INSERT...
  2. J

    ORA-00936: missing expression

    I had seen that somewhere before earlier, couldn't remember if I tried it or not so I changed everything and the error is - Message = "ORA-01745: invalid host/bind variable name" So I went through and changed all of my variable parameters to something not on the reserved oracle list. Then I...
  3. J

    ORA-00936: missing expression

    So below is the code I wrote yesterday. I don't often work in VB and I haven't had to insert a BLOB before. However, the error at least at this moment isn't BLOB specific but syntax. I'm getting the error from Oracle - 'Missing expression' I can't see what's missing but honestly I've been...
  4. J

    Copying files and moving files

    John I'm sure I'm making your head hurt by now. Imports System.IO Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click BackgroundWorker1.RunWorkerAsync() searchMusic("C:\") Call...
  5. J

    Copying files and moving files

    Hi John, thanks for helping. I'm trying to add your suggestions but I'll admit it I'm not that great at this and can't seem to add things right or get things working. Below is where I stopped. Make you can edit and re-post what I have here? Its unfortunate, I have a Bachelors in Software...
  6. J

    Copying files and moving files

    Yes an example would be helpful thank you.
  7. J

    Copying files and moving files

    Actually I'm going about this wrong. Basically what I want to do is search my entire computer for MP3 files then have the option to move them all to a specific folder on a drive of my choosing. Eventually do the same thing with other files but I think if I learn this first part I can do the...
  8. J

    Copying files and moving files

    This is pretty simple. I'm just testing things and seeing if I can get things working and if I can then I want to try and develop this into something more. So far its just a simple button1 finds all files with extension of .mp3 in C:\ and displays all the findings in a listbox. I then want to...
  9. J

    Comma Delimited Text File

    Well, I've done some extra work. This works fine and it seems to produce the cleanest results. However I'm having trouble removing the "" parenthesis. I've removed the commas fine. I'm also having a very difficult time writing to the file with the commas and parenthesis. I have 5 text box's for...
  10. J

    Comma Delimited Text File

    Ok so I did this. However, it only displays the first line, and it adds that row on separate lines. So where as I want : Bob Jones 1 A- Introduction to CS Sarah Johnson 2 B+ Data Structures Sam Smith 3 A Visual Basic It instead gives me : Bob Jones 1 A- Introduction To CS Public Class...
  11. J

    Comma Delimited Text File

    I'm having some trouble. I have a file who's contents are : "Bob Jones", 1, "A-", "Introduction to CS" "Sarah Johnson", 2, "B+", "Data Structures" "Sam Smith", 3, "A", "Visual Basic" I'm not sure how to read this file and have it display as : Bob Jones 1 A- Introduction to CS...
  12. J

    My paint program

    What its doing is sticking. If I select say 5 in the toolstrip it will select 5 on the radiobutton but then nothing else I select in the toolstrip will change the radiobutton, it stays stuck on the first selection 5.
  13. J

    My paint program

    My open problem with that is how to uncheck one if the other is selected ToolStripMenuItem2.Tag = rdoBtnWidth1 ToolStripMenuItem3.Tag = rdoBtnWidth2 ToolStripMenuItem4.Tag = rdoBtnWidth3 ToolStripMenuItem5.Tag = rdoBtnWidth4...
  14. J

    My paint program

    Can you give me an example
  15. J

    My paint program

    However there is one last thing I'm having a tough time with. The width can be selected via the menustrip as well. When the PenWidth is set by the menustrip I need to have the same width radio button selected on Form1 as well. Private Sub rdoBtnWidthMenuItem_click(ByVal sender As...
  16. J

    My paint program

    I fixed it just doing this instead : Private Sub rdoBtnWidth_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rdoBtnWidth1.CheckedChanged, rdoBtnWidth2.CheckedChanged, rdoBtnWidth3.CheckedChanged, rdoBtnWidth4.CheckedChanged Dim WhichRadioButton As...
  17. J

    My paint program

    Below is all of my code. It works, except the PenWidth. I can't figure out what I'm doing wrong. Option Strict On Public Class Form1 Dim MyPen As New Pen(Color.Black) Dim PenColor As Color Dim IsThePenDown As Boolean Dim MouseDownPoint As Point Private Sub...
  18. J

    Another Console Application

    I started rewriting this but I'm not sure I'm on the right path "OR" satisfying the exercise instructions so I wanted to post what I was doing before waiting too much time. Option Strict On Public Class rectangle Public LengthValue As Integer Public WidthValue As Integer Public...
  19. J

    Inheritance principles

    I watched the videos. I see what he's doing but I'm having a hard time applying it here. Thanks though for your help and I book marked that page.
  20. J

    Another Console Application

    John can you also tell me why the formating of the questions and answers don't seem right. Mine shows : Would you like to create a Rectangle or a Box (r or b): rWhere as I'd like the answers to be on the same line : Would you like to create a Rectangle or a Box (r or b): r
Back
Top