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.11 seconds; generated 9 minute(s) ago.

  1. Replies
    1
    Views
    164

    Re: Play all 4 videos at once ?!?

    How did you try to do it?
  2. Replies
    1
    Views
    123

    Re: Random access file variable length

    You are using a Type so you can simply get the length of the type


    Open Filename for Random as #1 len=Len(g)

    a date data type is 8 bytes if I'm not mistaken
  3. Thread: Save AS

    by DataMiser
    Replies
    8
    Views
    347

    Re: Save AS

    Here are a couple of simple examples that show how to save data from a textbox to a file with each textbox being written on a separate line and then read the data from the file into those text...
  4. Replies
    7
    Views
    197

    Re: Dim my variables

    Yes though you should use descriptive names for your variables


    Option Explicit
    Dim Qty As Integer
    Dim Cost as Currency
    Dim PartNumber as String


    You can also place more than one on a line...
  5. Re: can't seem to get program to stop when i need it to

    Loop looks ok to me, or sort of anyway. The while part probably should be on the Do rather than the loop so that it does not execute it a>f on the first pass
    It assigns a starting value to f and to...
  6. Re: Integers. Should I dim my variables as integers?

    Actually Long is a bit faster I think and can hold larger values than an Integer can up to 2 billion as opposed to 32k for an Int. Long does use more memory but is processed faster on 32 bit systems...
  7. Replies
    7
    Views
    197

    Re: Dim my variables

    You should always Dim all variables.
    You should also have the little box checked under the editor properties to require variable declaration also known as Option Explicit.

    Not dimming your vars...
  8. Re: A new vb6 project importer is on it's way, but we need your support!

    So the learning curve has nothing to do with actually understanding how to write code using the tool? I downloaded it and checked it out a bit. It looks like it has potential but will take a while...
  9. Thread: Save AS

    by DataMiser
    Replies
    8
    Views
    347

    Re: Save AS

    Well the only difference between save and save as is the file name selection. Save would save to the existing file should it already exist and save as would let you choose a file name/location to...
  10. Thread: Save AS

    by DataMiser
    Replies
    8
    Views
    347

    Re: Save AS

    I'm not sure why that Excel related code is posted? Are you trying to save an Excel worksheet? I did not see anything in the OP about that.

    The error message you are getting most likely means that...
  11. Re: A new vb6 project importer is on it's way, but we need your support!

    I was just looking at the link, They claim a learning curve of 8-12 hours for a Novice programmer and 2-4 hours for experienced. Surely they can't be serious. Unless it is almost exactly the same as...
  12. Re: A new vb6 project importer is on it's way, but we need your support!

    Since this is not a VB question I am moving it to the proper location.
  13. Re: How to get this code work for Vb6 (AES Encrypting from Microsoft Web-site)

    I advised you to use .Net because it handles this directly, you even found the sample code to do it. VB6 does not.
    As for making the DLL can't say for sure as I have not built any Dlls in .Net for...
  14. Re: How to get this code work for Vb6 (AES Encrypting from Microsoft Web-site)

    Users would need to d/l what?
  15. Re: How to get this code work for Vb6 (AES Encrypting from Microsoft Web-site)

    Yes that is .Net code using a .Net library. You could create a dll in VB.Net and then use that from VB6 but you would be better off just using VB.Net
  16. Replies
    1
    Views
    1,011

    Re: DateDiff assistance

    Try

    Cells(x, 27).Value = DateDiff("yyyy", fromDate, toDate)

    Else maybe you should tell us what problem you are having.
  17. Re: VB 2008 - Calculate values in multiple textboxes without using button click event

    You can place code in the change event of the text boxes or perhaps just the last text box, or use a timer or other depending on what you want to do.
    Also note that VB2008 is not VB6.

    I will...
  18. Replies
    3
    Views
    4,731

    Re: Bar Code Question

    This thread/question is over 12 years old and has nothing to do with C#. Please do not revive old threads like this and when you do answer try to stay with in the same language as the question.
  19. Re: Please Help me Compare two excel files (cells) using Visual Basic 2010

    Moved to VB.Net forum

    You really should be using the .SubString method rather than all those VB.Right and VB.Left statements


    Partnumber.Substring(Position,NumberOfCharacters)
  20. Replies
    2
    Views
    4,675

    Re: Form Instantiation

    Well as I see it you are making a copy of Form1. I would not expect the name to change, it is assigned in the original Form1 properties.
  21. Replies
    1
    Views
    3,174

    Re: Making a loop

    Not sure what you are asking, you are only executing 4 cycles of the loop and you only have 4 values
    There are numerous ways you could make it do the little bit you showed but not sure what ........
  22. Re: How to Select statement using the value from Combobox in the form of VB.net

    sql = " select * from ea00 where reptrc=Fr2ComBo.text"


    Since that is all in quotes it would be looking for the literal text " Fr2ComBo.text"

    You need to build the string so that it gets the...
  23. Replies
    4
    Views
    1,810

    Re: VB6 & SQL Connection Form

    The error message is telling you that you are not using the correct data type.
    Since you just attached a picture that does not show the dim statement nor the assignment of the var throwing the error...
  24. Replies
    4
    Views
    1,810

    Re: VB6 & SQL Connection Form

    Well you need to give us some info first, telling us what problem you are having would be a good start.
    Also would be good to post some related code as text in your post.

    Use Zip instead of rar...
  25. Re: SteamWriter Problem - tooooo slowwwwwwwwwwwwwwww

    I am curious how you were doing it before. I've not saw any issues using streamwriter. I would suspect it was related to your methods.
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center