Search:

Type: Posts; User: Dave_e

Page 1 of 2 1 2

Search: Search took 0.05 seconds.

  1. Replies
    3
    Views
    741

    VS 2008 Re: Composing Outlook Email

    Thanks Kevin.

    Unfortunately I don't think this code helps. When my app runs outlook has already been started and picking through the code I'm not experienced enough to see what else I could use....
  2. Replies
    3
    Views
    741

    VS 2008 Composing Outlook Email

    Hi,

    Hope someone can help.

    I'm trying to compose an email from my application and been using some code (not mine) which I thought I understood and tried to edit.

    I want to include a Cc:...
  3. [VS 2008] Search for a word in DGV then change background colour

    Hi,

    Hoping someone can help me here.

    I want to search a column in a DGV and when a certain word is found, simply change the row colour.

    I've got the following which works if the row contains...
  4. Replies
    2
    Views
    18,558

    VS 2008 Re: Net Use with VB.Net

    Cheers jmcilhinney, I was looking and in the end trying some silly things.

    Here's my solution for anyone else that needs to do this ...


    Dim processInfo As New...
  5. Replies
    2
    Views
    18,558

    VS 2008 [Solved] Net Use with VB.Net

    Hi

    I'm trying to map a network drive within VB.Net and not sure how close I am to achieving it :confused:

    I basically want to do this (which can be done from a command prompt)

    net use s:...
  6. Replies
    2
    Views
    573

    VS 2008 Re: DGV - Counting values in a column

    Thanks Kris!

    Works perfectly. Karma given :)
  7. Replies
    2
    Views
    573

    VS 2008 DGV - Counting values in a column

    Hi,

    Can someone please tell me how I count the number of times a specifc value appears in a column within a DataGridView?

    Thanks
  8. Replies
    1
    Views
    736

    VS 2008 Change Default Windows Printer

    I've been holding off asking this question as I've been trying to work the answer out myself (well perusing these forums and using Google)

    Anyway, no luck.

    All I really want to do is change...
  9. Replies
    5
    Views
    1,748

    VS 2008 Re: DateTimePicker Format problems

    stlaural, si the geek, also thanks for the extra info. Its much appreciated :-)
  10. Replies
    5
    Views
    1,748

    VS 2008 Re: DateTimePicker Format problems

    Thank you! Perfect :-)
  11. Replies
    5
    Views
    1,748

    VS 2008 DateTimePicker Format problems

    Hi,

    Hoping someone can help please.

    I have a form with a DateTimePicker and want to convert the user selected date into ddmmyy and then display the result in a label on the form.

    I'm not...
  12. VS 2008 Unhandled Exception 'Interop.Access, Ver 9.0.0.0'

    Hi,

    I've been enjoying coding in VB.Net and thought I'd started to make some progress (or so I thought).

    Anyway, running my app in Debug Mode within Visual Studio I've been able to allow the...
  13. VS 2008 Re: From a Form Open an Access Report

    RobDogs, thanks for putting me on the right track.

    I got there with the following


    accRpt.DoCmd.OpenReport(ReportName:=(RepName), View:=Access.AcView.acViewPreview)


    Cheers
  14. VS 2008 [Resolved] From a Form Open an Access Report

    Hi,

    I've been trying to open Access reports from my application.

    The code I've been using opens the report but also prints it. I only really want the report to open.

    Here's the code ...

    ...
  15. Replies
    2
    Views
    670

    VS 2008 Re: Changing DGV Fonts at Runtime

    Thanks ForumAccount, that worked :-)

    I'm still none the wiser though (but not overly worried) that the fact I used the same code at home on VB2008 Express as what I did at my work place on Visual...
  16. Replies
    2
    Views
    670

    VS 2008 [Resolved] Changing DGV Fonts at Runtime

    Hi,

    I'm really not sure whats happening here so hopefully someone can help me out.

    I have 2 Comboboxes on my Form which also has a DataGridView.

    One ComboBox is populated with Font Names and...
  17. Replies
    13
    Views
    8,687

    VS 2008 Re: Completely Removing DataSets from Project

    OK, thanks. consider it a lesson learnt the hard way.

    I'm going to continue picking through it until I've pulled all my hair out and start again :sick:
  18. Replies
    13
    Views
    8,687

    VS 2008 Re: Completely Removing DataSets from Project

    Wow, that was quick!

    I must admit I'm in a bit of a pickle here. I've deleted (from the Form Designer) what I no longer need. Then Right Click the DataSets in the Solution Explorer (in turn) and...
  19. Replies
    13
    Views
    8,687

    VS 2008 Completely Removing DataSets from Project

    Hi,

    Whilst playing around with DataGridViews in VS I've accumalated quite a few TestDataSets within my project.

    Can someone please tell me the correct way of removing these cleanly?

    At the...
  20. Re: [2008] DataGridView Update/Concurrency Violation

    Can anyone help here please?
  21. Re: [2008] DataGridView Update/Concurrency Violation

    hi jmcilhinney, thanks for the reply.

    Do you have any pointers? I'm googling but to no avail and I'm a bit stuck for ideas :(

    I'd like to just overwrite whatever already is written to the DB...
  22. [2008] DataGridView Update/Concurrency Violation

    Hi,

    Can someone help me get around the following problem please?

    I have an Access database which can be accessed by more than one instance of my application (which is) a Form with a...
  23. Re: DataGridView. Clear contents of a column.

    Excellent! that works.

    Thank you.
  24. Re: [2008] DataGridView Refresh. Jumps to first Entry.

    I've decided to keep the timer and used the rowindex code from above :)

    I've got around the ugly jumping by doing DATAGRIDVIEW.VISIBLE = FALSE for a second and it works ok

    Thanks.
  25. Re: DataGridView. Clear contents of a column.

    Can anyone offer any more guidance please?
  26. Re: [2008] DataGridView Refresh. Jumps to first Entry.

    @Deepak Sakpal - Thanks for the reply, this works but because I have the update/refresh on a timer it can become a bit of a nuance. I'm thinking of changing my approach and just call the...
  27. Re: [2008] How to update database through a datagrid

    Daniel,

    I'm no expect (on a very steep learning curve) but have managed to do this by using the following (as an example)



    Me.Validate()
    Me.HOCHECKLISTBindingSource.EndEdit()...
  28. [RESOLVED][2008] DataGridView Refresh. Jumps to first Entry.

    Hi

    I'm successfully refreshing my DataGridView/Access DB by using the following.



    Me.Validate()
    Me.HOCHECKLISTBindingSource.EndEdit()
    ...
  29. Re: DataGridView. Clear contents of a column.

    OK, I'm looking :) but not sure where.

    Same name on the Access Table itself, Same within DGV Properties (Columns Collection) and same name within the Dataset.

    I'm obviously missing something...
  30. Re: DataGridView. Clear contents of a column.

    Hi and thanks,

    I keep getting Column named Name cannot be found and the debug starts at this line


    dgvr.Cells("Name").Value = String.Empty

    I have several columns in the DGV and its the...
  31. [RESOLVED][2008] DataGridView. Clear contents of a column.

    Hi,

    Can someone help me with clearing cell contents within a DataGridView?

    I have a column with a list of names and would like to be able to make the whole column blank.

    I can currently...
  32. Re: [2008] Textfile search for a string between strings

    .paul. you are the man! thank you very much. It works perfectly. :thumb:


    Cheers
  33. Re: [2008] Textfile search for a string between strings

    Hi

    That works but I'm trying to use a text file as the string (like the first example you gave me)


    Dim testStr As String = IO.File.ReadAllText("MyFile[1].txt")

    I'm using the exact same...
  34. Re: [2008] Textfile search for a string between strings

    Hi .paul.

    This works so well that I've tried to pull some more info from the source, but I can't seem to get the syntax right.

    My problem seems to be the quotation marks.

    I've searched and...
  35. Re: [2008] Textfile search for a string between strings

    Fantastic! its working.

    I just had to slightly change MyFile[1].txt into c:\MyFile.txt


    Much appreciated :)

    Thanks
  36. Re: [2008] Textfile search for a string between strings

    Here goes .... thanks again.
  37. Re: [2008] Textfile search for a string between strings

    Hi .paul. thanks for the quick reply.

    The actual URL is for a LAN Printer.

    Can I post the source? or part of the source?



    Thanks
  38. [RESOLVED][2008] Textfile search for a string between strings

    Hi,

    Can anyone help?

    I need to search for a string in a text file.

    This string can change so I think I need to set a before and after string with the result being whatever is between.
    ...
  39. Re: [2008] Context Menu Location (Right Click Datagridvew)

    Hi jmcilhinney, thanks for the info. I'm learnnig all the time.
  40. Re: [2008] Context Menu Location (Right Click Datagridvew)

    Excellent! Thanks ForumAccount


    ContextMenuStrip5.Show(MousePosition) has done the trick.

    @.paul.

    Thanks for your reply, I've not tried it as it now works with (MousePosition)

    Cheers
Results 1 to 40 of 48
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width