Click here to Skip to main content
11,504,452 members (71,957 online)
   

C#

 
AnswerRe: What kind of video recognition software exists? Pin
Matt U.6-May-13 7:18
memberMatt U.6-May-13 7:18 
AnswerRe: What kind of video recognition software exists? Pin
Amarnath S6-May-13 7:42
memberAmarnath S6-May-13 7:42 
AnswerRe: What kind of video recognition software exists? Pin
Eddy Vluggen6-May-13 7:48
mvpEddy Vluggen6-May-13 7:48 
GeneralRe: What kind of video recognition software exists? Pin
Wigwam23236-May-13 8:49
memberWigwam23236-May-13 8:49 
GeneralRe: What kind of video recognition software exists? Pin
Pete O'Hanlon6-May-13 9:04
protectorPete O'Hanlon6-May-13 9:04 
GeneralRe: What kind of video recognition software exists? Pin
Dave Kreskowiak6-May-13 12:02
mvpDave Kreskowiak6-May-13 12:02 
QuestionRemplir une datagridview à l'aide d'une autre Pin
geralson6-May-13 4:45
membergeralson6-May-13 4:45 
AnswerRe: Remplir une datagridview à l'aide d'une autre Pin
Eddy Vluggen6-May-13 4:58
mvpEddy Vluggen6-May-13 4:58 
GeneralFill a datagridview using another Pin
geralson6-May-13 5:09
membergeralson6-May-13 5:09 
GeneralRe: Fill a datagridview using another Pin
Dave Kreskowiak6-May-13 7:12
mvpDave Kreskowiak6-May-13 7:12 
QuestionFetch Data from another website Pin
sandeep Nishad5-May-13 20:40
membersandeep Nishad5-May-13 20:40 
AnswerRe: Fetch Data from another website Pin
OriginalGriff5-May-13 22:07
mvpOriginalGriff5-May-13 22:07 
AnswerRe: Fetch Data from another website Pin
Clifford Nelson6-May-13 5:38
memberClifford Nelson6-May-13 5:38 
QuestionAuto Dial-Up Method not working on 64-bit machine Pin
Member 100161425-May-13 14:40
professionalMember 100161425-May-13 14:40 
Here is the method auto dial up without the login dialoge
public uint Connect(string EntryName, string UserName, string Password, out IntPtr RasConn)
{
    uint retVal;
    uint r=0;
    RasConn=IntPtr.Zero;
    byte[] bRASDIALPARAMS =new byte[1464];
    fixed (byte* pAddr = bRASDIALPARAMS)
    {
        byte* pCurrent = pAddr;
        Marshal.WriteInt32((IntPtr)pCurrent, bRASDIALPARAMS.Length);
        pCurrent += 4;
        foreach (byte b in Encoding.Unicode.GetBytes(EntryName))
        {
            Marshal.WriteByte((IntPtr)pCurrent, b);
            pCurrent++;
        }
        pCurrent = pAddr + 0x192;//0x192 - offset for RASDIALPARAMS.UserName
        foreach (byte b in Encoding.Unicode.GetBytes(UserName))
        {
            Marshal.WriteByte((IntPtr)pCurrent, b);
            pCurrent++;
        }
        pCurrent = pAddr + 0x394;//0x394 - offset for RASDIALPARAMS.Password
        foreach (byte b in Encoding.Unicode.GetBytes(Password))
        {
            Marshal.WriteByte((IntPtr)pCurrent, b);
            pCurrent++;
        }
        retVal = RAS.RasDial(IntPtr.Zero, IntPtr.Zero, (IntPtr)pAddr, 0, IntPtr.Zero, ref RasConn);
    }
 
    return retVal;
}
 
[DllImport("rasapi32.dll", CharSet = CharSet.Auto)]
public extern static uint RasDial(
    IntPtr dialExtensions,
    IntPtr phoneBookPath,
    IntPtr rasDialParam,
    uint NotifierType,
    IntPtr notifier,
    ref IntPtr pRasConn
    );



It works fine on my xp machine,but move it to win7 the Connect() method returns erro 632,what's wrong in win7,does anyone have a clue? Cry | :((
AnswerRe: Auto Dial-Up Method not working on 64-bit machine Pin
Garth J Lancaster5-May-13 16:41
memberGarth J Lancaster5-May-13 16:41 
GeneralRe: Auto Dial-Up Method not working on 64-bit machine Pin
Member 100161428-May-13 20:10
professionalMember 100161428-May-13 20:10 
Questionwebrequest/response live.mail.com Pin
Crispybc5-May-13 12:15
memberCrispybc5-May-13 12:15 
AnswerRe: webrequest/response live.mail.com Pin
Bernhard Hiller5-May-13 22:04
professionalBernhard Hiller5-May-13 22:04 
GeneralRe: webrequest/response live.mail.com Pin
Crispybc6-May-13 2:41
memberCrispybc6-May-13 2:41 
Questionproblem Webservice Pin
azadehrasadi5-May-13 0:12
memberazadehrasadi5-May-13 0:12 
AnswerRe: problem Webservice Pin
OriginalGriff5-May-13 6:08
mvpOriginalGriff5-May-13 6:08 
GeneralRe: problem Webservice Pin
azadehrasadi12-May-13 2:17
memberazadehrasadi12-May-13 2:17 
GeneralRe: problem Webservice Pin
OriginalGriff12-May-13 2:24
protectorOriginalGriff12-May-13 2:24 
GeneralRe: problem Webservice Pin
azadehrasadi12-May-13 18:31
memberazadehrasadi12-May-13 18:31 
QuestionWEB SERVICES Pin
sonu Ranjan4-May-13 22:16
membersonu Ranjan4-May-13 22:16 
AnswerRe: WEB SERVICES Pin
Abhinav S5-May-13 20:37
mvpAbhinav S5-May-13 20:37 
QuestionUSB device being in use Pin
Blubbo3-May-13 5:10
memberBlubbo3-May-13 5:10 
AnswerRe: USB device being in use Pin
Gerry Schmitz3-May-13 11:54
memberGerry Schmitz3-May-13 11:54 
GeneralRe: USB device being in use Pin
Blubbo8-May-13 8:23
memberBlubbo8-May-13 8:23 
GeneralRe: USB device being in use Pin
Gerry Schmitz8-May-13 11:12
memberGerry Schmitz8-May-13 11:12 
QuestionIs streamreader slow compared to other text import functions? Pin
turbosupramk33-May-13 3:42
memberturbosupramk33-May-13 3:42 
AnswerRe: Is streamreader slow compared to other text import functions? Pin
GuyThiebaut3-May-13 4:21
memberGuyThiebaut3-May-13 4:21 
GeneralRe: Is streamreader slow compared to other text import functions? Pin
turbosupramk33-May-13 4:51
memberturbosupramk33-May-13 4:51 
AnswerRe: Is streamreader slow compared to other text import functions? Pin
Pete O'Hanlon3-May-13 4:24
protectorPete O'Hanlon3-May-13 4:24 
GeneralRe: Is streamreader slow compared to other text import functions? Pin
turbosupramk33-May-13 5:13
memberturbosupramk33-May-13 5:13 
AnswerRe: Is streamreader slow compared to other text import functions? Pin
turbosupramk33-May-13 5:14
memberturbosupramk33-May-13 5:14 
GeneralRe: Is streamreader slow compared to other text import functions? Pin
DaveyM693-May-13 13:47
mentorDaveyM693-May-13 13:47 
QuestionEvent/Delegate for progress bar issue Pin
MichCl3-May-13 3:13
memberMichCl3-May-13 3:13 
AnswerRe: Event/Delegate for progress bar issue Pin
Eddy Vluggen3-May-13 7:21
mvpEddy Vluggen3-May-13 7:21 
GeneralRe: Event/Delegate for progress bar issue Pin
MichCl3-May-13 7:31
memberMichCl3-May-13 7:31 
AnswerRe: Event/Delegate for progress bar issue Pin
Eddy Vluggen3-May-13 8:29
mvpEddy Vluggen3-May-13 8:29 
GeneralRe: Event/Delegate for progress bar issue Pin
MichCl3-May-13 8:39
memberMichCl3-May-13 8:39 
GeneralRe: Event/Delegate for progress bar issue Pin
Eddy Vluggen3-May-13 8:53
mvpEddy Vluggen3-May-13 8:53 
GeneralRe: Event/Delegate for progress bar issue Pin
MichCl3-May-13 9:22
memberMichCl3-May-13 9:22 
GeneralRe: Event/Delegate for progress bar issue Pin
MichCl3-May-13 9:25
memberMichCl3-May-13 9:25 
GeneralRe: Event/Delegate for progress bar issue Pin
Eddy Vluggen3-May-13 9:40
mvpEddy Vluggen3-May-13 9:40 
GeneralRe: Event/Delegate for progress bar issue Pin
MichCl3-May-13 9:48
memberMichCl3-May-13 9:48 
GeneralRe: Event/Delegate for progress bar issue Pin
Eddy Vluggen4-May-13 0:41
mvpEddy Vluggen4-May-13 0:41 
GeneralRe: Event/Delegate for progress bar issue Pin
MichCl6-May-13 3:40
memberMichCl6-May-13 3:40 
GeneralRe: Event/Delegate for progress bar issue Pin
Eddy Vluggen6-May-13 7:52
mvpEddy Vluggen6-May-13 7:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 3 Jun 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid