Search:

Type: Posts; User: thetimmer

Page 1 of 7 1 2 3 4

Search: Search took 0.15 seconds.

  1. VS 2010 Re: MonthCalendar - wrong week numbers

    Good deal and good on you for updating your post with this fix. Does it matter though that now you've changed that value globally? Probably doesn't but it's something to consider.
  2. Replies
    14
    Views
    1,291

    VS 2012 Re: replace words

    You're going to have to do a little more than you think to make this work smooth. I'm sorry that I used LINQ here but I don't have time to figure out a simpler search algorithm for your text.

    ...
  3. Replies
    14
    Views
    1,291

    VS 2012 Re: replace words

    Let's try this approach, how about you post a bigger example of the code you are creating than what you have posted so far. I think we need more context to see what you're trying to do.
  4. VS 2010 Re: MonthCalendar - wrong week numbers

    Looks to me like you're going to have to create a custom control to meet ISO 8601.
    http://stackoverflow.com/questions/31656769/monthcalendar-control-displaying-non-iso-8601-compliant-week-numbers
  5. Replies
    14
    Views
    1,291

    VS 2012 Re: replace words

    what event are you using to trigger this code? Should use TextChanged. You'll want to add more code to put the cursor back after the text has been updated.
  6. Re: Unable to emit assembly: Referenced assembly error

    I've only read about strong names, not had to create them but since no one else has replied I thought I throw in my 2 cents... actually someone smarter than me's 2 cents. It looks like you need to...
  7. Replies
    1
    Views
    2,252

    Re: Error CLR20r3 HELP!

    You might try getting the Json.NET library installed
    http://www.newtonsoft.com/json
  8. Replies
    3
    Views
    794

    Re: [HELP] Currency Exchange Rate

    Are you wanting the other values on the form to automatically update when the user changes the exchange rate value? If that's what you want then just put code in the text boxes TextChanged event

    ...
  9. Replies
    3
    Views
    794

    Re: [HELP] Currency Exchange Rate

    So you need to add a textbox to your form ( or one of your forms ) so a user can enter a conversion value?
  10. VS 2010 Re: Access database failing to connect

    Did you ever get this resolved? I had another idea for your issue but if you have it I won't waste your time.
  11. Replies
    41
    Views
    11,999

    Re: VB.net cannot get the value of textBox

    any chance you pasted more than 1 textbox on the form? In your code can you set textbox2.text = "Foo" and still run it?
  12. VS 2010 Re: Access database failing to connect

    I'm not sure but looking at http://www.connectionstrings.com/access/


    Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\myAccessFile.accdb;
    Jet OLEDB:Database Password=MyDbPassword;
    ...
  13. VS 2013 Re: Removing & adding rows to a DataGridView & update database

    have you tried anything yet? do you have any code to post?

    There are a few different ways to do it..
    One is to catch the datagrid keyDown event, and if it is the Delete key, delete the selected...
  14. VS 2010 Re: Access database failing to connect

    Also, I don't think connection string paths can have spaces.
  15. VS 2008 Re: Converting from Decimal to Unsigned Decimal

    good deal, glad to help. Please mark this thread resolved... and good luck with your dissertation.
  16. VS 2010 Re: Access database failing to connect

    that being said, definitely do what NeedSomeAnswers said because that will help you overall as a programmer to solve things on your own.
  17. VS 2010 Re: Access database failing to connect

    this line is suspicious...

    Dim sql As String = "insert into tblUserDetails ([UserName], Username, Password) values ('" & TextBox1.Text & "','" & TextBox2.Text & "')"

    You have 3 column names,...
  18. VS 2008 Re: Converting from Decimal to Unsigned Decimal

    One last tip. If it isn't too daunting for you being that you said you're a nooby, try to follow the following code...


    If Not Single.TryParse(txtNum1.Text, sngNum1) OrElse _
    ...
  19. VS 2008 Re: Converting from Decimal to Unsigned Decimal

    I don't think you need the ULong. Just leave it as Single and change your calculation line to


    sngAns = System.Math.Abs(((sngNum1 * sngNum2 - sngNum3) * sngNum4) - (sngNum5 * sngNum6 *...
  20. Re: Error message assistance: Issue displaying data in list box from text file

    you'll need to actually create a collection of ListViewItems. What you're trying to do would work with a ListBox but not a ListView.
  21. VS 2010 Re: VS 2010 Windows Form Runtime: Users can resize, but not move

    Yes, I would agree with techgnome, can we see the code for SetFormPos.

    Also please remember to wrap your code in [C0de] tags. Select your code and select the # button above.


    see it makes...
  22. VS 2010 Re: VS 2010 Windows Form Runtime: Users can resize, but not move

    What's going on in the Forms Load event? Can you post that?
  23. VS 2013 Re: Write TextBox contents to file without the quotes.

    I don't think the OP has starting and ending " in his textbox string. My guess is the "'s you're seeing in your file are artifacts left over from deleting the text out of the file manually at some...
  24. Replies
    10
    Views
    1,148

    VS 2010 Re: Databases and their uses

    A database is just a tool used to store, search, and recall data quickly. The most popular type of database currently is called Relational which means it stores data in tables and some tables have...
  25. Replies
    16
    Views
    2,052

    VS 2008 Re: Find specific characters

    thanks
  26. Replies
    16
    Views
    2,052

    VS 2008 Re: Find specific characters

    I'm not great with LINQ but here was one example.


    Dim msg As String = "PRINTER STATUS" & Environment.NewLine _
    & "ERRORS: 1 00000000 00000100" & Environment.NewLine _
    ...
  27. Replies
    16
    Views
    2,052

    VS 2008 Re: Find specific characters

    Edgemeal, how might you do this with LINQ ?
  28. Replies
    16
    Views
    2,052

    VS 2008 Re: Find specific characters

    What are you holding the return value in, a string, stringbuilder, array, ...?
    If it's a string look at
    string.split
  29. Re: Creating a New User Role using MS SQL Server Database File

    Also, you need to check
    insertcmd.ExecuteNonQuery() to see if the integer value returned ( which is your number of records affected ) is greater than 0 before showing

    MsgBox("New User...
  30. Re: Creating a New User Role using MS SQL Server Database File

    have you looked in your database directly to see that your user records are getting created from your insert statement?

    Also this

    Dim insertqry As String = "insert into...
  31. Re: Creating a New User Role using MS SQL Server Database File

    Just making the code readable.


    Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click
    'sql query to select database data
    Dim selectqry As...
  32. Replies
    5
    Views
    1,131

    VS 2008 Re: Break line when found specific characters.

    What do you mean by
    did nothing happen? The text example you posted did not have any "^FT" string tokens in it.
  33. Replies
    1
    Views
    2,274

    VS 2010 Help with late binding a user control

    I have a usercontrol with a webbrowser control on it compiled out to it's own assembly. This control worked in my project prior to breaking it out to its own assembly.

    Now the goal of doing this...
  34. VS 2012 Re: I am having trouble getting a text file to an array, and then sorting the array

    Did you check out the SortedList class ?

    You could use it this way though I'm sure there are much more elegant solutions...



    Dim DataFileName As String =...
  35. VS 2012 Re: I am having trouble getting a text file to an array, and then sorting the array

    ...please wrap your code segments with code tags, much easier to read.


    I need to read a saved text file into an array, and then sort it numerically. This is rather hard as the text file is :
    10...
  36. Replies
    4
    Views
    1,303

    Re: Need help understanding null reference

    maybe it's a naming convention issue and Series.Manufacturer.HardwareType.HardwareTypeCode and Series.Manufacturer.ManufacturerCode & Series.SeriesCode are all static members?
  37. Re: SSRS report that uses a pivot table with dynamic columns

    why not manually add the columns like you mentioned and use a if statement in the Hidden ( or is it visibility ) property of the column? or will the columns that return be an undefinable set?
  38. VS 2010 Re: Is there a way to store a custom object in a DataRow or DataColumn?

    wes4dbt , The answer I was hoping for, didn't know you could do that. thanks.
  39. VS 2010 Re: Is there a way to store a custom object in a DataRow or DataColumn?

    I appreciate the input but I really need to attach the object directly to the datarow or datacolumn object versus accessing the datagrid ( in this case an infragistics ultragrid )
  40. VS 2010 [RESOLVED] Is there a way to store a custom object in a DataRow or DataColumn?

    Is there a way to store a custom object in a DataRow or DataColumn?

    Basically I'm looking for the equivalent of a tag property for a DataRow or DataColumn. I looked into ExtendedProperties for...
Results 1 to 40 of 247
Page 1 of 7 1 2 3 4



Click Here to Expand Forum to Full Width