Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: DataMiser

Page 1 of 80 1 2 3 4

Search: Search took 0.10 seconds.

  1. Replies
    1
    Views
    107

    Re: LocalDB deploy issue

    Where are you trying to create the db? Remember program files is protected on Vista and later OSs so you will not have write access if you try to put your db there.
  2. Replies
    1
    Views
    106

    Re: Timer Resize Label Width

    You are basically setting intStart to 0 each time you enter the routine so your label is always going to be 0,13 in size

    You need to use a static var or a var with a higher scope. You also need to...
  3. Replies
    1
    Views
    349

    Re: Combo box Question

    Well, I'm not sure what you are doing but it sounds like you are typing into the combo box and then looking for the typed entry in the list and of course it will not be there unless you write some...
  4. Replies
    2
    Views
    278

    Re: Help Needed with VB Code

    So are you talking about an Access database or a SQL Server database? Your use of SQL is confusing. If there is no status field and you want to filter by status then obviously you will need to add...
  5. Re: Database implementation: having trouble with castException for this function

    Where are you getting the error?

    You have this defined as a function but you have not defined the type the function is to return and the only code I see that returns something actually returns...
  6. Re: How to make function string with Visual Basic 2013?

    Actually that should be a sub rather than a function as it is not returning a value.
    You also need to specify a argument in the sub definition if you want to pass it something



    Sub...
  7. Re: Help with integrating a database into vb

    I assume that you mean two tables in a single database rather than two databases.

    What do you mean when you say can't get it to work? You really should be descriptive here, are you getting errors?...
  8. Re: Number of query values and destination fields are not the same

    Change? No

    Insert adds a new row.

    The FieldList does tell it which cells to place the data in but as above Insert creates a create row
    You need to use an update query to change data in an...
  9. Replies
    2
    Views
    472

    Re: get nearest or closest values

    Off the top of my head I would think this may be a case for a union
    http://www.w3schools.com/sql/sql_union.asp

    You could use that to execute two queries one to find the next highest value and the...
  10. Re: Number of query values and destination fields are not the same

    You are missing the field list

    "Insert Into Table (FieldList) Values (ValueList)"
  11. Re: VB 2012 Can someone help me understanding coding in this example

    Don't try to add directly to the text property. Instead you should use a variable that is of type decimal and add to that then when you are done with the loop you place the value in your textbox.
    ...
  12. Re: VB 2012 Can someone help me understanding coding in this example

    show the actual code rather than sticking it in as a comment.

    Your function is not defined properly you need to give it a return type


    Public Function Calculate(Subtotal, decTAX_RATE) As...
  13. Re: VB 2012 Can someone help me understanding coding in this example

    A few things
    1st off you are setting totalcost to the value returned from your function so it will never add the prices together it will instead hold the last price on the list.
    Cost is defined as...
  14. Replies
    1
    Views
    280

    Re: Where should I start?

    Download a copy of the express version and install it on your computer.
    Look through the samples that are included.
    Search for tutorials, samples online.
    Read the documentation.
  15. Replies
    4
    Views
    349

    Re: query to get next highest value

    What is the error message?
    If Max_Flange is a text field then the value needs to be surrounded by single quotes
  16. Replies
    4
    Views
    349

    Re: query to get next highest value

    Well assuming that the field is a numeric field you could use a simple query

    Something like
    select top 2 item,value where value >600 order by value

    In this case it would return 1000 and 4000...
  17. Re: VB 2012 Need Countdown Timer to start from click event

    well the program should start with the timer not enabled
    You should enable the timer in the click event where you want the count down to begin
    You should not be trying to do math on a string. You...
  18. Replies
    145
    Views
    91,432

    Sticky: Re: Please help save VB6

    I have no idea what you mean by that statement nor how it is in anyway related to the topic at hand.

    Yes I have a lot of experience in the programming world and have in depth knowledge of VB Dos...
  19. Replies
    145
    Views
    91,432

    Sticky: Re: Please help save VB6

    hmmm 1 team member and no clear direction nor staff to do the work. Really does not sound like something that would be a wise investment.
  20. Re: Hi please help - problem with code that computes grades

    Actually you said you had written at least 1.2 the code but there is far less than 1/2 there.

    You are prompting for input outside your loop so it will only ask for one value. If that value is 1-99...
  21. Replies
    3
    Views
    309

    Re: MDI Dev Environment

    I haven't really looked at 2012 much. I see that option is available in my 2008 version but I have always used the default tabbed environment in VB.Net and like that just fine. In VB 5 and 6 I use...
  22. Re: Hi please help - problem with code that computes grades

    You don't seem to have did much so far, just collecting a few numbers. That part seems to have an issue in that it would not accept a score of 100 but it probably should. You should probably change...
  23. Re: ADODB.Recordset returns with incorrect data??

    It would help to see some code, can't tell how you are determining the values in any of the fields so no idea why you are seeing something different than you expect.

    Also would be good to know if...
  24. Replies
    2
    Views
    443

    Re: NULL variables

    You have not shown any code that populates any of those variables other than strRequest so naturally they would be empty.
  25. Replies
    3
    Views
    382

    Re: Display message every hour

    Well you could use a timer and then in the timer code check the system time. Display your message when the time is what you want. You may also want to store the time that the message was last shown...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




HTML5 Development Center