Search:

Type: Posts; User: pkarvou

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    1,048

    Re: Help running Mac on PC

    You can just use bing and you will find the exact steps to make Lion work with VMWare :)
  2. Replies
    5
    Views
    1,048

    Re: Help running Mac on PC

    I prefer using a VIrtual Machine for Mac OS X. It's slower though...
  3. Replies
    4
    Views
    8,135

    Re: Query for records in a MySQL database

    Public Sub ReadMyData(myConnString As String)
    Dim mySelectQuery As String = "SELECT OrderID, CustomerID FROM Orders"
    Dim myConnection As New MySqlConnection(myConnString)
    Dim myCommand...
  4. Replies
    4
    Views
    8,135

    Re: Query for records in a MySQL database

    http://dev.mysql.com/doc/refman/5.0/es/connector-net-examples-mysqldatareader.html
  5. Replies
    13
    Views
    2,116

    VS 2010 Re: Insert record, only if it doesn't exist

    Obviously at your first query you have not given values to your parameters.
  6. Replies
    13
    Views
    2,116

    VS 2010 Re: Insert record, only if it doesn't exist

    Declare count in the upper part of your sub. For example below


    Dim sql As String
    Dim count as Integer

    And below use


    count = Convert.ToInt32(cmder.ExecuteScalar())
  7. Replies
    13
    Views
    2,116

    VS 2010 Re: Insert record, only if it doesn't exist

    You have declared count inside your try-catch block.

    So it's lost when you call if.

    As far as connection concerned, can't you open the connection???

    Check your connection string.
  8. Replies
    13
    Views
    2,116

    VS 2010 Re: Insert record, only if it doesn't exist

    You could execute another query before the insert one.

    For example "SELECT COUNT(*) FROM MessageTable WHERE Message = @p1 and DateColumn = @p2"

    Use ExecuteScalar to get the result and check if...
  9. Re: Can't display data in textbox from database

    In case you will need this for another project, not your brother thesis :p

    Use SqlCeConnection and use as ConnectionString


    Data Source=MyData.sdf;Persist Security Info=False;

    Using your...
  10. Replies
    6
    Views
    1,430

    VS 2008 Re: How to extract image from word doc in VB?

    Right Click at your project --> Add Reference --> Choose COM Tab --> Select "Microsoft Scripting Runtime"
  11. Replies
    6
    Views
    1,430

    VS 2008 Re: How to extract image from word doc in VB?

    Have you added the COM Reference "Microsoft Scripting Runtime" ?
  12. Replies
    6
    Views
    1,430

    VS 2008 Re: How to extract image from word doc in VB?

    What's the error you get when you compile the source code?
  13. Replies
    8
    Views
    1,019

    Re: VB2010 SQL question

    Are you sure that your records don't contain empty spaces?

    Have you tried trim function in your query?
  14. Thread: Array

    by pkarvou
    Replies
    8
    Views
    959

    Re: Array

    Oops sorry, I hadn't noticed that you haven't studied classes.

    Classes are fundamental in VB.Net...it's good to learn how to use them soon. :)
  15. Replies
    5
    Views
    958

    Re: 2d arrays

    Split returns an array of strings...

    A 2d array is declared as


    Dim values(,) As String = New String(,) {{"str1", "str2"},
    {str3", "str4"}}
  16. Thread: Array

    by pkarvou
    Replies
    8
    Views
    959

    Re: Array

    You could use a HashTable instead of an array.

    So you could use the name as key and the grade as value.

    For example


    Dim oTable As Hashtable = New Hashtable
    oTable.Add("Name1", 10)...
  17. Replies
    1
    Views
    831

    Re: External IP address

    You can use an external site to get it.

    Imports System.Net
    Imports System.Management
    Imports System.IO


    Imports System.Net
    Imports System.Management
    Imports System.IO
  18. VS 2008 Re: how to Print a Report without Displaying in asp.net web application

    If you have crystal reports try this:

    http://aspalliance.com/509_Automatically_Printing_Crystal_Reports_in_ASPNET.all
  19. Replies
    2
    Views
    534

    VS 2005 Re: Determine OS version?

    You don't need to import it.

    Simple code here
  20. Replies
    18
    Views
    14,832

    Re: Run Jar file from vb.net code

    I don't moderate any Greek forum.

    Sorry for off-topic.
  21. Replies
    18
    Views
    14,832

    Re: Run Jar file from vb.net code

    :d :d :d
  22. Re: Connecting to a MySQL DB - urgent help needed

    Check this
  23. Replies
    18
    Views
    14,832

    Re: Run Jar file from vb.net code

    I didn't mean that it's the best way to do that. Of course the normal way with process and parameters is the best.

    But if you want to test sth, you can also use the batch file.

    If you think I...
  24. Replies
    18
    Views
    14,832

    Re: Run Jar file from vb.net code

    Of course you must rub the process.

    However it's easy and quick. ;)
  25. Replies
    18
    Views
    14,832

    Re: Run Jar file from vb.net code

    You can create a batch file also and add the command into it.

    Then you can execute the bat file.
  26. Replies
    18
    Views
    14,832

    Re: Run Jar file from vb.net code

    Have you tried this from command line? Not from vb

    Is java in your path environmental variable???

    Is the file path correct?

    Use try catch for Win32Exception and check e.NativeErrorCode
  27. Replies
    2
    Views
    687

    Re: Anyone recommend using Infragistics?

    I don't know about Infragistics.

    I have been using DevExpress controls. They are really good and their support is great.

    Their reporting tool is excellent too.

    There is a trial version.
  28. Replies
    2
    Views
    554

    Re: Develop Apps for PC and Mac

    You can try Mono

    http://www.mono-project.com/Main_Page
  29. Replies
    18
    Views
    14,832

    Re: Run Jar file from vb.net code

    Have you tried java -jar C:\ NetBeansProjects\PBT_JFX\dist\PBT_JFX.jar ???
  30. Replies
    2
    Views
    580

    Re: Get Selected FontName and FontSize

    Use the RichTextBox SelectionFont property.

    You can get from that name,size etc.

    For example


    RichTextBox1.SelectionFont.Name
    RichTextBox1.SelectionFont.Size
  31. VS 2008 Re: Creating subroutines for objects which are yet to be created

    Declare a global variable


    Dim WithEvents MyLabel as Label

    and then use


    MyLabel = new Label
  32. VS 2008 Re: Creating subroutines for objects which are yet to be created

    Declare each label using WithEvents and use AddHandler to specify the method for the Click event.


    AddHandler label1.Click, AddressOf Method
  33. Re: How to access to an encrypted PDF with iTextsharp?

    iSafePdf
  34. Replies
    9
    Views
    1,017

    VS 2010 Re: TabPages

    You could use Insert to specify in which position your tabpages should be added.
  35. Replies
    9
    Views
    1,017

    VS 2010 Re: TabPages

    You could save the removed tabpages in a List(of TabPage) and when you want to get them back,just remove them from the list and add them to your TabControl.
  36. Replies
    9
    Views
    6,712

    Re: New Framework for .Net

    NHibernate

    I prefer Entity Framework though...:)
  37. Re: Why do I have to manually setup form events?

    There is a "thunder" on the upper side of the Properties Window.

    ps. Old habits are not bad :p Use VB.Net :D
  38. Replies
    3
    Views
    1,105

    Re: using live sdk in vb 2008

    http://msdn.microsoft.com/en-us/library/bb264574.aspx
  39. Re: Why do I have to manually setup form events?

    Strange VB syntax...:p

    This is the way c# works...you have to declare the event handler. If you do it using the properties window in VS it's autogenerated in designer.cs file.
  40. Replies
    3
    Views
    638

    VS 2010 Re: Coding a user interface...

    You can write the code on your own. You can see the generated code in the designer.vb files.

    You could start inheriting Systems.Windows.Forms.Form in your class.

    I prefer the designer. :p
Results 1 to 40 of 143
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width