Search Results - VBForums

Search:

Type: Posts; User: stanav

Page 1 of 13 1 2 3 4

Search: Search took 0.14 seconds.

  1. Re: How can I change this program to receive parameters?

    Most programs that use parameters are launched from a command line - not a file with registered file type. Therefore, if you want to be able to use parameters when opening a file, the parameters...
  2. Thread: Help Please!

    by stanav
    Replies
    1
    Views
    92

    VS 2013 Re: Help Please!

    You should post the screen shot and the code directly here instead of links to other sites.
  3. Replies
    6
    Views
    131

    Re: How to reference multinumber string?

    Try something like this:


    Dim controlName as string = string.empty
    For i as integer = 1 To 10
    controlName = String.Format("Flav{0}Name", i.ToString)
    otherForm.Controls(controlName).Text...
  4. Replies
    2
    Views
    103

    Re: How to fix the size of controls?

    What type is the distressTable control?
  5. Re: Is there anyway to copy the text from a PDF file and manipulate it like a string.

    Have a look at this CodeBank submission for the PdfManipulation class using iTextSharp.
  6. Re: [RESOLVED] Java installation on my computer

    LOL.
    JRE (Java Runtime Environment) is a platform that is required to run application written in Java language. And since it's not required by Windows, it's usually not pre-installed. The user can...
  7. Re: How to display a boolean column as a DropDownList in DataGridView?

    It is supposed to select the right item automatically for each record. If the actual field value of a record doesn't match any of the items listed in the combobox, you'll get an error. You need to...
  8. Replies
    3
    Views
    127

    Re: Adding and Subtracting Current Time Label

    "Now" is a function that returns the current Date. The Date type provides various methods and one of them is "AddSeconds", which is the one you want to use if you want to add 5 seconds to the date....
  9. Re: How to display a boolean column as a DropDownList in DataGridView?

    There are 4 properties of the DataGridViewComboBoxColumn that you'd be interested in:
    - DataPropertyName: name of the column in the data source that you bind to the DGV.
    - DataSource: the actual...
  10. Replies
    15
    Views
    315

    Re: Splash Screen graphic issue

    Can you post a screen shot showing the incorrect scaling of your app? Also, what version of .Net framework does your app target?
  11. Replies
    15
    Views
    315

    Re: Splash Screen graphic issue

    On the computer that your application doesn't display correctly, what's the Display zoom option set to? 100%? 125%? 150%?
  12. Re: How to display a boolean column as a DropDownList in DataGridView?

    You set the DataPropertyName property of that column to the field name of the field you want it to bind to. Yours in this case is "HoldCode", so back to the designer, go in the Columns properties of...
  13. Re: How to display a boolean column as a DropDownList in DataGridView?

    Well, I don't know what you've been told... but auto-generated columns are DataGridViewTextBoxColumn type only. You will not have other types such as ComboBox, CheckBox... generated automatically for...
  14. Replies
    7
    Views
    195

    VS 2010 Re: Help i dont know why it isnt working

    1. Your If statement may not be what you think it is... If you want to check to see if count= 1 or count = 2 or count= 3... then you need to spell it out so.
    However, you can make it short by

    ...
  15. Re: How to display a boolean column as a DropDownList in DataGridView?

    You add a DataGridViewCheckBoxColumn to your DGV, either in the designer or in code. In the designer, select the DVG and go to the Columns property in Properties window. Click the [...] button. The...
  16. Replies
    1
    Views
    82

    Re: How to update graphics at a form

    In mouse.click event handler, after you set the values for x and y, you call the the form's Refresh method to repaint the whole form or for better performance, you use the form.Invalidate method and...
  17. Re: How to display a boolean column as a DropDownList in DataGridView?

    Since this is for boolean data, I'd use a DataGridViewCheckBoxColumn.
  18. Re: How to change headings on DataGridView control?

    You can do it at the data source or at the display level.
    At the data source level


    SELECT o.OrderId As [Order Id], o.OrderDate As [Order Date], o.Customer FROM [Order] o
    At the display level:...
  19. Replies
    15
    Views
    267

    VS 2013 Re: dynamic datatable name

    You could use the Tag property of the TabPage to store the datatable for that tabpage. Later, you just read the Tag property of the selected tabpage to get to its datatable.


    Dim selecteddt As...
  20. Re: How to add only desired columns to DatagridView control

    Uhm... Actually, no. He doesn't need to define a data source at design time unless he wants to use a strongly typed dataset (which in my opinion doesn't give much flexibility). He can simply add...
  21. Re: How to add only desired columns to DatagridView control

    There are 3 ways that I know of:
    1. The easy way: select only the columns you need from the DB.
    2. More tedious way: if you need data from columns that you don't want to display, manually add...
  22. Replies
    9
    Views
    135

    Re: Read a text file and grab OrderID

    You should use regular expression as Toph suggested. Using combination of string manipulation methods will work, but it'll take you a lot more efforts and is prone to error.
  23. Replies
    6
    Views
    181

    VS 2010 Re: New to multithreading - help required

    You also may want to look at using a custom DataGridView or ListView to display the threads' progress (you add a new row dynamically when a new thread is spun off)
  24. Re: IO.DirectoryInfo(MyPath).GetDirectories is SLOW across a network..why?

    If you target .Net 4.0 and higher, use the DirectoryInfo.EnumerateDirectories method instead.
    For .Net 3.5 and older, you can use the Code Project's FastDirectoryEnumerator class.
  25. VS 2013 Re: Reading and displaying data from a USB device onto a chart

    1. Use a collection some type such as list(of single) if just the temps that you want to plot. This variable should be declared with class scope so that you can access it from both the timer.tick and...
  26. Replies
    1
    Views
    158

    VS 2013 Re: List the COM Port names?

    You will need to use WMI and query Win32_SerialPort class. Just Google for "wmi code generator" and use it to generate .net code that you can copy to your application.
  27. Re: Display specific row from a table

    If you know the index of the row you want to display, simply set the bindingsource.position property. For example, if you want to display row#5 which has the index of 4 (because indexes are...
  28. Re: Edit a .txt file and splitting a record with 12 columns of data into 12 records

    I agree with dday9... For what you're trying to do, it's will be a lot easier if you load the original file to a datatable first then work the datatable instead of dealing directly with string...
  29. Replies
    7
    Views
    222

    VS 2010 Re: Returnig array from a function (need help)

    [QUOTE=Alain;4838355]First off, if you want your function to return an array, you need to specify it in its declaration, like so:



    Private Function lang_array(ByVal temp As Double) As Double()...
  30. Thread: Time Loging

    by stanav
    Replies
    7
    Views
    290

    Re: Time Loging

    1. If you don't want to display the miliseconds then remove it.


    'Change this line
    lblClock.Text = String.Format("{0:00}:{1:00}:{2:00}:{3:00}", Math.Floor(elapsed.TotalHours), elapsed.Minutes,...
  31. Replies
    6
    Views
    590

    Re: How to increase the web speed

    What you need is a web proxy, not a router. You could set up one of your PC to be the web proxy server and other PC's is configured to use it. You can Google for tutorials on building your own web...
  32. Re: Would two wireless mice intefere with each other?

    Yes, they could. As matter of fact, I myself experienced this once before. Both my co-worker and I were using the same make/model of wireless mouse. He's in the cubicle next to mine. I noticed that...
  33. Replies
    6
    Views
    530

    Re: Laptop turns off when power goes out

    Have you tried a cold reset?
    Here's the procedure: with the laptop off, take out the battery then hold down the power button for 10-15 seconds. Now reinstall the battery and power on the laptop....
  34. Replies
    9
    Views
    699

    Re: best computer backup solution

    As Dilettante already suggested, using a couple of external USB or eSATA drives is the way to go. Their prices are pretty affordable nowadays.
  35. Replies
    5
    Views
    520

    Re: GetElementByTagName

    1. If the element has an ID, you should always use GetElementById method.
    2. I'm not sure what data from the table you want to add to Listbox2, so you need to provide this info before I can help you...
  36. Replies
    5
    Views
    977

    Re: SSD detected by BIOS, but not OS

    I'm afraid that you're SSD is done. Normally, the BIOS detects and lists a HDD or an SSD using its manufaturer and model - not a generic "3.0 GBps device".
  37. Replies
    1
    Views
    998

    Re: server configuration

    You surely can add SATA drives to your server if it has unused ports for the drives to plug in. Boot order might change though. should that happen, go in BIOS and set it back.
  38. Thread: Printer advice

    by stanav
    Replies
    9
    Views
    1,807

    Re: Printer advice

    For monochrome printing, laser printers produces way better prints than inkjet. If you don't need color then go with a monochrome laser printer. You should be able to get a decent workgroup...
  39. Re: Read only access to some files from some accounts

    1. You need to make the user account that you want to limit access to files/folder a limited (non-admin) account. There is no point of setting restriction on someone who has the power to change it...
  40. Thread: Printer advice

    by stanav
    Replies
    9
    Views
    1,807

    Re: Printer advice

    1. Whatever you choose, stay away from inkjet printers. Go with a monochrome laser printer instead.
    2. The most reliable printers I know are the old HP LaserJet 4xxx series. They are true work...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.