Jump to content
Xtreme .Net Talk

daveh541

Members
  • Posts

    20
  • Joined

  • Last visited

Personal Information

  • Visual Studio .NET Version
    Visual Basic .Net Standard

daveh541's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. <A HREF="mailto:name@dell.com?CC=me@dell.com&Subject=subject&Body=body">Name of the contact person</A>
  2. Yea I don't know where I got this information from either. I did a little research to figure out which article on MSDN it was from, but there was no mention of this. I think I was just lying to myself :p
  3. thanks for the reply. yea i have it in release mode, and there is a difference in run time, but mainly I'm just looking for any ideas. I have looked at a couple of MSDN articles of performance and optimaztion that I've found through these forums. Speaking of which, one suggestion was to use longs instead of ints due to it being 32 bit. Anyone notice any differences with this?
  4. I had this problem as well. When removing the tabpage, you must set the focus to a different control, like a button: ... Dim CurrentTab As TabPage = Searches.SelectedTab butSomething.focus() Searches.TabPages.Remove(CurrentTab) If Searches.TabCount = 0 Then ...
  5. Hello, my app has a tacontrol with 3 pages. About 20 controls on the first page, and 4 or so on the other 2 (datagrids with a couple of comboboxes to change the view). The run time is a little slow to my liking, and it would be great if I could give it a little kick. Some controls (such as the comboboxes and a couple of textboxes) have their own events, and seem to be accessed when the program is first run. I am wondering if it would be faster to add the handler in the form_load event so that it isn't accessed until the event is actually raised by the user. Also, any other suggestions that could help increase performance would be most welcome. The app is connected to an access database, built using VS.net Standard Edition. Thanks.
  6. You can't hide tabs, but you can remove them.
  7. Also if you feel a little artsy you can design your own icons in vb
  8. One way would be if the serial #s are unique, is to set it as the primary key. Then use the 'findbyPK' where PK is what the Primary Key's column name is: such as serial or however you have it. Say it was serial... Dim findrow As DataRow = dataset.table.FindBySerial(serialnum) If (findrow Is Nothing) Then 'Serial number does not exist Else 'Serial Number exists MsgBox("Serial Number Exists", MsgBoxStyle.Information, "Serial") End If If the dataset isn't from the designer, then you can dataset.table.find(serialnum) to get the primary key row if serial number is not a primary key, then you could Dim findrow As DataRow For Each findrow In dataset.table If findrow.Item(dataset.table.SerialColumn) = serialnum Then MsgBox("Serial Number Exists", MsgBoxStyle.Information, "Exists") Exit For End If Next Hope this helps. I pre-appologize if the code doesn't work, I didn't have a chance to test it, but you can use it as a guideline. Go Boks.
  9. When you are printing out each each of data from the fields in your database, why not just set a margin equal to the space you ant. For example: concatenate the firstname and surname then <vb> e.Graphics.DrawString(fullname, FontA, Brushes.DarkBlue, X1, y) e.Graphics.DrawString(address1, FontA, Brushes.DarkBlue, X2, y) e.Graphics.DrawString(address2, FontA, Brushes.DarkBlue, X3,y) </vb> etc... where x2 = x1+ somenumber , x3=x2 + someothernumber... I hope this helps.
  10. Crystal Reports is not part of VB.Net Standard
  11. Thanks for the suggestion. I tried updating video drivers but still had the same problem; however, I think I have fixed the situation. The datasource for my combobox was an arraylist that I created programmatically, and would change every time the customer was changed. A Master-Detail type deal. Anyway, I would : cmbopart.datasource = nothing each time it was changed. I changed this to cmbopart.databindings.clear() and this seems to have corrected the situation on all test platforms. Thanks for all the help and suggestions.
  12. note: i'm an idiot. :D
  13. Whoops, that was the original, here is the changed.
  14. Here is a screenshot of the browser. It shows a datagrid that is in the "Scrap Analysis" tab page.
  15. Thanks for the replies: Volte: I'm not overiding anything. On XP machines there seems to be no problem with the display. I'm not on the right computer right now, but I will post a screenshot tomorrow. Pentium: Yea it's messy, but i want to know why it's happening :)
×
×
  • Create New...