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

Search:

Type: Posts; User: Cakkie

Page 1 of 80 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    2
    Views
    1,058

    Re: PHP vs ASP.NET - Project Manager

    Well, what do you considder a project manager?

    In my opinion, it really doesn't matter as it is not the function/role of the project manager to be dealing with the technical details. The program...
  2. Re: How Do I Paste From Cliboard To Excel?

    You can also use the Microsoft.Office.Interop namespace to interact with Excel directly, which will give you a much greater control on how you can transfer the data. You will need to add a reference...
  3. Replies
    2
    Views
    870

    Re: how to save file to Desktop?

    You can use the SHGetFolderPath API to get the desktop folder.



    Private Const CSIDL_DESKTOPDIRECTORY As Long = &H10
    Private Declare Function SHGetFolderPath Lib "shfolder" _
    Alias...
  4. Replies
    2
    Views
    788

    Re: Problem calling C++ API

    Perfect, works like a charm :)

    Thanks!
  5. Re: Can an array be passed to a Function as parameter..........

    A ParamArray is used to define a unknown amount of parameters, not to pass a parameter.

    The declaration of the function should be this:


    Public Function max(a() as Integer) As Integer
  6. Replies
    2
    Views
    788

    Problem calling C++ API

    I'm trying to call a C++ API function, which takes two parameters. The function will fill these 2 parameters. The first parameter will be a list of a specific structure, the second will be a number...
  7. Thread: WRAPI in VB?

    by Cakkie
    Replies
    8
    Views
    3,163

    Re: WRAPI in VB?

    Ok, that clears up a lot.
    I found an example on PSC to call cdecl dll's from VB, but it keeps complaining about a wrong parameter type i'm passing (the WRAPI_NDIS_DEVICE).
    I'll play with it some...
  8. Replies
    1
    Views
    686

    Re: typecasting objects into recordsets

    You are returning an object, zso you will need to assign the return value using the Set command


    public Function Executequery(sql As String) As Object
    dim Rs As New Adodb.recordset
    Set...
  9. Thread: WRAPI in VB?

    by Cakkie
    Replies
    8
    Views
    3,163

    Re: WRAPI in VB?

    Dir() returns wrapi.dll

    As for the special characters when copy/pasting, since I only had the c++ header file to go on, I had to type the declaration myself, so that rules out any invalid...
  10. Thread: WRAPI in VB?

    by Cakkie
    Replies
    8
    Views
    3,163

    Re: WRAPI in VB?

    Tried that, same result.
    It would be rather strange if it did, since that way I would have to make sure the dll had to be in that exact location if installed on another machine.
  11. Thread: better code

    by Cakkie
    Replies
    5
    Views
    701

    Re: better code

    Dim ie(2) As Object 'whatever datatype
    Dim i As Integer

    For i = 0 To UBound(ie)
    Set ie(i) = CreateObject("InternetExplorer.Application")
    ie(i).navigate address2
    ie(i).Visible =...
  12. Thread: WRAPI in VB?

    by Cakkie
    Replies
    8
    Views
    3,163

    WRAPI in VB?

    I'm trying to use WRAPI in VB, but I can't manage to get it working.
    I downloaded the dll and lib from http://sysnet.ucsd.edu/pawn/wrapi/download.html

    The source files contain a header file,...
  13. Replies
    6
    Views
    1,419

    Re: Retrieving user id using IP address

    Maybe you can use an application like BGInfo

    http://www.sysinternals.com/ntw2k/freeware/bginfo.shtml
  14. Replies
    6
    Views
    1,419

    Re: Retrieving user id using IP address

    Well, if you need to be able to take a screenshot, you will have to have a program running on that computer (preferable one that you can connect to through winsock or so). In that case, you could...
  15. Re: code for when a program starts my app will start?

    Another option is to have your program start hidden, and have it check to see if the other program is running. Once you find the program running, you unhide your program and start regular execution...
  16. Replies
    3
    Views
    859

    Re: sorting a date field in the list?

    That is indeed the way to do that in VB.
    In order to be able to sort on a date correctly, you will need to store it in the form YYYYMMDD.
  17. Replies
    3
    Views
    839

    Re: Stored Procedure - Record Set

    AFAIK that isn't possible. SQL Server does know a datatype table, which can be used to pass in memory tables from 1 proc to another, but there's no way you can pass them from VB to SQL Server in 1...
  18. Replies
    3
    Views
    883

    Re: Abt VbNullString

    vbNullString is slightly faster than "", since vbNullString is not actually a string, but a constant set to 0 bytes, whereas "" is a string (consuming at least 4-6 bytes for just existing).
  19. Replies
    2
    Views
    808

    Re: Transparent Form Background

    You can't make a portion of the form transparent, so you will have to change the shape of the form to fit the shape of the image. This can be done throught hte use of some API functions.

    This...
  20. Replies
    3
    Views
    770

    Re: count in same month

    If your dates are stored in 1 field (which I presume will be the case), you can use the DATEPART function.


    SELECT Sum(Amount)
    FROM TableName
    WHERE DATEPART(Year, DateField) = 2004
    AND...
  21. Replies
    4
    Views
    853

    Re: Cant edit module- again,(SP6 installed)

    Make sure the files are writable. VSS will save the files readonly.
  22. Replies
    6
    Views
    948

    Re: Urgent Need

    The Kill function in VB is used to delete a file, not to terminate a process.
    To terminate a process, you will need to make use of API functions. Here's an example:


    Private Declare Function...
  23. Thread: byref or byval

    by Cakkie
    Replies
    4
    Views
    959

    Re: byref or byval

    Indeed, basically if you don't need to pass them ByRef, then pass them ByVal.
    Unlike one would think, ByVal is actually faster than ByRef because it does not need to pass back the data in the...
  24. Replies
    5
    Views
    828

    Re: Passing a frame as a Control

    I think the problem lies in the declaration of the SetControls function you wrote.
    Make sure you explicitly declare the parameter that accepts the frame to either Frame or Object. Not declaring the...
  25. Replies
    2
    Views
    1,699

    Re: Attempt reconnection to winsock server

    First of, the First If statement will always be True, You cannot pass more than 1 value to an =, so the second sckConnecting will be evaluated by itself, and since it's not 0, this will always be...
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