Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: herb8
  • Order by date
  1. herb8

    "End of File" needing some help here...

    Hello All, I'm importing a fixed length record file. And am wondering if there is any easy way to tell if im at the end of the file like there was in .vb 6 using .eof ? If anyone can help me out I would appreciate it. Thanks in advance, Matt
  2. herb8

    Adding Crystal Report Objects at RunTime

    Anyone know if this is possible? I know how to edit the report and objects that are currently on the report but I need the ability to add labels and fields. Any help would be appreciated. Thanks, Matt
  3. herb8

    Unload a Assembly ( dll )

    To unload an assembly you must create an appdomain load the assembly inside it and then close the appdomain down. The only other way is to close down the program running the dll. The appdomain has little information making it very difficult to do, we were never able to make it work properly...
  4. herb8

    populate a label from sql

    The record set is what was returned from the stored procedure or sql statement basically your dataset is a recordset. Also I noticed you declared a dtDataSet as New DataSet, but you never populated the dataset. I think that might be your problem. -Matt
  5. herb8

    VB.Net Apps Slow

    The only useful thing that I know of SP2 fixing is the ASPNET user acct. Your dev machine will already have that from the dev package install. So in this sense you dont need it but I know I have sp2 loaded on my dev machine and never got that message let me check for a better link. -Matt
  6. herb8

    Setting Property Application Wide for a User Control

    Would you have anything in your database that would be seperating your users such as by logon id or something? If so you could always include in the control that checked the users id by importing the system.enviroment and then checking against the db so basically when the control creates...
  7. herb8

    populate a label from sql

    If you know the name of the recordset being returned and which field it is in the stored procedure or the name in the stored procedure. Then you can easily use Label1.text = MyRecordSet.Tables(0).rows(0).items(and put in the index of the field called or the name called, though if you put in...
  8. herb8

    dependent combo boxes

    Well in that case you would first need to return a recordset of your first level choices. Then in combobox1.selectedindex change you would return another recordset based on the parameter you choose in combobox1.text. Then you would populate combobox2 like Combobox1.selectedindexchanged...
  9. herb8

    dependent combo boxes

    Sorry one thing that last select case statement ComboBox2_SelectedIndexChanged the Select Case Combobox3 should be changed to ComboBox2. Sorry Matt
  10. herb8

    dependent combo boxes

    This should give you an idea just drop this onto a new form dont change the name from form1 and put 3 comboboxes on the form. Its really basic but should show you how to do it. Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load...
  11. herb8

    VB.Net Apps Slow

    If the version number is 1.1 you are running .net framework the release version. If the service pack 2 is installed the version number will be 1.375. Here is the link to the SP2. You might have to cut and paste it into your browser...
  12. herb8

    VB.Net Apps Slow

    Yes it does actually. The ASPNET acct is an account loaded when the dev package gets loaded and was suppose to be loaded on the users machine in .net framework. Which it should be fixed with the .net framework SP2. The adding it manually is just a work around. -Matt
  13. herb8

    Email

    I have it stored in the db for what i'm using it for. What are you trying to capture the email address from? -Matt
  14. herb8

    the DoubleClick event fires when right doubleclicked?

    This is another easy way to do this just move your code from your listview_doublclick to the listview_mousedown and put it inside this control structure. If e.Button = MouseButtons.Left And e.Clicks = 2 Then 'insert listview_doubleclicked code here End If Hope this helps. -Matt
  15. herb8

    VB.Net Apps Slow

    We had this same problem. The programs run smooth on the dev machines but slow loading on the users machines. In our case this happened because of the ASPNET user acct was not being loaded on the users machines. This is a built in acct that gets loaded with vb.net dev package load. This is a...
  16. herb8

    Email

    Hey John try this out, it works nicely for me all you need to do is put in the correct smtp server, and pass the email body as a string, the attachment/s locations as a string seperated by "," the from email, and the to address which if you changed those to an array you could pass...
  17. herb8

    Automated Email of Reports through VB.Net

    Does anyone know if there is a way to email reports in a format such as .pdf or .doc . I would like to be able to export reports through code and dump the reports into and email and fire them off to an address. I know this was possible in vb6/crystal8 though the formatting was not exactly...
  18. herb8

    What replaces the single quote ' in SQL?

    I need to use the single quotes in a string and Im wondering if there is anyway in SQL to be able to declare a variable as a varchar() and include the single quotes in the string? (ie.. @sTmp varchar(50) Set @sTmp = 'Hello World' ...but somehow keeping the singe quotes. Thanks in advance, Matt
  19. herb8

    Trying to get the Screen Size

    I actually found my answer but just in case anyone wanted it, heres how. Imports Scr = System.Windows.Forms.Screen Dim scWidth as Int16 = Scr.PrimaryScreen.Bounds.Width Dim scHeight as Int16 = Scr.PrimaryScreen.Bounds.Height Hope this can help someone. Matt
  20. herb8

    Trying to get the Screen Size

    How do I go about getting the machines screen size or dimensions. I figured it would be apart of the System.Enviroment but can't seem to find it. Any help would be great. Thanks, Matt

Part and Inventory Search

Back
Top