Search results for query: *

  • Users: alaric
  • Content: Threads
  • Order by date
  1. A

    Help challenging numbers

    Hi, I try to solve a mathematical question (just for fun, and someone (in my family) who claims it can't be done, must be proven wrong):cool: I like this challange (or am I just a fool) what is it; try to display the outcome of 4444 ^ 4444 This is huge, and Im strugling with it. Because ie...
  2. A

    item select works onclick NOT in sub

    Hi Im using vb express and trying to select all item in a listview. I have a mainform in which i load another form in a panel (panel 2 in splitcontainer) It works when I use a button on form2: PrivateSub btnSelectAll_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
  3. A

    Scrollbar in Datagrid disapears

    Hi I recently moved to VB2005 express. New is the the splitcontainer. I decided to put a splitcontainer on my form to make layout easier. Its a maseter/detail form. The master (datagrid in panel1) and the details (textboxes containing the details of the selected record in panel2). I just...
  4. A

    problem positioning controls

    Hi, When loading my form I want to position a tabcontrol depending of the width of a datagrid. I do (on the form load event) 'load the list LoadList() 'add TableSyle tsCursistenInschrijvingen() 'calc our start coordinates X and Y AFTER we added the ts Dim intX AsInteger =...
  5. A

    how to set new width to datagrid

    Hi, cant figure out where to set the new datagrid width to fit all the columns. I define a tablestyle and count the total width of the columns Oke this is what i do (try) 1. load the form 2. add dgStyle to datatable (here I calculate (intdgCursWidth) the width of all colums, which I want...
  6. A

    Null in stream

    Hi, everytime I call this piece of code, it end with an exepction Dim strm As System.IO.Stream = Me.GetType().Assembly.GetManifestResourceStream("fullbuttonface.bmp") _buttonFace = New Bitmap(strm) the ex is: Message "'null' is not a valid value for 'stream'." String these are my imports...
  7. A

    dataset or datatable

    I was wondering whats best to use for performance reasons. when I add a gridstyle to my datagrid, I can use a ds or a dt as my datasource. but whats the pro/cons for using one or the other? performance? Or do I have more option when I use ie the ds instead of a dt? can someone help me with...
  8. A

    unable to draw line

    [RESOLVED] unable to draw line Hi, I know how to draw a line Dim DrawLine As System.Drawing.Graphics DrawLine = Me.CreateGraphics Dim PenColor AsNew System.Drawing.Pen(System.Drawing.Color.Black) now I want to position this line just above a label (which is in a groupbox) so I thought...
  9. A

    listbox refresh problem

    Hi, Im running in the following issue which I cant get solved. I have two forms. when I click the savebutton a second form popsup and asks for the file name to save. this works fine. now when the user hits the savebutton. I want a listbox the be refreshed (this contains all files in a...
  10. A

    unable to add a record

    [RESOLVED] unable to add a record Hi Dont know what I'm doing wrong here (Im following an exercise in a book and adapt it to my own needs) but it keeps coming up with an error: "Object reference not set to an instance of an object." when I try to Add a record. it stops at the point where I...
  11. A

    unable to send multiple emails through SMTP

    [RESOLVED] unable to send multiple emails through SMTP Hi Im trying to send multiple emails through a smtp server. Sending a single one goes OK (even with att). but when trying to send more than one.... the error raised is: Console.WriteLine(exp.Message) gives: Could not access...
  12. A

    Strange behaviour Datagrid

    [RESOLVED] Strange behaviour Datagrid Hi i have a form with a datagrid on wich a user can select a row. below this grid I show the detail in textboxes. these texboxes are displayed on a tabcontrol. this Tabcontrol does also have a second tab. On this Itab want to display additional info of...
  13. A

    dataformat

    [RESOLVED] dataformat Hi, How to do this? I braking my brains on this one.:confused: In a bound winform i use the following to display the data in a textbox Textbox1.DataBindings.Add("text", DataSource, "Field") this offcourse works fine. however, this value is in the database as...
  14. A

    Cant get query right

    Hi Im struggling a (for me complex) query SELECT DISTINCT TAdresBoek.CursistID, TAdresBoek.AchterNaam + ', ' + TAdresBoek.VoorNaam + ISNULL(+ ' ' + TAdresBoek.TussenVoegsel, '') AS Naam, TAdresBoek.EmailAdres, TWeekdag.Weekdag AS Weekdag, TInschrijving.Plezier...
  15. A

    whats wrong in my query

    [RESOLVED] whats wrong in my query hi, Im building a form on wich the user can choose to send an email to people with email, depending (filtered) on criteria. The filtered students are shown in a listview. my sql query is; strSQL = "SELECT DISTINCT TAdresBoek.CursistID...
  16. A

    Access denied opening outlook with LOTS of emails

    Hi my program crashes when I want to load (a lot!) of email adresses in the BCC. can someone tell me if Im doing something wrong (or is this a bug) here's my code; first, i select all of the items in the listview: Dim X, intLstCount AsInteger intLstCount = Me.lstView.Items.Count - 1 For X...
  17. A

    unable to replace text with formatted text from function

    [RESOLVED} unable to replace text with formatted text from function Hi all, vb.net is still new to me me, but this is easy (i thought), but i can't figure out why its not working. I try to replace (the typed text in a textbox) with the new formatted (same text) this piece works. PrivateSub...
  18. A

    user control menu

    [SOLVED] user control menu Hi, i created an usercontrol menu structure. This userrcontrol has buttons for opening diffirent forms. When opening the mainform the usercontrol is there. When I click a button for opening a new frm, it should close (hide) the main form. So is there a way to...
  19. A

    replace password characters

    [RESOLVED] replace password characters Hi, I have searched the forum but cant find anything about replacing characters while the user is typing. I want the login form not show the password a user is typing. Meaning, while typing replacing the text by *. Hope someone can helpe me. i tried...
  20. A

    transfer data from datagrid to new form

    Hi I'm just starting my first app and run into following problem I cant get fixed. I have a form with a datagrid( user can only delete records here). When user wants to edit a record he doubliclicks a row and a new form shopul open with all the containing row data from the data grid. The data...
Back
Top