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.19 seconds.

  1. Re: Connecting MySQL server's using Crystal Reports via VB6

    It should be simple to do but then again back when I used CR I found that even simple things were sometimes a major pain in CR. I dumped it many years ago and have not looked back.

    It should be a...
  2. Replies
    6
    Views
    340

    Re: Resize image resolution in vb6

    It is not part of the image property you simply set the control to the size you want. Set stretch to true and load the image. It will auto size to the size of the control.

    But yes if you are...
  3. Replies
    6
    Views
    340

    Re: Resize image resolution in vb6

    You say you already tried that but somehow I don't think you did as that would have worked. No code is even required, just set the image control to the size you want and set the properties.

    The...
  4. Replies
    6
    Views
    340

    Re: Resize image resolution in vb6

    Have you considered using an image control instead. It has a stretch property which can do this automatically.
    There is also a scale property between the two you should be able to do what you want.
  5. Replies
    2
    Views
    233

    Re: **** Grabbing Macros

    When talking about Macros you really should state what app you are working with. VBA varies a bit by what product you are using. I assume in this case you are using Excel VBA.

    I do not code in...
  6. Replies
    3
    Views
    378

    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.
  7. Replies
    1
    Views
    349

    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...
  8. Replies
    1
    Views
    456

    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...
  9. Replies
    2
    Views
    392

    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...
  10. 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...
  11. 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...
  12. 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?...
  13. 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...
  14. Replies
    2
    Views
    527

    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...
  15. Re: Number of query values and destination fields are not the same

    You are missing the field list

    "Insert Into Table (FieldList) Values (ValueList)"
  16. 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.
    ...
  17. 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...
  18. 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...
  19. Replies
    1
    Views
    301

    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.
  20. Replies
    4
    Views
    395

    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
  21. Replies
    4
    Views
    395

    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...
  22. 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...
  23. Replies
    145
    Views
    93,332

    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...
  24. Replies
    145
    Views
    93,332

    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.
  25. 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...
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

This is a Codeguru.com survey!


HTML5 Development Center