CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: mgn0528

Page 1 of 9 1 2 3 4

Search: Search took 0.13 seconds.

  1. Re: Background window graphics bleeding through foreground window

    Will have to try the explicit call to the refresh method.

    It does persist while the form is showing and the graphics that bled though remain even when the form is moved around. If you open another...
  2. Background window graphics bleeding through foreground window

    I'm having a problem and can't seem to find a solution. I have an application where one form calls another form modally (form1 = main form, form2 = child form). Form1 has a number of image boxes...
  3. Re: Why to use MicroSoft forms 2.0 object library

    The only difference we found between the Forms 2.0 controls and the intrinsic VB controls was that the checkbox controls support transparent backgrounds in Forms 2.0, but we found a workaround for...
  4. Replies
    1
    Views
    967

    Re: XML to Pipe Delimited OR .tab in VB

    The best way I think would be to use msxml and its DOM to read the XML file, then it's a simple matter to wrte the desired values back out to a file in pipe or tab delimited form.

    Here's some code...
  5. Replies
    4
    Views
    691

    Re: What can i do with this?

    hmmm... sounds like homework.
  6. Replies
    1
    Views
    741

    Re: Let/Get Property In Dll

    In your Class module do the following


    Private m_ObjCount as Integer

    Public Property Let ObjCount(Value As Integer)
    m_ObjCount = value
    End Property

    Public Property Get ObjCount() As...
  7. Re: I Need help urgently please VB programmers

    Regulars on this forum also tend to shun homework assignments as the point of the assignment is to learn to do it yourself.
  8. Re: How can I convert string "19990201" to date in VB

    Cdate will read your string as a serial date, which is why it's throwing the error. All you need to do is insert "/" or "-" between the year, month and day. It will format the date based on your...
  9. Thread: Compiling DLL

    by mgn0528
    Replies
    5
    Views
    9,983

    Re: Compiling DLL

    Sounds like you have your instancing for the class set to "PublicNot Creatable" or "Private", which means that only the program itself can instantiate the object it describes, not any external...
  10. Replies
    10
    Views
    1,312

    Re: RecordCount value is always o

    Looking at this a second time, I think Bill is right you have this:



    strSql = "select * from People WHERE People.code_job = ' & Text1(3).Text& ' and People.code_company =' &Text1(0).Text & '...
  11. Replies
    1
    Views
    5,599

    Re: MSXML documentation

    Everything you ever wanted to know about XML can be accessed at Microsoft's XML Developer Center website.
  12. Replies
    10
    Views
    1,312

    Re: RecordCount value is always o

    You need to specify a Static recordset (adOpenStatic) instead of KeySet. KeySet, Dynamic and ForwardOnly do not support the recordcount property and will usually return -1 for the count.
  13. Re: Run time Error: ActiveX component cant create object

    First, I'm making some assumptions:

    1. You have Outlook installed
    2. You referenced Outlook in your VB application
    3. When you typed "Dim Olapp As Outlook.Application" you received context help...
  14. Replies
    2
    Views
    821

    Re: Problem with Dll

    Give this a try...

    http://windowsdevcenter.com/lpt/a/5818

    I personally couldn't get it to work, but I had other issues. If you get it to work let us know.
  15. Replies
    3
    Views
    1,316

    Re: [VB6] Error with DLL MSXML4 Register

    Make sure you include msxml4r.dll as well. msxml4.dll needs this resource file to register and run properly.
  16. Thread: WRAPI in VB?

    by mgn0528
    Replies
    8
    Views
    4,168

    Re: WRAPI in VB?

    Not 100% sure bu tI think you havr to give the full path to the library...


    Private Declare Function WRAPIEnumerateDevices Lib "C:\Windows\System32\wrapi.dll" (ppDeviceList As WRAPI_NDIS_DEVICE,...
  17. Replies
    5
    Views
    1,400

    Re: [Tip] Create standard DLLs with VB 6.0

    Cool article. Thanks!
  18. Replies
    4
    Views
    1,244

    Re: Problem with XML

    Ok, here's the updated code. I ran this and it creates the file as you wished, as far as nesting.


    Option Explicit
    Private oDOM As DOMDocument
    Private Const m_cRootNode As String =...
  19. Replies
    1
    Views
    561

    Re: XML file creation

    Your question is a bit general. Perhaps this thread will help.
  20. Replies
    4
    Views
    1,244

    Re: Problem with XML

    Your problem is here:


    Set oElemData = oDOM.createElement("VolledigeAangifte")
    oRootElem.appendChild oElemData

    Set oElemData = oDOM.createElement("CollectieveAangifte")
    oRootElem.appendChild...
  21. Replies
    2
    Views
    10,509

    Re: using SUM() SQL FUNCTION in VB

    You need to use ADO to get the values you want to work with.



    Dim rs as New adodb.recordset
    Dim cn as New adodb.connection
    Dim PriceSum as currency

    cn.open "YOUR CONNECTION STRING HERE"
  22. Replies
    9
    Views
    1,291

    Re: Split function using strings

    Awww! the monky man beat me to it! What he said. :)
  23. Replies
    9
    Views
    1,291

    Re: Split function using strings

    You need to dim NewLine as a string array.


    Dim NewLine() As String
  24. Replies
    3
    Views
    1,095

    Re: CommonDialog.ShowOpen

    dim strPath as string

    CommonDialog.ShowOpen
    strpath = CommonDialog.Filename
    strpath = left(strpath, instrrev(strpath, "\" - 1)
  25. Re: Date & Time values in date and string format differ

    Could this be due to that rounding bug with Intel chips? How old is the processor?
Results 1 to 25 of 221
Page 1 of 9 1 2 3 4





Click Here to Expand Forum to Full Width

Featured