Search:

Type: Posts; User: Gush

Page 1 of 8 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    2
    Views
    725

    Re: Crystal Reports (Advanced)

    Thank you for your reply.

    How would this code apply if I'm doing the following:

    Me.CrystalReportViewer1.ReportSource = "http://localhost/EISReportServer/CrystalReport2Service.asmx"
  2. Replies
    2
    Views
    725

    Crystal Reports (Advanced)

    I wrote a web service class from a crystal report, and published it.
    When I try to retrieve it from a windows forms client using the report viewer, I get this error:
    Logon Failure. Please Try...
  3. Replies
    1
    Views
    552

    Re: 2 Forms, 1 Dataset

    OK, I figured it out and here it is in case someone needs it.

    in the child form
    Public Sub New(ByVal bc As BindingContext)
    MyBase.New()
    InitializeComponent()
    Me.BindingContext = bc

    in the...
  4. Replies
    53
    Views
    7,912

    Re: VB.Net form connecting an electrical switch??

    Extremely interesting thread.


    I faced the same problem myself. Now I'm using a 2A solid state relay and it's working great.

    I'm pleased to know that there are guys working on home automation...
  5. Replies
    1
    Views
    552

    2 Forms, 1 Dataset

    Hi all,

    I'm trying to design a Form / Subform in 2 different forms.
    the first contains a grid bound to a dataset, and the second contains textboxes bound to the same dataset, showing the fields...
  6. Replies
    0
    Views
    507

    Deleting multiple rows in a dataset

    How can I delete all the rows that satisfy a specific condition in a dataset.
  7. Replies
    0
    Views
    522

    DataSet Update to SQL Server

    I have a DataSet dsCalendar that contains 2 tables and 1 relationship.

    - Calendar Table
    - CalendarDetail Table
    - CalendarCalendarDetail Relationship (Calendar.CalendarID,...
  8. Replies
    7
    Views
    822

    Re: Class inside of class

    I think this might help you

    Public Enum eGender
    Male
    Female
    End Enum

    ' The Class Room Class
    Public Class CClassRoom
    Private mStudents As New PersonCollection()
  9. Thread: Address Book

    by Gush
    Replies
    2
    Views
    599

    Address Book

    Is it possible to allow a user to select a contact from the "Microsof Outlook" Address Book, and insert it into a windows form I created?
  10. Re: binding a SortedList of structures to a listview

    You can inherit the ListViewItem class
    Public Class CMyListViewItem
    Inherits ListViewItem

    Public Sub New()
    MyBase.New()
    Me.SubItems.Add("")
    Me.SubItems.Add("")...
  11. Thread: Arrays

    by Gush
    Replies
    2
    Views
    479

    Re: Arrays

    What do you mean "... return the array to this button?"

    And, what are the min, prv, and max arguments used for in the "Migrate" function.
  12. Replies
    6
    Views
    4,836

    Re: Debug a UserControl - Easy Q

    Put the UserControl project and the Test project in the same solution
  13. Replies
    10
    Views
    1,011

    Re: Limit Collection Index

    That's it, you've done it.
  14. Replies
    10
    Views
    1,011

    Re: Limit Collection Index

    everything works normally. When adding items to the collection using the CollectionEditor, a message box will popup showing the message you write in the Throw statement.

    When adding items in code,...
  15. Replies
    10
    Views
    1,011

    Re: Limit Collection Index

    You don't need a remove because the item wasn't added in the first place, as the exception was thrown before reaching the MyBase.List.Add part.

    The Count property is already there since you are...
  16. Replies
    16
    Views
    1,048

    Re: populate a listbox

    Private Sub ImageButton1_Click(ByVal sender As System.Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButton1.Click

    The "Handles ImageButton1.Click" is missing at the end of...
  17. Replies
    10
    Views
    1,011

    Re: Limit Collection Index

    Public Function Add(ByVal value As oLabel) As Integer
    If List.Count = 4 Then
    Throw New Exception("Maximum Number of Elements Reached")
    End If
    Return List.Add(value)
    End...
  18. Replies
    10
    Views
    1,011

    Re: Limit Collection Index

    Hi,

    wouldn't be better to program this constraint in the collection class itself, you can throw an exception when the number of items is 4 and the user tries to add an item, and the collection...
  19. Thread: CollectionEditor

    by Gush
    Replies
    3
    Views
    869

    Re: CollectionEditor

    Thanks,

    I'm not trying to show a form.
    I have a class "CMyCollectionEditor" that inherits "CollectionEditor" this class has a Protected (not accessible for instantiator) member of type...
  20. Thread: CollectionEditor

    by Gush
    Replies
    3
    Views
    869

    CollectionEditor

    I implemented a CollectionEditor class, applied the EditorAttribute class to the collection property, and succeeded to open the collection editor from the PropertyGrid control.

    Now I want to open...
  21. Replies
    93
    Views
    59,422

    MartinLiss: I have VB.net installed.

    MartinLiss:

    I have VB.net installed.
  22. there is a VB development toolkit for Symbian...

    there is a VB development toolkit for Symbian phones
  23. Replies
    93
    Views
    59,422

    Great tool, but I can't use color / Gradient. I...

    Great tool, but I can't use color / Gradient. I get this message

    You Need to Have CommonDialog ActiveX Control Installed
  24. Replies
    154
    Views
    37,135

    I think that a program should be able to expand /...

    I think that a program should be able to expand / learn in order to have AI, the rest are just State Machines.
  25. Replies
    22
    Views
    1,967

    Just because VB6 doesn't support inheritance...

    Just because VB6 doesn't support inheritance doesn't mean that it is not useful.

    Inheritance can be used in the smallest of projects. It doesn't have to be a multi-million project. Even a small...
  26. Replies
    22
    Views
    1,967

    I think that Inheritance is very useful and...

    I think that Inheritance is very useful and essential for real object oriented design and development. And it is not used only in C++, Java programmers use it as well as VB.NET programmers.

    And I...
  27. Thread: rtf Grid Control

    by Gush
    Replies
    0
    Views
    460

    rtf Grid Control

    Anyone knows where I can find a Grid Control that supports rtf entries in its cells?
  28. Thread: XML population

    by Gush
    Replies
    4
    Views
    484

    OK, I wrote some code and it worked. but I didn't...

    OK, I wrote some code and it worked. but I didn't use any xml writer object.


    ' Put this code in a form

    Dim mConn As Connection

    Dim rsSteps As Recordset

    Private Sub Form_Load()
  29. Thread: XML population

    by Gush
    Replies
    4
    Views
    484

    oops, sorry, I didn't read your question well. I...

    oops, sorry, I didn't read your question well. I guess what I posted won't help a bit.

    I don't know if this will help, but I'll give it a shot. but let me ask you this first, is there more than...
  30. Thread: XML population

    by Gush
    Replies
    4
    Views
    484

    ADO can do that for you ' mRecord being an...

    ADO can do that for you

    ' mRecord being an opened ADO Recordset

    mRecord.Save "Path_To_Destination.xml", adPersistXML


    but I think that there are some things in the resulting xml you don't...
  31. Replies
    9
    Views
    869

    This works but a forward loop works as well,...

    This works but a forward loop works as well, because all the selected items will still be selected after the first one is removed.

    I repeat. The code I posted earlier works fine.
  32. Replies
    9
    Views
    869

    The first code isn't working because it does not...

    The first code isn't working because it does not refer to the selected items,

    ober5861 is using the "ListIndex" and "Text" properties instead of "j"
  33. Replies
    9
    Views
    869

    I tried that code, and it worked, I don't see why...

    I tried that code, and it worked, I don't see why it shouldn't. This code adds the first selected item to the destination listbox, deletes it from the source listbox, and loops.
  34. Replies
    9
    Views
    869

    Here, try this Do While j

    Here, try this


    Do While j <= lvavailable.ListCount - 1
    If lvavailable.Selected(j) Then
    lvquery.AddItem lvavailable.List(j)
    ...
  35. Thread: reports in access

    by Gush
    Replies
    2
    Views
    465

    have you tried usinga subreport?

    have you tried usinga subreport?
  36. Thread: Child Forms

    by Gush
    Replies
    1
    Views
    381

    Child Forms

    Hi,

    I'm writing a database program, and I decided to use a tab control on the main form.

    each tab will contain data from a table, a view, or another functionality for the software.

    The...
  37. Replies
    10
    Views
    556

    if you wanted to concatinate a string with a...

    if you wanted to concatinate a string with a number, you can't use the "+" operator, it will raise an error


    Dim i As Integer
    Dim s As String
    i = 10
    s = "Test" + i

    the above code will...
  38. Thread: SQL Statement

    by Gush
    Replies
    3
    Views
    415

    wow Marty, you nailed it. and stupid that I...

    wow Marty, you nailed it.

    and stupid that I am, I've ran into the same problem before, and solved it, but now I didn't take the time to think about it, I directly posted a thread here instead.
    ...
  39. Replies
    23
    Views
    1,259

    wow, this took a long time to be solved!!!!! ...

    wow, this took a long time to be solved!!!!!

    I'll give it a shot


    Dim rs As ADODB.Recordset
    Dim cn As ADODB.Connection
    Dim str As String
    Set rs = New ADODB.Recordset
    ...
  40. Thread: SQL Statement

    by Gush
    Replies
    3
    Views
    415

    SQL Statement

    I have this SQL statement that runs from inside Access, but when I try to run it through ADO from my VB program, the return recordset contains no records.

    it's a little bit long.




    its...
Results 1 to 40 of 319
Page 1 of 8 1 2 3 4



Click Here to Expand Forum to Full Width