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

Search:

Type: Posts; User: Gizmo001

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Thread: Shortcut icon

    by Gizmo001
    Replies
    0
    Views
    662

    Shortcut icon

    I am using version 3.5. How do I get a short-cut icon to show up on the screen during installation via setup wizard? Thanks.
  2. Re: Clear the contents of all cells in an Excel File???

    oops! Here is the correct version!!!

    xl.displayalerts=false
    xls.cells.select
    xls.delete
  3. Replies
    8
    Views
    4,456

    Re: how to control other process through vb.net

    sir as you say to use file between them for communication,but i cannot do that coz i don't have control over second application .i means to say that second application is not created by me it is some...
  4. Replies
    8
    Views
    4,456

    Re: how to control other process through vb.net

    One way to set a textbox's text in one application from the content of a textbox (or any other info) from another application is to have the first application look for a specific file with the...
  5. Re: [RESOLVED] Fast write to excel, no more working.

    Please don't reply. HanneSThEGreaT's url provides the info. Thanks, both.
  6. Re: [RESOLVED] Fast write to excel, no more working.

    Marraco:

    How do you assign data to MyExcelRange. Do the data have to come from Excel or can it be dataset or a 2-D array? Thanks.
  7. Replies
    9
    Views
    1,281

    Re: Regarding Process execution

    Create a form with the same message as in dialog box. Show it and through form.visible = true and make it disappear with form.visible = false command instead of the dialog.wait - this is an...
  8. Replies
    9
    Views
    1,281

    Re: Regarding Process execution

    Try this:

    dim process as new Process
    process.StartInfo.FileName ="prc.bat"
    process.start
    process.WaitForExit()
    Thread.Sleep(1000)
    ...
  9. Replies
    1
    Views
    783

    Re: problem in reading a word document

    For i = 0 to count-1
    For k = 0 To MyDoc.Tables.Item(i).Columns.Count-1


    For j = 1 To MyDoc.Tables.Item(i).Rows.Count-1

    Make these changes and try.
  10. Replies
    3
    Views
    1,017

    Re: Keep application forms on top

    Shuja:

    I had tried that. That has no effect. I have a non-.Net, third-party application running with its form taking up the whole screen. Now, I want to run my application so that its form shows...
  11. Replies
    3
    Views
    1,017

    Keep application forms on top

    I want to keep the forms related to my forms on top of all other open applications. How do I do that? Thanks?
  12. Replies
    2
    Views
    797

    Re: Downloading a table from a web page

    HannestheGreat:

    Thanks for your quick reply. Yes, the table is from Internet. However, I don't want to get the result in html format; I have been able to do that and parse data to get what I want....
  13. Replies
    2
    Views
    797

    Downloading a table from a web page

    I would like to download a table on a web page to a .csv or text file using VB.Net (not ASP.Net). Any ideas?
  14. Re: reading Comma delimited file strings inbetween commas

    Dim str As StreamReader = New StreamReader(New FileStream("FiletoRead.csv", FileMode.Open))
    Dim strline, arr(), x,y,z As String

    Try
    NextLine:
    strline = str.ReadLine
    arr =...
  15. Replies
    1
    Views
    811

    Re: Timer isn't working right

    Use larger values for the increment of vT1 (try 0.5, 5 ms, ...) and if necessary increase timer interval also from 50 ms. Good luck.
  16. Re: Error: Object reference not set to an instance of an object

    Hans:

    I tried the code you have posted after making the changes I suggested. It works as long as you have at least one control with red backcolor. If there is no control with red backcolor, an...
  17. Re: Error: Object reference not set to an instance of an object

    You need to make the following changes:

    1. Dim frmainInst As frmMain = New frmMain
    2. Dim c As RedControlTracker = New RedControlTracker

    3. You don't need to call getRedControl from...
  18. Replies
    2
    Views
    878

    Re: Doubt about toolbar......

    In the click event handler sub of toolbar, use e.button to identify the button. Example:


    Private Sub ToolBar1_ButtonClick(ByVal sender As System.Object, ByVal e As...
  19. Thread: Exceptions

    by Gizmo001
    Replies
    7
    Views
    825

    Re: Exceptions

    Within the method, put a try.. catch.. end try loop.

    Example of an exception reported from within a method:

    Private sub TestException()
    Dim z as single, x as string
    Try
    x="A"
    ...
  20. Re: why Transparent image background is still shown?

    Sorry, correction to my last reply: in the loop, we have to put draw both images to get the desired effect:

    Dim k As Integer
    For k = 0 To 10
    pic.CreateGraphics.DrawImage(img, 0, 0, 200, 150)...
  21. Re: why Transparent image background is still shown?

    Hannes:

    That is a nice piece of code! Essentially, you are drawing the the pictures a multiple times with the same value of i. So I put the last draw statement in a loop and the desired effect can...
  22. Replies
    7
    Views
    1,094

    Re: Copy method failed

    The clipboard could be storing your previous copies, thus increasing memory size with each copy. See if setting clipboard contents to "nothing" after completion of each copy command or before each...
  23. Replies
    7
    Views
    1,094

    Re: Copy method failed

    I haven't worked a lot with datasets. But shouldn't the statement

    currentListObject.Disconnect()

    be after you have copied into excel?
  24. Replies
    7
    Views
    744

    Re: Problem with savefiledialog

    try

    Case 0
  25. Automatic uninstallation and instalaltion

    How do I implement automatic uninstallation of an application during installation of a newer version using setup wizard? Thanks.
Results 1 to 25 of 307
Page 1 of 13 1 2 3 4





Click Here to Expand Forum to Full Width

Featured