Search:

Type: Posts; User: shabbaranks

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Re: Capturing confirmation from a splash screen

    Guys,

    Just wanted to say a massive THANK YOU for your help with this. You didn't dismiss the fact my knowledge was a bit thin on the ground and tell me to Google - you helped me understand what...
  2. Re: Capturing confirmation from a splash screen

    Ah ha - gotcha thanks.... Will do some digging thanks :)
  3. Re: Capturing confirmation from a splash screen

    Again thanks, Im getting there (even added a cheeky little close form at the end). No errors this time but no text file either :confused:


    using System;
    using System.Windows.Forms;
    using...
  4. Re: Capturing confirmation from a splash screen

    Just trying to piece together this code - but I cant work out why my strings have red marks against them "a field initializer cannot reference the non-static field, method or property...
  5. Re: Capturing confirmation from a splash screen

    Thanks, is this piece of code
    string FileName = string.Format("{0}_{1}.txt", telling the order of the file name based on the strings? So effectively {0} = Username_{1)=Date?
  6. Re: Capturing confirmation from a splash screen

    Slowly making progress... I managed to get my splash screen to create a text file in the desired location, but what I am trying to do now is to name the text file based on the current logged in user...
  7. Re: Capturing confirmation from a splash screen

    Thanks Si - I did think about the SQL route which wouldn't be too difficult but I didn't want to over engineer the requirement.

    "I get the impression that what you are looking to achieve is a...
  8. [RESOLVED] Capturing confirmation from a splash screen

    Hi guys,

    Im trying to create a splash screen within Visual Studio Express 2017. The desired outcome is that a notification form pops up with a message and the user clicks "I accept". What I would...
  9. Re: VBS To check if registry key exists if so delete if not then move on

    Thank you worked great, and just what I was trying to achieve.
  10. [RESOLVED] VBS To check if registry key exists if so delete if not then move on

    Hi all,

    Ive been tearing my hair out trying to work this one out. I had it working (if the key exists) its when the key doesnt exist its a problem. Im trying to delete the proxy server registry...
  11. [RESOLVED] Noob - Any ideas why this isnt displaying my username?

    Can anyone please tell me why this code wouldnt populate a textbox with the current windows logon information?


    public partial class _Default : System.Web.UI.Page
    {
    protected void...
  12. MsOf07 Re: dslookup to find when data was submitted last

    Sorted this one with
    =DMax("[Time_Of_Submission]","TimesheetTable","sUser='" & [LoggedInUser] & "'")
  13. MsOf07 [RESOLVED] dslookup to find when data was submitted last

    Hi all,

    I have an Access 2007 form which adds the current user info and adds it into a textbox on the form. On submit that field then gets added to a table and stored. I also have a field within...
  14. MsOf07 Re: Complete noob trying to display different values in combo Access 2007

    Sorry Ive just realised the answer was in the error response... Honestly Im not that thick!! :)

    So its working, but my selection is blank - any ideas for this? And I promise I haven't had an error...
  15. MsOf07 Re: Complete noob trying to display different values in combo Access 2007

    I think I got it, it was because I had the list as a table/query list as apposed to a value list - is that correct? As I have changed that and now I just get a blank list but no error.
  16. MsOf07 Re: Complete noob trying to display different values in combo Access 2007

    Ok, and I wasnt lying when I said I am an Access noob. But I get what's happening, I thought the form_load was necessary but as I understand it, you could have anything in there?

    Ive changed it so...
  17. MsOf07 Re: Complete noob trying to display different values in combo Access 2007

    I tried to amend your suggestion to my code but it complains about ambiguis name detected. Here is my code in its entirety, not this is only a very fraction of my work, I am trying to learn how to...
  18. MsOf07 [RESOLVED] Complete noob trying to display different values in combo Access 2007

    Hi all..

    As my title suggests, me and Access aren't getting on. I was wondering if anyone could help me I have my combo box which displays values 0.5, 1, 1,5 up to 10. I have created a query which...
  19. MsOf07 Populating subform based on combo box selection?

    Hi guys,

    As the title suggests, Im trying to populate a subform with the selected items from the main form. The reson for this is users can make thier selections and then add them to the subform...
  20. VS 2010 Re: Time/Date stamp from vb.net to mysql returns 0000-00-00

    Im sure its set correctly. If I add a value within mysql it adds fine. I shall have to investigate params - dont suppose a cheeky example is out of the question?

    Thanks
    :)
  21. VS 2010 Re: Time/Date stamp from vb.net to mysql returns 0000-00-00

    Is jmc the obi wan kenobi of VB then?! I think the problem exists within mysql though as I added a message box to show the output and it was fine. But the result was still all the zero's within...
  22. VS 2010 Time/Date stamp from vb.net to mysql returns 0000-00-00

    Hello my fellow vb'ers...

    Im having a problem passing a date and time stamp from vb to mysql. My code is as follows:

    ComboBox1.Text.ToUpper() & "', '" & TextBox1.Text & "', '" & Now() & "')"
    ...
  23. VS 2010 Re: Write to field within mysql from text box

    I have found a slight error in my ways but am not too sure of the context it should be written/asked. I think I have my code correct for the populating a field within mysql as below

    Private Sub...
  24. VS 2010 Re: Write to field within mysql from text box

    Thanks.. Not that I am getting what I want to do working. But reading your vast tutorials and blog content is helping me to understand vb.net a whole lot more. Half the battle is almost won :)
  25. VS 2010 Write to field within mysql from text box

    Hi all...

    Trying to get a textbox to write the contents to a field within mysql. I was wondering if anyone could give me some pointers as to how I achieve this? Just a plain basic example which I...
  26. Replies
    2
    Views
    606

    VS 2010 Re: Trying to add text to a mysql field

    I notice I am asking it for that error on throw new. Im guessing I dont want to be doing this - all I am trying to do is push whats in the text box to the field in mysql...
  27. Replies
    2
    Views
    606

    VS 2010 Trying to add text to a mysql field

    Hi
    As the title suggests - Im trying to execute on the click of the submit button adding the text in textbox 1 to the field status within the mysql table. My code is:

    Private Sub...
  28. VS 2010 Re: Total noob trying to select data from mysql table

    Great worked a treat - thanks.
  29. VS 2010 Re: Total noob trying to select data from mysql table

    Great just tried that but the output doesnt combine the two names it puts a 0 in instead???

    Thanks
  30. VS 2010 Re: Total noob trying to select data from mysql table

    Thanks Paul... Worked a treat. Can you tell me if its possible to have the combo box display both fields as a result rather than one?
  31. VS 2010 [RESOLVED] Total noob trying to select data from mysql table

    As the title states, Im trying to fumble my way through selecting data from a mysql table and populating it to a combo box. I feel Im almost there, could someone look over my code and see whats going...
  32. Replies
    2
    Views
    1,086

    Re: capturing form/combo box data to mysql

    Hi,

    Thanks for this... Being a noob to this Im not really getting it. When you say the value is an ID, do you mean this is the value its putting into the combo box from the sql table?

    Where in...
  33. Replies
    2
    Views
    1,086

    capturing form/combo box data to mysql

    Hi all...

    Im trying to capture the result of a combo box and time/date stamp this to mysql. I have a working connection between the form and the db\table can anyone tell me how to achieve this?
    ...
  34. Re: How do I connect a form to mysql database?

    Fixed - had to add the IP address of the remote machine to the allowed list on mysql. It now connects :)
  35. Re: How do I connect a form to mysql database?

    Ok thanks, I have put the fqdn of the machine in but that still doesnt work. I also changed the connection username to root to test and that doesnt work either. Its not localhost as the mysql db is...
  36. [RESOLVED] How do I connect a form to mysql database?

    Howdy,

    I've followed a guide as to how I connect a form to mysql as per:

    Private Sub Form1_Load(ByVal sender As System.Object, _
    ByVal e As System.EventArgs) Handles MyBase.Load
    ...
  37. Replies
    2
    Views
    542

    Re: Request password on combo box?

    Ive just tried that and it doesnt work - it greys out the combo box but you can still click on the button which switches the combo box and it changes the data :S
  38. Replies
    2
    Views
    542

    Request password on combo box?

    Hi,

    Is it possible to create a request password on a combo box? Ideally I would like to create a number pad which comes up and prompts the user to enter thier password once they try to edit the...
  39. Re: How to "on click" tick checkbox? VB.net 2010

    This is changing all the time... I have 2 buttons and a combo box. How would I on click of button 1 select a certain criteria from the combo box?

    Thanks
  40. Re: How to "on click" tick checkbox? VB.net 2010

    Thanks for all your input on this... I'll have a go and see what works best :)
Results 1 to 40 of 80
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width