Search:

Type: Posts; User: stanav

Page 1 of 13 1 2 3 4

Search: Search took 0.15 seconds.

  1. Re: How to obtain the name of the dynamically created label your clicking on

    Sorry I misunderstood your idea in the last post... I'm so ashamed of myself for being such a sloppy reader. I'll try to read more carefully next time. :)
  2. Re: How to obtain the name of the dynamically created label your clicking on

    The Tag is type Object. If you want to use it to store the control's name, that's fine but you'll have to cast it back to string when retrieving it where as if you use the Name property, no casting...
  3. Replies
    11
    Views
    508

    Re: Recover Laptop Operating System

    Certainly you can find the drivers for your laptop.
    http://www.asus.com/Notebooks_Ultrabooks/N60Dp/#support_Download_30

    To minimize the chance of getting driver conflicts, you should install them...
  4. Replies
    11
    Views
    508

    Re: Recover Laptop Operating System

    Unless it's a really old laptop, chances are you will find all the needed drivers on manufacturer's web site.
  5. Re: Upgrade to Memory requires re-activation of Windows

    Yeah, I'd suggest the same thing... It takes only few minutes.
  6. Replies
    11
    Views
    508

    Re: Recover Laptop Operating System

    It's a lot easier to restore your laptop if you have the OEM restoration CDs but if you don't have them, you can always try the long approach. That is, manually install the OS, then install any...
  7. Re: Disable DGV row click unless if command is met

    In order to return to the previously selected row, you somehow have to save what that row is first, right?
    Try adding these lines (red) to your code:


    Private lastSelectedCell As...
  8. Re: Which laptop upgrade: HDD to SSD or 2GB to 4GB RAM?

    Yeah, using SSD as boot drive and HDD for data storage seems to be the norm. I too use this set up in all of my desktop and I am quite happy with it ... With laptops, it's another story though. Many...
  9. Replies
    17
    Views
    861

    Re: Adding working days to date

    That is only part of his code... The full code is in post#5, which in no way resembles a single line.... Does it work? I don't know... but I take his words that it does.
  10. Replies
    2
    Views
    145

    Re: Need help with reset variables

    Hiding and showing a form doesn't reset any variable values. If you want to reset some certain variables while keeping some others, you have to do it manually. On the other hand, if you want to reset...
  11. Replies
    17
    Views
    861

    Re: Adding working days to date

    Oh, I didn't realize that we've just resurrected a 2+ year old thread :)
  12. Re: Which laptop upgrade: HDD to SSD or 2GB to 4GB RAM?

    What OS are you running? 32 or 64 bit?
  13. Replies
    11
    Views
    969

    Re: Purchase Laptop on the Web

    Interesting... What about females? Can females travel with electronic goods?
  14. Replies
    17
    Views
    861

    Re: Adding working days to date

    Set aside the fact that this is NOT vb.net code, how is it any more elegant than using a loop?
  15. Re: Merge Pdf Files and Add Bookmarks to It (Using iTextSharp)

    Yes. You create a new pdf file and add the images to the page on the fly...
  16. Replies
    8
    Views
    269

    Re: Putitng calculated object into variable

    Here's an example


    Private Function GetSum(byval num1 as double, byval num2 as double) as double
    Dim result as Double = num1 + num2
    Return result
    End Function

    'Usage:
    Label1.Text =...
  17. Replies
    8
    Views
    269

    Re: Putitng calculated object into variable

    Well, you change the sub to a function then you call the function and assign the returned value to your variable.
  18. Replies
    1
    Views
    124

    VS 2008 Re: new here and stupid beginner in VS2008

    Well, that's what variables are for... Instead of using the literal "AAA" and "BBB", you use some string variables and presto!... Your problem solved.


    Dim AAA as String = "blablabla"
    Dim BBB as...
  19. VS 2008 Re: Extracting and merging pages with iText

    You need to declare the array and you're correct, it's a syntax error on your part for incorrectly doing it. That line should be like this:


    Dim myPages() as Integer = New Integer() {1, 3, 5, 6}...
  20. Re: [RESOLVED] Display PDF file in WebBrowser control

    That's because your Adobe Reader application has been set not to display pdf in a web browser. Try your application again after you've done this: open Adobe Reader program then go to Edit >...
  21. Replies
    3
    Views
    376

    Re: USB Wifi Adapter bending in the USB Socket

    I'm 2nd to Lord Orwell. It definitely was bent by a user... Probably you pushed the computer too hard and too far back that it hit the wall and bent the protruding USB WL adapter. Next time, to...
  22. Replies
    7
    Views
    629

    Re: windows 7 user privacy ( Like Linux )

    If you really need to protect your files from other users, NTFS permissions alone won't cut it. Try a third party encryption program such as TrueCrypt.
  23. VS 2010 Re: Using the .SubString Function to Reverse the string

    Try something like this:


    Dim original As String = "0123456789"
    Dim reversed As String = original
    Dim length As Integer = original.Length
    If length > 1 Then
    ...
  24. Replies
    10
    Views
    281

    VS 2010 Re: Processing lots of data

    So it seems this is a one time job... If it is in fact a one time job then I would just run it in a dedicated machine and let it go even it would take a few days to complete. Trying to rewrite an...
  25. Replies
    13
    Views
    280

    Re: Moving to top of TreeView after ExpandAll()

    I don't quite understand what you mean exactly... The code works fine for me. Can you post a screen shot to show what you mean? And by the way, what, if any, treeview events are you handling?
  26. Replies
    13
    Views
    280

    Re: Moving to top of TreeView after ExpandAll()

    Try this:


    Private Sub btnExpandAll_Click(sender As Object, e As EventArgs) Handles btnExpandAll.Click
    trvMasterFormat.ExpandAll()
    trvMasterFormat.SelectedNode =...
  27. Replies
    8
    Views
    965

    Re: Windows 8 + VB6 + No CTRL-BREAK

    Have you considered using an external keyboard if the laptop's keyboard doesn't have the key(s) you need?
  28. Replies
    6
    Views
    201

    VS 2010 Re: Creating ShortCut

    I don't see you call the CreateShortCut sub anywhere in your code....
  29. VS 2010 Re: Control background color conversion help.

    Use Color.FromArgb function


    myControl.BackColor = Color.FromArgb(16776960)
  30. Replies
    6
    Views
    195

    VS 2010 Re: The Version Updater

    Well, actually My.Computer.Network.DownloadFile does support downloading from the Internet if you pass it an Uri...
    I'd use a WebClient too...
  31. Replies
    4
    Views
    150

    VS 2010 Re: Grouping numbers with arrays

    Because the differences between groups are not the same (1st group is 1.2 while other groups is only 0.2), you need to use select case or if...elseif...esle statement.
  32. VS 2010 Re: How to split a multiline textbox into individual lines

    The textbox control already has the "Lines" property, which returns a string array whose elements are individual lines in the control, so no splitting needed. However, as SH pointed out, using a...
  33. Re: Writing to Text File - Need to Escape Quotes

    A literal double quote is escaped with another double quote. That's why it requires 3 double quotes at the beginning of your string: the 1st one is to to indicate this is a string, the 2 following it...
  34. VS 2010 Re: HELP in Making an Automatic Class Scheduling Application

    If you're to use a pen and paper, how would you go about doing it? And that is what you need to do now. Write out the steps/procedures that you would have to perform to accomplish your objectives...
  35. Replies
    2
    Views
    183

    VS 2010 Re: Council to develop web applications.

    You can try the free VS Express 2012 for Web... Most likely it will meet your needs.
    http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-for-web
  36. Re: Itextsharp search word in multiple PDF then isolate the PDF document

    You see in the code how a paragraph is added to every page 1 of a pdf file before the original pdf page is copied over. That paragraph is what makes the bookmark. If you want the bookmark to be at...
  37. VS 2008 Re: Convert minutes to hour ( round of minutes portion )

    TimeSpan is the way to go...


    Dim ts As TimeSpan = TimeSpan.FromMinutes(1439)
    MessageBox.Show(String.Format("Days: {0}, Hours: {1}, Minutes: {2}", ts.Days, ts.Hours, ts.Minutes))
  38. Replies
    13
    Views
    318

    VS 2010 Re: Detecting adjacent label backcolor

    You could store the panel's coordinates in the Tag property as a Point when you create it. That way it's more efficient since you don't have to loop the whole grid to "search" for the panel.
  39. VS 2010 Re: Querying Active Directory Groups using VB2010

    When searching for these kind of information, MSDN is usually my first place to go to. Of course I do use Google :) Try this:...
  40. Replies
    13
    Views
    318

    VS 2010 Re: Detecting adjacent label backcolor

    I assume that each square is represented by a Label... If this is the case, you simply add the 100 labels to a 10x10 array and you can get to any specific label by the array index.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4