Search results for query: *

  • Users: capedech
  • Content: Threads
  • Order by date
  1. C

    Question How to make DataGridView loads data faster ? (4000+ records)

    Hi, I am making a small POS program using VB.Net and MySQL as the database. There's more than 4000 items so far and still increasing. It could be 1000 items more. So, at the Transaction form, I want to call a form which contain all items information a Dialog Form. It worked perfectly when only...
  2. C

    Question Why the receipt didn't print like what I want ??

    Hi all, I got a problem. I'm making a small POS program. I'm using EPSON TM-U220 Printer for receipt printer. There's a few fonts that the driver gives : FontA11, FontA12, FontA11[254], FontB11, control, controlA, etc.. I use FontA11. When I tried to print it with Ms. Word, it printed...
  3. C

    Question ProgressBar Problem

    Hi, I want to make a ProgressBar with text inside it and I want to make the ProgressBar not using bars. Sample in the picture : I can make the text inside the ProgressBar with CreateGraphics and DrawString, but I still can't make the progressbar not using bars. Please help me. Thanks in...
  4. C

    Question Text inside ProgressBar's Problem.

    Hi, This is my code : Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Gr As Graphics = ProgressBar1.CreateGraphics Dim Percent As String = "" For I As Integer = 0 To 100 Percent = I & "%"...
  5. C

    Answered How to make file readonly programatically?

    Hi, I am making a program to save it to (.txt). I am making it using System.IO. So far, my program can save the file already. But, I don't know how to make it readonly programatically. Please help me. Thanks in Advance. Regards,
  6. C

    Question How to focus on the very last word in the TextBox ?

    I make the TextBox1 properties become multiline and has vertical scroll. This is my code : Button1_Click : For I as Integer = 1 To 100 TextBox1.Text &= I & VbCrLf TextBox1.SelectionStart = TextBox.TextLength TextBox1.ScrollToCaret() TextBox1.Refresh() Threading.Thread.Sleep(1) Next I...
  7. C

    Question What is the Font for receipt usually ?

    Hi, I am really confuse right now. I am making an application for retail shop (POS), I am using an EPSON printer TM-U220. It's a dot matrix printer. These days, I collected some receipt from other store as samples. I count the columns, most of them have 40 columns. I've tried every font that my...
  8. C

    Question How to make my MySQL Server more secure ?

    Hi, How to make my MySQL Server more secure beside putting password on it. From : MySqlConnectionString = "Database=dbtest;hostname=localhost;userid=admin;" Become : MySqlConnectionString = "Database=dbtest;hostname=localhost;userid=admin;password=gagigugego;" I am making an application...
  9. C

    Question What is the SQL syntax to check if there's a database or not?

    Hi, I want to ask, What is the SQL syntax to check if there's a database or not? I'm making an application using MySQL as the database. In the splashscreen, I want to make a validation to check if there's a database or not, so that I can make the database programmaticaly if it doesn't have the...
  10. C

    Question Please help me!! What is the syntax for my coding problem?

    I put 1 DataGridView, I named it DgvData, and 1 Label, I named it LblStatus. I put in Form_Load : With DgvData .Rows.Clear .Rows.Add(99) For I as Integer = 0 to 99 .Rows(I).Cells(1).Value = I + 1 LblStatus.Text = "Progress : " & I+1 Next I End With Output : 1 2 .. 100 Label LblStatus...
  11. C

    Question Can I combine WAMP and my application installation together?

    Hi, newbie here. ^.^. I just made an application using MySQL for the database. I use WAMP. So the question is : Can I combile WAMP and my application installation into one packet installation ? Thank in Advance.
  12. C

    Question <Newbie Ask> How to make a registration form for an application ?

    Hi, I am really really newbie about security. I just make a small Retail POS application for my parents shop. And it almost finnished. I want to make a Registration form for my application so that if someone somehow got my program, he couldn't use it. I am thinking to make a lisence key for my...
  13. C

    Question Validation of MySQL Database Server

    Hi, I'm making an application with VB.NET and MySQL Database. I'm using WAMP (Apache) as the server. What I want to ask is: In coding, how to check if the server is on or off. I want to make a validation in Splash Screen, if the server is off then it will open a messagebox that says "The...
  14. C

    Question 2 Forms Problem..

    Hi, I have 2 forms : "Form1" and "Form2" Form1 have DataGridView (Dgv1), and ContextMenuStrip in it. DataGridView have 2 Columns : "Code" and "Name" ContextMenusStrip can do : "Add", "Edit", and "Delete" Form 2 have 2 TextBoxes : TxtCode, TxtName. And 2 Buttons : BtnOK, BtnCancel. Code in...
  15. C

    Question Different between InnoDB and MyISAM Engines ?

    Hi, I was using WAMP 5.1.6.1, the default engine is InnoDB. And now I change it to WAMPServer 2.Of (MySql v5.1.30, which is I believe higher). It's using MyISAM as engine. I looked on Server:localhost, then Engines. There, it said like this : InnoDB : Supports transactions, row-level locking...
  16. C

    Question How to make VerticalScrollBar follow ur SelectedIndex in DataGridView programmaticaly

    Hi, I have a DataGridView(Dgv1), which only will show 5 rows on the Screen. I have 10 records that I wanna put on that DataGridView. Then, I want to select the last row : Dgv1.Rows(Dgv1.RowCount - 1).Selected = True But then, when I started the program. The Vertical ScrollBar didn't go to...
  17. C

    Different between InnoDB and MyISAM Engines ?

    Hi, I'm newbie on MySql. Please help me to increase my knowledge on MySql. What's the different between InnoDB and MyISAM Engines. I was using WAMP 5.1.6.1, the default engine is InnoDB. (I don't know what MySql version in this WAMP). And now I change it to WAMPServer 2.Of (MySql v5.1.30, which...
  18. C

    Where to look on Internet to see Capacities of Integer, Short, Double, etc.

    Hi, Does somebody know where to look on Internet to see Capacities of Integer, Short, Double in VB.Net And Integer, Tiny Integer, etc in MySQL Thanks in Advance. Regards,
  19. C

    Question Me.Close or Me.Dispose

    What's the different between Me.Close and Me.Dispose for closing a Form ? What I know, Me.Dispose is included in Syntax Me.Close. Am I right ? My friend did this to close a Form : Me.Close Me.Dispose Does it necessary ?
  20. C

    Problem with MenuStrip for ShortCut.

    I have 2 Form : MDIForm and Form1. Form1 is MDIForm's child. I put 1 MenuStrip at MDIForm for File, Cashier, Report, About, etc. Let's call this MenuStrip "MnMDIForm" And I put another MenuStrip at Form1 for ShortCut (F1, F2, etch). Let's call this MenuStrip "ShortCutMn" I put ShortCutMn.Visible...
Back
Top