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

Search:

Type: Posts; User: doofusboy

Page 1 of 20 1 2 3 4

Search: Search took 0.60 seconds.

  1. Replies
    6
    Views
    1,162

    Re: strip a file name from a path

    Or use the FileSystemObject's .Name property.
  2. Replies
    3
    Views
    1,009

    Re: Str function in VB

    I believe this is the correct syntax:

    Dim z As Integer
    Dim s As String

    z = 100
    s = CStr(z)
  3. Re: Clear All Textboxes On An Activesheet In Excel

    Here's a little sub you might be able to borrow parts of:



    Private Sub clear_controls()
    Dim ctl As Control

    ' Reset all controls on the Form
    For Each ctl In Me.Controls
    ...
  4. Sybase 12.5 and SQL Server 2000 Usinf VB6.0

    OK gang, I need some serious help. Was just assigned a project wherein I need to obtain a last extracted date from a Sybase 12.5 database using a stored procedure and use that date along with current...
  5. Replies
    1
    Views
    776

    Need Time Routine

    Trying to put together a little recursive function that will check for the existence of a file for up to 25 seconds. Here's what I've got so far, but it's not working.





    Public Function...
  6. Replies
    4
    Views
    881

    Re: Can an VB executable return a value?

    Sorry for the delay in responding, but thank you, ExitProcess API was just what I needed.
  7. Replies
    4
    Views
    881

    Re: Can an VB executable return a value?

    Could you please explain how that would be done? I saw this on API site but it said:
  8. Replies
    4
    Views
    881

    Can an VB executable return a value?

    I have an executable whose sole purpose is to determine if a user is logged on to another application.

    I have some C code that needs to call that executable and get a 1 back if the user is logged...
  9. Replies
    7
    Views
    968

    Re: Need help with ADO

    By the way, as a SQL tip, using TRUNCATE is a cleaner way of 'clearing' a table than using DELETE.
  10. Replies
    5
    Views
    1,167

    Re: filesystem object (filesize)

    Dim fso As FileSystemObject
    Dim objFolder As Folder
    Dim objFiles As Files
    Dim objFile As File

    Set fso = New FileSystemObject
    Set objFolder = fso.GetFolder(put path to...
  11. Re: Convert Excel Data to Access Data with VB 6.0

    From within Access, you can use the menu to select File - Get External Data - Import to pull the data from an Excel file into your Access table.

    From Help in Excel:

    Import Excel data to an...
  12. Re: Getting all table's names from MS-Access Database

    Did you even TRY a search before posting your question? This question has been asked, and answered, many times here.

    Had you taken the time to do a search, you would have found something like...
  13. Replies
    9
    Views
    950

    Re: sql injection

    Shuja Ali, thanks for posting those 2 links. Really good stuff. Haven't a need for it right now, but just know I will at some point. Good job.
  14. Re: How do I find long value of windows message?

    API Viewer was solution for me. Thanks for your responses.
  15. [RESOLVED] How do I find long value of windows message?

    For example, how do I find the long value of WM_ACTIVATE ?
  16. Replies
    12
    Views
    1,378

    Re: Need Help With MDI Form

    Excellent suggestion Dan H !!!

    Created new project which shells to my app. Opened the app that usually calls mine from the menu, and with that open, shelled to mine from the new project and...
  17. Replies
    12
    Views
    1,378

    Re: Need Help With MDI Form

    Thanks for the reply Dan H; gave it a try but got same result.

    Form is not coming up minimized but rather "unenabled" [see how menu is 'disabled' / 'enabled' in the screen shots]. That's all I'm...
  18. Replies
    12
    Views
    1,378

    Re: Need Help With MDI Form

    Thanks again for the replies, your help/time is appreciated.

    Not sure how my app is called from the other app; just a menu selection that calls my executable [I don't support the other app and...
  19. Replies
    12
    Views
    1,378

    Re: Need Help With MDI Form

    Thanks for your responses.

    peejavery - because I missed it

    HanneSThEGreaT - tried your SetForegroundWindow but it didn't work


    Perhaps I should have explained further that the form I'm...
  20. Replies
    12
    Views
    1,378

    [RESOLVED] Need Help With MDI Form

    Having issue at work with QA person that is driving me nuts. Basically, we have an app "A" that is launched from the menu of another app "B" and A's main MDI Form is supposed to be enabled and...
  21. Replies
    5
    Views
    1,036

    Re: Get .txt name into a textbox/listbox

    You can modify this to meet your needs. It must have a Reference to 'Microsoft Scripting Runtime' for the File System Object.



    Option Explicit
    Dim fso As FileSystemObject
    Dim...
  22. Replies
    6
    Views
    889

    Re: Select the higest id from detail table

    How do you expect SQL to determine the maximum???

    Isn't your TransID a String? [i.e. A001, C001] ???

    As far as I know, the Max() function in SQL is used primarily for numbers.
  23. Replies
    5
    Views
    1,120

    Re: Syntax Question

    Cannot map this server to my PC for security reasons; it's an optical 'jukebox' that stores images.

    Am using the following currently and get no error messages, but no images either. I get a...
  24. Replies
    5
    Views
    1,120

    Re: Syntax Question

    Not at all familiar with the "NET USE" command. Could you explain further please?
  25. Replies
    5
    Views
    1,120

    Syntax Question

    I am trying to shell to an executable that sits on another server. Could someone suggest how these pieces can be strung together to call that executable?

    Server Name: ABC
    Location of EXE on...
Results 1 to 25 of 487
Page 1 of 20 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)